esp_ble_mesh_provisioner_set_node_name() function
This function is called to set the node (provisioned device) name.
Arguments
index
Index of the node in the node queue.
name
Name (end by '\0') to be set for the node.
Return value
ESP_OK on success or error code otherwise.
Notes
index is obtained from the parameters of ESP_BLE_MESH_PROVISIONER_PROV_COMPLETE_EVT.
Examples
esp_ble_mesh_provisioner_set_node_name() is referenced by 6 libraries and example projects: