MegaWiFi 1.5
MegaWiFi API documentation
mw_msg_sntp_cfg Struct Reference

SNTP and timezone configuration. More...

#include <mw-msg.h>

Data Fields

uint16_t up_delay
 Update delay in seconds (min: 15) More...
 
int8_t tz
 Timezone (from -11 to 13) More...
 
uint8_t dst
 
char servers [MW_CMD_MAX_BUFLEN - 4]
 

Detailed Description

SNTP and timezone configuration.

Definition at line 174 of file mw-msg.h.

Field Documentation

◆ dst

uint8_t mw_msg_sntp_cfg::dst

Daylight savines (set to 1 to add 1 hour)

Definition at line 177 of file mw-msg.h.

◆ servers

char mw_msg_sntp_cfg::servers[MW_CMD_MAX_BUFLEN - 4]

Up to 3 NTP server URLs, separated by a NULL character. A double NULL marks the end of the server list.

Definition at line 180 of file mw-msg.h.

◆ tz

int8_t mw_msg_sntp_cfg::tz

Timezone (from -11 to 13)

Definition at line 176 of file mw-msg.h.

◆ up_delay

uint16_t mw_msg_sntp_cfg::up_delay

Update delay in seconds (min: 15)

Definition at line 175 of file mw-msg.h.


The documentation for this struct was generated from the following file: