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

From: Aki Niemi aki.niemi at nokia.com
Date: Mon Feb 8 13:28:36 EET 2010
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

More information about the maemo-developers mailing list