페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages
AT Commands For NTP

 

No Command Description
F1501 AT+CNTP Update system time

 

 

 

 

F1501   AT+CNTP     Update System Time

 

T) AT+CNTP=?

+CNTP: 255,(-96~96)

 OK

R) AT+CNTP?

+CNTP: <host>,<timezone>

 OK

W) AT+CNTP=”<host>”[,<timezone>]

OK

or

ERROR

E) AT+CNTP

+CNTP: <host>,<timezone>

 OK

or

ERROR

 

<host> NTP server address, length is 255.
<timezone> Local time zone, the range is(-96 to 96), default value is 0.

 

Example

AT+CNTP=”202.120.2.101″,32

OK

AT+CNTP

OK

 +CNTP: 0

 

 

 

 

 

Code of <err>

 

0 Operation succeeded
1 Unknown error
2 Wrong parameter
3 Wrong date and time calculated
4 Network error
5 Time zone error
6 Time out error
 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT/GNSS

 

www.simcom.com

 

Viewed Page List