Re: Getting time from a GPRS modem
- From: Bernhard Deny <a2973445@xxxxxxxxxxx>
- Date: Tue, 15 Mar 2011 08:58:20 +0100
Am 14.03.2011 14:35, schrieb Stef:
In comp.arch.embedded,
Bernhard Deny<a2973445@xxxxxxxxxxx> wrote:
Am 14.03.2011 11:48, schrieb Stef:In comp.arch.embedded,
Bernhard Deny<a2973445@xxxxxxxxxxx> wrote:
Am 11.03.2011 12:47, schrieb Stef:Is there a possibility to get current time (UTC preferred) from a
(connected) GPRS modem? I've been searching through the Telit AT
Commands Reference Guide, but only references to "time" are in
context of SMS. Not sure if it depends on the type of modem, but
a possible candidate is the Telit GE863.
In the past we have used NTP over the dataconnection to get time
on our device. But for a new device, I was hoping to skip the added
complexity of using NTP. Mainly to avoid having to set up a dedicated
NTP server or make arrangements with pool.ntp.org or another provider.
Forget about using NTP over GPRS Networks if you need to rely on
seconds. This won't work as expected because the latency is in the range
of 0.4 to 30 seconds and more, BTDT.
Using ntpd leads also to excessive data traffic, obviously NTP tries to
correct the errors with additional requests.
Being a few seconds off is not a problem. We have done NTP over GPRS
before and did not experience any problems with that. In that case we
had our own NTP server. We also implemented our own NTP client that
only sent out a single request during each communication attempt, so
no excessive data traffic.
Do you know of an alternative to get somewhat accurate time (lets say less
than 1 minute error) on a remote embedded device with no user interface and
only GPRS connectivity?
Ok, i must say that the GPRS signal level on our location was a bit low.
As an alternative, here (Germany, also ok for central Europe) we use a
DCF77 longwave receiver as a timebase for ntpd. Works like a charm, ntpq
says offset< 1ms.
I other areas, consider WWVB, MSF, JJY, TDF...
Yes, considered this as well, but requires additional hardware. I heard
that there must be some single chip DCF77 receiver/decoders that require
little or no antenna. So far I only found receiver chips with no decoder
and requiring a ferrite antenna. Any suggestions?
Have a look at http://www.hkw-elektronik.de/englisch/products/assemblys.php or http://www.c-max-time.com
They sell complete receiver modules, some with decoder. We use here a now obsolete module from HKW. In contrast to cheap receivers of unknown origin, they offer superior reception quality.
Despite the ubiquitously internet, there are still reasons to use radio clocks...
Greetings,
Bernhard
.
- Follow-Ups:
- Re: Getting time from a GPRS modem
- From: Stef
- Re: Getting time from a GPRS modem
- References:
- Getting time from a GPRS modem
- From: Stef
- Re: Getting time from a GPRS modem
- From: Bernhard Deny
- Re: Getting time from a GPRS modem
- From: Stef
- Re: Getting time from a GPRS modem
- From: Bernhard Deny
- Re: Getting time from a GPRS modem
- From: Stef
- Getting time from a GPRS modem
- Prev by Date: Re: Question about the speed of SPI RAM
- Next by Date: Re: Getting time from a GPRS modem
- Previous by thread: Re: Getting time from a GPRS modem
- Next by thread: Re: Getting time from a GPRS modem
- Index(es):
Relevant Pages
|