esp_ble_mesh_provisioner_get_node_table_entry() function
This function is called by Provisioner to get the entry of the node table.
Return value
Pointer to the start of the node table.
Notes
After invoking the function to get the entry of nodes, users can use the "for" loop combined with the macro CONFIG_BLE_MESH_MAX_PROV_NODES to get each node's information. Before trying to read the node's information, users need to check if the node exists, i.e. if the *(esp_ble_mesh_node_t **node) is NULL. For example: ``` const esp_ble_mesh_node_t **entry = esp_ble_mesh_provisioner_get_node_table_entry(); for (int i = 0; i < CONFIG_BLE_MESH_MAX_PROV_NODES; i++) { const esp_ble_mesh_node_t *node = entry[i]; if (node) { ...... } } ```
![]()
const esp_ble_mesh_node_t **esp_ble_mesh_provisioner_get_node_table_entry(void)
esp_ble_mesh_provisioner_get_node_table_entry() calls 1 function:
![]()
esp_ble_mesh_provisioner_get_node_table_entry()