X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2dabb4e55f1c362f63ef181469f529867ce8b03b..ec537fd84d6ad3fd0dfa1b55efa2c2d554c1db48:/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c?ds=sidebyside diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c index 0af592e91..4c6e77a71 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c @@ -1,21 +1,21 @@ /* LUFA Library Copyright (C) Dean Camera, 2010. - + dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com + www.lufa-lib.org */ /* Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) - Permission to use, copy, modify, distribute, and sell this + Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in + without fee, provided that the above copyright notice appear in all copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author disclaim all warranties with regard to this @@ -75,15 +75,15 @@ const struct */ const struct { - uint8_t Header; - uint8_t Size; + uint8_t Header; + uint8_t Size; - ItemProtocol_t L2CAP; - ItemProtocolChannel_t RFCOMM; + ItemProtocol_t L2CAP; + ItemProtocol_8BitParam_t RFCOMM; } PROGMEM SerialPort_Attribute_ProtocolDescriptor = { (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit), - (sizeof(ItemProtocol_t) + sizeof(ItemProtocolChannel_t)), + (sizeof(ItemProtocol_t) + sizeof(ItemProtocol_8BitParam_t)), { (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit), sizeof(ItemUUID_t), @@ -102,7 +102,7 @@ const struct }; /** Serial Port Profile attribute, listing the Browse Group List UUIDs which this service is a member of. - * Browse Group UUIDs give a way to group together services within a device in a simple heirachy, so that + * Browse Group UUIDs give a way to group together services within a device in a simple hierarchy, so that * a SDP client can progressively narrow down an general browse to a specific service which it requires. */ const struct @@ -181,3 +181,4 @@ const ServiceAttributeTable_t PROGMEM SerialPort_Attribute_Table[] = SERVICE_ATTRIBUTE_TABLE_TERMINATOR }; +