Constants#

This section provides a reference to the SNTP API constants.

Enumerations#

enum
SL_SNTP_CLIENT_START = 1
SL_SNTP_CLIENT_GET_TIME_DATE
SL_SNTP_CLIENT_GET_SERVER_INFO
SL_SNTP_CLIENT_STOP
}

SNTP Client Events.

Enumeration Documentation#

sl_sntp_client_events_t#

sl_sntp_client_events_t

SNTP Client Events.

Enumerator
SL_SNTP_CLIENT_START
SL_SNTP_CLIENT_GET_TIME_DATE
SL_SNTP_CLIENT_GET_SERVER_INFO
SL_SNTP_CLIENT_STOP

Definition at line 40 of file components/service/sntp/inc/sl_sntp.h

Macro Definition Documentation#

SL_SNTP_BROADCAST_MODE#

#define SL_SNTP_BROADCAST_MODE
Value:
1

Definition at line 32 of file components/service/sntp/inc/sl_sntp.h

SL_SNTP_UNICAST_MODE#

#define SL_SNTP_UNICAST_MODE
Value:
2

Definition at line 33 of file components/service/sntp/inc/sl_sntp.h