Scroll to navigation

QMICLI(1) User Commands QMICLI(1)

NAME

qmicli - Control QMI devices

DESCRIPTION

Usage:

qmicli [OPTIONâ.¦] - Control QMI devices

Help Options:

Show help options
Show all help options
Show Device Management Service options
Show Network Access Service options
Show Wireless Data Service options
Show Phonebook Management options
Show platform device configurations options
Show User Identity Module options
Show Specific Absorption Rate options
Show Wireless Messaging Service options
Show Wireless Data Administrative options
Show Voice Service options
Show location options
Show Quality of Service options
Show General Application Service options
Show General Modem Service options
Show Data System Determination options
Show Data Port Mapper Service options
Show Foxconn Modem Service options
Show link management specific options
Show qmi_wwan driver specific options

DMS options:

Get IDs
Get capabilities
Get manufacturer
Get model
Get revision
Get MSISDN
Get power state
Set PIN protection in the UIM
Verify PIN
Unblock PIN
Change PIN
Get PIN status
Get ICCID
Get IMSI
Get UIM State
Get CK Status
Disable CK protection
Unblock CK
Get the HW revision
Get the device operating mode
Set the device operating mode
Get the device time
Get the PRL version
Get the state of the service activation
Request automatic service activation
Request manual service activation
Get the state of the user lock
Set the state of the user lock
Change the user lock code
Read user data
Write user data
Read ERI file
Restore factory defaults
Validate the Service Programming Code
Set firmware id
Get band capabilities
Get factory stock keeping unit
List stored images
Select stored image
Delete stored image
Get firmware preference
Set firmware preference (required keys: firmware-version, config-version, carrier; optional keys: modem-storage-index, override-download=yes)
Get boot image download mode
Set boot image download mode
Get software version
Set FCC authentication
Get supported messages
Change device mode (HP specific)
Get Current Firmware (Sierra Wireless specific)
Get current and supported USB compositions (Sierra Wireless specific)
Set USB composition (Sierra Wireless specific)
Change device mode (Foxconn specific)
Get firmware version (Foxconn specific)
Set FCC authentication (Foxconn specific)
Set FCC authentication (Foxconn specific, v2)
Get default MAC address
Reset the service state
Just allocate or release a DMS client. Use with `--client-no-release-cid' and/or `--client-cid'

NAS options:

