Ways to call wds-start-network? (without and with profile list)

Aleksander Morgado aleksander.morgado at gmail.com
Mon May 27 16:51:12 UTC 2024


Hey!

>
> when I want to establish a connection. Can I just use:
>
> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network="apn=internet.telekom,ip-type=4" --client-cid=$wds_cid --client-no-release-cid
>
>
> Or do I need to create a 3gpp profile entry e.g. with
>
> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-create-profile=3gpp,apn=internet.telekom,pdp-type=IP,auth=NONE,username="",password=""
>
> -> Return e.g. "profile index 5" in my case
>
> and use the returned profile index number with
>
> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network="3gpp-profile=5" --client-cid=$wds_cid --client-no-release-cid
>
> And when doing a wds-start-network in the future, I must search through profile list again to find the profile index again
>
> (because it could have changed or it was even be deleted and must be created again)
>
>
> Shall both ways work?
>

They should work in the same way, yes. If you find any difference in
behavior please let us know!


More information about the libqmi-devel mailing list