Hello,
I am new to ESP32, I have an ESP32-WROOM-32 board and I am using it with Arduino IDE. I need to connect to a BLE server using security. I don't know the details of the security used by the server, it has not display or keyboard and if I try to connect with a smartphone is requested to insert a pin via keyboard and it is 123456. I would like to connect with the ESP32 to the server and use some of the GATT services that required authorization for writing and reading operations.
I have not a display or keyboard connected to the ESP32 so I would like to fix the pin in the code. I tried this example:
https://github.com/nkolban/esp32-snippe ... asskey.ino
but it doesn't seem to work. In the security callback I receive only onAuthenticationComplete() event with auth_cmpl.success false.
I tried different options for setEncryptionLevel(), setAuthenticationMode() and setCapability() without success.
Any idea and suggestion ?
Thank you
BLE security client
Re: BLE security client
Hi,
Did you solve your problem?
If so, how?
Thanks
Did you solve your problem?
If so, how?
Thanks
Who is online
Users browsing this forum: Kuralmozhi and 45 guests