Take USRIOT's WiFi module USR-C215 as an example, the following is the set method of C215 NTP time.
1. AT+NTPEN
Function: Query whether to enable NTP network clock function
Format:
Query
AT+NTPEN<CR>
+ok=< status><CR><LF><CR><LF>
Settings
AT+NTPEN=< status><CR>
+ok<CR><LF><CR><LF>
Parameter
ON:Open
OFF: close
2. AT+NTPTM
Function: Query the time of the network clock
Format:
Query
AT+NTPTM<CR>
+ok=<TM><CR><LF><CR><LF>
Parameter
TM:Display the time after successfully acquiring the network clock, format: 2016-05-16 15:50:28 Mon
When not acquired:Not Available
3. AT+NTPSER
Function: Query setting NTP server and time zone
Format:
Query
AT+NTPSER<CR>
+ok<ip,tmzone><CR><LF><CR><LF>
Settings
AT+NTPSER=<ip,tmzone><CR>
+ok<CR><LF><CR><LF>
Parameter
ip:Ntp server IP address
tmzone: Time zone, western time zone plus ‘-’, such as West 8: -8
4. AT+NTPRF
Function: Query and set the calibration interval, in minutes: minute
Format:
Query
AT+NTPRF<CR>
+ok=<status><CR><LF><CR><LF>
Settings
AT+NTPRF=< status><CR>
+ok<CR><LF><CR><LF>
Parameter
status: Range 10~720, 0 is the automatic calibration time off