QMI protocol error (14): 'CallFailed'

Aleksander Morgado aleksander at aleksander.es
Tue Oct 13 14:00:56 UTC 2020


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20201013/3ef4c40d/attachment.htm>


More information about the libqmi-devel mailing list