[maemo-developers] How to detect that connectivity is lost

From: Patrik Flykt Patrik.Flykt at nokia.com
Date: Thu Apr 5 11:03:20 EEST 2007

On Thu, 2007-04-05 at 09:01 +0300, Kalle Valo wrote:
> ext Tomàs Jiménez Lozano <tomas at oranginalab.com> writes:
> > I hope you don't mind if I ask you one more question: Is there any other
> > way to force disconnection appart form the shutdown ICd dbus method. It
> > works fine but we would like to do it without prompting the user?
> I'm so involved with WLAN nowadays that I keep forgetting details about
> user-space more and more :) Patrik, can you help me here, please?

Actually, staring at the ICd code for other reasons for the past week
made me realize that there is a very ugly hack that might work in N800.
If one sends the same D-Bus signal that the disconnect UI does, ICd will
close down the connection and might work ok afterwards.

Note also that ICd and ICd UI D-Bus interfaces are internal and thus
subject to change in some way at some point. I'd really like to know if
anyone is using the ICd D-Bus interface directly instead of libconic,
which is the well-defined interface towards connectivity. In that case
there might be some important functionality missing in libconic which
then should be fixed. So, anything else besides not showing the
disconnect UI?



Patrik Flykt <Patrik.Flykt at nokia.com>

More information about the maemo-developers mailing list