On Tue, Oct 11, 2016 at 10:13 AM, Aleksander Morgado <aleksan...@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 _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel