<div dir="ltr"><div>How you set a profile? and use modem autoconnect?</div><div><br></div><div><br></div><div>using 
qmi-network?</div><div><br></div><div><a href="https://techship.com/faq/how-to-set-up-a-simple-data-connection-over-qualcomm-qmi-interface-using-libqmi-and-driver-qmi-wwan-in-linux/">https://techship.com/faq/how-to-set-up-a-simple-data-connection-over-qualcomm-qmi-interface-using-libqmi-and-driver-qmi-wwan-in-linux/</a></div><div><br></div><div>?</div><div><br></div><div>thanks<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 14 ott 2020 alle ore 12:04 Tor Rune Skoglund <<a href="mailto:trs@fourc.eu">trs@fourc.eu</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>
    <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><span style="color:black">
        <p>Best regards,<br>
          <br>
          <b>Tor Rune Skoglund</b><span style="color:black"></span></p>
      </span></div>
    <div>Den 14.10.2020 08:48, skrev Marco
      Salatin:<br>
    </div>
    <blockquote type="cite">
      
      <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" 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">
          <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">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">
        <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>Marco
                        Salatin<br>
                      </strong><span>T.
                        +39 388 1947558</span></p>
                    <p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>skype:
                        marco.salatin</span></p>
                    <p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><a href="mailto:marco.salatin@gmail.com" target="_blank">marco.salatin@gmail.com</a></span><br>
                      <span>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>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
libqmi-devel mailing list
<a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
libqmi-devel mailing list<br>
<a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a><br>
</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>