Skip to content

quectel: add custom MBIM command to fetch full firmware info

Quectel EM05 only exposes MBIM port to the host. The firmware version reported through the MBIM device-caps omits the minor part of the firmware version. This merge request adds custom MBIM command to read the full firmware info.

Short fw version:

--> sudo mbimcli -d /dev/cdc-wdm1 --query-device-caps                                                                                
[/dev/cdc-wdm1] Device capabilities retrieved:
              Device type: 'embedded'
           Cellular class: 'gsm'
...
            Firmware info: 'EM05GFAR07A05M1G'
            Hardware info: 'QUECTEL Mobile Broadband Modul'

Full fw version:

--> mmcli -m 1 --firmware-status                                                                                                     quectel-em05-firmware-info
  ----------------------
  Firmware |     method: firehose
           | device ids: USB\VID_2C7C&PID_030A&REV_0318
           |             USB\VID_2C7C&PID_030A
           |             USB\VID_2C7C
           |    version: EM05GFAR07A05M1G_01.001
Edited by Ivan Mikhanchuk

Merge request reports