×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    WLAN Managment API Securitymode() wrong

    I'm trying to use the WLAN Managment API to retrive information about wireless access points.
    I saw this wiki: http://www.developer.nokia.com/Commu...Management_API

    All work very well but not Securitymode() because at each scan the output value changes and the identified protections are wrong

    What can I do?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: WLAN Managment API Securitymode() wrong

    Due to the nature of this API, the issue might be specific to the given device, perhaps even to specific firmware(s). It may be beneficial to check what the API reports on multiple devices, perhaps devices in RDA (Devices above, Remote device access).

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: WLAN Managment API Securitymode() wrong

    I looked barbelo application
    Code:
    http://darkircop.org/barbelo/
    It can find a lot of information about the wifi access points, I think barbelo use the same API.
    But with barbelo the security mode that it discover is ever correct.
    Maybe there are other API to do this?


    EDIT:
    I saw the barbelo source and it's like my source:
    Code:
    ap->set_security(scanInfo.SecurityMode()); //_security=scanInfo.SecurityMode()
    
    
    switch (_security) {
    	case EWlanConnectionSecurityOpen:
    		Utils::append_data(out, _L8("<encryption>None</encryption>\n"));
    		break;
    
    	case EWlanConnectionSecurityWpaPsk:
    		Utils::append_data(out, _L8("<encryption>PSK</encryption>\n"));
    		/* fall-through */
    
    	case EWlanConnectionSecurityWpa:
    		Utils::append_data(out, _L8("<encryption>WPA</encryption>\n"));
    		/* fall-through */
    
    	case EWlanConnectionSecurityWep:
    		Utils::append_data(out, _L8("<encryption>WEP</encryption>\n"));
    		break;
    
    	case EWlanConnectionSecurity802d1x:
    		Utils::append_data(out,
    			_L8("<encryption>802d.1x</encryption>\n"));
    		break;
    
    	default:
    		Utils::append_data(out,
    			_L8("<encryption>Unknown</encryption>\n"));
    		break;
    	}
    Then why it work ever?


    EDIT2:
    Maybe because barbelo search the WIFIs with GetScanResults(TRequestStatus &, CWlanScanInfo &) and I with GetScanResults(CWlanScanInfo &) ?

    EDIT3:
    I've solved!
    In the wiki missing the WpaPsk and I hadn't managed it
    Last edited by andrea993; 2012-08-06 at 20:28.

Similar Threads

  1. version managment of 2 diff. UID
    By juhauta in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2011-01-21, 00:52
  2. 6212 cookies managment
    By tboufflet in forum Near Field Communication
    Replies: 1
    Last Post: 2009-12-03, 16:18
  3. NDEF-Managment for the NXP Mifare 4k
    By Feig in forum Near Field Communication
    Replies: 0
    Last Post: 2008-12-16, 13:46
  4. memory managment
    By PeppeM2 in forum Mobile Java General
    Replies: 0
    Last Post: 2007-05-30, 11:37

Posting Permissions

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