SNTP Response.

Public Attributes#

uint8_t

Type of event being received indicated by sl_sntp_client_events_t.

sl_status_t

Status of the call which triggered this response. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.

uint8_t *

Pointer to response data. In case of SL_SNTP_CLIENT_GET_TIME, SL_SNTP_CLIENT_GET_TIME_DATE, it is a (uint8_t *) buffer and in case of SL_SNTP_CLIENT_GET_SERVER_INFO it is a pointer to __attribute__ structure.

uint16_t

Length of response data.

Public Attribute Documentation#

event_type#

uint8_t sl_sntp_client_response_t::event_type

Type of event being received indicated by sl_sntp_client_events_t.


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

status#

sl_status_t sl_sntp_client_response_t::status

Status of the call which triggered this response. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.


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

data#

uint8_t* sl_sntp_client_response_t::data

Pointer to response data. In case of SL_SNTP_CLIENT_GET_TIME, SL_SNTP_CLIENT_GET_TIME_DATE, it is a (uint8_t *) buffer and in case of SL_SNTP_CLIENT_GET_SERVER_INFO it is a pointer to __attribute__ structure.


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

data_length#

uint16_t sl_sntp_client_response_t::data_length

Length of response data.


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