Scene Client#
Used to support the functionality of a node that can configure scenes on a network and trigger a state transition to a scene on another node. This component provides a function to recall a scene identified by its number. This component is prepared for integration into SOC applications. This is a No-Code component, if it is used with other compatible software components (eg.: CTL client).
Functions#
void
sl_btmesh_select_scene(uint8_t scene_to_recall)
void
sl_btmesh_handle_scene_client_on_event(sl_btmesh_msg_t *evt)
Function Documentation#
sl_btmesh_select_scene#
void sl_btmesh_select_scene (uint8_t scene_to_recall)
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | [in] | scene_to_recall | Scene to recall, possible values 1-255. |
This function select scene and send it to the server.
sl_btmesh_handle_scene_client_on_event#
void sl_btmesh_handle_scene_client_on_event (sl_btmesh_msg_t * evt)
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_btmesh_msg_t * | [in] | evt | Pointer to incoming event. |
Handle Sensor Server events.
This function is called automatically after enabling the component.