Your Ultimate Multi-Protocol Communication Workbench
PacketForge is a sleek, modern desktop utility for testing and debugging Serial, TCP, and UDP communication. Designed for embedded engineers, IoT developers, and protocol testers, it provides a unified cockpit to transmit, receive, and analyze data packets in real-time.
Click to expand
Serial RS-232/485 |
TCP Client Connect to Server |
TCP Server Host Connections |
UDP Datagram Mode |
| Protocol | Baud/Port Config | Data Bits | Parity | Stop Bits | Flow Control |
|---|---|---|---|---|---|
| Serial | 300 β 3M | 5/6/7/8 | None/Odd/Even | 1/1.5/2 | None/HW/SW |
| TCP/UDP | IP + Port | β | β | β | β |
ποΈ Tabbed Multi-Session Interface
Manage unlimited independent connections in separate tabs. Each tab maintains its own protocol, settings, and data buffers.
β‘ Macro Quick-Send System
Configure up to 12 macro buttons for instant packet transmission. Supports:
- Custom label and hex payload
- Auto-repeat with configurable interval
- One-click activation
π Auto-Send / Repeat
Continuously transmit packets at intervals as low as 1 millisecond for stress testing and timing validation.
π HEX & ASCII Display Modes
Toggle between:
HEXβ View raw byte values (e.g.,A5 4F 00)ASCIIβ Human-readable text with escape sequences
π Line Ending Options
Choose from
None,CR,LF, orCRLFto match your device's protocol expectations.
π Send File
Transmit entire binary files (firmware, hex dumps, scripts) directly over the active connection.
π RX/TX Byte Counters
Live counters display total bytes sent and received per session.
π File Logging
Automatically log all traffic to a timestamped
.logfile for post-session analysis.
π Dark / Light Themes
Switch between a sleek dark mode and a clean light mode with one click.
π Stay on Top
Pin PacketForge above all windows for constant visibility during debugging.
π Auto-Updater
Automatically checks for updates on GitHub and installs the latest version with a single click.
Main Interface with Connections
Modbus Client |
Oscilloscope |
Byte Visualizer |
PacketForge includes 4 powerful analysis modules accessible from the sidebar:
|
Full Modbus RTU (Serial) and Modbus TCP master implementation.
|
Real-time waveform visualization of incoming byte values.
|
|
Detailed packet log with:
|
LED-style binary display showing each bit of the last received byte.
|
| Requirement | Version |
|---|---|
| Qt | 6.x (with serialport, network, serialbus, widgets) |
| Compiler | C++26 compatible (MinGW 13+, MSVC 2022) |
# 1. Clone
git clone https://github.com/Riteshp2001/PacketForge.git
cd packetforge
# 2. Open in Qt Creator
# β Open PacketTransmitter.pro from the ROOT directory
# 3. Build & Run
# β Select Kit (e.g., Desktop Qt 6.x MinGW 64-bit)
# β Build (Ctrl+B) β Run (Ctrl+R)π‘ Tip: The compiled binary is placed in the
bin/folder.
π¦ packetforge/
βββ π PacketTransmitter.pro # Project file (open this!)
βββ π bin/ # Compiled binary output
βββ π build/ # Build artifacts
βββ π Files/ # Resources (icons, QRC)
βββ π scripts/ # Deployment scripts
βββ π src/ # Source code
βββ π core/ # Paths, utilities
βββ π macros/ # Macro structures
βββ π modules/
β βββ π modbus/ # Modbus RTU/TCP widget
β βββ π oscilloscope/ # Waveform plotter
β βββ π traffic/ # Packet log viewer
β βββ π visualizer/ # Bit LED panel
βββ π network/ # Serial, TCP, UDP handlers
βββ π ui/ # MainWindow, ConnectionTab UIs
Contributions are welcome! Feel free to:
- π΄ Fork the repository
- πΏ Create a feature branch (
git checkout -b feature/amazing-feature) - πΎ Commit your changes (
git commit -m 'Add amazing feature') - π€ Push to the branch (
git push origin feature/amazing-feature) - π Open a Pull Request
This project is licensed under the MIT License.
MIT License Β© 2026 Ritesh D. Pandit
Ritesh D. Pandit
Embedded Systems | IoT | Desktop Applications
Built with π using Qt & C++


