ModAT-T is a professional, robust graphical desktop application built with Python and Tkinter designed to interface with Huawei Modems and other compatible AT-command devices. It serves as a unified dashboard for SMS management, real-time network diagnostics, and advanced modem control via an interactive AT terminal.
-
SMS Management:
- Send SMS: Supports Text and PDU modes. Configure SMS Class (0 Flash, 1 Normal, 2 SIM, 3 Phone) and DCS (Data Coding Scheme) for various 7-bit/8-bit formats.
- Inbox: Read, reply, forward, and delete messages. Automatically decodes PDU formats and saves messages to a local inbox file (
inbox.json). - Delivery Reports: Track sent messages with a live status treeview and detailed delivery receipts.
-
Advanced AT Command Terminal:
- Send raw AT commands directly to the modem.
- Features real-time autocomplete for a vast library of standard and Huawei-specific AT commands.
- Command history navigation (Up/Down arrows) and syntax-highlighted output logs.
-
Network & Diagnostics Info:
- View real-time signal strength, network operator, and registration status.
- Detailed RF and Cell Identity metrics: TAC/LAC, Cell ID, Band, EARFCN, Frequency, Bandwidth.
- Advanced Signal Quality metrics: RSSI, RSRP, SINR, RSRQ.
-
Phonebook / Contacts:
- Manage contacts in a local
contacts.jsonfile for quick access when sending SMS.
- Manage contacts in a local
-
Smart Connectivity & Settings:
- Serial Port Auto-Detect: Automatically scans and lists descriptive COM ports. Connect directly or bypass auto-detect.
- HiLink to Serial Switching: Built-in functionality to automatically switch Huawei modems from HiLink (Router) mode to Serial (Modem) mode via their IP interface (e.g.,
192.168.8.1).
- Python 3.x
tkinter(usually included with Python)pyserialrequestsurllib3
You can install the required packages using pip:
pip install pyserial requests urllib3Run the main Python script to launch the application:
python main.pyAlternatively, build it into a standalone executable using the included PyInstaller spec file:
pyinstaller ModAT-T.specThe application uses local JSON and INI files stored in the same directory to persist user data:
settings.ini: Saves user preferences, connection settings, and UI layout.contacts.json: Stores phonebook entries.inbox.json: Persists saved SMS messages.
The built-in AT Terminal provides auto-complete for many common Huawei commands. Simply type AT to see the available commands. Press Up or Down to navigate your command history, and Enter or click to complete a command.
This software interacts directly with modem firmware using AT commands. While designed to be safe, modifying advanced configuration parameters via the AT terminal may result in unexpected behavior or instability of your modem. Use at your own risk.