.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH QMICLI "1" "February 2021" "qmicli 1.26.10" "User Commands" .SH NAME qmicli \- Control QMI devices .SH DESCRIPTION .SS "Usage:" .IP lt\-qmicli [OPTION?] \- Control QMI devices .SS "Help Options:" .TP \fB\-h\fR, \fB\-\-help\fR Show help options .TP \fB\-\-help\-all\fR Show all help options .TP \fB\-\-help\-dms\fR Show Device Management Service options .TP \fB\-\-help\-nas\fR Show Network Access Service options .TP \fB\-\-help\-wds\fR Show Wireless Data Service options .TP \fB\-\-help\-pbm\fR Show Phonebook Management options .TP \fB\-\-help\-pdc\fR Show platform device configurations options .TP \fB\-\-help\-uim\fR Show User Identity Module options .TP \fB\-\-help\-wms\fR Show Wireless Messaging Service options .TP \fB\-\-help\-wda\fR Show Wireless Data Administrative options .TP \fB\-\-help\-voice\fR Show Voice Service options .TP \fB\-\-help\-loc\fR Show location options .TP \fB\-\-help\-qos\fR Show Quality of Service options .TP \fB\-\-help\-gas\fR Show General Application Service options .TP \fB\-\-help\-gms\fR Show General Modem Service options .TP \fB\-\-help\-dsd\fR Show Data System Determination options .SS "DMS options:" .TP \fB\-\-dms\-get\-ids\fR Get IDs .TP \fB\-\-dms\-get\-capabilities\fR Get capabilities .TP \fB\-\-dms\-get\-manufacturer\fR Get manufacturer .TP \fB\-\-dms\-get\-model\fR Get model .TP \fB\-\-dms\-get\-revision\fR Get revision .TP \fB\-\-dms\-get\-msisdn\fR Get MSISDN .TP \fB\-\-dms\-get\-power\-state\fR Get power state .TP \fB\-\-dms\-uim\-set\-pin\-protection\fR=\fI\,[\/\fR(PIN|PIN2),(disable|enable),(current PIN)] Set PIN protection in the UIM .TP \fB\-\-dms\-uim\-verify\-pin\fR=\fI\,[\/\fR(PIN|PIN2),(current PIN)] Verify PIN .TP \fB\-\-dms\-uim\-unblock\-pin\fR=\fI\,[\/\fR(PIN|PIN2),(PUK),(new PIN)] Unblock PIN .TP \fB\-\-dms\-uim\-change\-pin\fR=\fI\,[\/\fR(PIN|PIN2),(old PIN),(new PIN)] Change PIN .TP \fB\-\-dms\-uim\-get\-pin\-status\fR Get PIN status .TP \fB\-\-dms\-uim\-get\-iccid\fR Get ICCID .TP \fB\-\-dms\-uim\-get\-imsi\fR Get IMSI .TP \fB\-\-dms\-uim\-get\-state\fR Get UIM State .TP \fB\-\-dms\-uim\-get\-ck\-status\fR=\fI\,[\/\fR(pn|pu|pp|pc|pf)] Get CK Status .TP \fB\-\-dms\-uim\-set\-ck\-protection\fR=\fI\,[\/\fR(pn|pu|pp|pc|pf),(disable),(key)] Disable CK protection .TP \fB\-\-dms\-uim\-unblock\-ck\fR=\fI\,[\/\fR(pn|pu|pp|pc|pf),(key)] Unblock CK .TP \fB\-\-dms\-get\-hardware\-revision\fR Get the HW revision .TP \fB\-\-dms\-get\-operating\-mode\fR Get the device operating mode .TP \fB\-\-dms\-set\-operating\-mode\fR=\fI\,[\/\fR(Operating mode)] Set the device operating mode .TP \fB\-\-dms\-get\-time\fR Get the device time .TP \fB\-\-dms\-get\-prl\-version\fR Get the PRL version .TP \fB\-\-dms\-get\-activation\-state\fR Get the state of the service activation .TP \fB\-\-dms\-activate\-automatic\fR=\fI\,[Activation\/\fR Code] Request automatic service activation .TP \fB\-\-dms\-activate\-manual\fR=\fI\,[SPC\/\fR,SID,MDN,MIN] Request manual service activation .TP \fB\-\-dms\-get\-user\-lock\-state\fR Get the state of the user lock .TP \fB\-\-dms\-set\-user\-lock\-state\fR=\fI\,[\/\fR(disable|enable),(current lock code)] Set the state of the user lock .TP \fB\-\-dms\-set\-user\-lock\-code\fR=\fI\,[\/\fR(old lock code),(new lock code)] Change the user lock code .TP \fB\-\-dms\-read\-user\-data\fR Read user data .TP \fB\-\-dms\-write\-user\-data\fR=\fI\,[\/\fR(User data)] Write user data .TP \fB\-\-dms\-read\-eri\-file\fR Read ERI file .TP \fB\-\-dms\-restore\-factory\-defaults\fR=\fI\,[\/\fR(Service Programming Code)] Restore factory defaults .TP \fB\-\-dms\-validate\-service\-programming\-code\fR=\fI\,[\/\fR(Service Programming Code)] Validate the Service Programming Code .TP \fB\-\-dms\-set\-firmware\-id\fR Set firmware id .TP \fB\-\-dms\-get\-band\-capabilities\fR Get band capabilities .TP \fB\-\-dms\-get\-factory\-sku\fR Get factory stock keeping unit .TP \fB\-\-dms\-list\-stored\-images\fR List stored images .TP \fB\-\-dms\-select\-stored\-image\fR=\fI\,[modem\/\fR#,pri#] where # is the index Select stored image .TP \fB\-\-dms\-delete\-stored\-image\fR=\fI\,[modem\/\fR#|pri#] where # is the index Delete stored image .TP \fB\-\-dms\-get\-firmware\-preference\fR Get firmware preference .TP \fB\-\-dms\-set\-firmware\-preference\fR=\fI\,[\/\fR(fwver),(config),(carrier)] Set firmware preference .TP \fB\-\-dms\-get\-boot\-image\-download\-mode\fR Get boot image download mode .TP \fB\-\-dms\-set\-boot\-image\-download\-mode\fR=\fI\,[normal\/\fR|boot\-and\-recovery] Set boot image download mode .TP \fB\-\-dms\-get\-software\-version\fR Get software version .TP \fB\-\-dms\-set\-fcc\-authentication\fR Set FCC authentication .TP \fB\-\-dms\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-dms\-hp\-change\-device\-mode\fR=\fI\,[fastboot]\/\fR Change device mode (HP specific) .TP \fB\-\-dms\-swi\-get\-current\-firmware\fR Get Current Firmware (Sierra Wireless specific) .TP \fB\-\-dms\-swi\-get\-usb\-composition\fR Get current and supported USB compositions (Sierra Wireless specific) .TP \fB\-\-dms\-swi\-set\-usb\-composition\fR=\fI\,[\/\fR#] Set USB composition (Sierra Wireless specific) .TP \fB\-\-dms\-foxconn\-change\-device\-mode\fR=\fI\,[fastboot\-ota\/\fR|fastboot\-online] Change device mode (Foxconn specific) .TP \fB\-\-dms\-foxconn\-get\-firmware\-version\fR=\fI\,[firmware\-mcfg\-apps\/\fR|firmware\-mcfg|apps] Get firmware version (Foxconn specific) .TP \fB\-\-dms\-get\-mac\-address\fR=\fI\,[wlan\/\fR|bt] Get default MAC address .TP \fB\-\-dms\-reset\fR Reset the service state .TP \fB\-\-dms\-noop\fR Just allocate or release a DMS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "NAS options:" .TP \fB\-\-nas\-get\-signal\-strength\fR Get signal strength .TP \fB\-\-nas\-get\-signal\-info\fR Get signal info .TP \fB\-\-nas\-get\-tx\-rx\-info\fR=\fI\,[\/\fR(Radio Interface)] Get TX/RX info .TP \fB\-\-nas\-get\-home\-network\fR Get home network .TP \fB\-\-nas\-get\-serving\-system\fR Get serving system .TP \fB\-\-nas\-get\-system\-info\fR Get system info .TP \fB\-\-nas\-get\-technology\-preference\fR Get technology preference .TP \fB\-\-nas\-get\-system\-selection\-preference\fR Get system selection preference .TP \fB\-\-nas\-set\-system\-selection\-preference\fR=\fI\,[cdma\-1x\/\fR|cdma\-1xevdo|gsm|umts|lte|td\-scdma][,[automatic|manual=MCCMNC]] Set system selection preference .TP \fB\-\-nas\-network\-scan\fR Scan networks .TP \fB\-\-nas\-get\-cell\-location\-info\fR Get Cell Location Info .TP \fB\-\-nas\-force\-network\-search\fR Force network search .TP \fB\-\-nas\-get\-operator\-name\fR Get operator name data .TP \fB\-\-nas\-get\-lte\-cphy\-ca\-info\fR Get LTE Cphy CA Info .TP \fB\-\-nas\-get\-rf\-band\-info\fR Get RF Band Info .TP \fB\-\-nas\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-nas\-swi\-get\-status\fR Get status ((Sierra Wireless specific) .TP \fB\-\-nas\-reset\fR Reset the service state .TP \fB\-\-nas\-noop\fR Just allocate or release a NAS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "WDS options:" .TP \fB\-\-wds\-start\-network\fR=\fI\,[\/\fR"key=value,..."] Start network (allowed keys: apn, 3gpp\-profile, 3gpp2\-profile, auth (PAP|CHAP|BOTH), username, password, autoconnect=yes, ip\-type (4|6)) .TP \fB\-\-wds\-follow\-network\fR Follow the network status until disconnected. Use with `\-\-wds\-start\-network' .TP \fB\-\-wds\-stop\-network\fR=\fI\,[Packet\/\fR data handle] OR [disable\-autoconnect] Stop network .TP \fB\-\-wds\-get\-current\-settings\fR Get current settings .TP \fB\-\-wds\-get\-packet\-service\-status\fR Get packet service status .TP \fB\-\-wds\-get\-packet\-statistics\fR Get packet statistics .TP \fB\-\-wds\-get\-data\-bearer\-technology\fR Get data bearer technology .TP \fB\-\-wds\-get\-current\-data\-bearer\-technology\fR Get current data bearer technology .TP \fB\-\-wds\-go\-dormant\fR Make the active data connection go dormant .TP \fB\-\-wds\-go\-active\fR Make the active data connection go active .TP \fB\-\-wds\-get\-dormancy\-status\fR Get the dormancy status of the active data connection .TP \fB\-\-wds\-create\-profile\fR=\fI\,[\/\fR"(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) .TP \fB\-\-wds\-swi\-create\-profile\-indexed\fR=\fI\,[\/\fR"(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) .TP \fB\-\-wds\-modify\-profile\fR=\fI\,[\/\fR"(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) .TP \fB\-\-wds\-delete\-profile\fR=\fI\,[\/\fR(3gpp|3gpp2),#] Delete existing profile .TP \fB\-\-wds\-get\-profile\-list\fR=\fI\,[3gpp\/\fR|3gpp2] Get profile list .TP \fB\-\-wds\-get\-default\-profile\-num\fR=\fI\,[3gpp\/\fR|3gpp2] Get default profile number .TP \fB\-\-wds\-set\-default\-profile\-num\fR=\fI\,[\/\fR(3gpp|3gpp2),#] Set default profile number .TP \fB\-\-wds\-get\-default\-settings\fR=\fI\,[3gpp\/\fR|3gpp2] Get default settings .TP \fB\-\-wds\-get\-autoconnect\-settings\fR Get autoconnect settings .TP \fB\-\-wds\-set\-autoconnect\-settings\fR=\fI\,[\/\fR(enabled|disabled|paused)[,(roaming\-allowed|home\-only)]] Set autoconnect settings (roaming settings optional) .TP \fB\-\-wds\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-wds\-reset\fR Reset the service state .TP \fB\-\-wds\-bind\-mux\-data\-port\fR=\fI\,[\/\fR"key=value,..."] Bind qmux data port to controller device (allowed keys: mux\-id, ep\-iface\-number) to be used with `\-\-client\-no\-release\-cid' .TP \fB\-\-wds\-set\-ip\-family\fR=\fI\,[4\/\fR|6] Set IP family .TP \fB\-\-wds\-get\-channel\-rates\fR Get channel data rates .TP \fB\-\-wds\-noop\fR Just allocate or release a WDS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "PBM options:" .TP \fB\-\-pbm\-get\-all\-capabilities\fR Get all phonebook capabilities .TP \fB\-\-pbm\-noop\fR Just allocate or release a PBM client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "PDC options:" .TP \fB\-\-pdc\-list\-configs\fR=\fI\,[\/\fR(platform|software)] List all configs .TP \fB\-\-pdc\-delete\-config\fR=\fI\,[\/\fR(platform|software),ConfigId] Delete config .TP \fB\-\-pdc\-activate\-config\fR=\fI\,[\/\fR(platform|software),ConfigId] Activate config .TP \fB\-\-pdc\-deactivate\-config\fR=\fI\,[\/\fR(platform|software),ConfigId] Deactivate config .TP \fB\-\-pdc\-load\-config\fR=\fI\,[Path\/\fR to config] Load config to device .TP \fB\-\-pdc\-noop\fR Just allocate or release a PDC client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "UIM options:" .TP \fB\-\-uim\-set\-pin\-protection\fR=\fI\,[\/\fR(PIN1|PIN2|UPIN),(disable|enable),(current PIN)] Set PIN protection .TP \fB\-\-uim\-verify\-pin\fR=\fI\,[\/\fR(PIN1|PIN2|UPIN),(current PIN)] Verify PIN .TP \fB\-\-uim\-unblock\-pin\fR=\fI\,[\/\fR(PIN1|PIN2|UPIN),(PUK),(new PIN)] Unblock PIN .TP \fB\-\-uim\-change\-pin\fR=\fI\,[\/\fR(PIN1|PIN2|UPIN),(old PIN),(new PIN)] Change PIN .TP \fB\-\-uim\-read\-transparent\fR=\fI\,[0xNNNN\/\fR,0xNNNN,...] Read a transparent file given the file path .TP \fB\-\-uim\-get\-file\-attributes\fR=\fI\,[0xNNNN\/\fR,0xNNNN,...] Get the attributes of a given file .TP \fB\-\-uim\-read\-record\fR=\fI\,[\/\fR"key=value,..."] Read a record from given file (allowed keys: record\-number, record\-length, file ([0xNNNN\-0xNNNN,...]) .TP \fB\-\-uim\-get\-card\-status\fR Get card status .TP \fB\-\-uim\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-uim\-sim\-power\-on\fR=\fI\,[\/\fR(slot number)] Power on SIM card .TP \fB\-\-uim\-sim\-power\-off\fR=\fI\,[\/\fR(slot number)] Power off SIM card .TP \fB\-\-uim\-change\-provisioning\-session\fR=\fI\,[\/\fR"key=value,..."] Change provisioning session (allowed keys: session\-type, activate, slot, aid) .TP \fB\-\-uim\-get\-slot\-status\fR Get slot status .TP \fB\-\-uim\-switch\-slot\fR=\fI\,[\/\fR(slot number)] Switch active physical slot .TP \fB\-\-uim\-monitor\-slot\-status\fR Watch for slot status indications .TP \fB\-\-uim\-reset\fR Reset the service state .TP \fB\-\-uim\-noop\fR Just allocate or release a UIM client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "WMS options:" .TP \fB\-\-wms\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-wms\-reset\fR Reset the service state .TP \fB\-\-wms\-noop\fR Just allocate or release a WMS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "WDA options:" .TP \fB\-\-wda\-set\-data\-format\fR=\fI\,[\/\fR"key=value,..."] Set data format (allowed keys: link\-layer\-protocol (802\-3|raw\-ip), ul\-protocol (tlp|qc\-ncm|mbim|rndis|qmap), dl\-protocol (tlp|qc\-ncm|mbim|rndis|qmap), dl\-datagram\-max\-size, dl\-max\-datagrams, ep\-type (undefined|hsusb), ep\-iface\-number) .TP \fB\-\-wda\-get\-data\-format\fR=\fI\,[\/\fR"key=value,..."] Get data format (allowed keys: ep\-type (undefined|hsusb), ep\-iface\-number); also allows empty key list .TP \fB\-\-wda\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-wda\-noop\fR Just allocate or release a WDA client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "VOICE options:" .TP \fB\-\-voice\-get\-config\fR Get Voice service configuration .TP \fB\-\-voice\-get\-supported\-messages\fR Get supported messages .TP \fB\-\-voice\-noop\fR Just allocate or release a VOICE client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "LOC options:" .TP \fB\-\-loc\-session\-id\fR=\fI\,[ID]\/\fR Session ID for the LOC session .TP \fB\-\-loc\-start\fR Start location gathering .TP \fB\-\-loc\-stop\fR Stop location gathering .TP \fB\-\-loc\-get\-position\-report\fR Get position reported by the location module .TP \fB\-\-loc\-get\-gnss\-sv\-info\fR Show GNSS space vehicle info .TP \fB\-\-loc\-timeout\fR=\fI\,[SECS]\/\fR Maximum time to wait for information in `\-\-loc\-get\-position\-report' and `\-\-loc\-get\-gnss\-sv\-info' (default 30s) .TP \fB\-\-loc\-follow\-position\-report\fR Follow all position updates reported by the location module indefinitely .TP \fB\-\-loc\-follow\-gnss\-sv\-info\fR Follow all GNSS space vehicle info updates reported by the location module indefinitely .TP \fB\-\-loc\-follow\-nmea\fR Follow all NMEA trace updates reported by the location module indefinitely .TP \fB\-\-loc\-delete\-assistance\-data\fR Delete positioning assistance data .TP \fB\-\-loc\-get\-nmea\-types\fR Get list of enabled NMEA traces .TP \fB\-\-loc\-set\-nmea\-types\fR=\fI\,[type1\/\fR|type2|type3...] Set list of enabled NMEA traces .TP \fB\-\-loc\-noop\fR Just allocate or release a LOC client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "QoS options:" .TP \fB\-\-qos\-get\-flow\-status\fR=\fI\,[QoS\/\fR ID] Get QoS flow status .TP \fB\-\-qos\-get\-network\-status\fR Gets the network status .TP \fB\-\-qos\-swi\-read\-data\-stats\fR=\fI\,[APN\/\fR ID] Read data stats (Sierra Wireless specific) .TP \fB\-\-qos\-reset\fR Reset the service state .TP \fB\-\-qos\-noop\fR Just allocate or release a QOS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "GAS options:" .TP \fB\-\-gas\-dms\-get\-firmware\-list\fR Gets the list of stored firmware .TP \fB\-\-gas\-dms\-get\-active\-firmware\fR Gets the currently active firmware .TP \fB\-\-gas\-dms\-set\-active\-firmware\fR=\fI\,[index]\/\fR Sets the active firmware index .TP \fB\-\-gas\-noop\fR Just allocate or release a GAS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "GMS options:" .TP \fB\-\-gms\-test\-get\-value\fR Gets test value .TP \fB\-\-gms\-test\-set\-value\fR=\fI\,[mandatory\-value][\/\fR,[optional\-value]] Sets test value .TP \fB\-\-gms\-noop\fR Just allocate or release a GMS client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "DSD options:" .TP \fB\-\-dsd\-get\-apn\-info\fR=\fI\,[\/\fR(type)] Gets the settings associated to a given APN type .TP \fB\-\-dsd\-set\-apn\-type\fR=\fI\,[\/\fR(name), (type1|type2|type3...)] Sets the types associated to a given APN name .TP \fB\-\-dsd\-noop\fR Just allocate or release a DSD client. Use with `\-\-client\-no\-release\-cid' and/or `\-\-client\-cid' .SS "Application Options:" .TP \fB\-d\fR, \fB\-\-device\fR=\fI\,[PATH]\/\fR Specify device path .TP \fB\-w\fR, \fB\-\-get\-wwan\-iface\fR Get the WWAN iface name associated with this control port .TP \fB\-e\fR, \fB\-\-get\-expected\-data\-format\fR Get the expected data format in the WWAN iface .TP \fB\-E\fR, \fB\-\-set\-expected\-data\-format\fR=\fI\,[802\-3\/\fR|raw\-ip] Set the expected data format in the WWAN iface .TP \fB\-\-get\-service\-version\-info\fR Get service version info .TP \fB\-\-device\-set\-instance\-id\fR=\fI\,[Instance\/\fR ID] Set instance ID .TP \fB\-\-device\-open\-version\-info\fR Run version info check when opening device .TP \fB\-\-device\-open\-sync\fR Run sync operation when opening device .TP \fB\-p\fR, \fB\-\-device\-open\-proxy\fR Request to use the 'qmi\-proxy' proxy .TP \fB\-\-device\-open\-qmi\fR Open a cdc\-wdm device explicitly in QMI mode .TP \fB\-\-device\-open\-mbim\fR Open a cdc\-wdm device explicitly in MBIM mode .TP \fB\-\-device\-open\-auto\fR Open a cdc\-wdm device in either QMI or MBIM mode (default) .TP \fB\-\-device\-open\-net\fR=\fI\,[net\-802\-3\/\fR|net\-raw\-ip|net\-qos\-header|net\-no\-qos\-header] Open device with specific link protocol and QoS flags .TP \fB\-\-client\-cid\fR=\fI\,[CID]\/\fR Use the given CID, don't allocate a new one .TP \fB\-\-client\-no\-release\-cid\fR Do not release the CID when exiting .TP \fB\-v\fR, \fB\-\-verbose\fR Run action with verbose logs, including the debug ones .TP \fB\-\-silent\fR Run action with no logs; not even the error/warning ones .TP \fB\-V\fR, \fB\-\-version\fR Print version .SH COPYRIGHT Copyright \(co 2012\-2020 Aleksander Morgado License GPLv2+: GNU GPL version 2 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B qmicli is maintained as a Texinfo manual. If the .B info and .B qmicli programs are properly installed at your site, the command .IP .B info qmicli .PP should give you access to the complete manual.