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