Constants#
This section provides a reference to the SNTP API constants.
Modules#
Enumerations#
enum
SL_SNTP_CLIENT_START = 1
SL_SNTP_CLIENT_GET_TIME
SL_SNTP_CLIENT_GET_TIME_DATE
SL_SNTP_CLIENT_GET_SERVER_INFO
SL_SNTP_CLIENT_STOP
}
Enumeration of SNTP client events.
Enumeration Documentation#
sl_sntp_client_events_t#
sl_sntp_client_events_t
Enumeration of SNTP client events.
The enumeration defines the various events that the SNTP client can trigger. These events are used to notify the application about the status, and results of SNTP operations.
Enumerator | |
---|---|
SL_SNTP_CLIENT_START | Event indicates SNTP client start. |
SL_SNTP_CLIENT_GET_TIME | Event indicates the SNTP client retrieves the current time. |
SL_SNTP_CLIENT_GET_TIME_DATE | Event indicates the SNTP client retrieves the current date and time. |
SL_SNTP_CLIENT_GET_SERVER_INFO | Event indicates the SNTP client retrieves server information. |
SL_SNTP_CLIENT_STOP | Event indicates SNTP client stop. |
Definition at line
93
of file components/service/sntp/inc/sl_sntp.h