<div dir="ltr"><div>before gettin this command</div><div><br></div><div>
<span class="gmail-im"><br>
> qmicli -p -d /dev/cdc-wdm0 --device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=<a href="http://apn.fastweb.it" rel="noreferrer" target="_blank">apn.fastweb.it</a>,ip-type=4" --client-no-release-cid<br>
> root@raspberrypi:/home/pi# Error system command: qmicli -p -d /dev/cdc-wdm0 --device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=<a href="http://apn.fastweb.it" rel="noreferrer" target="_blank">apn.fastweb.it</a>,ip-type=4" --client-no-release-cid<br>
> error: operation failed: Transaction timed out<br>
> [/dev/cdc-wdm0] Client ID not released:<br>
> Service: 'wds'<br>
> CID: '2'</span> <br></div><div><br></div><div><br></div><div>i must check signal strength? or there are a workaround to don't have timeout when there aren't signal?</div><div>thanks<br></div><div>Marco<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 7 ott 2020 alle ore 10:21 Marco Salatin <<a href="mailto:marco.salatin@gmail.com">marco.salatin@gmail.com</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="ltr"><div>Ok, thanks. <br></div><div><br></div><div>to use -p option, i need to install modemmanger?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 7 ott 2020 alle ore 10:19 Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">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">Hey,<br>
<br>
> i'm using qmicli to connect a rasberry to sim7000e.<br>
><br>
> if works for connection, but when there aren't signal, it go to Translation time out<br>
><br>
> qmicli -p -d /dev/cdc-wdm0 --device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=<a href="http://apn.fastweb.it" rel="noreferrer" target="_blank">apn.fastweb.it</a>,ip-type=4" --client-no-release-cid<br>
> root@raspberrypi:/home/pi# Error system command: qmicli -p -d /dev/cdc-wdm0 --device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=<a href="http://apn.fastweb.it" rel="noreferrer" target="_blank">apn.fastweb.it</a>,ip-type=4" --client-no-release-cid<br>
> error: operation failed: Transaction timed out<br>
> [/dev/cdc-wdm0] Client ID not released:<br>
> Service: 'wds'<br>
> CID: '2'<br>
><br>
> always when there aren't signal.<br>
><br>
<br>
The "QMI WDS Start Network" command launched by qmicli has a 45s<br>
timeout, which is too tight. We shouldn't be so optimistic, and we<br>
should probably use a much higher timeout like 180s, so that we let<br>
the modem reply to the command (even if it's a failure) instead of<br>
returning a "Transaction timed out" message. See<br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/merge_requests/168" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/merge_requests/168</a><br>
<br>
BTW, we should do the same in MM and consolidate the different<br>
connection attempt timeouts we have around, because each<br>
plugin/protocol has a different one...<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><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">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">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>
</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">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">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>