Nimble BLE Central accepting pairing from peripheral
Posted: Thu May 11, 2023 5:57 pm
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?
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?