HCKZ知识库

uqmi

============================================= 使用 uqmi 工具查询信息 =============================================

[options]
--single, -s                                    # 将输出打印为单行,方便脚本处理
--device=NAME, -d NAME                          # 指定设备名称(必填)
--keep-client-id <name>                         # 保持指定服务的 Client ID
--release-client-id <name>                      # 退出时释放指定服务的 Client ID
--mbim, -m                                      # 设备是 MBIM 模式并支持 EXT_QMUX
--timeout, -t                                   # 设置响应超时(毫秒)
[services]
dms                                             # 设备管理服务
nas                                             # 网络接入服务
pds                                             # 位置服务
wds                                             # 数据服务
wms                                             # 短信服务
[device_and_service]
--get-versions                                  # 获取各服务版本
--set-client-id <name>,<id>                     # 设置服务 Client ID
--get-client-id <name>                          # 获取服务 Client ID
--sync                                          # 释放所有 Client ID
[network]
--start-network                                 # 启动网络连接
--apn <apn>                                     # 设置 APN
--auth-type pap|chap|both|none                 # 设置认证方式
--username <name>                               # 网络用户名
--password <pwd>                                # 网络密码
--ip-family <ipv4|ipv6|unspecified>            # IP 类型
--autoconnect                                   # 启用自动连接
--profile <index>                               # 使用指定连接配置
--stop-network <pdh>                            # 停止网络连接
--get-data-status                               # 获取数据连接状态
--set-ip-family <val>                           # 设置 IP 类型
--set-autoconnect <val>                         # 设置自动连接状态
[apn_profile]
--get-profile-settings <val,#>                 # 获取 APN 配置
--set-default-profile <val,#>                  # 设置默认配置
--get-default-profile <val>                    # 获取默认配置
--get-profile-list <val>                        # 获取配置列表
--create-profile <val>                          # 创建 APN 配置
--modify-profile <val>,#                        # 修改 APN 配置
--delete-profile <val>,#                        # 删除 APN 配置
--get-current-settings                          # 获取当前连接设置
[data_network]
--bind-mux <id>                                 # 绑定数据会话到 QMAP
--set-lte-attach-pdn #,#,...                    # 设置 LTE/5G 附着 PDN
--get-capabilities                               # 获取设备能力

[sim_management]
--get-pin-status                                # 获取 PIN 状态
--verify-pin1 <pin>                             # 验证 PIN1
--verify-pin2 <pin>                             # 验证 PIN2
--set-pin1-protection <state>                   # 设置 PIN1 保护
--set-pin2-protection <state>                   # 设置 PIN2 保护
--change-pin1                                   # 修改 PIN1
--change-pin2                                   # 修改 PIN2
--unblock-pin1                                  # 使用 PUK 解锁 PIN1
--unblock-pin2                                  # 使用 PUK 解锁 PIN2
--get-iccid                                     # 获取 ICCID
--get-imsi                                      # 获取 IMSI
--get-imei                                      # 获取 IMEI
--get-msisdn                                    # 获取手机号
[device_mode]
--reset-dms                                     # 重置 DMS 服务
--get-device-operating-mode                      # 获取设备工作模式
--set-device-operating-mode <mode>              # 设置设备模式 (online, low_power, factory_test, offline, reset, shutting_down, persistent_low_power, mode_only_low_power)
--fcc-auth  
[sim_channel]
--uim-verify-pin1 <pin>                         # 验证 PIN1(新设备)
--uim-verify-pin2 <pin>                         # 验证 PIN2(新设备)
--uim-get-sim-state                              # 获取 SIM 状态
--uim-power-off                                  # SIM 下电
--uim-power-on                                   # SIM 上电
--uim-channel-open <AID>                         # 打开通道
--uim-channel-close                               # 关闭通道
--uim-apdu-send <cmd>                             # 发送 APDU 命令
[network_mode]
--set-network-modes <modes>                     # 设置可用网络模式 (all, lte, umts, gsm, cdma, td-scdma, 5gnr)
--set-network-preference <mode>                 # 设置首选网络模式 (auto, gsm, wcdma)
--set-network-roaming <mode>                     # 设置漫游偏好 (any, off, only)
--network-scan                                   # 扫描网络
--network-register                               # 注册网络
--set-plmn --mcc <mcc> --mnc <mnc>             # 手动注册运营商
--get-plmn                                      # 获取当前运营商信息
--get-signal-info                               # 获取信号信息
--get-serving-system                             # 获取服务系统信息
--get-system-info                                # 获取系统信息
--get-lte-cphy-ca-info                            # 获取 LTE Cphy CA 信息
--get-cell-location-info                          # 获取小区位置信息
--get-tx-rx-info <radio>                         # 获取 TX/RX 信息
[sms]
--list-messages --storage <sim|me>               # 列出短信
--delete-message <id> --storage <sim|me>        # 删除短信
--get-message <id> --storage <sim|me>           # 获取短信内容
--get-raw-message <id> --storage <sim|me>       # 获取短信原始内容
--send-message <data>                            # 发送短信
--send-message-smsc <nr>                         # 设置 SMSC 号码
--send-message-target <nr>                       # 设置目标号码
--send-message-flash                             # 发送闪信

[data_format]
--wda-set-data-format <type>                     # 设置数据格式 (802.3|raw-ip)
--flow-control <0|1>                             # 流控开关
--wda-get-data-format                            # 获取当前数据格式

===============================================================================================================

评论

暂无评论。

提交后需管理员审核通过才会显示