Skip to content

Commit dfc7ce2

Browse files
committed
Update NTP server priority
1 parent 7adc7e8 commit dfc7ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lte.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#define AT_COMMAND_ENABLE_AUTOMATIC_TIME_UPDATE "AT+CTZU=1"
1717
#define AT_COMMAND_ENABLE_AUTOMATIC_TIME_UPDATE_NOTIFICATIONS "AT+CTZR=1"
1818
#define AT_COMMAND_GET_CLOCK "AT+CCLK?"
19-
#define AT_COMMAND_SYNC_NTP_ON_DEMAND "AT+SQNNTP=0"
20-
#define AT_COMMAND_SYNC_NTP "AT+SQNNTP=2"
19+
#define AT_COMMAND_SYNC_NTP \
20+
"AT+SQNNTP=2,\"time.google.com,time.windows.com,pool.ntp.org\",1"
2121

2222
#define CEREG_CALLBACK "CEREG"
2323
#define TIMEZONE_CALLBACK "CTZV"

0 commit comments

Comments
 (0)