Hello,
I'm making a custom application based on the: ESP-IDF BT/BLE HID Device Demo (located in the /esp-idf/examples/bluetooth/esp_hid_device folder).
I (470) cpu_start: cpu freq: 160000000
I (470) cpu_start: Application information:
I (474) cpu_start: Project name: esp_hid_device
I (480) cpu_start: App version: v4.4.1
I (485) cpu_start: Compile time: Nov 29 2022 13:29:06
I (491) cpu_start: ELF file SHA256: e4034cbed8863142...
I (497) cpu_start: ESP-IDF: v4.4.1
I can successfully pair the device with both Windows and Linux OS. But after resetting the device, it won't reconnect to the Windows PC again, and I need to forget it and start the pairing process from the beginning. On the Linux OS, it gets reconnected after some time.
I've used esp_bt_gap_get_bond_device_num() and esp_bt_gap_get_bond_device_list(...) functions to get saved bond devices and got a response with the MAC address of the bonded device. So, even though the PC USB Dongle is among the bonded devices list it isn't reconnecting automatically to Windows after a reset.
Is there something I forgot to enable, to be able to start the reconnection process when devices are in the range?
Thank you in advance,
Classic Bluetooth Pair and Bond reconnection issue
Who is online
Users browsing this forum: alicia.huang, axellin, Google [Bot] and 132 guests