From ab667ebdee4164edc453638c041908261404c79d Mon Sep 17 00:00:00 2001 From: x-shark Date: Sat, 12 Apr 2025 02:58:56 +0000 Subject: [PATCH] add t99w175 at commands,disabled imei ! --- .../root/usr/share/qmodem/at_commands.json | 26 +++++++++++++++++++ .../root/usr/share/qmodem/vendor/foxconn.sh | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/at_commands.json b/luci/luci-app-qmodem/root/usr/share/qmodem/at_commands.json index 7f932c1..4872c27 100644 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/at_commands.json +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/at_commands.json @@ -518,5 +518,31 @@ "重启模组 > AT+RESET": "AT+RESET" } ] + }, + "foxconn": { + "qualcomm": [ + { + "SIM卡状态上报 > AT^SIMSLOTURC=1": "AT^SIMSLOTURC=1" + }, + { + "获取SIM卡卡槽状态 > AT^SWITCH_SLOT?": "AT^SWITCH_SLOT?" + }, + { + "设置当前使用的为卡1 > at^switch_slot=0": "at^switch_slot=0" + }, + { + "设置当前使用的为ESIM > at^switch_slot=1": "at^switch_slot=1" + }, + { + "查询网络及载波信息 > AT^DEBUG?": "AT^DEBUG?" + }, + { + "获取模组温度 > AT^TEMP?": "AT^TEMP?" + }, + { + "重启模组 > AT+RESET": "AT+RESET" + } + ] } + } \ No newline at end of file diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/vendor/foxconn.sh b/luci/luci-app-qmodem/root/usr/share/qmodem/vendor/foxconn.sh index 131017f..b59aa40 100644 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/vendor/foxconn.sh +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/vendor/foxconn.sh @@ -259,7 +259,7 @@ function network_info() { } function vendor_get_disabled_features(){ - #json_add_string "" "IMEI" + json_add_string "" "IMEI" json_add_string "" "NeighborCell" }