Download Print this page

SimCom SIM900 Series Command Manual page 5

Ntp at command
Hide thumbs Also See for SIM900 Series:

Advertisement

SIM900 NTP AT Command Manual
2 AT commands
2.1 AT+CNTP
AT+CNTP Set NTP Parameters and Get Network Time
Test Command
Response
AT+CNTP=?
OK
Read Command
Response
AT+CNTP?
+CNTP: "<URL>",<time zone>,<cid>,<mode>
OK
Parameter
See Write Command
Write Command
Response
AT+CNTP=<UR
L>[,<time
OK
If error is related to ME functionality:
zone>][,<cid>][,<
mode>]
+CME ERROR: <err>
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>
Execution
Response
Command
AT+CNTP
OK
+CNTP: <result>[,<time>]
Parameter
<result> A numeric parameter which indicates the operation result:
SIM900_NTP AT Command Manual_V1.00
0
synchronize the modem with network time
1
report network time
2
report network time and synchronize the modem
1
Success
61
Net error
62
Dns error
63
Connect error
4
9/22/2013

Advertisement

loading
Need help?

Need help?

Do you have a question about the SIM900 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sim900dSim900bSim900a