EasyManua.ls Logo

SimCom SIM900 Series - Practical Examples for SIM900 NTP; Activate Bearer Profile Example; Set NTP Parameters and Get Network Time Example; Deactivate Bearer Profile Example

SimCom SIM900 Series
8 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIM900 NTP AT Command Manual
SIM900_NTP AT Command Manual_V1.00 9/22/2013
6
3 Examples
SIM900 NTP module provides Network Time solution. The following is the examples for
application.
3.1
Activate bearer profile
AT+SAPBR=3,1,"Contype","GPRS" //Set bearer parameter
OK
AT+SAPBR=3,1,"APN","CMNET"
OK
AT+SAPBR =1,1 //
Activate bearer context
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.89.193.1"
OK
3.2 Set NTP parameters and Get the network time
AT+CNTP="pool.ntp.org ",8,1,2
OK
AT+CN TP
+CNTP: 1,"13/04/18,14:38:30"
OK
3.3 Deactivate bearer profile
AT+SAPBR=0,1 // Deactivate bearer context
OK

Related product manuals