Other Parts Discussed in Thread: CC2540
I am trying to test the Keyfob demo with iOS app "Bluetooth Multitool", and problem occurred when I modified the keyfobdemo.c file as follows:
// Setup the GAP Bond Manager
{
uint8 pairMode = GAPBOND_PAIRING_MODE_INITIATE;
uint8 mitm = TRUE;
uint8 ioCap = GAPBOND_IO_CAP_NO_INPUT_NO_OUTPUT;
uint8 bonding = TRUE;
.......
}
The only slight change allowing "Just work" pairing will caused problem when I pressed "Cancel" for pairing, and the iOS app keep asking for pairing again and again! Can someone tell me where the problem is?