mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 20:00:53 +00:00
ble_mesh: stack: Persistent storage misc fixes
* Fix the issue that deinit node with "erase_flash" set to true, but info is not erased from nvs * Reuse bt_mesh_cfg_reset() when deinit node * Optimize Provisioner related erase operations * No store pending timeout will be used when Node is not provisioned OR Provisioner is disabled and erase operation is performed * Change the default timeout for settings operation to 0, and rpl store rate to 0
This commit is contained in:
@@ -327,7 +327,7 @@ if BLE_MESH
|
||||
config BLE_MESH_SEQ_STORE_RATE
|
||||
int "How often the sequence number gets updated in storage"
|
||||
range 0 1000000
|
||||
default 6
|
||||
default 0
|
||||
help
|
||||
This value defines how often the local sequence number gets updated in
|
||||
persistent storage (i.e. flash). e.g. a value of 100 means that the
|
||||
@@ -342,7 +342,7 @@ if BLE_MESH
|
||||
config BLE_MESH_RPL_STORE_TIMEOUT
|
||||
int "Minimum frequency that the RPL gets updated in storage"
|
||||
range 0 1000000
|
||||
default 5
|
||||
default 0
|
||||
help
|
||||
This value defines in seconds how soon the RPL (Replay Protection List)
|
||||
gets written to persistent storage after a change occurs. If the node
|
||||
|
Reference in New Issue
Block a user