esp_zb_zcl_scenes_table_store() function
Set the ZCL scenes cluster scene table for users.
Arguments
endpoint
The endpoint identifier
group_id
The group id of scene, which will be used to find scenes table record
scene_id
The scene id of scene, which will be used to find scenes table record
transition_time
The transition time of scene, whose unit is 100 milliseconds
field
The pointer to zcl sense extension field list
Return value
- ESP_OK: on success - ESP_FAIL: the group id or scene id is invalid