Getting Signal Strength using TAPI and RIL

by Krishnaraj Varma on September 6, 2009

in Windows Mobile

Download RIL Sample (353)
Download TAPI Sample (296)

In Windows Mobile, we can retrieve signal strength in two ways, one using TAPI and other using RIL. The TAPI function lineGetLineDevStatus is used to retrieve the signal strength of the current line. This function returns the details in LINEDEVSTATUS variable length structure. The dwSignalLevel member contains the signal strength in the range 0×00000000 to 0x0000FFFF.

The other method is to use the RIL function RIL_GetSignalQuality. This functon returns the signal strength in RILSIGNALQUALITY structure. The member nSignalStrength contains the signal strength. This link explains how to calculate the signal strength from the RILSIGNALQUALITY structure members.

Previous post:

Next post:

Disclaimer: This is a personal weblog. The information in this weblog is provided “AS IS” with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.