qmicli - Control QMI devices
- qmicli [OPTION?] - Control QMI devices
- --dms-get-ids
- Get IDs
- --dms-get-capabilities
- Get capabilities
- --dms-get-manufacturer
- Get manufacturer
- --dms-get-model
- Get model
- --dms-get-revision
- Get revision
- --dms-get-msisdn
- Get MSISDN
- --dms-get-power-state
- Get power state
- --dms-uim-set-pin-protection=[(PIN|PIN2),(disable|enable),(current
PIN)]
- Set PIN protection in the UIM
- --dms-uim-verify-pin=[(PIN|PIN2),(current
PIN)]
- Verify PIN
- --dms-uim-unblock-pin=[(PIN|PIN2),(PUK),(new
PIN)]
- Unblock PIN
- --dms-uim-change-pin=[(PIN|PIN2),(old
PIN),(new PIN)]
- Change PIN
- --dms-uim-get-pin-status
- Get PIN status
- --dms-uim-get-iccid
- Get ICCID
- --dms-uim-get-imsi
- Get IMSI
- --dms-uim-get-state
- Get UIM State
- --dms-uim-get-ck-status=[(pn|pu|pp|pc|pf)]
- Get CK Status
- --dms-uim-set-ck-protection=[(pn|pu|pp|pc|pf),(disable),(key)]
- Disable CK protection
- --dms-uim-unblock-ck=[(pn|pu|pp|pc|pf),(key)]
- Unblock CK
- --dms-get-hardware-revision
- Get the HW revision
- --dms-get-operating-mode
- Get the device operating mode
- --dms-set-operating-mode=[(Operating
mode)]
- Set the device operating mode
- --dms-get-time
- Get the device time
- --dms-get-prl-version
- Get the PRL version
- --dms-get-activation-state
- Get the state of the service activation
- --dms-activate-automatic=[Activation
Code]
- Request automatic service activation
- --dms-activate-manual=[SPC,SID,MDN,MIN]
- Request manual service activation
- --dms-get-user-lock-state
- Get the state of the user lock
- --dms-set-user-lock-state=[(disable|enable),(current
lock code)]
- Set the state of the user lock
- --dms-set-user-lock-code=[(old
lock code),(new lock code)]
- Change the user lock code
- --dms-read-user-data
- Read user data
- --dms-write-user-data=[(User
data)]
- Write user data
- --dms-read-eri-file
- Read ERI file
- --dms-restore-factory-defaults=[(Service
Programming Code)]
- Restore factory defaults
- --dms-validate-service-programming-code=[(Service
Programming Code)]
- Validate the Service Programming Code
- --dms-set-firmware-id
- Set firmware id
- --dms-get-band-capabilities
- Get band capabilities
- --dms-get-factory-sku
- Get factory stock keeping unit
- --dms-list-stored-images
- List stored images
- --dms-select-stored-image=[modem#,pri#]
where # is the index
- Select stored image
- --dms-delete-stored-image=[modem#|pri#]
where # is the index
- Delete stored image
- --dms-get-firmware-preference
- Get firmware preference
- --dms-set-firmware-preference=["key=value,..."]
- Set firmware preference (required keys: firmware-version, config-version,
carrier; optional keys: modem-storage-index, override-download=yes)
- --dms-get-boot-image-download-mode
- Get boot image download mode
- --dms-set-boot-image-download-mode=[normal|boot-and-recovery]
- Set boot image download mode
- --dms-get-software-version
- Get software version
- --dms-set-fcc-authentication
- Set FCC authentication
- --dms-get-supported-messages
- Get supported messages
- --dms-hp-change-device-mode=[fastboot]
- Change device mode (HP specific)
- --dms-swi-get-current-firmware
- Get Current Firmware (Sierra Wireless specific)
- --dms-swi-get-usb-composition
- Get current and supported USB compositions (Sierra Wireless specific)
- --dms-swi-set-usb-composition=[#]
- Set USB composition (Sierra Wireless specific)
- --dms-foxconn-change-device-mode=[fastboot-ota|fastboot-online]
- Change device mode (Foxconn specific)
- --dms-foxconn-get-firmware-version=[firmware-mcfg-apps|firmware-mcfg|apps]
- Get firmware version (Foxconn specific)
- --dms-foxconn-set-fcc-authentication=[magic]
- Set FCC authentication (Foxconn specific)
- --dms-foxconn-set-fcc-authentication-v2=[magic-string,magic-number]
- Set FCC authentication (Foxconn specific, v2)
- --dms-get-mac-address=[wlan|bt]
- Get default MAC address
- --dms-reset
- Reset the service state
- --dms-noop
- Just allocate or release a DMS client. Use with `--client-no-release-cid'
and/or `--client-cid'
- --wds-start-network=["key=value,..."]
- Start network (allowed keys: apn, 3gpp-profile, 3gpp2-profile, auth
(PAP|CHAP|BOTH), username, password, autoconnect=yes, ip-type (4|6))
- --wds-follow-network
- Follow the network status until disconnected. Use with
`--wds-start-network'
- --wds-stop-network=[Packet
data handle] OR [disable-autoconnect]
- Stop network
- --wds-get-current-settings
- Get current settings
- --wds-get-packet-service-status
- Get packet service status
- --wds-get-packet-statistics
- Get packet statistics
- --wds-get-data-bearer-technology
- Get data bearer technology
- --wds-get-current-data-bearer-technology
- Get current data bearer technology
- --wds-go-dormant
- Make the active data connection go dormant
- --wds-go-active
- Make the active data connection go active
- --wds-get-dormancy-status
- Get the dormancy status of the active data connection
- --wds-create-profile=["(3gpp|3gpp2)[,key=value,...]"]
- 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)
- --wds-swi-create-profile-indexed=["(3gpp|3gpp2),#[,key=value,...]"]
- 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)
- --wds-modify-profile=["(3gpp|3gpp2),#,key=value,..."]
- 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)
- --wds-delete-profile=[(3gpp|3gpp2),#]
- Delete existing profile
- --wds-get-profile-list=[3gpp|3gpp2]
- Get profile list
- --wds-get-default-profile-number=[3gpp|3gpp2]
- Get default profile number
- --wds-set-default-profile-number=[(3gpp|3gpp2),#]
- Set default profile number
- --wds-get-default-settings=[3gpp|3gpp2]
- Get default settings
- --wds-get-autoconnect-settings
- Get autoconnect settings
- --wds-set-autoconnect-settings=[(enabled|disabled|paused)[,(roaming-allowed|home-only)]]
- Set autoconnect settings (roaming settings optional)
- --wds-get-supported-messages
- Get supported messages
- --wds-reset
- Reset the service state
- --wds-bind-data-port=[a2-mux-rmnet0-7|#]
- Bind data port to controller device to be used with
`--client-no-release-cid'
- --wds-bind-mux-data-port=["key=value,..."]
- 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'
- --wds-set-ip-family=[4|6]
- Set IP family
- --wds-get-channel-rates
- Get channel data rates
- --wds-get-lte-attach-parameters
- Get LTE attach parameters
- --wds-get-max-lte-attach-pdn-num
- Get the maximum number of LTE attach PDN
- --wds-get-lte-attach-pdn-list
- Get the list of LTE attach PDN
- --wds-set-lte-attach-pdn-list=[#,#,...]
- Set the list of LTE attach PDN
- --wds-noop
- Just allocate or release a WDS client. Use with `--client-no-release-cid'
and/or `--client-cid'
- --uim-set-pin-protection=[(PIN1|PIN2|UPIN),(disable|enable),(current
PIN)]
- Set PIN protection
- --uim-verify-pin=[(PIN1|PIN2|UPIN),(current
PIN)]
- Verify PIN
- --uim-unblock-pin=[(PIN1|PIN2|UPIN),(PUK),(new
PIN)]
- Unblock PIN
- --uim-change-pin=[(PIN1|PIN2|UPIN),(old
PIN),(new PIN)]
- Change PIN
- --uim-read-transparent=[0xNNNN,0xNNNN,...]
- Read a transparent file given the file path
- --uim-get-file-attributes=[0xNNNN,0xNNNN,...]
- Get the attributes of a given file
- --uim-read-record=["key=value,..."]
- Read a record from given file (allowed keys: record-number, record-length,
file ([0xNNNN-0xNNNN,...])
- --uim-get-card-status
- Get card status
- --uim-get-supported-messages
- Get supported messages
- --uim-sim-power-on=[(slot
number)]
- Power on SIM card
- --uim-sim-power-off=[(slot
number)]
- Power off SIM card
- --uim-change-provisioning-session=["key=value,..."]
- Change provisioning session (allowed keys: session-type, activate, slot,
aid)
- --uim-get-slot-status
- Get slot status
- --uim-switch-slot=[(slot
number)]
- Switch active physical slot
- --uim-monitor-slot-status
- Watch for slot status indications
- --uim-reset
- Reset the service state
- --uim-monitor-refresh-file=[0xNNNN,0xNNNN,...]
- Watch for REFRESH events for given file paths
- --uim-monitor-refresh-all
- Watch for REFRESH events for any file
- --uim-get-configuration
- Get personalization status of the modem
- --uim-depersonalization=[(feature),(operation),(control
key)[,(slot number)]]
- Deactivates or unblocks personalization feature
- --uim-noop
- Just allocate or release a UIM client. Use with `--client-no-release-cid'
and/or `--client-cid'
- --wda-set-data-format=["key=value,..."]
- 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)
- --wda-get-data-format=["key=value,..."]
- Get data format (allowed keys: ep-type (undefined|hsusb|pcie|embedded),
ep-iface-number); also allows empty key list
- --wda-get-supported-messages
- Get supported messages
- --wda-noop
- Just allocate or release a WDA client. Use with `--client-no-release-cid'
and/or `--client-cid'
- --dpm-open-port=["key=value,..."]
- 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)
- --dpm-close-port
- Close port
- --dpm-noop
- Just allocate or release a DPM client. Use with `--client-no-release-cid'
and/or `--client-cid'
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.
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.