esp_ble_mesh_sensor_client_set_state() function
Set the value of Sensor Server Model states using the Sensor Client Model set messages.
Arguments
params
Pointer to BLE Mesh common client parameters.
set_state
Pointer to sensor 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_sensor_message_opcode_t in esp_ble_mesh_defs.h