Time Server Callbacks
Functions | |
bool | emberZclClusterTimeServerInitCallback (EmberZclEndpointId_t endpointId) |
Initialises the Time Server. | |
bool | emberZclClusterTimeServerTickCallback (EmberZclEndpointId_t endpointId) |
Handle the Time Server tick. | |
uint32_t | emberZclClusterTimeServerGetCurrentTimeCallback (void) |
Calls the user to get the real time. |
Detailed Description
These callbacks are contributed by the Time Server plugin.
Function Documentation
uint32_t emberZclClusterTimeServerGetCurrentTimeCallback | ( | void |
| ) |
The user is able to provide the real time to the server through this call back.
bool emberZclClusterTimeServerInitCallback | ( | EmberZclEndpointId_t | endpointId | ) |
This function is called from the time server during its initialisation.
- Parameters
-
endpointId
The endpoint that holds the time server Ver.: always
- Returns
- FALSE if the application is not handling the Time Server initialisation.
References FALSE.
bool emberZclClusterTimeServerTickCallback | ( | EmberZclEndpointId_t | endpointId | ) |
This function is called when the Time Server tick event expires.
- Parameters
-
endpointId
The endpoint that holds the time server Ver.: always
- Returns
- FALSE if the application is not handling the Time Server tick.
References FALSE.