Error setting operating mode.

Paul Gildea gildeap at tcd.ie
Thu Mar 2 11:16:49 UTC 2017


Hi,

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
qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode=online
error: couldn't set operating mode: QMI protocol error (60):
'InvalidTransaction'

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170302/5de9bfd5/attachment.html>


More information about the libqmi-devel mailing list