×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    19

    Can I get Wifi signal strength in Nokia N93?

    Hi,

    I plan to port a wifi application to N93 and my wifi application needs to know the RSSI (received signal strength indication) from access points. Is there any API I can use to fetch the wifi signal strength in my application? I don't know much about Symbian, please also guide me where I can find resources (web site, documents, sample source code etc.) to start my Symbian experience.

    I just got an N93 cellphone and downloaded "S60-SDK-200634-3[1].1-Cpp-f.1090b.zip". Is it sufficient to me to start my work?

    Frank.
    Last edited by hgyang; 2006-11-05 at 15:48.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: Can I get Wifi signal strength in Nokia N93?

    Hi..using the following code u can get the signal strength..but that signal strength is in Dbms..while what u might need is to show the signal % or something..and AFAIK ...for that u would need to know the manufacturer of the AP..as each manufacturer has different MAX RSSI values..and u need this to convert the signals u get in Dbms to %..

    -----------

    #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

    monitor.ConnectL();

    // prepare leave clean-up

    CleanupClosePushL(monitor);

    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

    User::LeaveIfError(status.Int());

    // reset networks list

    aNetworks.Reset();

    // add retrieved networks to the list

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

    {

    netName.Copy(pkgNetworks().iNetwork[i].iName);

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

    aNetworks.AppendL(line);

    }

    // close server session

    CleanupStack::PopAndDestroy(&monitor);

    }

    ------------------

    Cheers

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    23

    Re: Can I get Wifi signal strength in Nokia N93?

    Hello,

    Does anybody know if we could do something like this but for Bluetooth instead of WiFi? I need to get the RSSI of the Bluetooth signals received by the mobile phone.

    Cheers,

    Luis

Similar Threads

  1. Java Compability
    By emax73 in forum General Development Questions
    Replies: 0
    Last Post: 2004-07-12, 14:56
  2. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  3. Replies: 1
    Last Post: 2002-05-20, 17:33

Posting Permissions

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