So I tried on my own computer and it was the same, as you suggested I activated 
extended signal interface every 10s and by moving around I managed to make the 
RSSI moved from -59 dBm to -75 dBm and the signal quality stays not updated.

If I understand correctly, this is an expected behavior with the threshold 
configured (on my own Pc , I used a "vanilla" ModemManager) , if the rssi 
doesn't come accross one of thresholds configured (so -80, -40, 0, 40 or 80) , 
the signal indication would not be fired ?

Am I right ?
________________________________
From: ModemManager-devel <modemmanager-devel-boun...@lists.freedesktop.org> on 
behalf of Frederic Martinsons <frederic.martins...@sigfox.com>
Sent: Friday, October 1, 2021 12:07 PM
To: Aleksander Morgado <aleksan...@aleksander.es>
Cc: modemmanager-devel@lists.freedesktop.org 
<modemmanager-devel@lists.freedesktop.org>
Subject: Re: Signal quality not updated with Quectel EG25 through QMI

> If you cannot physically remove the antenna for the testing, can you
> at least move the modem around? You may also enable the extended
> signal interface with e.g. a 10s rate and see if the reported RSSI
> values change across the thresholds you configured. The key to
> understand is whether we can see the indications arriving when the
> values cross the threholds.

Hardly, the modem is not plugged on a laptop but on an embedded machine that is 
slightly heavy (and connected with other things), but it makes think that I may 
test the modem on my own computer to see what we got (my computer run an ubuntu 
20.04 which ships ModemManager 1.16.6 like my target machine but with libqmi 
1.28.6, good coincidence thus not exactly my target config), I'll try that this 
afternoon.

> Maybe switching to the signal info indications (as per the
> "newest QMI commands" logic) would make more sense, that is something
> that could also be investigated.

Do you mean by that I should try on my target machine with a patched 
ModemManager where WITH_NEWEST_QMI_COMMANDS is enabled ?

________________________________
From: Aleksander Morgado <aleksan...@aleksander.es>
Sent: Friday, October 1, 2021 11:41 AM
To: Frederic Martinsons <frederic.martins...@sigfox.com>
Cc: modemmanager-devel@lists.freedesktop.org 
<modemmanager-devel@lists.freedesktop.org>
Subject: Re: Signal quality not updated with Quectel EG25 through QMI

>
> I did your suggested modifications (patches mm-broadband-modem-qmi.c) and it 
> seems to change nothing (I keep getting my signal quality "cached" and I 
> don't see "Signal Strength" indications beside in the beginning of modem 
> initialization)
>

If you cannot physically remove the antenna for the testing, can you
at least move the modem around? You may also enable the extended
signal interface with e.g. a 10s rate and see if the reported RSSI
values change across the thresholds you configured. The key to
understand is whether we can see the indications arriving when the
values cross the threholds.

I've looked around the code and there is also a warning I added a
while ago regarding the amount of thresholds we can configure. Looks
like we should not configure many because there are devices that don't
like them, so we left 5 thresholds by default. I understand this may
not be fully desirable, as it would mean just a few signal updates
happening only when the values change a lot. The new suggested
thresholds here should help to get more indications, but it may not be
enough. Maybe switching to the signal info indications (as per the
"newest QMI commands" logic) would make more sense, that is something
that could also be investigated.


--
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.

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.

Reply via email to