aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-06-03 08:33:01 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-06-03 08:33:01 +0000
commit795d92d9581bd2bf63690dfb31ce87d76e17f55e (patch)
tree8cfc8ad00399d8ae3bfa2c3cb1cac5e679da231c /Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
parent7dc446ee9a77f242860993e7818f32329ab9c968 (diff)
Extra protocol value in the RFCOMM protocol is the channel number, not the PSM - update typedef name and size.
Add delay to the Connection Request signal processing routine - without this, the host will not create the RFCOMM channel correctly. Need to investigate why this delay is needed. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1309 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
index 1cfc2b2c..7e33638d 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
@@ -145,20 +145,20 @@
} Protocol;
} ItemProtocol_t;
- /** Structure for a list of Data Elements Sequences containing UUID Data Elements and 16-bit PSM values, for service
+ /** Structure for a list of Data Elements Sequences containing UUID Data Elements and 8-bit channel values, for service
* attributes requiring extended protocol lists.
*/
typedef struct
{
- uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */
- uint8_t Size; /**< Size of the inner Data Element sequence */
+ uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */
+ uint8_t Size; /**< Size of the inner Data Element sequence */
struct
{
- ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */
- Item16Bit_t PSM; /**< PSM that is to be used to access the service on created channels */
+ ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */
+ Item8Bit_t Channel; /**< Channel that is to be used to access the service */
} Protocol;
- } ItemProtocolPSM_t;
+ } ItemProtocolChannel_t;
/** Structure for a list of Data Elements containing language encodings, including the language ID, Encoding ID and
* Attribute base offset.
@@ -172,5 +172,6 @@
/* External Variables: */
extern const ServiceAttributeTable_t SerialPort_Attribute_Table[];
+ extern const ServiceAttributeTable_t PnP_Attribute_Table[];
#endif