aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-10 05:58:37 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-10 05:58:37 +0000
commit797130bddc25d519cd765ca8d82d1e729e3d8ae0 (patch)
tree09e09329429fecb8196c20b4b5d8553bde38a6dd /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
parent2a072db7030fa33be1e8dcf82ebf0b45cb4d77c1 (diff)
downloadlufa-797130bddc25d519cd765ca8d82d1e729e3d8ae0.tar.gz
lufa-797130bddc25d519cd765ca8d82d1e729e3d8ae0.tar.bz2
lufa-797130bddc25d519cd765ca8d82d1e729e3d8ae0.zip
Bluetooth demo can now create and maintain logical channels - need to determine why Windows machines refuse to connect.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
index d9d07cc70..1edbfa603 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
@@ -73,6 +73,8 @@
#define BT_CONFIG_OPTION_MTU 1
+ #define BT_ACL_FIRST_AUTOFLUSH (1 << 13)
+
/* Type Defines: */
typedef struct
{
@@ -145,8 +147,8 @@
typedef struct
{
- uint8_t Type;
- uint16_t Length;
+ uint8_t Type;
+ uint8_t Length;
} BT_Config_Option_Header_t;
/* Function Prototypes: */
@@ -164,6 +166,9 @@
static inline void Bluetooth_Signal_ConfigurationReq(BT_ACL_Header_t* ACLPacketHeader,
BT_DataPacket_Header_t* DataHeader,
BT_Signal_Header_t* SignalCommandHeader);
+ static inline void Bluetooth_Signal_ConfigurationResp(BT_ACL_Header_t* ACLPacketHeader,
+ BT_DataPacket_Header_t* DataHeader,
+ BT_Signal_Header_t* SignalCommandHeader);
static inline void Bluetooth_Signal_DisconnectionReq(BT_ACL_Header_t* ACLPacketHeader,
BT_DataPacket_Header_t* DataHeader,
BT_Signal_Header_t* SignalCommandHeader);