Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Telit Cinterion IoT Developer Community

MV3x: QMI-over-MBIM interface (Linux OS)

Showcase, January 9, 2023 - 12:47pm, 59 views

Background:

Our MV3x 5G data cards have implemented the Qualcomm MSM (QMI) Interface.

LINUX References:

The open source Linux kernel has the default support of QMI interface via qmi_wwan with the corrersponding API functions inside the library libqmi.

Libqmi is a more direct way to control QCT cellular devices over the QMI interface. 

libqmi project: https://www.freedesktop.org/wiki/Software/libqmi/

QMI man page: https://www.freedesktop.org/software/libqmi/man/latest/qmicli.1.html

QMI-over-MBIM:

On our 5G data cards MV3x, we recommend to use the QMI functions over the MBIM interface.

refer to the libqmi option: --device-open-mbim  

Test logs on MV32:

tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-software-version
[/dev/cdc-wdm0] Software version: FDE.F0.0.0.1.3
 
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-ids 
[/dev/cdc-wdm0] Device IDs retrieved:
        ESN: '0'
       IMEI: '355532870003855'
       MEID: 'unknown'
    IMEI SV: '1'
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-capabilities 
[/dev/cdc-wdm0] Device capabilities retrieved:
    *** TX channel rate: '0'
    *** RX channel rate: '0'
           Data Service: 'non-simultaneous-cs-ps'
                    SIM: 'supported'
               Networks: 'umts, lte, 5gnr'
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-manufacturer
[/dev/cdc-wdm0] Device manufacturer retrieved:
    Manufacturer: 'Thales'
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-model
[/dev/cdc-wdm0] Device model retrieved:
    Model: 'Thales Snapdragon X62'
 
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --dms-get-revision
[/dev/cdc-wdm0] Device revision retrieved:
    Revision: 'FDE.F0.0.0.1.3.GC.002 019 '

tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --nas-get-signal-strength
[/dev/cdc-wdm0] Successfully got signal strength
Current:
    Network 'lte': '-63 dBm'
RSSI:
    Network 'lte': '-63 dBm'
ECIO:
    Network 'lte': '-2,5 dBm'
IO: '-106 dBm'
SINR (8): '9,0 dB'
RSRQ:
    Network 'lte': '-12 dB'
SNR:
    Network 'lte': '5,6 dB'
RSRP:
    Network 'lte': '-94 dBm'
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --nas-get-signal-info
[/dev/cdc-wdm0] Successfully got signal info
LTE:
    RSSI: '-63 dBm'
    RSRQ: '-12 dB'
    RSRP: '-94 dBm'
    SNR: '5,4 dB'
5G:
    RSRP: 'n/a'
    SNR: 'n/a'
    RSRQ: 'n/a'
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --nas-get-home-network
[/dev/cdc-wdm0] Successfully got home network:
    Home network:
        MCC: '901'
        MNC: '37'
        Description: '901 37'
    Network name source: mcc-mnc
tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --nas-get-serving-system
[/dev/cdc-wdm0] Successfully got serving system:
    Registration state: 'registered'
    CS: 'attached'
    PS: 'attached'
    Selected network: '3gpp'
    Radio interfaces: '1'
        [0]: 'lte'
    Roaming status: 'off'
    Data service capabilities: '1'
        [0]: 'lte'
    Current PLMN:
        MCC: '262'
        MNC: '1'
        Description: 'Ubigi'
    Roaming indicators: '1'
        [0]: 'off' (lte)
    3GPP time zone offset: '60' minutes
    3GPP daylight saving time adjustment: '0' hours
    3GPP cell ID: '30420738'
    Detailed status:
        Status: 'available'
        Capability: 'cs-ps'
        HDR Status: 'none'
        HDR Hybrid: 'no'
        Forbidden: 'no'
    LTE tracking area code: '1494'
    Full operator code info:
        MCC: '262'
        MNC: '1'
        MNC with PCS digit: 'no'
 tester@tester-OptiPlex-7050:~/tools/at-over-mbim$ sudo qmicli -p --device-open-mbim -d /dev/cdc-wdm0    --nas-get-system-info
[/dev/cdc-wdm0] Successfully got system info:
    WCDMA service:
        Status: 'none'
        True Status: 'none'
        Preferred data path: 'no'
    LTE service:
        Status: 'available'
        True Status: 'available'
        Preferred data path: 'no'
        Domain: 'cs-ps'
        Service capability: 'cs-ps'
        Roaming status: 'off'
        Forbidden: 'no'
        Cell ID: '30420738'
        MCC: '262'
        MNC: '01'
        Tracking Area Code: '1494'
        Voice support: 'no'
        IMS voice support: 'no'
        eMBMS coverage info support: 'no'
        eMBMS coverage info trace ID: '65535'
        Cell access: 'all-calls'
        Registration restriction: 'unrestricted'
        Registration domain: 'not-applicable'
        5G NSA Available: 'yes'
        DCNR Restriction: 'no'
    5G SA service:
        Status: 'none'
        True Status: 'none'
        Preferred data path: 'no'
    SIM reject info: 'available'

 

Author

wei.mei's picture
wei.mei