Signal quality not updated with Quectel EG25 through QMI

Frederic Martinsons frederic.martinsons at sigfox.com
Sat Oct 2 11:52:48 UTC 2021


>>
>> Ok thanks for the tips, should I issue a merge request with the modified threshold ?
>>

> Yes please, that would be good.

Here we go: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/634
[https://gitlab.freedesktop.org/uploads/-/system/project/avatar/184/ModemManager-icon.png]<https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/634>
Update signal strength indicator thresholds (!634) · Merge requests · Mobile broadband connectivity / ModemManager<https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/634>
These are thresholds for RSSI so nothing is expected to be greater than 0. This will allow to have a better granularity (even if with some modem, we...
gitlab.freedesktop.org


________________________________
From: Aleksander Morgado <aleksander at aleksander.es>
Sent: Saturday, October 2, 2021 12:11 AM
To: Frederic Martinsons <frederic.martinsons at sigfox.com>
Cc: modemmanager-devel at lists.freedesktop.org <modemmanager-devel at lists.freedesktop.org>
Subject: Re: Signal quality not updated with Quectel EG25 through QMI

Hey

On Fri, Oct 1, 2021 at 3:50 PM Frederic Martinsons
<frederic.martinsons at sigfox.com> wrote:
>
> Ok thanks for the tips, should I issue a merge request with the modified threshold ?
>

Yes please, that would be good.

>
> I my application needs to have a rapid refresh rate of signal quality, do you think it will be correct (I means without impact on modem connectivity/stability) to send regularly mmcli --signal-get (the equivalent DBus method at least) at a regular rate ?
>

Please note that the rate at which that info is updated in the Signal
interface is the one you choose with the Setup method, not the rate at
which you read the DBus property.

> If so, can you tell me how I can get the signal quality percentage from the raw RSSI value ?

See in mm-broadband-modem-qmi.c:

/* Limit the value betweeen [-113,-51] and scale it to a percentage */
#define STRENGTH_TO_QUALITY(strength)                                   \
    (guint8)(100 - ((CLAMP (strength, -113, -51) + 51) * 100 / (-113 + 51)))


--
Aleksander
https://aleksander.es

Your privacy is important to us. Please see our Privacy Notice<https://www.sigfox.com/en/privacy-and-cookies-policy> for further details. The information contained in this Message is confidential. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this Message in error, please delete it and all copies from your system and notify the sender immediately by return message. Any use of information contained in this Message not in accordance with its intended purpose, any dissemination or disclosure (either whole or partial), is prohibited unless expressly authorized. Email communication cannot be guaranteed to be timely secure, error or virus-free. The sender cannot be held responsible for any alteration, errors or omissions, which arise as a result.

..................................................................................................................

La protection de vos données personnelles est primordiale pour notre établissement. Merci de consulter notre notice sur la protection des données personnelles <https://www.sigfox.com/en/privacy-and-cookies-policy> pour plus d'informations. Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires. Les informations qui y figurent sont confidentielles. Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Veuillez également en avertir immédiatement l'expéditeur par retour du Message. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, soient sécurisées ou dénuées de toute erreur ou virus. L'expéditeur ne peut être tenu responsable des modifications, erreurs ou omissions qui pourraient en résulter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20211002/5a337165/attachment.htm>


More information about the ModemManager-devel mailing list