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.
This commit is contained in:
parent
26421b38cd
commit
6cfa3b7db8
6 changed files with 136 additions and 31 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue