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

Added Improvements for BW Parsing, Improved Function Queuing for Simple Network and Fixed TTL Settings
This commit is contained in:
Cameron Thompson
2024-05-09 15:40:54 -04:00
committed by GitHub
8 changed files with 190 additions and 220 deletions

View File

@@ -59,6 +59,9 @@
<li class="nav-item">
<a class="nav-link" href="/console">Console</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/console">Console</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/deviceinfo.html"
>Device Information</a
@@ -718,7 +721,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[27].split(",")[7].replace(/"/g, "");
@@ -792,9 +795,9 @@
// Calculate the LTE bandwidth
this.bandwidth =
this.calculate_lte_bw(lte_bw_ul) +
"UL " + this.calculate_lte_bw(lte_bw_ul) +
" MHz / " +
this.calculate_lte_bw(lte_bw_dl) +
"DL " + this.calculate_lte_bw(lte_bw_dl) +
" MHz";
// Get the Cell ID
@@ -874,8 +877,8 @@
// Calculate the LTE bandwidth
this.bandwidth =
this.calculate_lte_bw(lte_bw_ul) +
" MHz / " +
this.calculate_lte_bw(lte_bw_dl) +
" MHz, " +
"NR " + this.calculate_lte_bw(lte_bw_dl) +
" MHz";
// Get the RSSI