GEN_PACKETS(1)
π GEN_PACKETS(1) β General Commands Manual π
okay so bestie, this is the GEN_PACKETS(1) page from the General Commands Manual, and it's literally here to make AX.25 audio files for testing packet decoders. β¨
πΈ NAME πΈ
gen_packets β Generate audio file for AX.25 frames. π
π SYNOPSIS π
gen_packets -o wav-file-out [ options ] [ text-file | - ]
wav-file-out is the result. The -o option is required. No cap. π«Ά
text-file may contain AX.25 packets in the standard monitoring format. Use - to read from stdin. If not specified, a default builtin message will be used. π
π¦ DESCRIPTION π¦
gen_packets is a test application which converts text to AX.25 audio for testing packet decoders. It's giving test-lab main character energy. π§ͺπ
It is very flexible allowing a wide range of audio sample rates, data speeds, and AFSK tones. It will even generate the scrambled signals commonly used for 9600 baud operation. highkey iconic. π₯
β¨ OPTIONS β¨
-a nβ Signal amplitude in range of0-200%. Default50. Note that100%corresponds to signal peaks of+/- 16383, so we have plenty of headroom to avoid saturation. π₯-b nβ Bits / second for data. Default is1200.-B nβ Data rate in bits/sec for first channel. Standard values are300,1200,2400,4800,9600.300bps defaults to AFSK tones of1600&1800.1200bps uses AFSK tones of1200&2200.2400bps uses QPSK based on V.26 standard.4800bps uses 8PSK based on V.27 standard.9600bps and up uses K9NG/G3RUH standard.- EAS for Emergency Alert System (EAS) Specific Area Message Encoding (SAME). π»
-gβ Force G3RUH modem regardless of data rate. π°οΈ-jβ2400bps QPSK compatible withDire Wolf <= 1.5.-Jβ2400bps QPSK compatible withMFJ-2400.-X nβ1to enable FX.25 transmit.16,32,64for specific number of check bytes.-I nβ Enable IL2P transmit.n=1is recommended.0uses weaker FEC. π§¬-i nβ Enable IL2P transmit, inverted polarity.n=1is recommended.0uses weaker FEC. π-m nβ Mark frequency. Default is1200.-s nβ Space frequency. Default is2200.-r nβ Audio sample Rate. Default is44100.-n nβ Generate specified number of frames with increasing noise. (For built-in message only.) π-o fileβ Send output to.wavfile.-8β 8 bit audio rather than 16.-2β 2 channels of audio rather than 1.-vmax[,incr]β Variable speed with specified maximum error and optional increment. ποΈ
π EXAMPLES π
gen_packets -o x.wav
With all defaults, a built-in test message is generated with standard Bell 202 tones used for packet radio on ordinary VHF FM transceivers. π»β¨
gen_packets -o x.wav -g -b 9600
gen_packets -o x.wav -B 9600
Both of these are equivalent. -B 9600 automatically selects scrambled baseband rather than AFSK. π
gen_packets -o x.wav -m 1600 -s 1800 -b 300
gen_packets -o x.wav -B 300
Both of these generate 200 Hz shift, 300 baud, suitable for HF SSB transceiver. π
echo -n 'WB2OSZ>WORLD:Hello, world!' | gen_packets -a 25 -o x.wav -
atest x.wav
Read message from stdin and put quarter volume sound into the file x.wav. Decode the sound file. π§π
π SEE ALSO π
More detailed information is in the pdf files in /usr/local/share/doc/direwolf, or possibly /usr/share/doc/direwolf, depending on installation location. πΊπ
Applications in this package: aclients, atest, cm108, decode_aprs, direwolf, gen_packets, kissutil, ll2utm, log2gpx, text2tt, tt2text, utm2ll. π
π That's the GEN_PACKETS(1) page from the General Commands Manual β source/version/date info wasn't in the footer beyond GEN_PACKETS(1), so signing off, bestie! πβ¨
π¦ where this page comes from
- alpine 3.24: direwolf-doc 1.8.1-r1 Β· GPL-2.0-or-later
- fedora 43: direwolf 1.7-12.fc43 Β· GPL-2.0-or-later
- fedora 43: direwolf 1.8.1-1.fc43 Β· GPL-2.0-or-later
- fedora 44: direwolf 1.8.1-4.fc44 Β· GPL-2.0-or-later
- nixos 26.05: direwolf 1.8.1-unstable-2026-05-27
- nixpkgs unstable: direwolf 1.8.1-unstable-2026-09-08
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms