Error setting operating mode.
Bjørn Mork
bjorn at mork.no
Thu Mar 2 11:27:36 UTC 2017
Paul Gildea <gildeap at tcd.ie> writes:
> I wish to use libqmi to enable airplane mode on a modem, it doesn't seem to
> have this capability so I am looking at adding it. I guess I want to have
> the radio set to offline and be persistent over reboot somehow. Anyway,
> when testing out what I might do via the command set I have tried to turn
> the radio off and then turn it back on to simulate turning on and off
> airplane mode. However this gives an error I am having trouble with, any
> help would be appreciated:
>
> qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=offline
> Operating mode set successfully
Try setting the mode to 'low-power' or 'persistent-low-power' instead.
> qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online
> error: couldn't set operating mode: QMI protocol error (60):
> 'InvalidTransaction'
I believe you can only go to 'reset' from 'offline'.
Bjørn
More information about the libqmi-devel
mailing list