From 9fae1763e451830cefacfba76e1dd85752fba742 Mon Sep 17 00:00:00 2001 From: dr-dolomite Date: Thu, 21 Mar 2024 06:03:36 +0800 Subject: [PATCH 1/2] added template for client side fetching --- simpleadmin/www/index.html | 69 +++++++++++++++++++++++++++++--------- simpleadmin/www/test.html | 67 ++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 16 deletions(-) create mode 100644 simpleadmin/www/test.html diff --git a/simpleadmin/www/index.html b/simpleadmin/www/index.html index 27d5cfb..004c478 100644 --- a/simpleadmin/www/index.html +++ b/simpleadmin/www/index.html @@ -218,28 +218,65 @@ diff --git a/simpleadmin/www/test.html b/simpleadmin/www/test.html new file mode 100644 index 0000000..009a1bf --- /dev/null +++ b/simpleadmin/www/test.html @@ -0,0 +1,67 @@ + + + + + + + AT Commands + + + + + + + + + + +
+ +
+ + + + + + From 3b739faf66ff19ad9e5b07af474109113f5c8d5a Mon Sep 17 00:00:00 2001 From: dr-dolomite Date: Thu, 21 Mar 2024 08:57:29 +0800 Subject: [PATCH 2/2] temporarily removed sed for SA --- simpleadmin/scripts/modemstatus_parse.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simpleadmin/scripts/modemstatus_parse.sh b/simpleadmin/scripts/modemstatus_parse.sh index 234d88f..5d3b6cc 100644 --- a/simpleadmin/scripts/modemstatus_parse.sh +++ b/simpleadmin/scripts/modemstatus_parse.sh @@ -307,7 +307,8 @@ case $RAT in PCI=$(echo $QENG5 | cut -d, -f8) get_secondary_bands # Apply | sed '1d' to NR_BAND - NR_BAND=$(echo $NR_BAND | sed '1d') + # Temporarily removed the sed command for testing + NR_BAND=$(echo $NR_BAND) CHANNEL=$(echo $QENG5 | cut -d, -f10) LBAND=$(echo $QENG5 | cut -d, -f11) PC_BAND="NR5G BAND "$LBAND