Short UUIDs are measured in bytes, not bits -- update Service Discovery Protocol code so that it can now correctly match against UUIDs in the service table.

This commit is contained in:
Dean Camera 2010-05-20 13:06:04 +00:00
parent 141d94fa98
commit 3e515cdfa8
4 changed files with 22 additions and 10 deletions

View file

@ -55,6 +55,8 @@
/** Bluetooth specification defined channel number for connectionless data */
#define BT_CHANNEL_CONNECTIONLESS 0x0002
#define BT_ACL_FIRST_AUTOFLUSH (1 << 13)
#define BT_SIGNAL_COMMAND_REJECT 0x01
#define BT_SIGNAL_CONNECTION_REQUEST 0x02
#define BT_SIGNAL_CONNECTION_RESPONSE 0x03
@ -82,9 +84,7 @@
#define BT_CONFIGURATION_UNKNOWNOPTIONS 0x0003
#define BT_CONFIG_OPTION_MTU 1
#define BT_ACL_FIRST_AUTOFLUSH (1 << 13)
/* Type Defines: */
/** Bluetooth ACL header structure, common to all ACL data packets. */
typedef struct