bt_mesh_cdb_node_alloc() function
Allocate a node. Allocate a new node in the CDB.
Arguments
addr
Address of the node's primary element. If 0, the lowest possible address available will be assigned to the node.
num_elem
Number of elements that the node has.
net_idx
NetIdx that the node was provisioned to.
Return value
The new node or NULL if it cannot be allocated.
![]()
node = bt_mesh_cdb_node_alloc(prov->uuid, addr,
bt_mesh_cdb_node_alloc() is called by 1 function:
![]()
bt_mesh_cdb_node_alloc()