Page 1 of 1

Can't get BLE Pairing to work on ESP32-S3

Posted: Fri May 02, 2025 7:02 am
by dimitar.kunchev
I am trying to get BLE pairing to work with persistent keys. I am testing with the example nimble/bleprph and following the tutorial. ESP-IDF 5.4.1 on ESP32-S3 devkit. I have enabled bonding, MITM, encryption, peer address, and NVS keys persistence and tried various combinations, but I don't get a pairing request when I connect with a smartphone (I tried a few phones, using nRF Connect). I don't see errors in the console output, and I don't see anything that would suggest attempts to pair.

Attached sdkconfig.

Any suggestions on how to enable pairing for testing?

Re: Can't get BLE Pairing to work on ESP32-S3

Posted: Tue May 20, 2025 6:05 am
by dimitar.kunchev
Update:
Looks like the problem is the behavior with (some?) Android devices. iOS appears to work fine.
No solution yet

Re: Can't get BLE Pairing to work on ESP32-S3

Posted: Tue May 20, 2025 7:23 am
by irahul
Hi,

CONFIG_BLE_SM_IO_CAP_NO_IO=y

As seen in sdkconfig, the setting is to use No Input No Output. This will lead to "Just Works" method to be used, where pairing will happen with no user intervention.

If you want to not use JustWorks, you can change the IO Capability to some other form and then it should work

The menuconfig option to modify I/O Capability is present in below path:

(Top) → Example Configuration → I/O Capability