From e8a42b4fd1a335e00ddf6de248e3b97ad23582c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kopy=C5=9Bci=C5=84ski?= Date: Mon, 11 Oct 2021 16:12:20 +0200 Subject: [PATCH] host/mesh: Increase default CDB node count The old default of 1 makes provisioner devices useless, as they can only provision themselves before they run out of space. This is port of f2579cb3f26bde3050306401de9cd2837c94024f --- nimble/host/mesh/syscfg.yml | 2 +- porting/examples/linux_blemesh/include/syscfg/syscfg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nimble/host/mesh/syscfg.yml b/nimble/host/mesh/syscfg.yml index d0ba860a3..f992500d0 100644 --- a/nimble/host/mesh/syscfg.yml +++ b/nimble/host/mesh/syscfg.yml @@ -69,7 +69,7 @@ syscfg.defs: description: > This option specifies how many nodes each network can at most save in the configuration database. - value: 1 + value: 8 BLE_MESH_CDB_SUBNET_COUNT: description: > diff --git a/porting/examples/linux_blemesh/include/syscfg/syscfg.h b/porting/examples/linux_blemesh/include/syscfg/syscfg.h index a3df8b6ea..2fd5232b9 100644 --- a/porting/examples/linux_blemesh/include/syscfg/syscfg.h +++ b/porting/examples/linux_blemesh/include/syscfg/syscfg.h @@ -1041,7 +1041,7 @@ #endif #ifndef MYNEWT_VAL_BLE_MESH_CDB_NODE_COUNT -#define MYNEWT_VAL_BLE_MESH_CDB_NODE_COUNT (1) +#define MYNEWT_VAL_BLE_MESH_CDB_NODE_COUNT (8) #endif #ifndef MYNEWT_VAL_BLE_MESH_CDB_APP_KEY_COUNT