Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
WLAN Management API
Note: :This API is not part of the public SDK. It can be found in the SDK API Plug-in.
The WLAN Management APIs provide the necessary functions to scan through the WLAN network and get various kinds of information such as:
1) By using MWlanMgmtInterface::ActivateNotificationsL to subscribe to WLAN indications. You will then get MWlanMgmtNotifications::BssidChanged notification when the BSSID changes.
2) By using MWlanMgmtInterface::GetConnectionSignalQuality we can get the current signal strength of the established WLAN connection.
3) The instantaneous signal level of the hot spots can be retrieved using the RXLevel() API.
4) We can also scan for WLAN network and get other details as explained in the following
Capability NetworkServices ReadUserData WriteUserData ReadDeviceData
for(scanInfo->First(); !scanInfo->IsDone(); scanInfo->Next() )
//In general if the least significant bit of the capability field
//is 1 then the network is of "Infrastructure Type" or else if the
//capability field is 0 then the network is of "Ad-hoc type"
TInt lanType=capability & pad;
scanInfo->Bssid( bssid );
NOTE: Commanding the handover between two hot spots is not possible via any interface; the WLAN subsystem controls roaming and the subsystem will automatically select the best WLAN AP available and hence there are no APIs available for commanding handover between two hot spots. The roaming threshold is by default 80 (-80dBm).