Unable to set password in gatt_security_server example
Posted: Thu Aug 23, 2018 12:12 am
Hi everyone,
I want to implement BLE security using password authentication. My device don't have Display or Keyboard and I want to connect to it using Android. My idea is to enter six digit key on Android side which I manually set in ESP firmware.
For start I'm using gatt_security_server example from ESP-IDF and I can't find the way to manually set BLE password, every time ESP generates random six digit password.
Is there a way to set manual password and to disable random password generation in gatt_security_server example?
Thank you all for advises in advance.
I want to implement BLE security using password authentication. My device don't have Display or Keyboard and I want to connect to it using Android. My idea is to enter six digit key on Android side which I manually set in ESP firmware.
For start I'm using gatt_security_server example from ESP-IDF and I can't find the way to manually set BLE password, every time ESP generates random six digit password.
Is there a way to set manual password and to disable random password generation in gatt_security_server example?
Thank you all for advises in advance.