How to change Sierra Wireless preferred firmware

Tom Isaacson tom.isaacson at teknique.com
Wed Mar 24 22:20:14 UTC 2021


That seems to work; we just want to make sure the module is in
AUTO-SIM mode. However, if you want to change to a specific firmware
it looks like you need to know the specific version:
sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--dms-set-firmware-preference="00.00.00.00,000.000_000,GENERIC"

then the AT port shows:
AT!IMPREF?
!IMPREF:
 preferred fw version:    00.00.00.00
 preferred carrier name:  GENERIC
 preferred config name:   GENERIC_000.000_000
 current fw version:      02.25.02.01
 current carrier name:    GENERIC
 current config name:     GENERIC_002.056_000

 fw version mismatch
 config name mismatch

OK

I'm not sure how you could get a list of the specific versions for
each carrier. It would be good if the --dms-set-firmware-preference
command supported the same basic name as AT!IMPREF. But fine for what
we need, thanks.


On Wed, Mar 24, 2021 at 10:16 AM Aleksander Morgado
<aleksander at aleksander.es> wrote:
>
> Hey!
>
> On Tue, Mar 23, 2021 at 9:25 PM Tom Isaacson <tom.isaacson at teknique.com> wrote:
> >
> > I'm using a Sierra Wireless WP7610. Because we can switch SIM cards we
> > need to be able to set the preferred firmware. Sierra implement this
> > using the AT!IMPREF command:
> > AT!IMPREF?
> > !IMPREF:
> >  preferred fw version:    02.28.03.01
> >  preferred carrier name:  ATT
> >  preferred config name:   ATT_002.071_000
> >  preferred subpri index:  001
> >  current fw version:      02.28.03.01
> >  current carrier name:    ATT
> >  current config name:     ATT_002.071_000
> >  current subpri index:    001
> > OK
> >
> > I asked them how I could do this via QMI and got the reply:
> > "'at!impref' function call is SDK function SLQSSetSIMBasedImageSwitching."
> >
> > But is there any way of doing this via qmicli? If not is there an
> > example on how to write an app with QMI?
> >
>
> Do you mean the automatic carrier config selection based on selected
> SIM that Sierra supports in AT!IMPREF? if so, you can try to enable
> that with (according to my notes, highly untested!):
> $ qmicli -d /dev/cdc-wdm0 -p
> --dms-set-firmware-preference="00.00.00.00,000.000_000,AUTO-SIM"
> And then reset the module, e.g.:
> $ qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=offline
> $ qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=reset
>
> If I'm not mistaken, selecting the AUTO-SIM carrier will trigger that
> logic in the module, obviously only if you have multiple carrier
> configs (plus firmware versions applicable to them).
>
> If you wish to manually select specific firmware versions and carrier
> configs of the ones installed in the module, you can also do that with
> --dms-set-firmware-preference, e.g.
> $ qmicli -d /dev/cdc-wdm0 -p
> --dms-set-firmware-preference="05.05.58.00,005.025_002,Generic"
> $ qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=offline
> $ qmicli -d /dev/cdc-wdm0 -p --dms-set-operating-mode=reset
>
> --
> Aleksander
> https://aleksander.es


More information about the libqmi-devel mailing list