forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: Mesh: Prevent CDB reusing address of deleted nodes
According to MshPRFv1.0.1, section 3.10.7, the Provisioner shall only use reuse addresses of the deleted nodes after IV Index is updated. This change prevents CDB reusing addresses of the deleted nodes until IV Index is updated. Due to a high range of the unicast addresses, CDB only stores the highest deleted address once a node is deleted. This creates a limitation where allocating a node with the high primary unicast address and then deleting it will make CDB skip big range of address until next IV Index update. Signed-off-by: Pavel Vasilyev <[email protected]>
- Loading branch information
1 parent
1df3de4
commit 33b9f3e
Showing
2 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters