I am trying to get the signal strength but couldn't able to succed.
I used "RIL_GetSignalQuality" but it's returning as NOTIMPL ...
Is there any other way to get signal strength???
is the signal strength veries from GSM to UMTS ???
Please help me on this...
- It is currently Thu Jul 29, 2010 6:07 pm • All times are UTC + 2 hours
How to get signal strength
Moderator: Teksoft
3 posts
• Page 1 of 1
Re: How to get signal strength
kiran wrote:I am trying to get the signal strength but couldn't able to succed.
I used "RIL_GetSignalQuality" but it's returning as NOTIMPL ...
Is there any other way to get signal strength???
is the signal strength veries from GSM to UMTS ???
Please help me on this...
What did you say RIL_GetSignalQuality returns?
to get the Signal strength:
1) hr_signal = RIL_GetSignalQuality(m_hRil);
2) in RILResultCallBack
- Code: Select all
if (hrCmdID == hr_signal)
{
LPRILSIGNALQUALITY lpState = (LPRILSIGNALQUALITY) lpData;
nPercentage = 100*(-lpState->nSignalStrength+lpState->nMinSignalStrength)/
(-lpState->nMaxSignalStrength+lpState->nMinSignalStrength);
}
This should be all.
- radhoo
- TEK-Insider

- Posts: 645
- Joined: Fri Mar 17, 2006 2:47 am
There is an easier way to get signal, and it works with Visual Basic/ C# as well.
http://www.teksoftco.com/index.php?section=develtools
It allows you direct access to most of the phone functions, in a very easy and convenient way.
http://www.teksoftco.com/index.php?section=develtools
It allows you direct access to most of the phone functions, in a very easy and convenient way.
- admin
- Editors
- Posts: 314
- Joined: Sat Mar 04, 2006 3:37 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
