1GEN_PACKETS(1) General Commands Manual GEN_PACKETS(1)
2
3
4
6 gen_packets - Generate audio file for AX.25 frames.
7
8
9
11 gen_packets -o wav-file-out [ options ] [ text-file | - ]
12
13 wav-file-out is the result. The -o option is required.
14
15 text-file may contain AX.25 packets in the standard monitoring
16 format. Use "-" to read from stdin. If not specified, a
17 default builtin message will be used.
18
19
21 gen_packets is a test application which converts text to AX.25 audio
22 for testing packet decoders.
23
24 It is very flexible allowing a wide range of audio sample rates, data
25 speeds, and AFSK tones. It will even generate the scrambled signals
26 commonly used for 9600 baud operation.
27
28
29
31 -a n Signal amplitude in range of 0-200%. Default 50. Note that
32 100% is corresponds to signal peaks of +/- 16383 so we have
33 plenty of headroom to avoid saturation.
34
35
36 -b n Bits / second for data. Default is 1200.
37
38
39 -B n Data rate in bits/sec for first channel. Standard values are
40 300, 1200, 2400, 4800, 9600.
41 300 bps defaults to AFSK tones of 1600 & 1800.
42 1200 bps uses AFSK tones of 1200 & 2200.
43 2400 bps uses QPSK based on V.26 standard.
44 4800 bps uses 8PSK based on V.27 standard.
45 9600 bps and up uses K9NG/G3RUH standard.
46
47
48 -g Force G3RUH modem regardless of data rate.
49
50
51 -j 2400 bps QPSK compatible with Dire Wolf <= 1.5.
52
53
54 -J 2400 bps QPSK compatible with MFJ-2400.
55
56
57
58 -m n Mark frequency. Default is 1200.
59
60
61 -s n Space frequency. Default is 2200.
62
63
64 -r n Audio sample Rate. Default is 44100.
65
66
67 -n n Generate specified number of frames with increasing noise. (For
68 built-in message only.)
69
70
71 -o file
72 Send output to .wav file.
73
74
75 -8 8 bit audio rather than 16.
76
77
78 -2 2 channels of audio rather than 1.
79
80
81
83 gen_packets -o x.wav
84
85 With all defaults, a built-in test message is generated with
86 standard Bell 202 tones used for packet radio on ordinary VHF FM
87 transceivers.
88
89 gen_packets -o x.wav -g -b 9600
90 gen_packets -o x.wav -B 9600
91
92 Both of these are equivalent. "-B 9600" automatically selects
93 scrambled baseband rather than AFSK.
94
95 gen_packets -o x.wav -m 1600 -s 1800 -b 300
96 gen_packets -o x.wav -B 300
97
98 Both of these generate 200 Hz shift, 300 baud, suitable for HF
99 SSB transceiver.
100
101 echo -n 'WB2OSZ>WORLD:Hello, world!' | gen_packets -a 25 -o x.wav -
102 atest x.wav
103
104 Read message from stdin and put quarter volume sound into the
105 file x.wav. Decode the sound file.
106
108 More detailed information is in the pdf files in
109 /usr/local/share/doc/direwolf, or possibly /usr/share/doc/direwolf,
110 depending on installation location.
111
112 Applications in this package: aclients, atest, cm108, decode_aprs,
113 direwolf, gen_packets, kissutil, ll2utm, log2gpx, text2tt, tt2text,
114 utm2ll
115
116
117
118
119 GEN_PACKETS(1)