Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output when checking with 'telnet' #50

Open
haraldhh opened this issue Aug 30, 2024 · 2 comments
Open

No output when checking with 'telnet' #50

haraldhh opened this issue Aug 30, 2024 · 2 comments

Comments

@haraldhh
Copy link

Hi, if I understood the help-section correctly running 'rtl_ais -nT' should produce a TCP-server that's listening on port 10110 and it should print out NMEA-sentences on both STDERR and the TCP-port.

However, if I telnet the port I get no output? Is this correct, I was expecting the exact same AIVDM line on the console and over the TCP-connection?

$ ./rtl_ais -nT 
Edge tuning disabled.
DC filter enabled.
RTL AGC disabled.
Internal AIS decoder enabled.
Buffer size: 163.84 mS
Downsample factor: 64
Low pass: 25000 Hz
Output: 48000 Hz
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Log NMEA sentences to console ON
Tcp listen port 10110
Ais message timeout with 15
Tuner gain set to automatic.
Tuned to 162000000 Hz.
Sampling at 1600000 S/s.
Allocating 12 zero-copy buffers
!AIVDM,1,1,,B,33KtVF5wh0QkGO4RM5OUM4Gb0Dbb,0*0E

$ telnet localhost 10110
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^CConnection closed by foreign host
```.

@dgiardini
Copy link
Owner

dgiardini commented Aug 31, 2024 via email

@haraldhh
Copy link
Author

haraldhh commented Sep 2, 2024

Thank You! I will look into that. I think Navionics keep the connection open, so will have to try that with Navionics and see how that behaves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants