Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this command only, the source/destination roles are switched. Reverse the Local/Remote channel ordering so that Windows mobile and other stacks which depend on valid channel values to connect.
This commit is contained in:
parent
6cfa3b7db8
commit
8b0ec6c5ca
3 changed files with 18 additions and 5 deletions
|
@ -42,13 +42,14 @@
|
|||
|
||||
/* Macros: */
|
||||
#define BT_ACL_DEBUG(l, s, ...) do { if (ACL_DEBUG_LEVEL >= l) printf_P(PSTR("(ACL) " s "\r\n"), __VA_ARGS__); } while (0)
|
||||
#define ACL_DEBUG_LEVEL 1
|
||||
#define ACL_DEBUG_LEVEL 2
|
||||
|
||||
#define BT_CHANNELNUMBER_BASEOFFSET 0x0040
|
||||
|
||||
#define BT_CHANNEL_SIGNALING 0x0001
|
||||
#define BT_CHANNEL_CONNECTIONLESS 0x0002
|
||||
|
||||
#define BT_SIGNAL_COMMAND_REJECT 0x01
|
||||
#define BT_SIGNAL_CONNECTION_REQUEST 0x02
|
||||
#define BT_SIGNAL_CONNECTION_RESPONSE 0x03
|
||||
#define BT_SIGNAL_CONFIGURATION_REQUEST 0x04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue