QuecManager BETA 1.0.6

- Resolved IMEI Mangling Issue
- Optimized Logging and AT Operations: Centralized logging to smd7 and redirected all AT operations to smd11 to prevent request conflicts.
- Introduced Cell Locking Scheduler
- Fixed SMS Inbox Loading Issue: Addressed a bug where the SMS inbox would get stuck during loading.
- Enhanced Speedtest Output: Updated speed test results to display values with two decimal points when reaching GBps speeds.
- Changed Link Speed from "Unknown!" to "-" when link is not active
- Added 5 second cooldown to speedtest

Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com>
This commit is contained in:
Cameron Thompson
2024-12-21 16:11:55 -05:00
parent c8b53ae3f3
commit 0e74abe7db
62 changed files with 414 additions and 142 deletions

View File

@@ -1,14 +1,14 @@
#!/bin/sh
# Ensure the directory exists
LOGDIR="/tmp/signal_graphs"
LOGDIR="/www/signal_graphs"
mkdir -p "$LOGDIR"
# Maximum number of entries
MAX_ENTRIES=10
# Interval between logs (in seconds)
INTERVAL=25
INTERVAL=15
# Function to clean and extract actual output from atinout
clean_atinout_output() {
@@ -66,7 +66,7 @@ log_data_usage() {
TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
# Run the AT command and capture its output, then clean it
DATA_OUTPUT=$(echo "AT+QGDCNT?;+QGDNRCNT?" | atinout - /dev/smd7 - | clean_atinout_output)
DATA_OUTPUT=$(echo "AT+QGDCNT?;+QGDNRCNT?" | atinout - /dev/smd11 - | clean_atinout_output)
# Ensure the file exists and is a valid JSON array
if [ ! -s "$LOGFILE" ]; then