Gemalto is now part of the Thales Group, find out more.

You are here

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

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

Please, read the article before to start

https://developer.gemalto.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)
Alopez