<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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 ?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Am I right ?</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ModemManager-devel <modemmanager-devel-bounces@lists.freedesktop.org> on behalf of Frederic Martinsons <frederic.martinsons@sigfox.com><br>
<b>Sent:</b> Friday, October 1, 2021 12:07 PM<br>
<b>To:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Cc:</b> modemmanager-devel@lists.freedesktop.org <modemmanager-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: Signal quality not updated with Quectel EG25 through QMI</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> If you cannot physically remove the antenna for the testing, can you</span><br>
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> at least move the modem around? You may also enable the extended</span><br style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> signal interface with e.g. a 10s rate and see if the reported RSSI</span><br style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> values change across the thresholds you configured. The key to</span><br style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> understand is whether we can see the indications arriving when the</span><br style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important">> values cross the threholds.</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important"><br>
</span></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px">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.</span></font></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><br>
</span></font></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><span style="background-color:rgb(255,255,255); display:inline!important">> Maybe switching to the signal info indications (as per the</span><br>
<span style="background-color:rgb(255,255,255); display:inline!important">> "newest QMI commands" logic) would make more sense, that is something</span><br style="background-color:rgb(255,255,255)">
<span style="background-color:rgb(255,255,255); display:inline!important">> that could also be investigated.</span><br>
</span></font></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><span style="background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></font></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><span style="background-color:rgb(255,255,255); display:inline!important">Do you mean by that I should try on my target machine with a patched ModemManager where WITH_NEWEST_QMI_COMMANDS
 is enabled ?</span></span></font></div>
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><span style="background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></font></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Sent:</b> Friday, October 1, 2021 11:41 AM<br>
<b>To:</b> Frederic Martinsons <frederic.martinsons@sigfox.com><br>
<b>Cc:</b> modemmanager-devel@lists.freedesktop.org <modemmanager-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: Signal quality not updated with Quectel EG25 through QMI</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">><br>
> 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)<br>
><br>
<br>
If you cannot physically remove the antenna for the testing, can you<br>
at least move the modem around? You may also enable the extended<br>
signal interface with e.g. a 10s rate and see if the reported RSSI<br>
values change across the thresholds you configured. The key to<br>
understand is whether we can see the indications arriving when the<br>
values cross the threholds.<br>
<br>
I've looked around the code and there is also a warning I added a<br>
while ago regarding the amount of thresholds we can configure. Looks<br>
like we should not configure many because there are devices that don't<br>
like them, so we left 5 thresholds by default. I understand this may<br>
not be fully desirable, as it would mean just a few signal updates<br>
happening only when the values change a lot. The new suggested<br>
thresholds here should help to get more indications, but it may not be<br>
enough. Maybe switching to the signal info indications (as per the<br>
"newest QMI commands" logic) would make more sense, that is something<br>
that could also be investigated.<br>
<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es">https://aleksander.es</a><br>
</div>
</span></font></div>
<p>Your privacy is important to us. Please see our <a href="https://www.sigfox.com/en/privacy-and-cookies-policy">
Privacy Notice</a> 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.</p>
<p></p>
<p>..................................................................................................................</p>
<p></p>
<p>La protection de vos données personnelles est primordiale pour notre établissement. Merci de consulter notre
<a href="https://www.sigfox.com/en/privacy-and-cookies-policy">notice sur la protection des données personnelles
</a>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.</p>
<p></p>
</div>
<p>Your privacy is important to us. Please see our <a href="https://www.sigfox.com/en/privacy-and-cookies-policy">
Privacy Notice</a> 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.</p>
<p></p>
<p>..................................................................................................................</p>
<p></p>
<p>La protection de vos données personnelles est primordiale pour notre établissement. Merci de consulter notre
<a href="https://www.sigfox.com/en/privacy-and-cookies-policy">notice sur la protection des données personnelles
</a>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.</p>
<p></p>
</body>
</html>