|
2009-11-22
, 10:55
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
~ $ /sdk/cellid_example
Cell ID obtained via requesting for it: 8503
~ $ dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status
method return sender=:1.16 -> dest=:1.631 reply_serial=2
<cut>
uint32 8503
</cut>
~ $ /sdk/cellid_example
Cell ID obtained via requesting for it: 8503
<Going Offline>
<Coming Online>
Cell ID obtained from notification of its change: 8503
Cell ID obtained from notification of its change: 8503
Cell ID obtained from notification of its change: 8503
Cell ID obtained from notification of its change: 8503
<Ctrl-C>
~ $ dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status
method return sender=:1.16 -> dest=:1.704 reply_serial=2
<cut>
uint32 8503
</cut>
|
2009-11-22
, 11:20
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#3
|
The Following User Says Thank You to hopbeat For This Useful Post: | ||
|
2009-11-22
, 19:36
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#4
|
|
2009-11-22
, 19:45
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#5
|
dbus-send --system --dest=com.nokia.wlancond --type=method_call --print-reply /com/nokia/wlancond/request com.nokia.wlancond.request.scan int32:4 array:byte:0 int32:2
com.nokia.wlancond.signal, scan_results
|
2010-01-22
, 00:32
|
Posts: 2 |
Thanked: 3 times |
Joined on Jan 2010
|
#6
|
|
2010-01-22
, 03:30
|
Posts: 10 |
Thanked: 5 times |
Joined on Jan 2010
@ Tasmania, Australia
|
#7
|
Is there a ref for Dbus methods and signals? [...] I would appreciate if someone could point me in the right direction.
|
2010-01-22
, 04:07
|
Posts: 2 |
Thanked: 3 times |
Joined on Jan 2010
|
#8
|
signal sender=:1.18 -> dest=(null destination) serial=1582 path=/com/nokia/phone/net; interface=Phone.Net; member=signal_strength_change byte 100 # signal strength percentage ? byte 74 # signal strength in dbm ? signal sender=:1.18 -> dest=(null destination) serial=1583 path=/com/nokia/phone/net; interface=Phone.Net; member=cell_info_change byte 1 # ? uint16 8370 # LAC uint32 11101 # CID uint32 260 # MNC uint32 310 # MCC byte 0 # ? byte 0 # ? signal sender=:1.18 -> dest=(null destination) serial=1584 path=/com/nokia/phone/net; interface=Phone.Net; member=registration_status_change byte 0 uint16 8370 uint32 11101 uint32 260 uint32 310 byte 0 byte 7 signal sender=:1.18 -> dest=(null destination) serial=1585 path=/com/nokia/phone/net; interface=Phone.Net; member=operator_name_change byte 10 # ? string "T - Mobile" string "" uint32 260 # MNC uint32 310 # MCC
|
2012-01-08
, 18:14
|
Posts: 12 |
Thanked: 10 times |
Joined on Dec 2010
|
#9
|
with dbus-monitor (below) I get updates for signal strength changes and MCC,MNC,LAC,CID when the phone is on line (the signal strength and operator are diplayed and updated on the desktop) but for the other network parameters like ARFCN, TA, C1, C2 and neighbor lists etc. If they are available I imagine you would need to call a specific method.
I'm a noob in D-bus handling, so please, be patient.
I'm trying to do as simple thing, namely to write a C program that would invoke a remote method and would handle the response.
I would like to implement this call (provided by @qwerty12):
Thanks!
[edit] This is the function I'm using:
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google
Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!
Bored? Follow me
Last edited by hopbeat; 2009-11-21 at 21:23.