×
Namespaces

Variants
Actions

Archived:Measuring signal strength using CTelephony

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): All devices
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (04 Apr 2008)
Last edited: hamishwillee (14 Jun 2012)

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.

This page was last modified on 14 June 2012, at 10:52.
48 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×