[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.comDate: Mon Feb 8 21:23:15 EET 2010
- Previous message: Does the get_service_provider_name method only return a nameif the SIM is a USIM?
- Next message: Does the get_service_provider_name method only return a nameif the SIM is a USIM?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Faheem, Brilliant. This is really helpful. I look forward to exploring this more. Aldon -----Original Message----- From: maemo-developers-bounces at maemo.org [mailto:maemo-developers-bounces at maemo.org]On Behalf Of Faheem Pervez Sent: Monday, February 08, 2010 1:33 PM To: Dawid Lorenz Cc: maemo-developers at maemo.org Subject: Re: Does the get_service_provider_name method only return a nameif the SIM is a USIM? CID is easy: dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status The following snippet, from http://www.bleb.org/software/maemo/telephony-maemo.c, explains the return values: DBUS_TYPE_BYTE, &status, DBUS_TYPE_UINT16, &lac, DBUS_TYPE_UINT32, &cell_id, DBUS_TYPE_UINT32, &operator_code, DBUS_TYPE_UINT32, &country_code, DBUS_TYPE_BYTE, &network_type, DBUS_TYPE_BYTE, &supported_services, DBUS_TYPE_INT32, &net_err, -- Anyway, thanks to all for the answers. I'll be lazy and just listen for the "operator_name_change" signal; it's easier then trying to determine if the SIM card has an SPN set and using "get_operator_name" with the MNC and MCC determined by doing "get_registration_status" - not worth it for something that just reads /etc/operator_settings. :) Best Regards, Faheem On Mon, Feb 8, 2010 at 6:07 PM, Dawid Lorenz <adl at adl.pl> wrote: > Anyway, since I've seen it is possible to issue dbus-send commands to get > current network name, I thought there maybe are similar methods to get > LAC/CID etc. > > -- > Dawid 'evad' Lorenz * http://adl.pl > > null://I would love to change the world, but they won't give me the source > code > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > _______________________________________________ maemo-developers mailing list maemo-developers at maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: Does the get_service_provider_name method only return a nameif the SIM is a USIM?
- Next message: Does the get_service_provider_name method only return a nameif the SIM is a USIM?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]