Hello,
I currently working with an ESP32-S3 as a BLE Central server and trying to pair to a external BLE peripheral. I am currently having issues with trying to read characteristics from the device (Nimble BLE hangs after sending read) and I suspect it is because I do not have any way of accepting the pairing request on my ESP32. I have a separate phone app which I can connect to my external BLE peripheral and when I initiate pairing from the app, I am prompted in the app to accept the pairing from the external device. Is there anyway I could use esp-idf's monitor to accept the pairing request? Is there a GAP event when receiving a pairing request?
Nimble BLE Central accepting pairing from peripheral
-
- Posts: 1708
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Nimble BLE Central accepting pairing from peripheral
Haven't tried it on a central, but you may want to check if you receive a BLE_GAP_EVENT_PASSKEY_ACTION after calling ble_gap_security_initiate(...).
Who is online
Users browsing this forum: No registered users and 109 guests