Hello,
Below thread described 15 bonded devices can be stored in ESP32 and it will delete the oldest bonded device to make room for the new one when the device reaches the limit.
https://esp32.com/viewtopic.php?t=6403
Is there a way to change the max number of bonded devices? Also, can change the rules that ESP32 WILL NOT delete the oldest bonded device but just report "bonded devices full" message during bonding?
Thanks,
Kevin
BLE bonding limit
Re: BLE bonding limit
For question 1: you can change the size of the macro BTM_SEC_MAX_DEV_RECORDS.kevinlam wrote: ↑Mon Jul 06, 2020 3:41 amHello,
Below thread described 15 bonded devices can be stored in ESP32 and it will delete the oldest bonded device to make room for the new one when the device reaches the limit.
https://esp32.com/viewtopic.php?t=6403
Is there a way to change the max number of bonded devices? Also, can change the rules that ESP32 WILL NOT delete the oldest bonded device but just report "bonded devices full" message during bonding?
Thanks,
Kevin
For question 2: Different users may expect different behaviors, you can change the behavior of _btc_storage_save function.
-
- Posts: 1
- Joined: Mon Apr 03, 2023 12:33 pm
Re: BLE bonding limit
Has this changed the last 3 years or do you still have to make changes in the idf to be able to deny bonding instead of deleting oldest?
Who is online
Users browsing this forum: No registered users and 106 guests