-
Notifications
You must be signed in to change notification settings - Fork 0
Usage Examples
This page provides practical, hands‑on examples for the most common VoidRecon operations. All commands assume you are connected via the Python CLI (voidrecon-cli.py) or a serial terminal at 115200 baud.
- Example 1: Set up a 433.92 MHz OOK Receiver
- Example 2: Transmit a Custom Packet
- Example 3: Sniff Raw Samples at 100 µs Intervals
- Example 4: Record and Replay a Captured Signal
- Example 5: Save and Load a Recorded Sequence
- Example 6: Brute‑Force a 24‑bit Remote
- Example 7: Jamming a Frequency
This configures the CC1101 for ASK/OOK modulation at 433.92 MHz and starts the sniffer.
setmodulation 2
setmhz 433.92
setdrate 1.2
setdeviation 10.0
setrxbw 100.0
rx- Now every received OOK packet will be printed in hex on the terminal.
- Press
xto stop sniffing.
Send a 6‑byte payload over the air with the current settings.
tx AABBCCDDEEFFThis transmits the bytes AA BB CC DD EE FF. You can use up to 60 bytes (hex values separated by spaces or without).
Use raw sampling to capture the on‑off state of the carrier at 100 µs resolution.
rxraw 100- The device will sample the RSSI at the given interval and print
1or0(or raw hex) to the terminal. - Press
xto stop.
Record a complete packet payload and replay it later.
rec # start recording
# ... now transmit the target signal (press the remote, etc.)
rec # stop recording
show # list all recorded frames (each has an index)
play 0 # replay all frames (0 = all)If you only want to replay a specific frame (say frame #2):
play 2Persist the recorded payload buffer to flash so it survives a power cycle.
save # store current buffer to flash
flush # clear buffer (optional, to test)
load # reload from flash
play 0 # replay restored framesNote: The
saveandloadcommands work for the packet buffer. For raw samples, usesaverawandloadraw.
If you have a fixed‑code remote with a 24‑bit code and a symbol time of 200 µs, you can attempt an exhaustive search:
brute 200 24- The device will transmit every possible combination until the correct one is found.
⚠️ Warning: 2²⁴ = 16.7 million attempts – this can take many hours. Only use on devices you own or have explicit permission to test.
To broadcast a continuous carrier on the currently selected frequency and modulation:
setmhz 433.92
jam- The device will start transmitting non‑stop.
- Press
xto stop jamming.
Legal notice: Jamming is illegal in most countries. Use only in a shielded, controlled environment where you have the right to transmit.
| Symptom | Likely Fix |
|---|---|
No packets appear in rx
|
Double‑check setmhz, setmodulation, and setdrate. Use analyze to find active frequencies. |
tx seems to do nothing |
Increase setpa power level; ensure you have an antenna connected. |
play doesn't replay |
The buffer may be empty. Run show to verify frames exist. |
save/load fail |
Flash may be full or no data saved. Use save immediately after recording. |