diff --git a/simpleadmin/www/network.html b/simpleadmin/www/network.html
index 0f23eb7..6a1c2d0 100644
--- a/simpleadmin/www/network.html
+++ b/simpleadmin/www/network.html
@@ -59,7 +59,7 @@
SMS
-
+
Console
@@ -589,7 +589,7 @@
this.prefNetwork = settings.prefNetwork;
this.nrModeControl = settings.nrModeControl;
this.bands = settings.bands;
- })
+ });
},
lockSelectedBands() {
// Get the updated this.currentNetworkMode = selectedMode; and this.updatedLockedBands = newCheckedValues;
@@ -692,8 +692,25 @@
this.showModal = true;
console.log(atcmd);
- this.sendATcommand(atcmd);
+ // If atcmd has QUIMSLOT, do a reboot instead
+ if (atcmd.includes("QUIMSLOT")) {
+ atcmd = atcmd +"+CFUN=1,1";
+ this.sendATcommand(atcmd);
+ this.countdown = 45;
+ const interval = setInterval(() => {
+ this.countdown--;
+ if (this.countdown === 0) {
+ clearInterval(interval);
+ this.showModal = false;
+ this.init();
+ }
+ }, 1000);
+
+ return;
+ }
+
+ this.sendATcommand(atcmd);
// Do a 15 second countdown
this.countdown = 15;