Reply
Thread Tools
Posts: 105 | Thanked: 299 times | Joined on Sep 2010
#1
We need a full WiFi scanner for Harmattan (MAC address, channel, intensity, encryption), I've been trying to create one for a while, as I didn't find the solution I created a GUI for iwlist output, but it doesn't work as expected and has to be launched from terminal.

As I don't know what else to try I'm creating this thread to share everything I know about WiFi in Harmattan, please correct me if I write something wrong, if you know something please share it with us so we can get our Full WiFi Scanner.

The daemon responsible for WiFi it's wlancond

Here's the dbus call that used to work in old maemo versions
dbus-send --system --dest=com.nokia.wlancond --type=method_call --print-reply /com/nokia/wlancond/request com.nokia.wlancond.request.scan int32:4 array:byte:0 int32:2


that returns a empty reply in Harmattan.

According to connectivity section in Harmattan API Documentation (http://harmattan-dev.nokia.com/docs/...api-reference/) we should look for something in
  • Connectivity UI
  • Internet Connectivity
  • WLAN

So the source code for osso-wlan it's in http://harmattan-dev.nokia.com/docs/...c3NvLXdsYW4%3D

icd2-public documentation (http://harmattan-dev.nokia.com/docs/...B1YmxpYw%3D%3D) says
Applications requesting network connections do not interact directly with ICd2, but instead use the shared libconic library API, which uses internal D-Bus APIs com.nokia.icd and com.nokia.icd2 APIs to communicate with ICd2.


libconic0 documentation (http://harmattan-dev.nokia.com/docs/...aWJjb25pYzA%3D) says
ConIcConnection class can be used to request for Internet connections. Also it can be used retrieve current statistics, proxies and settings for Internet Access Points (IAPs).

QtNetwork may give you a seudo scanner, I used that to list networks but it was not possible to get the MAC address

Using dbus-monitor I watched the output of session bus and system bus while scanning for networks and there's nothing there (I don't know if it's possible to hide a dbus reply)

I think the solution may actually be related to a dbus call.. so, that's everything I know about WiFi in Harmattan, hope we build the scanner together..
 

The Following 3 Users Say Thank You to Iktwo For This Useful Post:
Posts: 648 | Thanked: 650 times | Joined on Oct 2011
#2
I'm very glad you're still working on it Iktwo. Harmattan really needs this. I hope other developers can help.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:26.