SIM900 NTP AT Command Manual
SIM900_NTP AT Command Manual_V1.00 9/22/2013
4
2 AT commands
2.1 AT+CNTP
AT+CNTP Set NTP Parameters and Get Network Time
Test Command
AT+CNTP=?
Response
OK
Response
+CNTP: “<URL>”,<time zone>,<cid>,<mode>
OK
Read Command
AT+CNTP?
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
AT+CNTP=<UR
L>[,<time
zone>][,<cid>][,<
mode>]
Parameter
<URL> A string parameter (string should be included in quotation marks)
which indicates the NTP Server address.
<time zone> (-12-12) A numeric parameter which indicates the network
time zone, default value is 8
<cid> Bearer profile identifier refer to AT+SAPBR
<mode>
0 synchronize the modem with network time
1 report network time
2 report network time and synchronize the modem
Response
OK
+CNTP: <result>[,<time>]
Execution
Command
AT+CNTP
Parameter
<result> A numeric parameter which indicates the operation result:
1 Success
61 Net error
62 Dns error
63 Connect error