Status of org.freesmartphone.GSM.SIM

Guillaume Chereau charlie at openmoko.org
Mon Jun 30 10:25:06 CEST 2008


I would like to know about the status of the GSM.SIM interface. Is it
already possible to store and retrieve contacts ?

Today I tried it on my OM (with the FSO Image), I had a few problems. 

Should I open tickets in trac for those problems ? Since I didn't use
the last version I am not sure what is corrected or not.

Here is the list of problems I encountered :


* RetrievePhonebook always returns an empty list

* After error, all methods fail with the "org.freesmartphone.GSM.Device.Timeout: device did not answer within 5 seconds" Error, and I need to kill ophoned
  
* When ophoned is killed, it has to be restarted manually, (We need to put a .service file in /usr/share/dbus-1)

* After a TimeOut Error, the method GetSimStatus once returned the string "0", I couldn't make it happen again...

* When trying the following command :
dbus-send --system --print-reply --dest=org.freesmartphone.ophoned /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.StoreEntry int32:0 string:"fabien" string:"04060708"
I get :
    queue is: deque([(u'AT+CPBS="SM";+CPBW=0,"04060708",129,"fabien"\r\n'
    sending to port: u'AT+CPBS="SM";+CPBW=0,"04060708",129,"fabien"\r\n')
    TIMEOUT 'AT+CPBS="SM";+CPBW=0,"04060708",129,"fabien"' => ???)
    SimStoreEntry.errorFromChannel: ENTER (u'AT+CPBS="SM";+CPBW=0,"04060708",129,"fabien"', ('timeout', 5)),{} 


* When trying GetSubscriberNumbers,
I get :
      File "/usr/lib/python2.5/site-packages/ophoned/objects.py", line 203, in GetSubscriberNumbers
        mediator.SimGetSubscriberNumbers( self, dbus_ok, dbus_error )
    AttributeError: 'module' object has no attribute 'SimGetSubscriberNumbers'


* When trying GetPhonebookInfo,
I get :
     File "/usr/lib/python2.5/site-packages/ophoned/modems/abstract/mediator.py", line 370, in responseFromChannel
        match = PAT_PHONEBOOK_INFO.match( response[0] )
    NameError: global name 'PAT_PHONEBOOK_INFO' is not defined

    (note, just need to replace "PAT_PHONEBOOK_INFO" by "const.PAT_PHONEBOOK_INFO")


* After a fail in StoreEntry, when I try a GetServiceCenterNumber,
I get :
    File "/usr/lib/python2.5/site-packages/ophoned/modems/abstract/mediator.py", line 448, in responseFromChannel
        number = number.replace( '+', '' ) # normalize
    AttributeError: 'list' object has no attribute 'replace'


Cheers,

-charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxtogo.org/pipermail/smartphones-standards/attachments/20080630/c2d730c9/attachment.pgp>


More information about the smartphones-standards mailing list