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