Key-value input in --dms-set-firmware-preference
Aleksander Morgado
aleksander at aleksander.es
Wed Oct 28 16:35:34 UTC 2020
Hey all,
I've implemented key-value input support in --dms-set-firmware-preference, see:
https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/merge_requests/177
These two commands are now equivalent (the old format is still supported):
With key-value format:
--dms-set-firmware-preference="carrier=Generic,
firmware-version=05.05.58.00,config-version=005.025_002"
With the old format:
--dms-set-firmware-preference="05.05.58.00,005.025_002,Generic"
When using the key-value input, you can now also give
"override-download=yes" (to force the download of the required images,
even if they already exist in the device) and
"modem-storage-index=INDEX" (to force storing the modem image in a
specific firmware slot). These options were already possible when
using qmi-firmware-update in normal mode (with udev support) but they
were not available when performing firmware update in manual mode
(without udev support, e.g. in openwrt).
Comments welcome,
Cheers!
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list