[maemo-developers] How to get n900 IMEI code in C

From: Faheem Pervez trippin1 at gmail.com
Date: Wed Nov 11 13:28:20 EET 2009
On Wed, Nov 11, 2009 at 11:20 AM, Dave Neary <dneary at maemo.org> wrote:
> Hi,
> Faheem Pervez wrote:
>> Yes, the get_imsi method exists. So doing that should work but you
>> will have to change some things: get_imsi returns only one argument:
>> an int32 with the IMSI number.
> How do you find out what methods, interfaces and paths exist for the
> DBus services?
> Are they documented, or is there some kind of DBus explorer to let you look?

My method is quite low-tech: I "discovered" get_imei by looking at the
strings in the About product applet (I have a pre-production device)
and putting the required pieces together to make a dbus-send command
line with --print-reply so I can see the exact type of what is

get_imsi was even easier... /etc/event.d/tonegen has it blatantly listed...
> Cheers,
> Dave.

Best Regards,
> --
> maemo.org docsmaster
> Email: dneary at maemo.org
> Jabber: bolsh at jabber.org
More information about the maemo-developers mailing list