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

NSA Mode Bandwidth Parsing and SMS Layout Fixes
This commit is contained in:
Cameron Thompson
2024-05-11 23:14:10 -04:00
committed by GitHub
3 changed files with 293 additions and 291 deletions

View File

@@ -925,9 +925,10 @@
// Calculate the LTE bandwidth // Calculate the LTE bandwidth
this.bandwidth = this.bandwidth =
"UL " +
this.calculate_lte_bw(lte_bw_ul) + this.calculate_lte_bw(lte_bw_ul) +
" MHz, " + " MHz / " +
"NR " + "DL " +
this.calculate_lte_bw(lte_bw_dl) + this.calculate_lte_bw(lte_bw_dl) +
" MHz"; " MHz";
@@ -1003,7 +1004,7 @@
// Calculate the NR bandwidth // Calculate the NR bandwidth
this.bandwidth += this.bandwidth +=
" / " + this.calculate_nr_bw(nr_bw).toString() + " MHz"; " / NR " + this.calculate_nr_bw(nr_bw).toString() + " MHz";
// Parse the PCIs // Parse the PCIs
this.pcc_pci = lines[28].split(",")[5].replace(/"/g, ""); this.pcc_pci = lines[28].split(",")[5].replace(/"/g, "");

View File

@@ -589,7 +589,7 @@
this.prefNetwork = settings.prefNetwork; this.prefNetwork = settings.prefNetwork;
this.nrModeControl = settings.nrModeControl; this.nrModeControl = settings.nrModeControl;
this.bands = settings.bands; this.bands = settings.bands;
}); })
}, },
lockSelectedBands() { lockSelectedBands() {
// Get the updated this.currentNetworkMode = selectedMode; and this.updatedLockedBands = newCheckedValues; // Get the updated this.currentNetworkMode = selectedMode; and this.updatedLockedBands = newCheckedValues;

View File

@@ -77,7 +77,6 @@
</div> </div>
</div> </div>
</nav> </nav>
<div class="row mt-5 mb-4"> <div class="row mt-5 mb-4">
<div class="col"> <div class="col">
<div class="card"> <div class="card">
@@ -130,7 +129,7 @@
</div> </div>
</div> </div>
<form> <form>
<div class="col-md-4 my-4"> <!-- <div class="col-md-4 my-4">
<label for="PhoneNumber" class="form-label" <label for="PhoneNumber" class="form-label"
>Send SMS</label >Send SMS</label
> >
@@ -141,10 +140,10 @@
aria-label="Phone Number" aria-label="Phone Number"
x-model="phoneNumber" x-model="phoneNumber"
/> />
</div> </div> -->
<!-- <div class="col-md-8 mb-3">
<div class="col-md-8 mb-3">
<!-- Text Area Here for SMS Input -->
<textarea <textarea
class="form-control" class="form-control"
id="smsInputBox" id="smsInputBox"
@@ -152,13 +151,17 @@
placeholder="Enter SMS here (!!!CURRENTLY UNDER DEVELOPMENT!!!)" placeholder="Enter SMS here (!!!CURRENTLY UNDER DEVELOPMENT!!!)"
x-model="messageToSend" x-model="messageToSend"
></textarea> ></textarea>
</div> -->
</form>
</div> </div>
</div>
<div class="card-footer">
<div <div
class="d-grid gap-2 d-md-flex justify-content-md-start" class="d-grid gap-2 d-md-flex justify-content-md-start"
> >
<button class="btn btn-primary me-md-2" type="button" @click="sendSMS()" :disabled="true" > <!-- <button class="btn btn-primary me-md-2" type="button" @click="sendSMS()" :disabled="true" >
Send SMS Send SMS
</button> </button> -->
<button <button
class="btn btn-success" class="btn btn-success"
type="button" type="button"
@@ -174,8 +177,6 @@
Delete All SMS Delete All SMS
</button> </button>
</div> </div>
</form>
</div>
</div> </div>
</div> </div>
</div> </div>