<div dir="ltr"><div>Hello again,</div><div><br></div><div>I am finding a unexpected behaviour and I would like to know how does the ModemManager work in situations like this one, when the modem has no signal at all or the signal is quite poor:</div><div dir="ltr"><br></div><div dir="ltr"><debug> [1607682864.814360] Received notification (service 'basic-connect', command 'signal-state')<br><debug> [1607682864.814379] Signal state indication: 6 --> 19%<br><debug> [1607682864.814532] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (19)<br><debug> [1607682866.172436] (ttyACM1): --> 7e 00 78 f0 7e<br><debug> [1607682866.172535] (ttyACM0): --> 7e 00 78 f0 7e<br>[/dev/cdc-wdm0] Received message...<br>>>>>>> RAW:<br>>>>>>>   length = 64<br>>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:00:00:00:00:63:00:00:00:05:00:00:00:02:00:00:00:FF:FF:FF:FF<br>[/dev/cdc-wdm0] Received message (translated)...<br>>>>>>> Header:<br>>>>>>>   length      = 64<br>>>>>>>   type        = indicate-status (0x80000007)<br>>>>>>>   transaction = 0<br>>>>>>> Fragment header:<br>>>>>>>   total   = 1<br>>>>>>>   current = 0<br>>>>>>> Contents:<br>>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)<br>>>>>>>   cid     = 'signal-state' (0x0000000b)<br>>>>>>> Fields:<br>>>>>>>   Rssi = '0'<br>>>>>>>   ErrorRate = '99'<br>>>>>>>   SignalStrengthInterval = '5'<br>>>>>>>   RssiThreshold = '2'<br>>>>>>>   ErrorRateThreshold = '4294967295'<br><debug> [1607682867.822380] Received notification (service 'basic-connect', command 'signal-state')<br><debug> [1607682867.822400] Signal state indication: 0 --> 0%<br><debug> [1607682867.822557] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (0)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div>- The modem does not seem to transition from the "<b>connected</b>" state to the "<b>registered</b>"  state , or at least I cannot see it in the logs (attached in a previous mail). It remains as  <i>state: connected.</i></div><div><i></i>What is the expected behaviour here?</div><div><i>- </i>What does the ModemManager do in these cases where the modem is connected to the ISP but has really really low signal (i.e.  signal state 0) ? When does the Modem Manager consider the modem disconnected ? </div><div><br></div><div>Regards,</div><div>Alejandro</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 14 dic 2020 a las 15:31, Alejandro Vega (<<a href="mailto:alexvega48@gmail.com">alexvega48@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Attached logs of the found behaviour and status of the modem before the signal loss. </div><div><br></div><div>Kind regards,</div><div>Alejandro</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 14 dic 2020 a las 10:07, Alejandro Vega (<<a href="mailto:alexvega48@gmail.com" target="_blank">alexvega48@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Attached logs<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 14 dic 2020 a las 10:05, Alejandro Vega (<<a href="mailto:alexvega48@gmail.com" target="_blank">alexvega48@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello ! <div><br></div><div><div>First of all,
thanks in advance for your time and dedication. I am developing an application making use of libmm-glib high level API and running under <b>ModemManager 

 version 1.10.6</b>.</div><div>I am currently experiencing some trouble and I would like to know if the behaviour of the Modem + ModemManager system is the expected one or there is some kind of malfunction somewhere. </div><div><br></div><div>The problem is that we are
experiencing some signal problems around an specific area (particularly, every time that a
bus passes by an area where the signal strength is poor). I <b>attach </b>the <b>ModemManager debug logs</b> of the outward and return journey only when the bus is passing by this
area.

</div><div><br></div></div><div>Regarding this, we have the following doubts:</div><div><ul><li>Is the behaviour of the ModemManager the expected one ? Our application queries the ModemManager to scan for devices periodically, can this cause an unexpected behaviour ?

</li><li>We are using a "global" M2M card which should be able to use different network operators. Is the ModemManager able to switch between operators in order to achieve better signal strengths ? If this is not the case, in order to achieve this, how would we need to proceed? </li></ul>Once again,thank you very much.<br></div><div>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p></div><div><div dir="ltr"><div dir="ltr"><div>Kind regards,</div><div><br></div><div>Alejandro Vega</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Un saludo.<div><br></div><div>Alejandro Vega</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Un saludo.<div><br></div><div>Alejandro Vega</div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Un saludo.<div><br></div><div>Alejandro Vega</div></div></div></div>