esp_ble_mesh_node_add_local_net_key() function
This function is called by Node to add a local NetKey.
Arguments
net_key
NetKey to be added.
Return value
ESP_OK on success or error code otherwise.
Notes
This function can only be called after the device is provisioned.
esp_ble_mesh_node_add_local_net_key() calls 2 functions:
![]()
esp_ble_mesh_node_add_local_net_key()
esp_ble_mesh_node_add_local_net_key() reads 7 variables and writes 4 variables:
![]()
esp_ble_mesh_node_add_local_net_key()