Hello,
I need to know what are the meassures for WLAN and GSM strength values in the following situations:
1. For WLAN I am using smth like this:
I get different numbers for rxLevel, usually between 80 and 99.Code:CWlanScanInfo *iScanInfo; //init iScanInfo, etc... TInt8 rxLevel = iScanInfo->RXLevel(); ...
What does this value represent? I have no idea how to use this information. In the header file it says only this:
2. For GSM strenght value I am using CTelephony like this:Code:/** * Return RX level of the BSS. * @return RX level. */ virtual TUint8 RXLevel() const = 0;
The information on the header file is also very poor:Code:CTelephony* iTelephony; CTelephony::TSignalStrengthV1 iGSMPwr; //For signal strength CTelephony::TSignalStrengthV1Pckg iGSMPwrPkg; //init everything, etc... iTelephony->GetSignalStrength(iStatus, iGSMPwrPkg); //signal value is in iGSMPwr.iSignalStrength ...
Again I don't know what to do with the iSignalStrength value, how to interpret it. I've only noticed that for a big value (eg. 99) I have only 1 iBar as for a smaller value (eg. 88) I have maximum nr. of bars (7).Code:class TSignalStrengthV1 : public TEtelISVType /** Defines the phone's current signal strength. */ { public: IMPORT_C TSignalStrengthV1(); public: /** The value of signal strength. */ TInt32 iSignalStrength; /** The absolute number of signal "bars" that the phone should display. */ TInt8 iBar; };
I can assume it is a dB value (smth like 200(lgV / V)) but I am not sure, normally it should be expressed like P = 10lg(P1/P0), where P1 is the actual strength and P0 is a reference strength so if we know P0 we can compute P1 from P.
Please help on this.
Thanks,
Omar




