Skip to content

新增 Thales MV32-W-A 和 MV32-W-B 模组支持 - #244

Open
ArlongLi wants to merge 15 commits into
FUjr:mainfrom
ArlongLi:main
Open

新增 Thales MV32-W-A 和 MV32-W-B 模组支持#244
ArlongLi wants to merge 15 commits into
FUjr:mainfrom
ArlongLi:main

Conversation

@ArlongLi

@ArlongLi ArlongLi commented Aug 8, 2026

Copy link
Copy Markdown

修改内容

  1. 新增 Thales MV32-W-A 和 MV32-W-B 的 AT 命令封装脚本及配置。
  2. 更新 modem_support.json 和对应的文档列表。
  3. 已在实机上测试 AT 命令正常响应。
image image

ArlongLi and others added 9 commits August 7, 2026 23:37
modem_ctrl.sh loads cmds/<vendor>.sh; missing cmds/thales.sh logged 'cmds file for vendor thales not found'. Add wrappers for the MV32-W command set (SETCONFIG/MODESWITCH/SLMODE/BAND_PREF/SWITCH_SLOT/TEMP/DEBUG/RESET plus common ATI/CGSN/CPIN/COPS/CNUM/CIMI/ICCID/CGMM/CGMI).
Drop the t99w368 (foxconn MV32-W) entries added earlier: normalize_model_name mapping in modem_scand.c, usb/pcie modem_support.json entries, and support_list.md row. mv32-w-a / mv32-w-b (thales) remain. foxconn.sh 90d5 mode-switch logic is upstream original code and is kept.
Per MV32-W-A HW guide, the PCIe configuration on Linux exposes DIAG/RmNet/Modem/NMEA (MBIM is Windows-only). Set pcie modes for mv32-w-a/mv32-w-b from mbim to rmnet; usb modes unchanged.
MV32-W-A/B do not work on PCIe with current firmware. Remove pcie entries from modem_support.json and mark pcie as unsupported in support_list.md. USB entries unchanged.
@FUjr

FUjr commented Aug 8, 2026

Copy link
Copy Markdown
Owner

感谢贡献,我明天起床review一下。若方便可以参考 #236 通过 qmodem_collect 提供一份脱敏后的 fixture,后续这些行为就可以直接进入自动回归测试。
可以直接附在pr comment或这个issue里

@FUjr

FUjr commented Aug 10, 2026

Copy link
Copy Markdown
Owner

你好,感谢贡献。工作日比较忙,周末帮您review一下。或者您简单描述一下您的改动,用 #236 的测试用例收集工具收集一下您的测试用例。

ArlongLi and others added 4 commits August 21, 2026 19:43
AT+COPS? returns '????' in long-alphanumeric format when the module cannot resolve the PLMN name. Set COPS to numeric (AT+COPS=3,2) before querying, then map the MCCMNC (e.g. 46001) to the carrier name. Matches quectel/gosuncn.
The frontend ubus path (rpcd/qmodem -> load_vendor_script) only sourced vendor/<vendor>.sh but never cmds/<vendor>.sh, so vendor-specific cmd_* wrappers (e.g. cmd_cops_query) were undefined and ISP was silently dropped. Load cmds/<vendor>.sh after the vendor script, matching modem_ctrl.sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants