diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-12 13:42:35 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-12 13:42:35 +0000 |
commit | 8b0ec6c5cafe99595743725a20ad40ce4898de14 (patch) | |
tree | 80357eb73d020c3684e167e007caeb4c3cb6fdcb /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h | |
parent | 6cfa3b7db8b5585a8443f457dcb728b65a7f7ffd (diff) | |
download | lufa-8b0ec6c5cafe99595743725a20ad40ce4898de14.tar.gz lufa-8b0ec6c5cafe99595743725a20ad40ce4898de14.tar.bz2 lufa-8b0ec6c5cafe99595743725a20ad40ce4898de14.zip |
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.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h index 012fbc0f9..d38721a72 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h @@ -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
|