×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2010
    Posts
    347

    Connecting to a known WLAN network using WLAN Management API

    Hi,

    In our source code, we make use of the MWlanMgmtNotifications interface, which is part of the WLAN management API, for receiving notifications about WLAN network changes. The function that is of particular interest in this interface for us is the following:

    Code:
    /**
             * BSSID has changed (i.e. AP handover).
             */
            virtual void BssidChanged(
                TWlanBssid& /* aNewBSSID */ ) {};
    What we would want to accomplish from our code is to check whether the new WLAN network is the one that has been configured previously by the user, in other words a known network. If that is the case, we would attempt to establish a connection. Now, as part of the network infromation stored in the CommsDatabase in our code, we have the preferred WLAN network name, the security mode and the key. We need to do a match of any detected WLAN network against the preferred WLAN network name before establishing a connection. Since the above API gets the BSSID of the detected WLAN network, how could we make use of this information to do a match against the preferred network name in our database?

    Appreciate your thoughts.

    TIA
    Vin

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Connecting to a known WLAN network using WLAN Management API

    BSSID and SSID are not the same thing. When BSSID changes, you remain in the same network, just connect via an other access point (physical access point, so not the thing you configure on the device). There is not much to filter in that, however if you want to filter, you may want to check that argument.

Similar Threads

  1. Connecting to a known wireless network: is automation possible?
    By vinp in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2010-12-15, 09:11
  2. No cancel of scan in WLAN Management API
    By martinpeterzon in forum Symbian
    Replies: 0
    Last Post: 2009-02-27, 08:24
  3. howto receive Wlan iap -> wlan network name
    By miikkis in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-06-03, 06:37
  4. Battery consumption of the WLan Management API
    By dleshem in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-02-27, 14:33
  5. Connecting PC to internet using WLAN on my Nokia N91?
    By Dilandro in forum Wired and Wireless interfaces (Closed)
    Replies: 3
    Last Post: 2006-09-22, 20:54

Posting Permissions

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