Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Telit Cinterion IoT Developer Community

ZOC script . NTP time Pxx8 / AHS3 using TCP/IP AT Commands

Showcase, January 13, 2016 - 1:08pm, 2646 views

Please, read the article before to start

https://iot-developer.thalesgroup.com/showcase/zoc-terminal-emulator

the script obtaines the time over NTP and set the date to the module using the at TCP/IP internal commands

Requisites:

 -A SIM card introduced in the SIM Card Holder with PIN enabled

 -A Pxx8/AHS3 module (>REL 2)

 - modify the script with the APN of your carrier

----------------------------------

Edit the script with any text editor. Look at for the line:

CALL ZocSend "at+cgdcont=101,^(22)IP^(22),^(22)internet^(22)^M"

Modify internet for your APN and save the script

----------------------------------

Regards

ALopez

Download File AHS3_NTP.zip (zip | 682 bytes)

Author

Alopez's picture
Alopez