Description
i have been working on BLE HID keyboard and multimedia. i have used one of your keyboard example. first time the keyboard works perfectly. its pairs with my iphone and works nicely but when i power off and then power on the nrf51822 it connects to my iphone automatically but do not send the key data to iphone the debug is given below
//////////////////////first startup after programming////////////////////////////////
version = 8 89 135
Start advertisement
Peripheral address:
BLE HID Volume Knob
Evt Connected 69:5b:bd:9e:90:3c
Peripheral connected to central: 69:5b:bd:9e:90:3c
Connected to central: 69:5b:bd:9e:90:3c
Evt Write, handle = 11
02 00
Evt Sec Params Request 1 1 4 0 0 16
Evt Conn Sec Update 1 2 16
Evt Auth Status
0
Storing bond data
Peripheral bonded: 69:5b:bd:9e:90:3c
Evt Write, handle = 21
01 00
Evt Conn Param Update 0xC 0xC 0x4 0x64
Evt TX complete 4
Evt TX complete 2
Evt TX complete 2
Evt TX complete 4
Evt TX complete 2
Evt TX complete 2
/////////////////////////power off and on the nrf51822/////////////////////
version = 8 89 135
Start advertisement
Peripheral address:
BLE HID Volume Knob
Evt Connected 69:5b:bd:9e:90:3c
Peripheral connected to central: 69:5b:bd:9e:90:3c
Connected to central: 69:5b:bd:9e:90:3c
Evt Sec Info Request 27753 1 0 0
Evt Write, handle = 11
02 00
Evt Sec Info Request 27753 1 0 0
and the serial monitor does not show anything else.
any idea why it is hapenning
the only way to make it work again is to forget the device from my iphone and reset the nrf51822 and then pair agian.