Document Title:
Version:
Date:
Status:
Document Control ID:
General Notes
SIMCom offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by SIMCom. The information provided is based
upon requirements specifically provided to SIMCom by the customers. SIMCom has not
undertaken any independent search fo r additional relevant information, includin g any information
that may be in the customer’s possession. Furthermore, system validation of this product designed
by SIMCom within a larger electronic system remains the responsibility of the customer or the
customer’s system integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of SIMCom
Limited., copying of this document and giving it to others and the using or communication of the
contents thereof, are forbidden without express authority. Offenders are liable to the payment of
damages. All rights reserved in the event of grant of a patent or the registration of a utility model
or design. All specification supplied herein are subject to change without notice at any time.
1.00
2013-09-22
New
SIM900 NTP AT Command Manual_V1.00
SIM900 NTP AT Command Manual
Version History
Version Chapter What is new
V1.00 Origin
SIM900_NTP AT Command Manual_V1.00 9/22/2013
2
SIM900 NTP AT Command Manual
1 Introduction
This document presents the AT command of NTP operation for SIM900. This document can apply
to the same series of the modules which contain NTP function, like SIM900, SIM900D, SIM900B
and SIM900A.
1.1 Features
1.2 Reference
[1] SIM900 AT Commands Set
SIM900_NTP AT Command Manual_V1.00 9/22/2013
3
SIM900 NTP AT Command Manual
2 AT commands
2.1 AT+CNTP
AT+CNTP Set NTP Parameters and Get Network Time
Test Command
AT+CNTP=?
Read Command
AT+CNTP?
Write Command
AT+CNTP=<UR
L>[,<time
zone>][,<cid>][,<
mode>]
Response
OK
Response
+CNTP: “<URL>”,<time zone>,<cid>,<mode>
OK
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
+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>
0 synchronize the modem with network time
1 reportnetwork time
2 reportnetwork time and synchronize the modem
Execution
Command
AT+CNTP
Response
OK
+CNTP: <result>[,<time>]
Parameter
<result> A numeric parameter which indicates the operation result:
1 Success
61 Net error
62 Dns error
63 Connect error
SIM900_NTP AT Command Manual_V1.00 9/22/2013
4
SIM900 NTP AT Command Manual
64 Timeout
65 Server error
66 Operation not allow
<time> String type(string should be included in quotation marks) value;
format is "yy/MM/dd,hh:mm:ss", where characters indicate year (two last
digits),month, day, hour, minutes, seconds .E.g. 6th of May 2010, 00:01:52
equals to "10/05/06,00:01:52"
Reference
Note
SIM900_NTP AT Command Manual_V1.00 9/22/2013
5
SIM900 NTP AT Command Manual
3 Examples
SIM900 NTP module provides Network Time solution. The following is the examples for