Join Now
Quality Rating:
  • Currently 4.0 / 5
(4.0 / 5 - 1 vote cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 08:51, 4 April 2008.

TSS000881 - Measuring signal strength using CTelephony

From Forum Nokia Wiki


ID TSS000881 Creation date April 4, 2008
Platform S60 3rd Edition Devices All devices
Category Symbian C++ Subcategory Telephony

Description

The 3rd party telephony API (CTelephony class from etel3rdparty.h) provides information about the current signal strength, measured in dBm.


Solution

The following asynchronous method can be used to get signal strength information:

void CTelephony::GetSignalStrength( TRequestStatus &aStatus, 
                                    TDes8 &aSignalStrength ) const;

where aSignalStrength contains a TSignalStrengthV1Pckg, a packaged version of TSignalstrengthV1 instance which is filled on completion.

CTelephony::TSignalStrengthV1 contains two member variables:

TInt32 iSignalStrength;    // Signal strength: UNDEFINED (0) or 1..123
TInt8  iBar;               // Num of signal bars displayed on UI: 0..7

Note that the interpreted value range of iSignalStrength is -123 dBm to -1 dBm, even though the signal strength is always returned in positive values.

Related Discussions
Thread Thread Starter Forum Replies Last Post
Final Year Project J2ME GPS mustafabasarir Mobile Java General 17 2008-04-29 02:30
cellid samcqc Python 1 2007-10-07 11:19
N30 hibernation sbuenafe Nokia M2M 3 2003-06-26 12:23
RBasicGsmPhone on 3650 dgobin General Symbian C++ 14 2005-10-27 11:16
Get WLAN Signal Strength in S60... sandundasa General Symbian C++ 4 2006-10-12 14:08
 
Powered by MediaWiki