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

ios reconnect keyboard after bonds erased,conn_sec_failed

i use the keyboard project, bond and pair the iphone7(ios11.2), the iphone display is connected,ok, then i reset the keyboard and erase bonds, the iphone display disconnected then connected, but this link can not work, is a kind of false connections. i can see the PM_EVT_CONN_SEC_FAILED in the log message, how to change the keyboard code for iphone display is still disconnected when i reset the keyboard and erase bonds.

i try the android5.1.1, when i reset the keyboard and erase bonds, the android display is disconnected, if android want to connect the keyboard ,need new bond and pair , i think this process is right

Parents
  • If you delete the bond information on the the Peripheral but not on the phone you should see get a error event. Note that iOS will reconnect automatically to a known/bonded HID device and try to re-establish the bond. So you will get the failed event. Not sure what the behavior is for the Android 5.1.1 Handset you are using, but sounds like it has a security issue... Regardless it is hard to say exactly what is happening without looking at sniffer logs.

Reply
  • If you delete the bond information on the the Peripheral but not on the phone you should see get a error event. Note that iOS will reconnect automatically to a known/bonded HID device and try to re-establish the bond. So you will get the failed event. Not sure what the behavior is for the Android 5.1.1 Handset you are using, but sounds like it has a security issue... Regardless it is hard to say exactly what is happening without looking at sniffer logs.

Children
No Data
Related