esp_ble_mesh_light_client_set_state() function
Set the value of Light Server Model states using the Light Client Model set messages.
Arguments
params
Pointer to BLE Mesh common client parameters.
set_state
Pointer of light set message value. Shall not be set to NULL.
Return value
ESP_OK on success or error code otherwise.
Notes
If you want to know the opcodes and corresponding meanings accepted by this API, please refer to esp_ble_mesh_light_message_opcode_t in esp_ble_mesh_defs.h