Meaning of "signal quality" in output of "mmcli -m modem-id"

Ajay Garg ajaygargnsit at gmail.com
Mon Aug 15 15:03:20 UTC 2016


On Mon, Aug 15, 2016 at 7:29 PM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> On Mon, Aug 15, 2016 at 3:43 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> > Let's say modem-id is 0.
> > So, in the output of "mmcli -m 0", we get an output for signal quality in
> > the form ::
> >
> >                 signal quality: '71' (recent)
> >
> >
> > What is this value?
> > Is this related to the value returned by "AT+CSQ" in any manner?
> >
> >
> > In particular, if the value returned by "AT+CSQ" is x, then the
> > signal-strength in dbm is given by ::
> >
> >                     -113 + (2 * x)
> >
> > Is there a correlation for the signal-quality returned by "mmcli -m
> > modem-id" (71 in this case)?
>
> That would be 71%.
>
> For +CSQ, we do this:
>   quality = CLAMP (quality, 0, 31) * 100 / 31;
>
> See https://cgit.freedesktop.org/ModemManager/ModemManager/
> tree/src/mm-broadband-modem.c#n1837
>
>
Thanks Aleksander.

So, that would make the AT+CSQ equivalent strength equal to
           int(71 * 31 / 100)


Thanks a ton !!


Thanks and Regards,
Ajay

> --
> Aleksander
> https://aleksander.es
>



-- 
Regards,
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160815/4d3956e8/attachment.html>


More information about the ModemManager-devel mailing list