<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>We have found that setting up a profile, then using the modem's
autoconnect setup seemingly works very well. As opposed to trying
to handle that use case manually.</p>
<div class="moz-signature"><span style="color: black;">
<p>Best regards,<br>
<br>
<b>Tor Rune Skoglund</b><span style="color: black;"></span></p>
</span></div>
<div class="moz-cite-prefix">Den 14.10.2020 08:48, skrev Marco
Salatin:<br>
</div>
<blockquote type="cite"
cite="mid:CAHdkdkOPwnVM7Ut70vEgPE5nc=FMFuMiJC1HsE=iCdARvZ=ZGw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>ok thanks,</div>
<div><br>
</div>
<div>there are a way to reconnect after no coverage area for a
long time?</div>
<div><br>
</div>
<div>i use this command:</div>
<div>qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=reset</div>
<div><br>
</div>
<div>but is not nice to reset any time..</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>qmicli -d /dev/cdc-wdm0 -p --nas-force-network-search</div>
<div>don't work for a long time in a non coverage area.</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>
qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=online
</div>
<div>don't produce nothing.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>other suggestions?</div>
<div><br>
</div>
<div>thanks<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Il giorno mar 13 ott 2020 alle
ore 16:01 Aleksander Morgado <<a
href="mailto:aleksander@aleksander.es"
moz-do-not-send="true">aleksander@aleksander.es</a>> ha
scritto:<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="auto">
<div>Hey,<br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 13 Oct 2020,
12:36 Marco Salatin, <<a
href="mailto:marco.salatin@gmail.com"
target="_blank" moz-do-not-send="true">marco.salatin@gmail.com</a>>
wrote:<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>ok but if i repeat command cid number increase:</div>
<div><br>
</div>
<div>root@raspberrypi:/home/pi# qmicli -d
/dev/cdc-wdm0 -p
--device-open-"net=net-raw-ip|net-no-qos-header"
--wds-start-network="apn=internet.wind,ip-type=4"
--client-no-release-cid<br>
error: couldn't start network: QMI protocol error
(14): 'CallFailed'<br>
call end reason (12): (null)<br>
verbose call end reason (2,201): [internal] error<br>
[/dev/cdc-wdm0] Client ID not released:<br>
Service: 'wds'<br>
CID: '1'<br>
root@raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0
-p
--device-open-"net=net-raw-ip|net-no-qos-header"
--wds-start-network="apn=internet.wind,ip-type=4"
--client-no-release-cid<br>
error: couldn't start network: QMI protocol error
(14): 'CallFailed'<br>
call end reason (12): (null)<br>
verbose call end reason (2,201): [internal] error<br>
[/dev/cdc-wdm0] Client ID not released:<br>
Service: 'wds'<br>
CID: '2'<br>
root@raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0
-p
--device-open-"net=net-raw-ip|net-no-qos-header"
--wds-start-network="apn=internet.wind,ip-type=4"
--client-no-release-cid<br>
error: couldn't start network: QMI protocol error
(14): 'CallFailed'<br>
call end reason (12): (null)<br>
verbose call end reason (2,201): [internal] error<br>
[/dev/cdc-wdm0] Client ID not released:<br>
Service: 'wds'<br>
CID: '3'<br>
root@raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0
-p
--device-open-"net=net-raw-ip|net-no-qos-header"
--wds-start-network="apn=internet.wind,ip-type=4"
--client-no-release-cid<br>
error: couldn't start network: QMI protocol error
(14): 'CallFailed'<br>
call end reason (12): (null)<br>
verbose call end reason (2,201): [internal] error<br>
[/dev/cdc-wdm0] Client ID not released:<br>
Service: 'wds'<br>
CID: '4'</div>
<div><br>
</div>
<div><br>
</div>
<div>is correct?<br>
</div>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">You are missing the --client-cid=CID option
to reuse the previous CID. If you don't give that option,
you're creating a new client on every call.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Please take a look at the qmi-network
sources to see how this works.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers!</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<p style="margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><strong
style="margin:0px;padding:0px;border:0px
none;font-family:"Open
Sans";font-size:14px;font-stretch:inherit;line-height:18.5px;vertical-align:baseline;color:rgb(102,102,102)">Marco
Salatin<br>
</strong><span
style="color:rgb(102,102,102);font-family:"Open
Sans";font-size:14px;line-height:18.5px">T.
+39 388 1947558</span></p>
<p style="margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="color:rgb(102,102,102);font-family:"Open
Sans";font-size:14px;line-height:18.5px">skype:
marco.salatin</span></p>
<p style="margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="color:rgb(102,102,102);font-family:"Open
Sans";font-size:14px;line-height:18.5px"><a
href="mailto:marco.salatin@gmail.com"
target="_blank" moz-do-not-send="true">marco.salatin@gmail.com</a></span><br
style="color:rgb(102,102,102);font-family:"Open
Sans";font-size:14px;line-height:18.5px">
<span
style="color:rgb(102,102,102);font-family:"Open
Sans";font-size:14px;line-height:18.5px">Sito
web: <a href="http://www.salatin.eu"
target="_blank" moz-do-not-send="true">www.salatin.eu</a></span></p>
<div style="font-size:12.8px">
<p><font color="#333333"><span
style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Ai
sensi del D.Lgs. 196/2003 si precisa che le
informazioni contenute in questo messaggio
sono riservate ed a uso esclusivo del
destinatario. Qualora il messaggio in parola
Le fosse pervenuto per errore, La invito ad
eliminarlo senza copiarlo e a non inoltrarlo
a terzi, dandomene gentilmente
comunicazione. </span><span
style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"
lang="EN-GB">Grazie.</span><span
style="color:rgb(31,73,125)" lang="EN-US"></span><span
style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"
lang="EN-GB"><br>
Pursuant to Legislative Decree No. 196/2003,
you are hereby informed that this message
contains confidential information intended
only for the use of the addressee. If you
are not the addressee, and have received
this message by mistake, please delete it
and immediately notify us. You may not copy
or disseminate this message to anyone. </span><span
style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Thank
you.</span></font></p>
<div><font color="#333333"><span
style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"><br>
</span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
libqmi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a>
</pre>
</blockquote>
</body>
</html>