[maemo-developers] questions about Libconic

From: Shengye Lu lvshengye at gmail.com
Date: Sat Dec 13 13:54:13 EET 2008
Hi,

Currently I am using Libconic to control tablet to join in suitable WLAN
network according to application's requirement. It works, but I am wondering
whether there is possiblity to improve its performance.

1. it seems that my application has no chance to use Libconic initiate wlan
scanning and choose a wlan according to scanning result. Is there
easy way for this?

2. I use con_ic_connection_connect_by_id() to connect with "suitable"
wlan. Sometimes (especially when it fails to connect with a certain WLAN),
there might appear an error dialogue, which says "Network connection error.
Try again?" In this case, user has to choose "Cancel", otherwise Maemo will
take over the control of wlan. I don't hope this dialogue
appear, and I hope my application can always make decision which wlan
is going to be connected. What should I do?

3. It seems that con_ic_connection_disconnect() can not stop current wlan
connection. I have to use Wireless Extension API to stop current wlan
connection. Is there any better solution?

BTW, are there some functions defined in ICd2 header files, which I can
use to solve above problems?

Thanks in advance,
-- 
Shengye

More information about the maemo-developers mailing list