View Single Post
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#2
You can pull this off using dbus-scripts. Something like;

* * com.nokia.bme.signal charger_charging_on will be your trigger event.

Get your Internet Access Point ID by using;

gconftool -R /system/osso/connectivity/IAP

and connect to, after replacing IAP_ID, using;

dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"IAP_ID" uint32:0

As for automatically changing the power, I'm sure there's a dbus call for it, but you can do so using

iwconfig wlan0 txpower 100mW or 10mW to adjust it up or down.

Last edited by hawaii; 2010-09-01 at 18:50.
 

The Following 3 Users Say Thank You to hawaii For This Useful Post: