File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
components/bt/host/nimble Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,16 @@ config BT_NIMBLE_NVS_PERSIST
164164 help
165165 Enable this flag to make bonding persistent across device reboots
166166
167+ config BT_NIMBLE_SMP_ID_RESET
168+ bool "Reset device identity when all bonding records are deleted"
169+ default n
170+ help
171+ There are tracking risks associated with using a fixed or static IRK.
172+ If enabled this option, Bluedroid will assign a new randomly-generated IRK
173+ when all pairing and bonding records are deleted. This would decrease the ability
174+ of a previously paired peer to be used to determine whether a device
175+ with which it previously shared an IRK is within range.
176+
167177menuconfig BT_NIMBLE_SECURITY_ENABLE
168178 bool "Enable BLE SM feature"
169179 depends on BT_NIMBLE_ENABLED
Original file line number Diff line number Diff line change 892892#define MYNEWT_VAL_BLE_SM_THEIR_KEY_DIST (0)
893893#endif
894894
895+ #ifndef MYNEWT_VAL_BLE_SMP_ID_RESET
896+ #ifdef CONFIG_BT_NIMBLE_SMP_ID_RESET
897+ #define MYNEWT_VAL_BLE_SMP_ID_RESET CONFIG_BT_NIMBLE_SMP_ID_RESET
898+ #else
899+ #define MYNEWT_VAL_BLE_SMP_ID_RESET (0)
900+ #endif
901+ #endif
902+
895903#ifndef MYNEWT_VAL_BLE_CRYPTO_STACK_MBEDTLS
896904#define MYNEWT_VAL_BLE_CRYPTO_STACK_MBEDTLS (CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS)
897905#endif
You can’t perform that action at this time.
0 commit comments