esp_ble_mesh_provisioner_get_node_index() function
This function is called to get the node (provisioned device) index.
Syntax
uint16_t esp_ble_mesh_provisioner_get_node_index(const char *name); Arguments
name
Name of the node (end by '\0').
Return value
Node index on success, or an invalid value (0xFFFF) on failure.