luci-app-qmodem: add hang off support for mt5700

This commit is contained in:
coolsnowwolf 2025-05-16 11:13:18 +08:00
parent e0ce8d9be9
commit 074dbbb117

View File

@ -625,6 +625,8 @@ ecm_hang()
fi fi
elif [ "$manufacturer" = "meig" ]; then elif [ "$manufacturer" = "meig" ]; then
at_command="AT$QCRMCALL=0,1,1,2,1" at_command="AT$QCRMCALL=0,1,1,2,1"
elif [ "$manufacturer" = "huawei" ]; then
at_command="AT^NDISDUP=0,0"
else else
at_command='ATI' at_command='ATI'
fi fi
@ -789,7 +791,7 @@ at_dial()
"huawei") "huawei")
case $platform in case $platform in
"hisilicon") "hisilicon")
at_command="AT^SETAUTODIAL=1,1" at_command="AT^NDISDUP=1,1"
cgdcont_command="AT+CGDCONT=1,\"$pdp_type\"" cgdcont_command="AT+CGDCONT=1,\"$pdp_type\""
;; ;;
esac esac