diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-03 08:33:01 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-03 08:33:01 +0000 |
commit | a405a9bdf8338d947159317fba373fccd01fa0f3 (patch) | |
tree | 8cfc8ad00399d8ae3bfa2c3cb1cac5e679da231c /Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h | |
parent | 480da5aab642eb7e5b87e604a55a91bf872b3607 (diff) | |
download | lufa-a405a9bdf8338d947159317fba373fccd01fa0f3.tar.gz lufa-a405a9bdf8338d947159317fba373fccd01fa0f3.tar.bz2 lufa-a405a9bdf8338d947159317fba373fccd01fa0f3.zip |
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.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h | 13 |
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 1cfc2b2c0..7e33638db 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
|