Search found 7 matches

by IanWhitehead
Mon Nov 25, 2019 7:39 pm
Forum: ESP-IDF
Topic: Provisioning Android Master - BLE Service UUID
Replies: 1
Views: 3147

Provisioning Android Master - BLE Service UUID

How can the BLE Provisioning Service UUID be changed, to a custom value, in the esp-idf-provisioning-android-master project? The default value is 0000ff52-0000-1000-8000-00805f9b34fb . I found the settings in a file generated.xml within the application build tree, but this file has a specific <!-- A...
by IanWhitehead
Sun Nov 17, 2019 6:57 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Re: Persist Bonding Information with nimBLE

@ESP_Prasad After more testing I found that the iPhone will (also) try to connect using a different address - it seems to be time based (e.g. If I disconnect, then wait 30 minutes before trying to reconnect, it will use a different address). My understanding is that this is typically behavior for BL...
by IanWhitehead
Fri Nov 15, 2019 5:28 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Re: Persist Bonding Information with nimBLE

@ESP_Prasad I have made some progress. The console trace below shows multiple connect/disconnect sequences with bonding persisting. I was using the iPhone 7 that used the same peer address each time. The main difference is that I disabled Security manager legacy pairing configuration option (Compone...
by IanWhitehead
Thu Nov 14, 2019 4:35 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Re: Persist Bonding Information with nimBLE

@ESP_Prasad your observation of the peer address changing, being the cause for the bonding not persisting, makes sense. I don't know why my Android device (Samsung Galaxy S9) would change addresses, I did not restart or reset it. To explore further, I tried using my iPhone 7 and LightBlue, the conso...
by IanWhitehead
Wed Nov 13, 2019 7:54 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Re: Persist Bonding Information with nimBLE

Hi @ESP_Prasad, Here is a complete console log, showing the repeat bonding: --- idf_monitor on COM6 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RT...
by IanWhitehead
Fri Nov 08, 2019 5:03 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Re: Persist Bonding Information with nimBLE

Hi @ESP_Hrishi, Thank you for the good news the persisting the bonding information is supported. I just need to figure out how to make it work! I checked my configuration and "Use Bonding" is enabled. To eliminate variables, and simplify reproducing the issue, I created a new project using the blepr...
by IanWhitehead
Thu Nov 07, 2019 10:01 pm
Forum: ESP-IDF
Topic: Persist Bonding Information with nimBLE
Replies: 14
Views: 22069

Persist Bonding Information with nimBLE

Hi, I have been developing an app based on the bluetooth/nimble/bleprph example. Setting .sm_io_cap = BLE_SM_IO_CAP_DISP_YES_NO I am able to successfully complete a bonding operation. If, however, the peer device disconnects and tries to reconnect, the bonding process has to be repeated. A system re...