This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

connection problem after bond is restored

Hi, I have successfully implemented a HID keyboard, using the nRF8001 and arduino sdk 0.9.1 ported to a microchip PIC18F controller. Connecting to iPhone iOS7.1.2

Everything works well until i reset power on the micro controller. Then it does the following:

Bond restored successfully

Already bonded : Advertising started : Waiting to be connected

Evt Connected

Already bonded : Advertising started : Waiting to be connected

Evt Connected

and stays in this loop.

I then have to delete the bond on the micro, and forget the device from the iPhone.

I would be grateful for any suggestions on where to look to resolve this issue

kind regards,

Damian

Parents
  • I am working with the same example (the HID keyboard template) and the same thing occurs to me... from Android, iPhone and Windows 8: It only works the first time. After that, I have to delete the bonding, undo the pairing, and restart from the beginning.

    However, I discovered that the device is still linked and working... however, the timer that sends the keypresses is not working correctly. If I force the keypress to be resent... it works !

Reply
  • I am working with the same example (the HID keyboard template) and the same thing occurs to me... from Android, iPhone and Windows 8: It only works the first time. After that, I have to delete the bonding, undo the pairing, and restart from the beginning.

    However, I discovered that the device is still linked and working... however, the timer that sends the keypresses is not working correctly. If I force the keypress to be resent... it works !

Children
No Data
Related