1QMICLI(1)                        User Commands                       QMICLI(1)
2
3
4

NAME

6       qmicli - Control QMI devices
7

DESCRIPTION

9   Usage:
10              lt-qmicli [OPTION?] - Control QMI devices
11
12   Help Options:
13       -h, --help
14              Show help options
15
16       --help-all
17              Show all help options
18
19       --help-dms
20              Show Device Management Service options
21
22       --help-nas
23              Show Network Access Service options
24
25       --help-wds
26              Show Wireless Data Service options
27
28       --help-pbm
29              Show Phonebook Management options
30
31       --help-pdc
32              Show platform device configurations options
33
34       --help-uim
35              Show User Identity Module options
36
37       --help-wms
38              Show Wireless Messaging Service options
39
40       --help-wda
41              Show Wireless Data Administrative options
42
43       --help-voice
44              Show Voice Service options
45
46       --help-loc
47              Show location options
48
49       --help-qos
50              Show Quality of Service options
51
52       --help-gas
53              Show General Application Service options
54
55       --help-gms
56              Show General Modem Service options
57
58       --help-dsd
59              Show Data System Determination options
60
61   DMS options:
62       --dms-get-ids
63              Get IDs
64
65       --dms-get-capabilities
66              Get capabilities
67
68       --dms-get-manufacturer
69              Get manufacturer
70
71       --dms-get-model
72              Get model
73
74       --dms-get-revision
75              Get revision
76
77       --dms-get-msisdn
78              Get MSISDN
79
80       --dms-get-power-state
81              Get power state
82
83       --dms-uim-set-pin-protection=[(PIN|PIN2),(disable|enable),(current
84       PIN)]
85              Set PIN protection in the UIM
86
87       --dms-uim-verify-pin=[(PIN|PIN2),(current PIN)]
88              Verify PIN
89
90       --dms-uim-unblock-pin=[(PIN|PIN2),(PUK),(new PIN)]
91              Unblock PIN
92
93       --dms-uim-change-pin=[(PIN|PIN2),(old PIN),(new PIN)]
94              Change PIN
95
96       --dms-uim-get-pin-status
97              Get PIN status
98
99       --dms-uim-get-iccid
100              Get ICCID
101
102       --dms-uim-get-imsi
103              Get IMSI
104
105       --dms-uim-get-state
106              Get UIM State
107
108       --dms-uim-get-ck-status=[(pn|pu|pp|pc|pf)]
109              Get CK Status
110
111       --dms-uim-set-ck-protection=[(pn|pu|pp|pc|pf),(disable),(key)]
112              Disable CK protection
113
114       --dms-uim-unblock-ck=[(pn|pu|pp|pc|pf),(key)]
115              Unblock CK
116
117       --dms-get-hardware-revision
118              Get the HW revision
119
120       --dms-get-operating-mode
121              Get the device operating mode
122
123       --dms-set-operating-mode=[(Operating mode)]
124              Set the device operating mode
125
126       --dms-get-time
127              Get the device time
128
129       --dms-get-prl-version
130              Get the PRL version
131
132       --dms-get-activation-state
133              Get the state of the service activation
134
135       --dms-activate-automatic=[Activation Code]
136              Request automatic service activation
137
138       --dms-activate-manual=[SPC,SID,MDN,MIN]
139              Request manual service activation
140
141       --dms-get-user-lock-state
142              Get the state of the user lock
143
144       --dms-set-user-lock-state=[(disable|enable),(current lock code)]
145              Set the state of the user lock
146
147       --dms-set-user-lock-code=[(old lock code),(new lock code)]
148              Change the user lock code
149
150       --dms-read-user-data
151              Read user data
152
153       --dms-write-user-data=[(User data)]
154              Write user data
155
156       --dms-read-eri-file
157              Read ERI file
158
159       --dms-restore-factory-defaults=[(Service Programming Code)]
160              Restore factory defaults
161
162       --dms-validate-service-programming-code=[(Service Programming Code)]
163              Validate the Service Programming Code
164
165       --dms-set-firmware-id
166              Set firmware id
167
168       --dms-get-band-capabilities
169              Get band capabilities
170
171       --dms-get-factory-sku
172              Get factory stock keeping unit
173
174       --dms-list-stored-images
175              List stored images
176
177       --dms-select-stored-image=[modem#,pri#] where # is the index
178              Select stored image
179
180       --dms-delete-stored-image=[modem#|pri#] where # is the index
181              Delete stored image
182
183       --dms-get-firmware-preference
184              Get firmware preference
185
186       --dms-set-firmware-preference=[(fwver),(config),(carrier)]
187              Set firmware preference
188
189       --dms-get-boot-image-download-mode
190              Get boot image download mode
191
192       --dms-set-boot-image-download-mode=[normal|boot-and-recovery]
193              Set boot image download mode
194
195       --dms-get-software-version
196              Get software version
197
198       --dms-set-fcc-authentication
199              Set FCC authentication
200
201       --dms-get-supported-messages
202              Get supported messages
203
204       --dms-hp-change-device-mode=[fastboot]
205              Change device mode (HP specific)
206
207       --dms-swi-get-current-firmware
208              Get Current Firmware (Sierra Wireless specific)
209
210       --dms-swi-get-usb-composition
211              Get current and supported USB compositions (Sierra Wireless spe‐
212              cific)
213
214       --dms-swi-set-usb-composition=[#]
215              Set USB composition (Sierra Wireless specific)
216
217       --dms-foxconn-change-device-mode=[fastboot-ota|fastboot-online]
218              Change device mode (Foxconn specific)
219
220       --dms-foxconn-get-firmware-ver‐
221       sion=[firmware-mcfg-apps|firmware-mcfg|apps]
222              Get firmware version (Foxconn specific)
223
224       --dms-get-mac-address=[wlan|bt]
225              Get default MAC address
226
227       --dms-reset
228              Reset the service state
229
230       --dms-noop
231              Just   allocate   or   release   a   DMS   client.   Use    with
232              `--client-no-release-cid' and/or `--client-cid'
233
234   NAS options:
235       --nas-get-signal-strength
236              Get signal strength
237
238       --nas-get-signal-info
239              Get signal info
240
241       --nas-get-tx-rx-info=[(Radio Interface)]
242              Get TX/RX info
243
244       --nas-get-home-network
245              Get home network
246
247       --nas-get-serving-system
248              Get serving system
249
250       --nas-get-system-info
251              Get system info
252
253       --nas-get-technology-preference
254              Get technology preference
255
256       --nas-get-system-selection-preference
257              Get system selection preference
258
259       --nas-set-system-selection-prefer‐
260       ence=[cdma-1x|cdma-1xevdo|gsm|umts|lte|td-scdma][,[automatic|man‐
261       ual=MCCMNC]]
262              Set system selection preference
263
264       --nas-network-scan
265              Scan networks
266
267       --nas-get-cell-location-info
268              Get Cell Location Info
269
270       --nas-force-network-search
271              Force network search
272
273       --nas-get-operator-name
274              Get operator name data
275
276       --nas-get-lte-cphy-ca-info
277              Get LTE Cphy CA Info
278
279       --nas-get-rf-band-info
280              Get RF Band Info
281
282       --nas-get-supported-messages
283              Get supported messages
284
285       --nas-swi-get-status
286              Get status ((Sierra Wireless specific)
287
288       --nas-reset
289              Reset the service state
290
291       --nas-noop
292              Just    allocate   or   release   a   NAS   client.   Use   with
293              `--client-no-release-cid' and/or `--client-cid'
294
295   WDS options:
296       --wds-start-network=["key=value,..."]
297              Start network (allowed keys: apn,  3gpp-profile,  3gpp2-profile,
298              auth   (PAP|CHAP|BOTH),   username,  password,  autoconnect=yes,
299              ip-type (4|6))
300
301       --wds-follow-network
302              Follow  the  network  status  until   disconnected.   Use   with
303              `--wds-start-network'
304
305       --wds-stop-network=[Packet data handle] OR [disable-autoconnect]
306              Stop network
307
308       --wds-get-current-settings
309              Get current settings
310
311       --wds-get-packet-service-status
312              Get packet service status
313
314       --wds-get-packet-statistics
315              Get packet statistics
316
317       --wds-get-data-bearer-technology
318              Get data bearer technology
319
320       --wds-get-current-data-bearer-technology
321              Get current data bearer technology
322
323       --wds-go-dormant
324              Make the active data connection go dormant
325
326       --wds-go-active
327              Make the active data connection go active
328
329       --wds-get-dormancy-status
330              Get the dormancy status of the active data connection
331
332       --wds-create-profile=["(3gpp|3gpp2)[,key=value,...]"]
333              Create new profile using first available profile index (optional
334              keys:   name,   apn,   pdp-type    (IP|PPP|IPV6|IPV4V6),    auth
335              (NONE|PAP|CHAP|BOTH),  username, password, context-num, no-roam‐
336              ing=yes, disabled=yes)
337
338       --wds-swi-create-profile-indexed=["(3gpp|3gpp2),#[,key=value,...]"]
339              Create new profile at specified profile index  [Sierra  Wireless
340              specific]     (optional     keys:     name,     apn,    pdp-type
341              (IP|PPP|IPV6|IPV4V6), auth (NONE|PAP|CHAP|BOTH), username, pass‐
342              word, context-num, no-roaming=yes, disabled=yes)
343
344       --wds-modify-profile=["(3gpp|3gpp2),#,key=value,..."]
345              Modify  existing  profile  (optional  keys:  name, apn, pdp-type
346              (IP|PPP|IPV6|IPV4V6), auth (NONE|PAP|CHAP|BOTH), username, pass‐
347              word, context-num, no-roaming=yes, disabled=yes)
348
349       --wds-delete-profile=[(3gpp|3gpp2),#]
350              Delete existing profile
351
352       --wds-get-profile-list=[3gpp|3gpp2]
353              Get profile list
354
355       --wds-get-default-profile-num=[3gpp|3gpp2]
356              Get default profile number
357
358       --wds-set-default-profile-num=[(3gpp|3gpp2),#]
359              Set default profile number
360
361       --wds-get-default-settings=[3gpp|3gpp2]
362              Get default settings
363
364       --wds-get-autoconnect-settings
365              Get autoconnect settings
366
367       --wds-set-autoconnect-settings=[(enabled|disabled|paused)[,(roam‐
368       ing-allowed|home-only)]]
369              Set autoconnect settings (roaming settings optional)
370
371       --wds-get-supported-messages
372              Get supported messages
373
374       --wds-reset
375              Reset the service state
376
377       --wds-bind-mux-data-port=["key=value,..."]
378              Bind qmux data port to controller device (allowed keys:  mux-id,
379              ep-iface-number) to be used with `--client-no-release-cid'
380
381       --wds-set-ip-family=[4|6]
382              Set IP family
383
384       --wds-get-channel-rates
385              Get channel data rates
386
387       --wds-noop
388              Just    allocate   or   release   a   WDS   client.   Use   with
389              `--client-no-release-cid' and/or `--client-cid'
390
391   PBM options:
392       --pbm-get-all-capabilities
393              Get all phonebook capabilities
394
395       --pbm-noop
396              Just   allocate   or   release   a   PBM   client.   Use    with
397              `--client-no-release-cid' and/or `--client-cid'
398
399   PDC options:
400       --pdc-list-configs=[(platform|software)]
401              List all configs
402
403       --pdc-delete-config=[(platform|software),ConfigId]
404              Delete config
405
406       --pdc-activate-config=[(platform|software),ConfigId]
407              Activate config
408
409       --pdc-deactivate-config=[(platform|software),ConfigId]
410              Deactivate config
411
412       --pdc-load-config=[Path to config]
413              Load config to device
414
415       --pdc-noop
416              Just    allocate   or   release   a   PDC   client.   Use   with
417              `--client-no-release-cid' and/or `--client-cid'
418
419   UIM options:
420       --uim-set-pin-protection=[(PIN1|PIN2|UPIN),(disable|enable),(current
421       PIN)]
422              Set PIN protection
423
424       --uim-verify-pin=[(PIN1|PIN2|UPIN),(current PIN)]
425              Verify PIN
426
427       --uim-unblock-pin=[(PIN1|PIN2|UPIN),(PUK),(new PIN)]
428              Unblock PIN
429
430       --uim-change-pin=[(PIN1|PIN2|UPIN),(old PIN),(new PIN)]
431              Change PIN
432
433       --uim-read-transparent=[0xNNNN,0xNNNN,...]
434              Read a transparent file given the file path
435
436       --uim-get-file-attributes=[0xNNNN,0xNNNN,...]
437              Get the attributes of a given file
438
439       --uim-read-record=["key=value,..."]
440              Read  a  record  from  given  file (allowed keys: record-number,
441              record-length, file ([0xNNNN-0xNNNN,...])
442
443       --uim-get-card-status
444              Get card status
445
446       --uim-get-supported-messages
447              Get supported messages
448
449       --uim-sim-power-on=[(slot number)]
450              Power on SIM card
451
452       --uim-sim-power-off=[(slot number)]
453              Power off SIM card
454
455       --uim-change-provisioning-session=["key=value,..."]
456              Change provisioning session (allowed keys:  session-type,  acti‐
457              vate, slot, aid)
458
459       --uim-get-slot-status
460              Get slot status
461
462       --uim-switch-slot=[(slot number)]
463              Switch active physical slot
464
465       --uim-monitor-slot-status
466              Watch for slot status indications
467
468       --uim-reset
469              Reset the service state
470
471       --uim-noop
472              Just    allocate   or   release   a   UIM   client.   Use   with
473              `--client-no-release-cid' and/or `--client-cid'
474
475   WMS options:
476       --wms-get-supported-messages
477              Get supported messages
478
479       --wms-reset
480              Reset the service state
481
482       --wms-noop
483              Just   allocate   or   release   a   WMS   client.   Use    with
484              `--client-no-release-cid' and/or `--client-cid'
485
486   WDA options:
487       --wda-set-data-format=["key=value,..."]
488              Set    data    format    (allowed    keys:   link-layer-protocol
489              (802-3|raw-ip),    ul-protocol     (tlp|qc-ncm|mbim|rndis|qmap),
490              dl-protocol  (tlp|qc-ncm|mbim|rndis|qmap), dl-datagram-max-size,
491              dl-max-datagrams, ep-type (undefined|hsusb), ep-iface-number)
492
493       --wda-get-data-format=["key=value,..."]
494              Get  data  format  (allowed  keys:  ep-type   (undefined|hsusb),
495              ep-iface-number); also allows empty key list
496
497       --wda-get-supported-messages
498              Get supported messages
499
500       --wda-noop
501              Just    allocate   or   release   a   WDA   client.   Use   with
502              `--client-no-release-cid' and/or `--client-cid'
503
504   VOICE options:
505       --voice-get-config
506              Get Voice service configuration
507
508       --voice-get-supported-messages
509              Get supported messages
510
511       --voice-noop
512              Just  allocate   or   release   a   VOICE   client.   Use   with
513              `--client-no-release-cid' and/or `--client-cid'
514
515   LOC options:
516       --loc-session-id=[ID]
517              Session ID for the LOC session
518
519       --loc-start
520              Start location gathering
521
522       --loc-stop
523              Stop location gathering
524
525       --loc-get-position-report
526              Get position reported by the location module
527
528       --loc-get-gnss-sv-info
529              Show GNSS space vehicle info
530
531       --loc-timeout=[SECS]
532              Maximum   time  to  wait  for  information  in  `--loc-get-posi‐
533              tion-report' and `--loc-get-gnss-sv-info' (default 30s)
534
535       --loc-follow-position-report
536              Follow all position updates  reported  by  the  location  module
537              indefinitely
538
539       --loc-follow-gnss-sv-info
540              Follow all GNSS space vehicle info updates reported by the loca‐
541              tion module indefinitely
542
543       --loc-follow-nmea
544              Follow all NMEA trace updates reported by  the  location  module
545              indefinitely
546
547       --loc-delete-assistance-data
548              Delete positioning assistance data
549
550       --loc-get-nmea-types
551              Get list of enabled NMEA traces
552
553       --loc-set-nmea-types=[type1|type2|type3...]
554              Set list of enabled NMEA traces
555
556       --loc-noop
557              Just    allocate   or   release   a   LOC   client.   Use   with
558              `--client-no-release-cid' and/or `--client-cid'
559
560   QoS options:
561       --qos-get-flow-status=[QoS ID]
562              Get QoS flow status
563
564       --qos-get-network-status
565              Gets the network status
566
567       --qos-swi-read-data-stats=[APN ID]
568              Read data stats (Sierra Wireless specific)
569
570       --qos-reset
571              Reset the service state
572
573       --qos-noop
574              Just   allocate   or   release   a   QOS   client.   Use    with
575              `--client-no-release-cid' and/or `--client-cid'
576
577   GAS options:
578       --gas-dms-get-firmware-list
579              Gets the list of stored firmware
580
581       --gas-dms-get-active-firmware
582              Gets the currently active firmware
583
584       --gas-dms-set-active-firmware=[index]
585              Sets the active firmware index
586
587       --gas-noop
588              Just    allocate   or   release   a   GAS   client.   Use   with
589              `--client-no-release-cid' and/or `--client-cid'
590
591   GMS options:
592       --gms-test-get-value
593              Gets test value
594
595       --gms-test-set-value=[mandatory-value][,[optional-value]]
596              Sets test value
597
598       --gms-noop
599              Just   allocate   or   release   a   GMS   client.   Use    with
600              `--client-no-release-cid' and/or `--client-cid'
601
602   DSD options:
603       --dsd-get-apn-info=[(type)]
604              Gets the settings associated to a given APN type
605
606       --dsd-set-apn-type=[(name), (type1|type2|type3...)]
607              Sets the types associated to a given APN name
608
609       --dsd-noop
610              Just    allocate   or   release   a   DSD   client.   Use   with
611              `--client-no-release-cid' and/or `--client-cid'
612
613   Application Options:
614       -d, --device=[PATH]
615              Specify device path
616
617       -w, --get-wwan-iface
618              Get the WWAN iface name associated with this control port
619
620       -e, --get-expected-data-format
621              Get the expected data format in the WWAN iface
622
623       -E, --set-expected-data-format=[802-3|raw-ip]
624              Set the expected data format in the WWAN iface
625
626       --get-service-version-info
627              Get service version info
628
629       --device-set-instance-id=[Instance ID]
630              Set instance ID
631
632       --device-open-version-info
633              Run version info check when opening device
634
635       --device-open-sync
636              Run sync operation when opening device
637
638       -p, --device-open-proxy
639              Request to use the 'qmi-proxy' proxy
640
641       --device-open-qmi
642              Open a cdc-wdm device explicitly in QMI mode
643
644       --device-open-mbim
645              Open a cdc-wdm device explicitly in MBIM mode
646
647       --device-open-auto
648              Open a cdc-wdm device in either QMI or MBIM mode (default)
649
650       --device-open-net=[net-802-3|net-raw-ip|net-qos-header|net-no-qos-header]
651              Open device with specific link protocol and QoS flags
652
653       --client-cid=[CID]
654              Use the given CID, don't allocate a new one
655
656       --client-no-release-cid
657              Do not release the CID when exiting
658
659       -v, --verbose
660              Run action with verbose logs, including the debug ones
661
662       --silent
663              Run action with no logs; not even the error/warning ones
664
665       -V, --version
666              Print version
667
669       Copyright  ©  2012-2020 Aleksander Morgado License GPLv2+: GNU GPL ver‐
670       sion 2 or later <http://gnu.org/licenses/gpl-2.0.html>
671       This is free software: you are free  to  change  and  redistribute  it.
672       There is NO WARRANTY, to the extent permitted by law.
673

SEE ALSO

675       The  full  documentation  for qmicli is maintained as a Texinfo manual.
676       If the info and qmicli programs are properly installed  at  your  site,
677       the command
678
679              info qmicli
680
681       should give you access to the complete manual.
682
683
684
685qmicli 1.26.8                    January 2021                        QMICLI(1)
Impressum