When do you get the "peer removed pairing information" error?

I got this error during development.

I think it is caused by the BLE device erasing the connection information with iOS,

I don't know under what circumstances the BLE device will erase the connection information.

If you know the patterns that occur frequently, please let me know.

For example, when updating iOS

I would like to know the situation that has occurred so far.

  • Hello,

    this disconnection reason is most prominent when the device has been paired with the native OS BLE application rather than the custom application, as far as I can tell.

    thank you. I will check it.

    A sniffer trace of the scenario would be of great help if we are to debug this more closely.

    thank you. Let's check using this.

    Best regards,

    Kuma

  • applesan said:
    thank you. I will check it.

    Good, I look forward to hearing what you find.
    To elaborate a little further I suspect that the issue here could be that the OS native app is keeping the key and not sharing it with the custom application.
    From the peripheral's standpoint the device will be known, so it will use the stored information, while the custom app will not be able to decrypt the incomming packages without the key (which is stored in the OS native app, and not provided to the custom app), prompting the 'peer removed pairing information' error, or something along these lines.
    If this is the case, I would expect it to be solved by initiating the pairing/bonding from the custom app, rather than the OS native app.

    applesan said:
    thank you. Let's check using this.

    Great, please do not hesitate to let me know if you encounter any issues or questions while using the sniffer tool to capture the trace.

    Best regards,
    Karl

Related