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

 

Command Description
AT+CNTP Update system time

 

 

 

 

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

Parameter Saving Mode
Maximum Response Time
Reference
 

 

<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

 

 

 

 

Unsolicited NTP Codes

 

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

EMW3070

Viewed Page List