Scheduler Server#
Used to support the control and reporting functionality of a node that can store a schedule. It has a corresponding Scheduler Setup Server model which is present in the same element. This component is prepared for integration into SOC applications. This is a No-Code component.
Functions#
Function Documentation#
sl_btmesh_scheduler_init#
sl_status_t sl_btmesh_scheduler_init (void )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
Scheduler 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_scheduler_server_on_event#
void sl_btmesh_scheduler_server_on_event (sl_btmesh_msg_t * evt)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_btmesh_msg_t * | [in] | evt | Pointer to incoming time event. |
Handling of mesh scheduler events.
This function is called automatically after enabling the component.