- 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>
24 lines
540 B
Bash
Executable File
24 lines
540 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Script to configure SMS text mode on a modem device
|
|
# Usage: ./sms_config.sh
|
|
|
|
# Check if atinout is installed
|
|
if ! command -v atinout &> /dev/null; then
|
|
echo "Error: atinout is not installed"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if the device exists
|
|
if [ ! -c "/dev/smd11" ]; then
|
|
echo "Error: Device /dev/smd11 not found"
|
|
exit 1
|
|
fi
|
|
|
|
# Send AT command to set SMS text mode
|
|
if ! echo "AT+CMGF=1" | atinout - /dev/smd11 -; then
|
|
echo "Error: Failed to send AT command"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Successfully configured SMS text mode" |