Get signal strength
Get signal info
Get TX/RX info
Get home network
Get serving system
Get system info
Get technology preference
Get preferred networks
Set preferred networks list
Get system selection preference
Set system selection preference
Scan networks
Get Cell Location Info
Force network search
Get operator name data
Get plmn name data
Get LTE Cphy CA Info
Get RF Band Info
Get DRX
Get supported messages
Get status ((Sierra Wireless specific)
Reset the service state
Just allocate or release a NAS client. Use with `--client-no-release-cid' and/or `--client-cid'

WDS options:

Start network (allowed keys: apn, 3gpp-profile, 3gpp2-profile, auth (PAP|CHAP|BOTH), username, password, autoconnect=yes, ip-type (4|6))
Follow the network status until disconnected. Use with `--wds-start-network'
Stop network
Get current settings
Get packet service status
Get packet statistics
Get data bearer technology
Get current data bearer technology
Make the active data connection go dormant
Make the active data connection go active
Get the dormancy status of the active data connection
Create new profile using first available profile index (optional keys: name, apn, pdp-type (IP|PPP|IPV6|IPV4V6), auth (NONE|PAP|CHAP|BOTH), username, password, context-num, no-roaming=yes, disabled=yes)
Create new profile at specified profile index [Sierra Wireless specific] (optional keys: name, apn, pdp-type (IP|PPP|IPV6|IPV4V6), auth (NONE|PAP|CHAP|BOTH), username, password, context-num, no-roaming=yes, disabled=yes)
Modify existing profile (optional keys: name, apn, pdp-type (IP|PPP|IPV6|IPV4V6), auth (NONE|PAP|CHAP|BOTH), username, password, context-num, no-roaming=yes, disabled=yes)
Delete existing profile
Get profile list
Get default profile number
Set default profile number
Get default settings
Get autoconnect settings
Set autoconnect settings (roaming settings optional)
Get supported messages
Reset the service state
Bind data port to controller device to be used with `--client-no-release-cid'
Bind qmux data port to controller device (allowed keys: mux-id, ep-type (undefined|hsusb|pcie|embedded|bam-dmux), ep-iface-number) to be used with `--client-no-release-cid'
Set IP family
Get channel data rates
Get LTE attach parameters
Get the maximum number of LTE attach PDN
Get the list of LTE attach PDN
Set the list of LTE attach PDN
Just allocate or release a WDS client. Use with `--client-no-release-cid' and/or `--client-cid'

PBM options:

Get all phonebook capabilities
Just allocate or release a PBM client. Use with `--client-no-release-cid' and/or `--client-cid'

PDC options:

List all configs
Delete config
Activate config
Deactivate config
Load config to device
Watch for refresh indications
Just allocate or release a PDC client. Use with `--client-no-release-cid' and/or `--client-cid'

UIM options:

Set PIN protection
Verify PIN
Unblock PIN
Change PIN
Read a transparent file given the file path
Get the attributes of a given file
Read a record from given file (allowed keys: record-number, record-length, file ([0xNNNN-0xNNNN,...])
Get card status
Get supported messages
Power on SIM card
Power off SIM card
Change provisioning session (allowed keys: session-type, activate, slot, aid)
Get slot status
Switch active physical slot
Watch for slot status indications
Reset the service state
Watch for REFRESH events for given file paths
Watch for REFRESH events for any file
Get personalization status of the modem
Deactivates or unblocks personalization feature
Just allocate or release a UIM client. Use with `--client-no-release-cid' and/or `--client-cid'

SAR options:

Get RF state
Set RF state.
Just allocate or release a SAR client. Use with `--client-no-release-cid' and/or `--client-cid'

WMS options:

Get supported messages
Get SMS route information
Set SMS route information (keys: type, class, storage, receipt-action)
Reset the service state
Just allocate or release a WMS client. Use with `--client-no-release-cid' and/or `--client-cid'

WDA options:

Set data format (allowed keys: link-layer-protocol (802-3|raw-ip), ul-protocol (disabled|tlp|qc-ncm|mbim|rndis|qmap|qmapv5), dl-protocol (disabled|tlp|qc-ncm|mbim|rndis|qmap|qmapv5), dl-datagram-max-size, dl-max-datagrams, ep-type (undefined|hsusb|pcie|embedded), ep-iface-number, ul-datagram-max-size, ul-max-datagrams)
Get data format (allowed keys: ep-type (undefined|hsusb|pcie|embedded), ep-iface-number); also allows empty key list
Get supported messages
Just allocate or release a WDA client. Use with `--client-no-release-cid' and/or `--client-cid'

VOICE options:

Get Voice service configuration
Get supported messages
Just allocate or release a VOICE client. Use with `--client-no-release-cid' and/or `--client-cid'

LOC options:

Session ID for the LOC session
Start location gathering
Stop location gathering
Get position reported by the location module
Show GNSS space vehicle info
Maximum time to wait for information in `--loc-get-position-report' and `--loc-get-gnss-sv-info' (default 30s)
Follow all position updates reported by the location module indefinitely
Follow all GNSS space vehicle info updates reported by the location module indefinitely
Follow all NMEA trace updates reported by the location module indefinitely
Delete positioning assistance data
Get list of enabled NMEA traces
Set list of enabled NMEA traces
Get operation mode
Set operation mode
Get engine lock status
Set engine lock status
Just allocate or release a LOC client. Use with `--client-no-release-cid' and/or `--client-cid'

QoS options:

Get QoS flow status
Gets the network status
Read data stats (Sierra Wireless specific)
Reset the service state
Just allocate or release a QOS client. Use with `--client-no-release-cid' and/or `--client-cid'

GAS options:

Sets the USB composition
Gets the current USB composition
Gets the list of stored firmware
Gets the currently active firmware
Sets the active firmware index
Just allocate or release a GAS client. Use with `--client-no-release-cid' and/or `--client-cid'

GMS options:

Gets test value
Sets test value
Just allocate or release a GMS client. Use with `--client-no-release-cid' and/or `--client-cid'

DSD options:

Gets the settings associated to a given APN type
Sets the types associated to a given APN name
Gets system status
Just allocate or release a DSD client. Use with `--client-no-release-cid' and/or `--client-cid'

DPM options:

Open port (allowed-keys: ctrl-ep-type, ctrl-ep-iface-number, ctrl-port-name, hw-data-ep-type, hw-data-ep-iface-number, hw-data-rx-id, hw-data-tx-id, sw-data-ep-type, sw-data-ep-iface-number, sw-data-port-name)
Close port
Just allocate or release a DPM client. Use with `--client-no-release-cid' and/or `--client-cid'

FOX options:

Get firmware version
Just allocate or release a FOX client. Use with `--client-no-release-cid' and/or `--client-cid'
List links created from a given interface
Create new network interface link
Delete a given network interface link
Delete all network interface links from the given interface

qmi_wwan specific options:

Get the associated WWAN iface name
Get the expected data format in the WWAN iface
Set the expected data format in the WWAN iface

Application Options:

Specify device path
Get service version info
Set instance ID
Run version info check when opening device
Run sync operation when opening device
Request to use the 'qmi-proxy' proxy
Open a cdc-wdm device explicitly in QMI mode
Open a cdc-wdm device explicitly in MBIM mode
Open a cdc-wdm device in either QMI or MBIM mode (default)
Open device with specific link protocol and QoS flags
Use the given CID, don't allocate a new one
Do not release the CID when exiting
Run action with verbose logs, including the debug ones
Run action with verbose logs, including the debug ones and personal info
Run action with no logs; not even the error/warning ones
Print version

COPYRIGHT

Copyright © 2012-2022 Aleksander Morgado License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

The full documentation for qmicli is maintained as a Texinfo manual. If the info and qmicli programs are properly installed at your site, the command

info qmicli

should give you access to the complete manual.

April 2023 qmicli 1.32.2