Microchip® Advanced Software Framework

tstrM2MSNTPConfig Struct Reference

SNTP Client Configuration.

Configuration structure for the SNTP client.

#include <m2m_types.h>

Data Fields

uint8 __PAD8__ [tstrM2MSNTPConfig_PAD]
 
char acNTPServer [M2M_NTP_MAX_SERVER_NAME_LENGTH+1]
 
tenuSNTPUseDHCP enuUseDHCP
 

uint8 tstrM2MSNTPConfig::__PAD8__

Padding bytes for forcing 4-byte alignment

char tstrM2MSNTPConfig::acNTPServer

< Configuration parameters for the NTP Client.Custom NTP server name.

Referenced by m2m_wifi_configure_sntp().

tenuSNTPUseDHCP tstrM2MSNTPConfig::enuUseDHCP

Use NTP server provided by the DHCP server when falling back

Referenced by m2m_wifi_configure_sntp().