diff --git a/components/bt/Kconfig b/components/bt/Kconfig index fd22f064be..94c9120989 100644 --- a/components/bt/Kconfig +++ b/components/bt/Kconfig @@ -1763,7 +1763,7 @@ if BLE_MESH config BLE_MESH_WAIT_FOR_PROV_MAX_DEV_NUM int "Maximum number of unprovisioned devices that can be added to device queue" - default 20 + default 10 range 1 100 help This option specifies how many unprovisioned devices can be added to device @@ -1773,7 +1773,7 @@ if BLE_MESH config BLE_MESH_MAX_STORED_NODES int "Maximum number of nodes whose information can be stored" - default 20 + default 10 range BLE_MESH_MAX_PROV_NODES 1000 help This option specifies the maximum number of nodes whose information can be @@ -1784,7 +1784,7 @@ if BLE_MESH config BLE_MESH_MAX_PROV_NODES int "Maximum number of devices that can be provisioned by Provisioner" - default 20 + default 10 range 1 1000 help This option specifies how many devices can be provisioned by a Provisioner. @@ -2055,6 +2055,11 @@ if BLE_MESH The replay protection list is used to prevent a node from replay attack, which will store the source address and sequence number of the received mesh messages. + For Provisioner, the replay protection list size should not be smaller than + the maximum number of nodes whose information can be stored. And the element + number of each node should also be taken into consideration. For example, if + Provisioner can provision up to 20 nodes and each node contains two elements, + then the replay protection list size of Provisioner should be at least 40. config BLE_MESH_MSG_CACHE_SIZE int "Network message cache size"