trying to connect to different operators using --3gpp-register-in-operator

Marcel mahik18 at gmx.de
Wed Dec 6 22:03:47 UTC 2017


Hey,

> In your logs I see a connection attempt with an explicit operator id
> (26203) at 1511990328.384995. The logic goes through the manual
> registration process, trying to get registered in that specific
> network. At 1511990345.704504 I see another connection attempt to the
> same operator, that is approx 17s after the previous attempt.
> Are you waiting some specific time between connection attempts?
Yes, I'm using the simple-connect function with a 15 sec timeout.
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.
It seems like the mm is still busy doing some other stuff in the 
background.
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.
> Those two attempts seem too close to each other. You should leave much 
> more
> time for the connection attempt to go on, because re-registration in a
> different operator, especially when doing it manually, may take some
> time. The logs show that the registration in the operator didn't
> happen in those 17s, and it looks like the actual COPS command used to
> request manual registration didn't reply in that time either. Are you
> able to manually reproduce these issues running the AT commands in
> minicom?
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.
I also tried a setup with a 15 seconds timeout and a 60 second sleep 
between each operator with the same result.
And right now I tried a setup where I also used the 
3gpp-register-in-operator function, but that didn't work either.
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.
So about that, I'm sorry, but no, I unfortunately can't reproduce the 
issues, sorry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20171206/d200808e/attachment.html>


More information about the ModemManager-devel mailing list