View Single Post
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#23
You sir, are my hero. I was threatening to write an application last night when I turned my phone off before bed.

Here are some additional calls others may find handy. Someone adding bluetooth would make this complete I think.

Turn off cellular:
dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false

Turn on cellular:
dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:true

Turn off WiFi:
dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true

Flight mode:
dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_mode_ind string:"flight"

Normal mode:
dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_mode_ind string:"normal"

Frank

Last edited by Frank Banul; 2010-02-03 at 23:25.
 

The Following 2 Users Say Thank You to Frank Banul For This Useful Post: