Hi all,

I have some questions/clarifications re getting the signal level from
the modem.

I'm using a Huawei modem via USB.

In getSignalLevel (ModemGateway.java) we have:

   response = getATHandler().getSignalLevel();

Following the trail in the code this leads to (ATHandler.java):

   getModemDriver().write("AT+CSQ\r");
   return (getModemDriver().getResponse());

which effectively does the job (for my modem anyway).

The string that we get back is something like "+CSQ: 14,99OK"

getSignalLevel in ModemGateway.java converts it to an int given by
(for the above case): 14 * 100 / 31 = 45 (%).

My questions are:

* What does the return string really mean (i.e. is it "signal is 14
out of 99)?
* Why do we multiply by 100/31 ?
* How do I get the signal strength in dBm, which is what I am really
after?
* In any case, what is the signal value that we get: before
demodulation, or after? If it is after, which standard was
demodulated.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to