From 6cfa3b7db8b5585a8443f457dcb728b65a7f7ffd Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 11 Apr 2010 06:19:58 +0000 Subject: Add HCI debugging with verbosity control to the BluetoothHost demo. Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented. --- Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c') diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c index df831fd0d..45fad7bd7 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c @@ -208,7 +208,7 @@ Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM) if (Bluetooth_Connection.Channels[i].State == Channel_Closed) { ChannelData = &Bluetooth_Connection.Channels[i]; - ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i); + ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i); break; } } @@ -292,7 +292,7 @@ static inline void Bluetooth_Signal_ConnectionReq(BT_ACL_Header_t* ACLPac if (Bluetooth_Connection.Channels[i].State == Channel_Closed) { ChannelData = &Bluetooth_Connection.Channels[i]; - ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i); + ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i); break; } } -- cgit v1.2.3