Scene Server#

Used to support the control and reporting functionality of a node that can participate in a scene. 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 server).

Functions#

sl_status_t
void
sl_btmesh_scene_server_on_event(sl_btmesh_msg_t *evt)

Function Documentation#

sl_btmesh_scenes_init#

sl_status_t sl_btmesh_scenes_init (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Scenes initialization. This should be called at each boot if provisioning is already done. Otherwise this function should be called after provisioning is completed. This function is called automatically after enabling the component.

Returns

  • Status of the initialization operation. Returns SL_STATUS_OK (0) if successful. Error code otherwise.


sl_btmesh_scene_server_on_event#

void sl_btmesh_scene_server_on_event (sl_btmesh_msg_t * evt)
Parameters
TypeDirectionArgument NameDescription
sl_btmesh_msg_t *[in]evt

Pointer to incoming scene server event.

Handling of mesh scene events.

This function is called automatically after enabling the component.