QMICLI

Marco Salatin marco.salatin at gmail.com
Wed Oct 7 08:23:50 UTC 2020


before gettin this command


> qmicli -p -d /dev/cdc-wdm0
--device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=
apn.fastweb.it,ip-type=4" --client-no-release-cid
> root at 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=apn.fastweb.it,ip-type=4" --client-no-release-cid
> error: operation failed: Transaction timed out
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '2'


i must check signal strength? or there are a workaround to don't have
timeout when there aren't signal?
thanks
Marco

Il giorno mer 7 ott 2020 alle ore 10:21 Marco Salatin <
marco.salatin at gmail.com> ha scritto:

> Ok, thanks.
>
> to use -p option, i need to install modemmanger?
>
> Il giorno mer 7 ott 2020 alle ore 10:19 Aleksander Morgado <
> aleksander at aleksander.es> ha scritto:
>
>> Hey,
>>
>> > i'm using qmicli to connect a rasberry to sim7000e.
>> >
>> > if works for connection, but when there aren't signal, it go to
>> Translation time out
>> >
>> > qmicli -p -d /dev/cdc-wdm0
>> --device-open-"net=net-raw-ip|net-no-qos-header" --wds-start-network="apn=
>> apn.fastweb.it,ip-type=4" --client-no-release-cid
>> > root at 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=apn.fastweb.it,ip-type=4"
>> --client-no-release-cid
>> > error: operation failed: Transaction timed out
>> > [/dev/cdc-wdm0] Client ID not released:
>> >         Service: 'wds'
>> >             CID: '2'
>> >
>> > always when there aren't signal.
>> >
>>
>> The "QMI WDS Start Network" command launched by qmicli has a 45s
>> timeout, which is too tight. We shouldn't be so optimistic, and we
>> should probably use a much higher timeout like 180s, so that we let
>> the modem reply to the command (even if it's a failure) instead of
>> returning a "Transaction timed out" message. See
>>
>> https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/merge_requests/168
>>
>> BTW, we should do the same in MM and consolidate the different
>> connection attempt timeouts we have around, because each
>> plugin/protocol has a different one...
>>
>> --
>> Aleksander
>> https://aleksander.es
>>
>
>
> --
>
>
> *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.
>
>

-- 


*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/20201007/dff09dd4/attachment.htm>


More information about the libqmi-devel mailing list