Skip to content

No output when checking with 'telnet' #50

Description

@haraldhh

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
```.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions