Other Parts Discussed in Thread: CC2540
Hi Everyone
I have a central and peripheral configured on two CC2540 dev kits using BTool. All is good setting them up, pairing and exchanging key info, but when I try to get authorization from my master to connect to my peripheral using GAP_Bond, it always fails with the error 0x06(InvalidEventID)
-----------------------------------------------------------------------------------------------
39] : <Rx> - 11:10:27.184
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x05 (5) bytes(s)
Event : 0x060E (GAP_BondComplete)
Status : 0x06 (Invalid Event Id)
ConnHandle : 0x0000 (0)
Dump(Rx):
04 FF 05 0E 06 06 00 00
I know the issue is lying with my peripheral since when I use GAP_Bond to reconnect to the SimpleBLEPeripheral and using his LTK,etc., it works fine. So my question is, what do I need to do on the peripheral side to be able to let the master authenticate itself using the security keys?
Sincere thanks
Tielman