Skip to content

Failure to re-pair to phone (esp-idf v5.4.1) #321

Open
@finger563

Description

@finger563

Whereas previously my hid_service/example would pair and work with my iPhone over BLE every time, now it only works every other reboot.

Flash the example, then run the following steps to reproduce:

  1. Pair to iphone - should see that it bonds and connects just fine
  2. Forget pairing info on iphone
  3. Attempt to re-pair to iphone - should see that it gives pairing prompt then briefly shows connected before immediately disconnects (REMOTE_USER_TERMINATED).
  4. Step 3 will continue to fail until you reboot the esp32, at which point it will succeed again, but only once. Any kind of reboot seems to work (power cycle, press reset button, software reset, deep sleep reset)

Logs:

success.log
failure.log

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions