QMI protocol error (14): 'CallFailed'

Marco Salatin marco.salatin at gmail.com
Wed Oct 14 10:09:20 UTC 2020


How you set a profile? and use modem autoconnect?


using qmi-network?

https://techship.com/faq/how-to-set-up-a-simple-data-connection-over-qualcomm-qmi-interface-using-libqmi-and-driver-qmi-wwan-in-linux/

?

thanks


Il giorno mer 14 ott 2020 alle ore 12:04 Tor Rune Skoglund <trs at fourc.eu>
ha scritto:

> 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.
>
> Best regards,
>
> *Tor Rune Skoglund*
> Den 14.10.2020 08:48, skrev Marco Salatin:
>
> ok thanks,
>
> there are a way to reconnect after no coverage area for a long time?
>
> i use this command:
> qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=reset
>
> but is not nice to reset any time..
>
>
> qmicli -d /dev/cdc-wdm0 -p --nas-force-network-search
> don't work for a long time in a non coverage area.
>
>
> qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=online
> don't produce nothing.
>
>
> other suggestions?
>
> thanks
>
>
>
>
>
>
>
>
> Il giorno mar 13 ott 2020 alle ore 16:01 Aleksander Morgado <
> aleksander at aleksander.es> ha scritto:
>
>> Hey,
>>
>> On Tue, 13 Oct 2020, 12:36 Marco Salatin, <marco.salatin at gmail.com>
>> wrote:
>>
>>> ok but if i repeat command cid number increase:
>>>
>>> root at 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
>>> error: couldn't start network: QMI protocol error (14): 'CallFailed'
>>> call end reason (12): (null)
>>> verbose call end reason (2,201): [internal] error
>>> [/dev/cdc-wdm0] Client ID not released:
>>>         Service: 'wds'
>>>             CID: '1'
>>> root at 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
>>> error: couldn't start network: QMI protocol error (14): 'CallFailed'
>>> call end reason (12): (null)
>>> verbose call end reason (2,201): [internal] error
>>> [/dev/cdc-wdm0] Client ID not released:
>>>         Service: 'wds'
>>>             CID: '2'
>>> root at 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
>>> error: couldn't start network: QMI protocol error (14): 'CallFailed'
>>> call end reason (12): (null)
>>> verbose call end reason (2,201): [internal] error
>>> [/dev/cdc-wdm0] Client ID not released:
>>>         Service: 'wds'
>>>             CID: '3'
>>> root at 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
>>> error: couldn't start network: QMI protocol error (14): 'CallFailed'
>>> call end reason (12): (null)
>>> verbose call end reason (2,201): [internal] error
>>> [/dev/cdc-wdm0] Client ID not released:
>>>         Service: 'wds'
>>>             CID: '4'
>>>
>>>
>>> is correct?
>>>
>>
>> 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.
>>
>> Please take a look at the qmi-network sources to see how this works.
>>
>> Cheers!
>>
>
>
> --
>
>
> *Marco Salatin *T. +39 388 1947558
>
> skype: marco.salatin
>
> marco.salatin at gmail.com
> Sito web: www.salatin.eu
>
> 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. Grazie.
> 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. Thank you.
>
>
> _______________________________________________
> libqmi-devel mailing listlibqmi-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>


-- 


*Marco Salatin*T. +39 388 1947558

skype: marco.salatin

marco.salatin at gmail.com
Sito web: www.salatin.eu

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. Grazie.
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. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20201014/a94b088b/attachment-0001.htm>


More information about the libqmi-devel mailing list