BLE: Re-connection after bonding not working #86613
-
Hi, I have problem with re-connecting a paired BLE connection on zephyr. I have two different HW boards which are behaiving differently with the same zephyr sample. I am using android and iOS phones with the nRF Connect mobile app. When I build the sample for a ESP-WROVER board everything works as expected: When I connect to my device using iOS, I get the pairing prompt when I want to read a protected characteristic. Then I can pair with the device and read the protected characteristic. Then I can disconnect and re-connect to the device and read the protected characteristic again, without any problems. This is what I expected and want. When I use my costum hardware (i.MX RT MCU + IW416 BT/Wifi IC) the process is as follows: I can connect to the device, read a protected characteristic (after pairing) and disconnect. When I want to re-connect, this is not working. On iOS I do not get any error inside the nRF connect app. This process is not the same for android: When I do the same using an android phone (Android 14 and 11 tested) everything works. I can connect, pair, read, disconnect and re-connect without any problems on both HW boards. Things that I noticed that might be important:
Here are logs for connecting, bondind, disconnection and re-connection on the working ESP32:
Logs for the same process on my custom HW board
I am no expert, but my suggestion is that somehow the sc_data for iOS does not properly get stored on my custom HW. Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @VinFar Support for IW416 chipset has not yet been merged. https://github.com/zephyrproject-rtos/zephyr/pull/85749/commits You can enable notifications for merge events on these pull requests to stay updated on the progress. Thanks, |
Beta Was this translation helpful? Give feedback.
Hello @VinFar
Support for IW416 chipset has not yet been merged.
To enable IW416 support with i.MX RT MCU, the following pull requests need to be merged.
https://github.com/zephyrproject-rtos/zephyr/pull/85749/commits
https://github.com/zephyrproject-rtos/hal_nxp/pull/512/files
You can enable notifications for merge events on these pull requests to stay updated on the progress.
Thanks,
Ritesh