Merge pull request #4 from dr-dolomite/development-socat

Sync Changes from Development
This commit is contained in:
Russel Yasol
2024-05-09 08:00:32 +08:00
committed by GitHub

View File

@@ -780,7 +780,7 @@
this.signalPercentage
);
} else {
if (this.network_mode.match(/LTE/) != null) {
if (this.network_mode.match(/LTE/) != null && this.network_mode.match(/NR5G-NSA/) == null) {
let lte_bw_ul = lines[27].split(",")[10].replace(/"/g, "");
let lte_bw_dl = lines[27].split(",")[11].replace(/"/g, "");
@@ -909,7 +909,7 @@
// Get the RSRQ
this.rsrqLTE = lines[28].split(",")[12].replace(/"/g, "");
rsrq = parseInt(this.rsrqLTE);
let rsrq = parseInt(this.rsrqLTE);
// Calculate the RSRQ percentage
this.rsrqLTEPercentage = this.calculateRSRQPercentage(rsrq);
@@ -958,7 +958,7 @@
// Get the RSRQ NR
this.rsrqNR = lines[29].split(",")[6].replace(/"/g, "");
let rsrq = parseInt(this.rsrqNR);
rsrq = parseInt(this.rsrqNR);
// Calculate the RSRQ percentage
this.rsrqNRPercentage = this.calculateRSRQPercentage(rsrq);