更新 simpleadmin/www/index.html
This commit is contained in:
parent
f17368ab90
commit
695f1a3b6d
@ -203,6 +203,14 @@
|
||||
<th scope="row">接入点APN</th>
|
||||
<td x-text="apn"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">签约速率Mbps</th>
|
||||
<td x-text="ambr"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">签约QCI</th>
|
||||
<td x-text="qci"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">网络模式</th>
|
||||
<td x-text="networkMode"></td>
|
||||
@ -626,8 +634,8 @@
|
||||
mccmnc: "00000",
|
||||
apn: "未知",
|
||||
networkMode: "已断开",
|
||||
bands: "未知频段",
|
||||
bandwidth: "未知带宽",
|
||||
bands: "未知",
|
||||
bandwidth: "未知",
|
||||
earfcns: "000",
|
||||
pccPCI: "0",
|
||||
sccPCI: "-",
|
||||
@ -652,7 +660,7 @@
|
||||
sinrNRPercentage: "0%",
|
||||
signalPercentage: "0",
|
||||
signalAssessment: "未知",
|
||||
uptime: "未知",
|
||||
uptime: "Unknown",
|
||||
lastUpdate: new Date().toLocaleString(),
|
||||
newRefreshRate: null,
|
||||
refreshRate: 3,
|
||||
@ -662,10 +670,13 @@
|
||||
nonNrUpload: "0",
|
||||
downloadStat: "0",
|
||||
uploadStat: "0",
|
||||
mccmncNumber: "未知",
|
||||
ambr: "未知",
|
||||
qci: "未知",
|
||||
|
||||
fetchAllInfo() {
|
||||
this.atcmd =
|
||||
'AT+QTEMP;+QUIMSLOT?;+QSPN;+CGCONTRDP=1;+QMAP="WWANIP";+QENG="servingcell";+QCAINFO;+QSIMSTAT?;+CSQ;+QGDNRCNT?;+QGDCNT?';
|
||||
'AT+QTEMP;+QUIMSLOT?;+QSPN;+CGCONTRDP=1;+QMAP="WWANIP";+QENG="servingcell";+QCAINFO;+QSIMSTAT?;+CSQ;+QGDNRCNT?;+QGDCNT?;+QNWCFG="nr5g_ambr"';
|
||||
|
||||
fetch(
|
||||
"/cgi-bin/get_atcommand?" +
|
||||
@ -779,6 +790,12 @@
|
||||
.split(",")[3]
|
||||
.replace(/"/g, "");
|
||||
|
||||
const network_ambr = lines
|
||||
.find((line) => line.includes('+QNWCFG: "nr5g_ambr"'))
|
||||
.split(",");
|
||||
this.ambr = network_ambr[3].replace(/"/g, "") + " / " + network_ambr[5].replace(/"/g, "") ;
|
||||
this.qci = network_ambr[2].replace(/"/g, "");
|
||||
|
||||
if (network_mode == "NR5G-SA") {
|
||||
if (duplex_mode == "TDD") {
|
||||
this.networkMode = "5G SA TDD";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user