Autoconnect through QMI

Aleksander Morgado aleksander at aleksander.es
Mon Dec 5 11:19:17 UTC 2016


On Mon, Dec 5, 2016 at 11:34 AM, Kasper Holtze <kasper at holtze.dk> wrote:
> Using AT commands with Sierra MC7710, we can set a PDP using
> +CGDCONT=x,"IP","apn". By setting SCPROF=x, ... we can tell the modem to
> automatically connect a PDP when the modem boots.
>
> We now switched to MC7304, and QMI. How do archieve the same using
> libqmi/qmicli? To make the modem automatically connect on boot, without any
> interaction (besides sending PIN code to the modem).


Try to use these qmicli commands to get/set the settings:
  --wds-get-autoconnect-settings  Get autoconnect settings
and:
  --wds-set-autoconnect-settings=[(enabled|disabled|paused)[,(roaming-allowed|home-only)]]
    Set autoconnect settings (roaming settings optional)

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list