[maemo-developers] How to detect that connectivity is lost
From: Frantisek Dufka dufkaf at seznam.czDate: Wed Mar 28 10:07:45 EEST 2007
- Previous message: How to detect that connectivity is lost
- Next message: Loading a library .so in the Nokia N800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lauro wrote: > On 3/28/07, Patrik Flykt <Patrik.Flykt at nokia.com> wrote: >> >> Hi, >> >> On Wed, 2007-03-28 at 00:39 +0200, ext Tomas wrote: >> > corresponding dbus signal) from the current IAP when WIFI signal is >> so low >> > that data transmission becomes impossible? >> > > What about the connection strength from ConIc StatisticsEvent [1]? > Maybe he can use it after some experimentation to find the lowest > acceptable level. Or maybe simple shell script pinging your default gateway in regular intervals could bring the connection down via dbus-send if no packet got through. This should be more failproof than guessing from signal strenght. I don't remember correct message but you can monitor dbus messages via dbus-monitor and bring down the connection by hand to see it. At least I hope there is such method call for closing connections :-) Frantisek
- Previous message: How to detect that connectivity is lost
- Next message: Loading a library .so in the Nokia N800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]