few questions regarding org.freesmartphone.GSM.SIM
Heikki Paajanen
hepaajan at iki.fi
Wed Jun 25 07:40:17 CEST 2008
Hi Thomas,
2008/6/25 Thomas Seiler <thseiler at gmail.com>:
> I have a few question about the SIM interface, and please pardon my
> ignorance if this is the wrong mailing list to ask for, or if these
> issues have alreadey been decided. I have only skimmed trough the mail
> archives and might irgnore a lot of what has been going on behind the
> scenes.
I think this is the right list for these questions :)
>
> As this is my first post, please let me use the occation to
> congratulate everyone for the great work that is happening here. Its
> simply amazing !
>
> On to my questions:
>
> 1) Is there a way of learning if a SIM is present in the phone?
>
> The GSM 07.07 spec says, that any command involving a SIM operation
> would return an CME: ERROR 10 if no SIM is present (as per chapter
> 9.2.1 of ETSI 07.07), so this could be used during phone daemon
> initialisation to understand if a SIM is present or not. But how is
> this information exposed in the current DBUS interface ?
There is SIM status signal (AuthStatus) and a method for getting SIM
status (GetAuthStatus) in the SIM interface. It seems that there is no
documented status for SIM not present or errors with SIM communication
but gsmd2 uses "SIM MISSING" and "SIM ERROR" to indicate these
conditions.
Mickey: I think these would be usefull addition to the spec. I'm not
sure about actual strings. What do you think?
>
> I guess the real question i'm actually asking is this:
> Are CME Error codes supposed to be exposed as DBUS errors, or is the
> general plan to abstract the AT-Commandset and have sensible error
> values for every method to return instead ?
I believe the abstraction is the goal here. Maybe someone will
implement a version that communicates with the modem using some non-AT
protocol, you never know :)
Hessu
More information about the smartphones-standards
mailing list