[maemo-developers] Does the get_service_provider_name method only return a nameif the SIM is a USIM?

From: Aldon Hynes Aldon.Hynes at Orient-Lodge.com
Date: Mon Feb 8 15:27:41 EET 2010
Is there documentation somewhere about appropriate methods, either Dbus,
sysfs, API calls, etc. for retrieving these various values?  Likewise, how
this would work with Alternative Line Service?

Aldon

-----Original Message-----
From: maemo-developers-bounces at maemo.org
[mailto:maemo-developers-bounces at maemo.org]On Behalf Of Aki Niemi
Sent: Monday, February 08, 2010 6:29 AM
To: ext Faheem Pervez
Cc: maemo-developers at maemo.org List
Subject: Re: Does the get_service_provider_name method only return a
nameif the SIM is a USIM?


la, 2010-02-06 kello 11:10 +0100, ext Faheem Pervez kirjoitti:
> As said in the title: dbus-send --system --type=method_call
> --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM
> Phone.Sim.get_service_provider_name returns a blank string. As I only
> have a T-Mobile SIM to be trying this out with, I'd like to know if a
> string is only returned if a USIM is inserted. Or maybe I'm invoking
> it in the wrong manner?

Not all SIM cards have the SPN field set. Overall, there are four
sources of names for network operators:

      * Service Provider Name (SPN) field on the SIM
      * CPHS operator name on the SIM card
      * "Hard-coded" name based on a list that GSMA publishes
        periodically This is typically stored on the modem firmware
      * NITZ indications that the network sends

What gets displayed on the home screen, for instance, is some
combination of these names, depending on certain conditions set on the
SIM card, and whether the device is roaming or not.

Cheers,
Aki

_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list