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