Ways to remove ble bonding Info
Posted: Mon May 21, 2018 8:04 am
I want to know is there any ways to remove the ble bonding info on GATT client.
By using the GATT security client example, a esp32 GATT client can successfully bond to a ble GATT server device.
However, once the GATT server device is 's bonding information is removed by some means (e.g. factory reset), the esp gatt client cannot bond again this device even the following api is called:
esp_ble_set_encryption(param->open.remote_bda, ESP_BLE_SEC_ENCRYPT);
No pairing response can be obtained later.
Maybe the old bonding information for that device in the esp32 gatt client is still keeping at some where, so that the device cannot be bonded.
So my question is : how can we remove the ble bonding information in ESP GATT client?
or is there any way to initiate the bonding even old bonding info is existed?
Thank you
By using the GATT security client example, a esp32 GATT client can successfully bond to a ble GATT server device.
However, once the GATT server device is 's bonding information is removed by some means (e.g. factory reset), the esp gatt client cannot bond again this device even the following api is called:
esp_ble_set_encryption(param->open.remote_bda, ESP_BLE_SEC_ENCRYPT);
No pairing response can be obtained later.
Maybe the old bonding information for that device in the esp32 gatt client is still keeping at some where, so that the device cannot be bonded.
So my question is : how can we remove the ble bonding information in ESP GATT client?
or is there any way to initiate the bonding even old bonding info is existed?
Thank you