New 'u-blox' plugin (v2)

Aleksander Morgado aleksander at aleksander.es
Wed Oct 12 09:42:05 UTC 2016


On Tue, Oct 11, 2016 at 10:13 AM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
>>> modem-helpers: new helper to parse +CESQ response into MMSignal
>> objects
>>
>> There's some small differences from the way I implemented it in the
>> Huawei signal interface, at least for get_rsrq_db() (-19 instead of
>> -20).  Not sure which one is right.
>>
>
> I'll give it a look.

Yes, it was -20 not -19; so this should be right:
        *out_rsrq = -20.0 + (((gdouble) rsrq_level) * 0.5);

So that we get -19.5 when level is 1 and < -19.5 (e.g. -20) when level is 0.

Will be updated in v3.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list