Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Nov 2006

    how to get access point's mac address form N93

    I have try this example(below) form NOKIA tech library.
    But in this example, this method could not return the information of mac address.
    Cloud any senior help me. Thanks a lot.
    #include <rconnmon.h>

    void CWlanTest:: ListNetworksAndSignalL(CDesCArraySeg& aNetworks)


    _LIT(KNetInfo, "Network: %S\tSignal: %d");

    TBuf<32> netName;

    TBuf<100> line;

    RConnectionMonitor monitor;

    TPckgBuf<TConnMonNetworkNames> pkgNetworks;

    // establish connection with the monitor server


    // prepare leave clean-up


    TRequestStatus status;

    // get the list of available networks

    monitor.GetPckgAttribute(EBearerIdWLAN, 0, KNetworkNames, pkgNetworks, status);

    // suspend thread until the info is retrieved

    // production code should use active objects

    User::WaitForRequest( status ) ;

    // leave if the asynchronous method returned an error


    // reset networks list


    // add retrieved networks to the list

    for(TUint i=0; i<pkgNetworks().iCount; i++)



    line.Format(KNetInfo, &netName, pkgNetworks().iNetwork[i].iSignalStrength);



    // close server session


    Last edited by Wood; 2006-11-10 at 00:32.

Similar Threads

  1. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  2. Problem connecting to multiple access points on 3G phones
    By yjforgod in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-03-30, 14:12
  3. Missing access points on Nokia 6230
    By jinja2 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-01-04, 08:27
  4. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  5. Replies: 1
    Last Post: 2002-11-28, 11:45

Posting Permissions

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