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

HID keyboard example and whitelist

After disconnecting from chip I can not connect it with the same phone .And the chip will restart when we try to reconnet with the same phone (the phone have been deleted the pairing messages). what may be the problem?Why this will happen ?Could you  explain it clearly to me ? And can you give me a suggestion on how to solve this problem?I have read some similar quetions the other developer asked ,but I still have no idea.Thank you very much .

Parents
  • Hi!

    Quick information about Pairing/Bonding:
    Pairing: Devices that are initially connected can exchange encryption keys and encrypt the link. When they have,
    the link is secure and they are paired.

    Bonding: Paired devices can be bonded. This means that they store the keys that have already been exchanged when
    they paired and use those again the next time they connect.

    I believe your problem is related to the bond information on the phone being deleted.
    When you bond the devices, they store the encryption keys to use the next time they connect. When these keys are deleted
    from the phone, your device will try to reconnect to the phone using the old keys, they are no longer present on the phone,
    and the connection drops.

    You can try to connect your device and your phone, but when you disconnect, don't erase the encryption keys from the phone.
    Then you should be able to reconnect.

    Please let me know if I misunderstood you in any way, or if you have additional questions.

    Cheers,
    Joakim.

Reply
  • Hi!

    Quick information about Pairing/Bonding:
    Pairing: Devices that are initially connected can exchange encryption keys and encrypt the link. When they have,
    the link is secure and they are paired.

    Bonding: Paired devices can be bonded. This means that they store the keys that have already been exchanged when
    they paired and use those again the next time they connect.

    I believe your problem is related to the bond information on the phone being deleted.
    When you bond the devices, they store the encryption keys to use the next time they connect. When these keys are deleted
    from the phone, your device will try to reconnect to the phone using the old keys, they are no longer present on the phone,
    and the connection drops.

    You can try to connect your device and your phone, but when you disconnect, don't erase the encryption keys from the phone.
    Then you should be able to reconnect.

    Please let me know if I misunderstood you in any way, or if you have additional questions.

    Cheers,
    Joakim.

Children
Related