<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Do you think it could help if I provide you another log of an
execution of my script with specific parameters? Or should I go
through my logs searching for specific parts? I'm not really sure
what I should look for.</p>
<p>Is there anything I could do to stabilize the network switching?
Maybe do some stuff between the connects? Or quickly restart the
mm? Would it help to quickly stop the mm and then start again? Or
is it even the modem which is busy, so the mm doesn't have to do
anything with the error?</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Am 06.12.2017 um 23:03 schrieb Marcel:<br>
</div>
<blockquote type="cite"
cite="mid:cd955e8d-ee78-ce16-5f41-47de5d36f89f@gmx.de">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hey, <br>
<br>
<blockquote type="cite" style="color: #000000;">In your logs I see
a connection attempt with an explicit operator id <br>
(26203) at 1511990328.384995. The logic goes through the manual
<br>
registration process, trying to get registered in that specific
<br>
network. At 1511990345.704504 I see another connection attempt
to the <br>
same operator, that is approx 17s after the previous attempt. <br>
Are you waiting some specific time between connection attempts?
<br>
</blockquote>
Yes, I'm using the simple-connect function with a 15 sec timeout.
<br>
The first operator 26201 connects without any problems at all,
then when disconnecting and connecting to 26202, the first, maybe
also the second try to simple-connect fails. But then when I
disconnect again from 26202 and try to connect to 26203 again it
just won't connect. <br>
It seems like the mm is still busy doing some other stuff in the
background. <br>
At the end of my script, I disconnect again and disable the modem.
Disconnecting works fine, but the modem doesn't disable, but seems
to hang on state 'disabling'. Around 1 minute after my script
finished the mm seems to be done with its background stuff and
disables the modem. <br>
<blockquote type="cite" style="color: #000000;">Those two attempts
seem too close to each other. You should leave much more <br>
time for the connection attempt to go on, because
re-registration in a <br>
different operator, especially when doing it manually, may take
some <br>
time. The logs show that the registration in the operator didn't
<br>
happen in those 17s, and it looks like the actual COPS command
used to <br>
request manual registration didn't reply in that time either.
Are you <br>
able to manually reproduce these issues running the AT commands
in <br>
minicom? <br>
</blockquote>
Well I just tried a script setup with 8 tries to connect each with
a 50 seconds timeout, same result, operators 26201 and 26202
worked perfectly, 26203 didn't succeed at any of the 8 connect
attempts. <br>
I also tried a setup with a 15 seconds timeout and a 60 second
sleep between each operator with the same result. <br>
And right now I tried a setup where I also used the
3gpp-register-in-operator function, but that didn't work either. <br>
Weell about the reproduction with AT commands: I'm don't really
know which commands I would have to use, I already thought about
just doing the whole script with AT commands, but then I
recognized that it's a lot more complicated than I thought and so
I just used mmcli which already is very simple and efficient. <br>
So about that, I'm sorry, but no, I unfortunately can't reproduce
the issues, sorry. <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ModemManager-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ModemManager-devel@lists.freedesktop.org">ModemManager-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>