×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    48

    Controlling WLAN network list

    Hi,

    Is it possible to add a new WLAN with known parameters (ssid, type, password) with an application, or at least open the DuiControlPanel Internet applet with parameters already there, so that a user could just click "Connect"?

    I've searched through GConf files but could not find the place where these setting are stored.

    Thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Controlling WLAN network list

    Hi conxt,
    so wlan settings are stored in gconf:

    /home/developer $ gconftool-2 /system/osso/connectivity/IAP --all-dirs
    /system/osso/connectivity/IAP/2ded83d7-076f-47a1-b957-4d6f132e56cc
    /system/osso/connectivity/IAP/244052260122768

    /system/osso/connectivity/IAP/ is the gconf path and "2ded83d7-076f-47a1-b957-4d6f132e56cc" is the IAP ID.

    You could find this script interesting too http://pastebin.com/f486151e3

    To use GConf in your Qt app, you can directly use GConf API or you can even use the Qt wrappers:
    [sbox-maemo6-armv7: ~] > apt-cache search qt gconf
    libgq-gconf0 - a Qt wrapper for GConf
    libgq-gconf0-dbg - a Qt wrapper for GConf
    libgq-gconf-dev - a Qt wrapper for GConf
    libgq-gconf-doc - a Qt wrapper for GConf

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    48

    Re: Controlling WLAN network list

    Oh this is awesome! Huge thanks!

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Controlling WLAN network list

    You are welcome. Fill free to ask more if you need.
    But please open new threads if it's off-topic

Similar Threads

  1. Connecting to a known WLAN network using WLAN Management API
    By vinp in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2011-04-05, 12:03
  2. howto receive Wlan iap -> wlan network name
    By miikkis in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-06-03, 06:37
  3. getting Wlan network name
    By noam.segal in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-04-15, 13:25
  4. how to make AD HOC WLAN network connections
    By arun_stmicro in forum General Development Questions
    Replies: 4
    Last Post: 2007-10-11, 15:40
  5. N80 WLAN, can't see phone in network
    By Acid12 in forum Wired and Wireless interfaces (Closed)
    Replies: 0
    Last Post: 2006-12-29, 21:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •