mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-13 12:40:01 +00:00
mesh: Add database for managing nodes and keys
Refactor the handling of network nodes and their keys into a separate Mesh Configuration Database (CDB). This, not only creates a separation of the local node and the other nodes, but also makes it possible to implement functions to manage the whole, or at least parts of the mesh network. this is port of 29291bfe9ef5af4e6b7ae630812922f668fd0668
This commit is contained in:
committed by
Łukasz Rymanowski
parent
13c48e27d2
commit
0b1e0d72a8
@@ -1020,6 +1020,22 @@
|
||||
#define MYNEWT_VAL_BLE_MESH_PROVISIONER (0)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_MESH_CDB
|
||||
#define MYNEWT_VAL_BLE_MESH_CDB (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_MESH_CDB_SUBNET_COUNT
|
||||
#define MYNEWT_VAL_BLE_MESH_CDB_SUBNET_COUNT (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_MESH_CDB_NODE_COUNT
|
||||
#define MYNEWT_VAL_BLE_MESH_CDB_NODE_COUNT (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_MESH_CDB_APP_KEY_COUNT
|
||||
#define MYNEWT_VAL_BLE_MESH_CDB_APP_KEY_COUNT (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_MESH_PROV_LOG_LVL
|
||||
#define MYNEWT_VAL_BLE_MESH_PROV_LOG_LVL (1)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user