Commands
Run this sequence from the CLI. Adjust pins, addresses or filenames to match your own setup.
Result
What it means
Hex output makes it easier to recognize headers, checksums and packet boundaries before writing a parser.
Troubleshooting
- Re-enter the selected mode setup if pins changed.
- Confirm the target shares ground with the ESP32 Bit Pirate.
- Start with short commands before using longer capture or bridge sessions.
UART raw hex FAQ
When is UART raw mode better than text read?
Use raw mode when the stream includes binary frames, control bytes, checksums, zero bytes or non-printable characters. Text read is better for boot logs and human-readable console output.
What does raw hex mode reveal that text mode hides?
Raw hex preserves byte values that may not be printable text, including binary framing, control characters and protocol markers. It is better than text mode when you do not yet know the payload format.
How do I use raw bytes for protocol analysis?
Look for repeated headers, fixed lengths, counters and checksums. Capture the same action several times, then separate stable fields from values that change with state, time or command.