diff --git a/simpleadmin/www/index.html b/simpleadmin/www/index.html index fca7dc0..bdfce77 100644 --- a/simpleadmin/www/index.html +++ b/simpleadmin/www/index.html @@ -925,9 +925,10 @@ // Calculate the LTE bandwidth this.bandwidth = + "UL " + this.calculate_lte_bw(lte_bw_ul) + - " MHz, " + - "NR " + + " MHz / " + + "DL " + this.calculate_lte_bw(lte_bw_dl) + " MHz"; @@ -1003,7 +1004,7 @@ // Calculate the NR bandwidth this.bandwidth += - " / " + this.calculate_nr_bw(nr_bw).toString() + " MHz"; + " / NR " + this.calculate_nr_bw(nr_bw).toString() + " MHz"; // Parse the PCIs this.pcc_pci = lines[28].split(",")[5].replace(/"/g, ""); diff --git a/simpleadmin/www/network.html b/simpleadmin/www/network.html index 0383231..0f23eb7 100644 --- a/simpleadmin/www/network.html +++ b/simpleadmin/www/network.html @@ -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; diff --git a/simpleadmin/www/sms.html b/simpleadmin/www/sms.html index a2ea30b..1595275 100644 --- a/simpleadmin/www/sms.html +++ b/simpleadmin/www/sms.html @@ -1,301 +1,302 @@ - - - - Simple Admin - - - - - - - + + + + Simple Admin + + + + + + + - - - - - - -
-
- + + + + + + +
+
+ +
+
+
+
SMS Manager
+
+
+
+
+ + +
+

Fetching SMS...

+
+ + + + +
+
+
+
+ -
-
-
-
SMS Manager
-
-
-
-
- - -
-

Fetching SMS...

-
- - - - -
-
-
- -
- - -
+ + +
+
+ +
+
+
+
+
+ + - - + init() { + // Send AT+CMGF=1 once to set the modem to text mode + const atcmd = "AT+CMGF=1"; + fetch( + "/cgi-bin/get_atcommand?" + + new URLSearchParams({ + atcmd: atcmd, + }) + ) + .then((response) => response.text()) + .then((data) => { + console.log(data); + }) + .finally(() => { + this.requestSMS(); + }); + }, + }; + } + +