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