[maemo-developers] How to get n900 IMEI code in C
From: Jeremiah Foster jeremiah at jeremiahfoster.comDate: Wed Nov 11 14:09:09 EET 2009
- Previous message: How to get n900 IMEI code in C
- Next message: How to get n900 IMEI code in C
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Nov 11, 2009, at 12:28, Faheem Pervez wrote: > 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) Reverse engineering at it's finest. =] > 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 > returned. > > get_imsi was even easier... /etc/event.d/tonegen has it blatantly listed... Jeremiah
- Previous message: How to get n900 IMEI code in C
- Next message: How to get n900 IMEI code in C
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]