Time Server#

Used to support the control and reporting functionality of a node that tracks time. This component is prepared for integration into SOC applications. This is a No-Code component.

Functions#

sl_status_t
void
sl_btmesh_time_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 if successful. Error code otherwise.


sl_btmesh_time_server_on_event#

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

Pointer to incoming time event.

Handling of mesh time events. It handles:

  • time_server_time_updated

  • time_server_time_zone_offset_updated

  • time_server_tai_utc_delta_updated

  • time_server_time_role_updated

This function is called automatically after enabling the component.