Merge pull request #4 from dr-dolomite/development-socat
Sync Changes from Development
This commit is contained in:
@@ -780,7 +780,7 @@
|
|||||||
this.signalPercentage
|
this.signalPercentage
|
||||||
);
|
);
|
||||||
} else {
|
} 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_ul = lines[27].split(",")[10].replace(/"/g, "");
|
||||||
let lte_bw_dl = lines[27].split(",")[11].replace(/"/g, "");
|
let lte_bw_dl = lines[27].split(",")[11].replace(/"/g, "");
|
||||||
|
|
||||||
@@ -909,7 +909,7 @@
|
|||||||
|
|
||||||
// Get the RSRQ
|
// Get the RSRQ
|
||||||
this.rsrqLTE = lines[28].split(",")[12].replace(/"/g, "");
|
this.rsrqLTE = lines[28].split(",")[12].replace(/"/g, "");
|
||||||
rsrq = parseInt(this.rsrqLTE);
|
let rsrq = parseInt(this.rsrqLTE);
|
||||||
|
|
||||||
// Calculate the RSRQ percentage
|
// Calculate the RSRQ percentage
|
||||||
this.rsrqLTEPercentage = this.calculateRSRQPercentage(rsrq);
|
this.rsrqLTEPercentage = this.calculateRSRQPercentage(rsrq);
|
||||||
@@ -958,7 +958,7 @@
|
|||||||
|
|
||||||
// Get the RSRQ NR
|
// Get the RSRQ NR
|
||||||
this.rsrqNR = lines[29].split(",")[6].replace(/"/g, "");
|
this.rsrqNR = lines[29].split(",")[6].replace(/"/g, "");
|
||||||
let rsrq = parseInt(this.rsrqNR);
|
rsrq = parseInt(this.rsrqNR);
|
||||||
|
|
||||||
// Calculate the RSRQ percentage
|
// Calculate the RSRQ percentage
|
||||||
this.rsrqNRPercentage = this.calculateRSRQPercentage(rsrq);
|
this.rsrqNRPercentage = this.calculateRSRQPercentage(rsrq);
|
||||||
|
|||||||
Reference in New Issue
Block a user