Skip to content

Commit 6107e88

Browse files
PavelVPVkartben
authored andcommitted
tests: bsim: bluetooth: ll: multiple_id: Allow unpair old bond
In the multiple_central.sh test, same Central bonds with Peripheral multiple times. Because Peripheral uses different identity for the next bond, Host by default sees the conflict with the old bond and rejects the new one. For the test we don't care about security and can simply replace the old bond. Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent 8834984 commit 6107e88

File tree

1 file changed

+4
-1
lines changed
  • tests/bsim/bluetooth/ll/multiple_id

1 file changed

+4
-1
lines changed

tests/bsim/bluetooth/ll/multiple_id/prj.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,7 @@ CONFIG_BT_CTLR_CENTRAL_SPACING=3750
6161
CONFIG_BT_CTLR_CENTRAL_RESERVE_MAX=n
6262
CONFIG_BT_CTLR_SLOT_RESERVATION_UPDATE=n
6363

64-
CONFIG_LOG=y
64+
# Enable these 2 Kconfig options to allow Host to replace old bond with new one
65+
# when using the same identity address for testing.
66+
CONFIG_BT_ID_UNPAIR_MATCHING_BONDS=y
67+
CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE=y

0 commit comments

Comments
 (0)