maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Dbus events trigerring (https://talk.maemo.org/showthread.php?t=66953)

rosh 2010-12-13 16:37

Dbus events trigerring
 
Im new to maemo scripting.

I have setup my N900 wifi connection auto so that it connects to wifi automatically when im in a wifi area. I need my N900 to run a script once the wifi is connected and another script once its disconnected.

Also i need to trigger a script when my SIP is registered and another script when its un-registered.

Can i do this thing with no loop or fcron?.

kureyon 2010-12-13 17:05

Re: Dbus events trigerring
 
Probably easiest to use QBW since it provides a nice framework for you to do this kind of stuff.

rosh 2010-12-13 20:17

Re: Dbus events trigerring
 
Anybody knows the "updOnDBUSMatchRule" On QBW to trigger Wifi and SIP register?

rosh 2010-12-13 20:18

Re: Dbus events trigerring
 
Quote:

Originally Posted by kureyon (Post 895994)
Probably easiest to use QBW since it provides a nice framework for you to do this kind of stuff.

Thank you :)

rosh 2010-12-15 21:23

Re: Dbus events trigerring
 
Done.

The cellular radio turns off when the connected to Wifi and get imcoming calls to SIP and vise versa. Really nice and saves my battery while keeping mobile radio off when im in WiFi.

I love my n900 more and more...


All times are GMT. The time now is 08:38.

vBulletin® Version 3.8.8