Structure to hold SNTP Server Information response.
This structure contains the information about the SNTP server, including the command type, IP version, server IP address, and SNTP method.
Public Attributes#
uint8_t
Command type indicating the type of SNTP command.
uint8_t
IP version of the SNTP server. 4 for IPv4 and 6 for IPv6.
uint8_t
IPv4 address of the SNTP server.
unsigned long
IPv6 address of the SNTP server.
union SL_ATTRIBUTE_PACKED::@0
Server IP address, either IPv4 or IPv6.
uint8_t
SNTP server method used for synchronization.
Public Attribute Documentation#
command_type#
uint8_t SL_ATTRIBUTE_PACKED::command_type
Command type indicating the type of SNTP command.
ip_version#
uint8_t SL_ATTRIBUTE_PACKED::ip_version
IP version of the SNTP server. 4 for IPv4 and 6 for IPv6.
server_ip_address#
union SL_ATTRIBUTE_PACKED::@0 SL_ATTRIBUTE_PACKED::server_ip_address
Server IP address, either IPv4 or IPv6.
sntp_method#
uint8_t SL_ATTRIBUTE_PACKED::sntp_method
SNTP server method used for synchronization.
Supported methods:
1: Broadcast mode
2: Unicast mode