esp_ble_mesh_light_client_get_state() function
Get the value of Light Server Model states using the Light Client Model get messages.
Arguments
params
Pointer to BLE Mesh common client parameters.
get_state
Pointer of light get 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