esp_ble_mesh_node_add_local_app_key() function
This function is called by Node to add a local AppKey.
Arguments
app_key
AppKey to be added.
Return value
ESP_OK on success or error code otherwise.
Notes
The net_idx must be an existing one. This function can only be called after the device is provisioned.
esp_ble_mesh_node_add_local_app_key() calls 2 functions:
![]()
esp_ble_mesh_node_add_local_app_key()
esp_ble_mesh_node_add_local_app_key() reads 7 variables and writes 5 variables:
![]()
esp_ble_mesh_node_add_local_app_key()