×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    66

    Trouble with Wifi

    Hi all,

    I have a problem with Wifi. I must collect some informations about WLAN:
    - Name of AP
    - Signal strength
    - Mac Address of AP
    - Security mode

    I use RConnectionMonitor to get the WLAN name and signal strength.

    And I use CWlanScanInfo and CWlanMgmtClient to get Mac Address and security mode.

    Now, can I know which WLAN name conicides with a certain Mac Address?
    Or, in which way can I get all informations using only one procedure?

    Thanks

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: Trouble with Wifi

    If no one here will be able to help you may want to contact FN technical support, there's a minimal fee for it http://www.forum.nokia.com/main/tech...ort/index.html

    Cheers,
    Jack

  3. #3
    Nokia Developer Expert
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197

    Re: Trouble with Wifi

    All the required information can be obtained via CWlanScanInfo class.

    CWlanScanInfo::RXLevel() gives you the signal strength.

    CWlanScanInfo::Bssid() gives you the BSSID (= MAC address).

    CWlanScanInfo::SecurityMode() gives you the security mode.

    I assume that with 'Name of AP' you actually mean the SSID (Service Set Identifier)
    (= "name of the network"). There's an example code for this in the wlanscaninfo.h header.

    // Information Element ID for SSID as specified in 802.11.
    const TUint8 KWlan802Dot11SsidIE = 0;

    // Iterate through scan results.
    for( scanInfo->First(); !scanInfo->IsDone(); scanInfo->Next() )
    {
    // Parse through BSS parameters.

    TUint8 ieLen( 0 );
    const TUint8* ieData = NULL;

    TInt ret = scanInfo->InformationElement( KWlan802Dot11SsidIE, ieLen, &ieData );
    if ( ret == KErrNone )
    {
    // ieData now points to the network name
    }
    [B]Forum Nokia Americas[/B]
    Forum Nokia provides a wealth of resources to mobile developers. To be informed about the latest on mobile tools, devices and technologies, register [B][URL="http://www.forum.nokia.com/main/registration/registration.html"]here[/URL][/B]

Similar Threads

  1. Another N95 and Wifi problem
    By ric9887 in forum Wired and Wireless interfaces (Closed)
    Replies: 3
    Last Post: 2009-07-15, 08:05
  2. Trouble with Wifi connection
    By fagiano in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-02-06, 13:12
  3. Wifi and Bluetooth using at the same time
    By josiahchoi in forum General Development Questions
    Replies: 0
    Last Post: 2007-08-21, 10:36
  4. Can I get Wifi signal strength in Nokia N93?
    By hgyang in forum Wired and Wireless interfaces (Closed)
    Replies: 2
    Last Post: 2006-11-23, 10:23

Posting Permissions

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