Re: Time from the calypso chipset

2009-05-03 Thread W.Kenworthy
Just some further info to this:

I was hoping to use the time from the SIM as a reference to keep a check
on the FR time which is rarely correct, often being at least a few
minutes out, and sometimes days/years out after a crash unless I notice
it.

Unfortunately, once you set the SIM time, it loses time at a fairly fast
rate so thats not an option :(

Billk



On Fri, 2009-05-01 at 14:30 +0200, Michael 'Mickey' Lauer wrote:
 Hi Bill,
 
  Can read the chipset time, but cant seem to set it (from mickyterm).
  Tried lots of variations, and from what googling finds it *should* work,
  but doesnt.  Is there something I am missing? (using moko11 firmware)
 
  OK
  AT+CCLK?
  AT+CCLK?
  +CCLK: 0/1/1,0:0:14
 
  OK
  AT+CCLK=00/01/01,1:0:15
  AT+CCLK=00/01/01,1:0:15
  ERROR
  AT+CCLK=0/1/1,1:0:15
  AT+CCLK=0/1/1,1:0:15
  ERROR
 
 Welcome to the wonderful world of standards compliance *cough*. Getting the 
 time from the modem has just recently been implemented in frameworkd as per 
 http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=633ffc7bb9bbfc25ff4142d9291af00afbbd4fad;hp=1d4a6f96edf56531c891533bb7e704e2c950943b
 
 The fun thing is you need to give the UTC offset in the set command, although 
 the Calypso does not honor it and won't report it back. So if you want to do 
 it manually, do it like that:
 
 --- Mickey's Term V2.9.1 @ /dev/pts/3 ---
 AT-Command Interpreter ready
 
 OK
 at+cclk?
 
 +CCLK: 0/1/1,0:0:9
 
 OK
 at+cclk=09/04/01,14:30:00+00 
 
 OK
 at+cclk? 
 
 +CCLK: 9/4/1,14:30:3
 
 OK
 
 Cheers,
 
 :M:
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Time from the calypso chipset

2009-05-01 Thread W.Kenworthy
I am playing with the calypso :)

Can read the chipset time, but cant seem to set it (from mickyterm).
Tried lots of variations, and from what googling finds it *should* work,
but doesnt.  Is there something I am missing? (using moko11 firmware)

OK
AT+CCLK?
AT+CCLK?
+CCLK: 0/1/1,0:0:14

OK
AT+CCLK=00/01/01,1:0:15
AT+CCLK=00/01/01,1:0:15
ERROR
AT+CCLK=0/1/1,1:0:15
AT+CCLK=0/1/1,1:0:15
ERROR


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Time from the calypso chipset

2009-05-01 Thread Michael 'Mickey' Lauer
Hi Bill,

 Can read the chipset time, but cant seem to set it (from mickyterm).
 Tried lots of variations, and from what googling finds it *should* work,
 but doesnt.  Is there something I am missing? (using moko11 firmware)

 OK
 AT+CCLK?
 AT+CCLK?
 +CCLK: 0/1/1,0:0:14

 OK
 AT+CCLK=00/01/01,1:0:15
 AT+CCLK=00/01/01,1:0:15
 ERROR
 AT+CCLK=0/1/1,1:0:15
 AT+CCLK=0/1/1,1:0:15
 ERROR

Welcome to the wonderful world of standards compliance *cough*. Getting the 
time from the modem has just recently been implemented in frameworkd as per 
http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=633ffc7bb9bbfc25ff4142d9291af00afbbd4fad;hp=1d4a6f96edf56531c891533bb7e704e2c950943b

The fun thing is you need to give the UTC offset in the set command, although 
the Calypso does not honor it and won't report it back. So if you want to do 
it manually, do it like that:

--- Mickey's Term V2.9.1 @ /dev/pts/3 ---
AT-Command Interpreter ready

OK
at+cclk?

+CCLK: 0/1/1,0:0:9

OK
at+cclk=09/04/01,14:30:00+00 

OK
at+cclk? 

+CCLK: 9/4/1,14:30:3

OK

Cheers,

:M:



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Time from the calypso chipset

2009-05-01 Thread William Kenworthy
Thanks, Mickey.  Thats the wonderful thing about standards - if you dont
like it ... make one up :)

BillK



On Fri, 2009-05-01 at 14:30 +0200, Michael 'Mickey' Lauer wrote:
 Hi Bill,
 
...
 Welcome to the wonderful world of standards compliance *cough*. Getting the 
 time from the modem has just recently been implemented in frameworkd as per 
 http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=633ffc7bb9bbfc25ff4142d9291af00afbbd4fad;hp=1d4a6f96edf56531c891533bb7e704e2c950943b
 
 T...


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community