Hello Patrick,
thank you for your input.
I'm eventually found the time to play around with direwolf again now.
My aprx.conf entry looks similar to yours:
<interface>
serial-device /dev/pts/3 4800 8n1 DPRS
callsign DC4RIS-DG # must define actual callsign
tx-ok false # DPRS monitor can not do transmit
telem-to-is false #false # set to 'false' to disable
</interface>
I'm currently invoking direwolf and rtl_fm through:
rtl_fm -f 438.2m -M fm -s 48000 -p 18000 | direwolf -c
/etc/direwolf.conf -n 1 -r 48000 -b16 -B4800 -t 0 -p -
The output is:
Dire Wolf version 1.2
Audio input device for receive: stdin (channel 0)
Audio out device for transmit: default (channel 0)
Found 1 device(s):
Channel 0: 4800 baud, K9NG/G3RUH, +, 48000 sample rate x 2.
Note: PTT not configured for channel 0. (Ignore this if using VOX.)
Virtual KISS TNC is available on /dev/pts/3
WARNING - Dire Wolf will hang eventually if nothing is reading from it.
Created symlink /tmp/kisstnc -> /dev/pts/3
Ready to accept KISS client application on port 8001 ...
Ready to accept AGW client application 0 on port 8000 ...
0: Generic, RTL2832U, SN: 77771111153705700
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuner error set to 18000 ppm.
Tuned to 438452000 Hz.
Oversampling input by: 21x.
Oversampling output by: 1x.
Buffer size: 8.13ms
Exact sample rate is: 1008000.009613 Hz
Sampling at 1008000 S/s.
Output at 48000 Hz.
I tried different sample rates for rtl_fm and different baud rates for
direwolf but without any success.
The aprx.log contains only basic information:
2018-01-27 16:46:33.822 aprx start - 2.9.0
2018-01-27 16:46:33.822 TTY /dev/pts/3 opened
2018-01-27 16:46:33.822 TTY /dev/pts/3 opened
2018-01-27 16:46:44.029 CONNECT APRSIS
rotate.aprs2.net:14580
Starting aprx with the -d debug flag returns:
interface_store() aif->callsign = 'APRSIS'
/etc/aprx.conf:33: MYCALL = 'DC4RIS-10' ''
/etc/aprx.conf:54: INFO: PASSCODE = 'xxxxx' ''
/etc/aprx.conf:63: INFO: SERVER = '
rotate.aprs2.net':'14580'
/etc/aprx.conf:99: INFO: PIDFILE = '/var/run/aprx.pid' ''
/etc/aprx.conf:106: INFO: RFLOG = '/var/log/aprx/aprx-rf.log' ''
/etc/aprx.conf:113: INFO: APRXLOG = '/var/log/aprx/aprx.log' ''
/etc/aprx.conf:120: INFO: DPRSLOG = '/var/log/aprx/dprs.log' ''
.. new style serial: '/dev/pts/3' '19200 8n1 KISS'.. tncid=0
.. param='19200' .. param='8n1' .. param='kiss'
callsign= 'DC4RIS-10'
.. store tty subinterfaces
.. store interface[0] callsign='DC4RIS-10'
interface_store() aif->callsign = 'DC4RIS-10'
.. new style serial: '/dev/pts/3' '4800 8n1 DPRS'.. tncid=0
.. param='4800' .. param='8n1' .. param='dprs'
callsign= 'DC4RIS-DG'
.. store tty subinterfaces
.. store interface[0] callsign='DC4RIS-DG'
interface_store() aif->callsign = 'DC4RIS-DG'
telemetry_start()
110071 TTY /dev/pts/3 OPEN - fd=5 - OK
110071 TTY /dev/pts/3 OPEN - fd=6 - OK
erlang_timer_init() to be called
erlang_timer_init() to be called
aprsis connection attempt IPv6 address: 2001:1868:2003::18
Telemetry LabelTx run; next one in 120.00 minutes
I cannot find anything unexpected in the logs. The dprs.log file
remains empty though.
GQRX shows digital traffic on my test frequency when transmitting, and
piping the rtl_fm out put to sox play does also work.
I really don't know what I'm doing wrong. Maybe wrong rtl_fm/direwolf settings?
Maybe you got further hints?
Thank you,
Chris