# GPRS time

**URL:** <https://forum.sierrawireless.com/t/gprs-time/2466>\
**Category:** Open AT\
**Created:** [August 29, 2008, 1:32pm UTC](https://forum.sierrawireless.com/t/gprs-time/2466 "2008-08-29T13:32:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ersinArGe](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@ersinArGe](https://forum.sierrawireless.com/u/ersinArGe)\
**Post date:** [August 29, 2008, 1:32pm UTC](https://forum.sierrawireless.com/t/gprs-time/2466/1 "2008-08-29T13:32:21Z")

</div>

is there a way to get GPRS time?

we can get hardware time by at+cclk or adl\_getTime but what if we want to get time from GPRS connection?

i see on the screen the “+WIND 15,1 …” message when modem starting. It shows the SIM operator name like “VODAFONE” and shows the time and some numbers. How can i get these informations?

i searched for WINDs but couldnt find a useful information about my problem.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [August 29, 2008, 10:37pm UTC](https://forum.sierrawireless.com/t/gprs-time/2466/2 "2008-08-29T22:37:04Z")

</div>

[viewtopic.php?f=34&t=748&p=2990&hilit=nitz#p2990](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=34&t=748&p=2990&hilit=nitz#p2990)

[viewtopic.php?f=3&t=1833&p=6675&hilit=nitz#p6675](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=3&t=1833&p=6675&hilit=nitz#p6675)

Also google for “NITZ”

---

<div class="post-metadata">

**Author:** ![ersinArGe](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@ersinArGe](https://forum.sierrawireless.com/u/ersinArGe)\
**Post date:** [September 1, 2008, 4:51am UTC](https://forum.sierrawireless.com/t/gprs-time/2466/3 "2008-09-01T04:51:59Z")

</div>

thanks for the information. i will try those

---

<div class="post-metadata">

**Author:** ![Theron](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@Theron](https://forum.sierrawireless.com/u/Theron)\
**Post date:** [September 1, 2008, 12:41pm UTC](https://forum.sierrawireless.com/t/gprs-time/2466/4 "2008-09-01T12:41:50Z")

</div>

If you can’t get NITZ (South Africa doesn’t seem to for what it’s worth), implement a Simple NTP. This is basically a 48 byte block that you prepare in a rather fixed fashion, push it out over UDP to a known, stable time server (use IP address, UDP and DNS on Wavecom doesn’t seem to work in WIP \< 4.00) and parse the reply. I then set the modem time with AT+CCLK (currently on 663b10) from this reply. It works quite well and time always seems to be accurate to much less than a second.  
I’ve made this part of my standard modem startup - it attaches GPRS and gets the time. The external devices can then use this as a time reference and an indication that GPRS is functioning properly.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 1, 2008, 2:01pm UTC](https://forum.sierrawireless.com/t/gprs-time/2466/5 "2008-09-01T14:01:12Z")

</div>

> [@Theron](#):
>
> implement a Simple NTP.

If you want an example, I think someone posted one a while back - so try a ‘Search’

---

<div class="post-metadata">

**Author:** ![ersinArGe](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@ersinArGe](https://forum.sierrawireless.com/u/ersinArGe)\
**Post date:** [September 2, 2008, 4:42am UTC](https://forum.sierrawireless.com/t/gprs-time/2466/6 "2008-09-02T04:42:54Z")

</div>

i think the example is here [viewtopic.php?p=4789](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?p=4789)  
i have not got any time to try it now but whenever i get a chance i will try it . i hope that would work.  
thanks alot

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 2, 2008, 6:01am UTC](https://forum.sierrawireless.com/t/gprs-time/2466/7 "2008-09-02T06:01:35Z")

</div>

[ntp.org/](http://www.ntp.org/) - “the home of the Network Time Protocol project”
