This repository was archived by the owner on May 29, 2026. It is now read-only.
v1.4.1
New Features
Verbose Logging for Debugging (--enable-logging / -L)
Added comprehensive logging system to help diagnose unexpected CLI crashes and connection issues.
Usage:
meshtastic-cli --enable-logging
# or
meshtastic-cli -LWhat gets logged:
- All HTTP network requests and responses
- Packet decoding details (including all portnum types)
- Database operations (queries, inserts, updates)
- Connection lifecycle events
- App state changes
- Detailed error information with stack traces
Log file location: ~/.config/meshtastic-cli/log
Features:
- Zero performance overhead when disabled (default)
- Non-blocking buffered writes (500ms flush interval)
- Automatic log rotation at 5MB file size
- Structured JSON-like format with timestamps and context
- Enhanced error handling throughout the codebase
This feature is particularly useful when the CLI exits unexpectedly - check the log file to see exactly what happened!
Improvements
- Added try-catch blocks around packet processing to prevent single bad packets from crashing the app
- Enhanced error recovery in transport reading loop
- Better error context in all logging statements
Full Changelog: v1.4.0...v1.4.1
Full Changelog: v1.4.0...v1.4.1