Dire_wolf


[ Пред. ] [ Содержание ] [ След. ]

Dire wolf


Created Вторник 06 Февраль 2018
Usage: direwolf [options] [ - | stdin | UDP:nnnn ]
Options:
-c fname Configuration file name.
-l logdir Directory name for log files. Use . for current.
-r n Audio sample rate, per sec.
-n n Number of audio channels, 1 or 2.
-b n Bits per audio sample, 8 or 16.
-B n Data rate in bits/sec for channel 0. Standard values are 300, 1200, 2400, 4800, 9600. 300 bps defaults to AFSK tones of 1600 & 1800.
1200 bps uses AFSK tones of 1200 & 2200.
2400 bps uses QPSK based on V.26 standard.
4800 bps uses 8PSK based on V.27 standard.
9600 bps and up uses K9NG/G3RUH standard. -D n Divide audio sample rate by n for channel 0.
-d Debug options:
a a = AGWPE network protocol client.
k k = KISS serial port or pseudo terminal client.
n n = KISS network client.
u u = Display non-ASCII text in hexadecimal.
p p = dump Packets in hexadecimal.
g g = GPS interface.
w w = Waypoints for Position or Object Reports.
t t = Tracker beacon.
o o = output controls such as PTT and DCD.
i i = IGate.
m m = Monitor heard station list.
f f = packet Filtering.
-q Quiet (suppress output) options:
h h = Heard line with the audio level.
d d = Decoding of APRS packets.
-t n Text colors. 1=normal, 0=disabled.
-a n Audio statistics interval in seconds. 0 to disable.
-p Enable pseudo terminal for KISS protocol.
-x Send Xmit level calibration tones.
-U Print UTF-8 test string and exit.
-S Print symbol tables and exit.
-T fmt Time stamp format for sent and received frames.
After any options, there can be a single command line argument for the source of
received audio. This can overrides the audio input specified in the configuration file.
Complete documentation can be found in /usr/local/share/doc/direwolf.
How to install on Linux:
git clone http://github.com/wb2osz/direwolf
cd direwolf
git checkout 1.5-beta
make
sudo make install

Use the following Dire Wolf configuration file
udp.conf -------------------------------------------------------------------------------
ADEVICE udp:7355 default
ARATE 48000
ACHANNELS 1
udp.conf ------------------------------------------------------------------------------
direwolf -n 1 -r 48000 -b 16 udp:7355
“-n 1” устанавливает количество аудио каналов
“-r 48000” значит, частота дискретизации в 48000 в секунду
“-b 16” means 16 bits per sample, signed, little endian.

Отправляем данные с RTLSDR в DireWolf
rtl_fm -p-40 -f 144.8M -o 4 - | direwolf -n 1 -r 24000 -b 16 -
Вместо опции командной строки, вы могли бы сделать то же самое в файле конфигурации :
ADEVICE0 stdin default
ARATE 24000

запустить rtl_fm и используйте утилиту netcat (nc) для отправки аудио по UDP
rtl_fm -f 144.8M -o 4 - | nc -u localhost 7355
direwolf -n 1 -r 24000 -b 16 udp:7355
rtl_fm –p 87 -f 144.8M -o 4 -s 48000 | direwolf -c sdr.conf -r 48000 -B 9600 -


слушаем UDP черезVLC


vlc --demux=rawaud --rawaud-channels=1 --rawaud-samplerate=48000 udp://@:7355




Содержание