Connecting SignalK to GPS NMEA0183 TCP Stream
Hi, I'm doing something similar, but I'm getting an error. First, I wrote a multiplexer that takes the GPS stream in from the USB port and makes it available as a TCP Stream.
OpenCPN reads the data (which is in NMEA0183 format) just fine and is displaying location, tracks, etc. However, SignalK server is giving me a constant stream of messages:
Aug 03 14:02:17 Are you sure you are using the correct line terminator? Not going to handle lines longer than 2048 chars.
Here are the settings for the data connection:
Data Type: NMEA0183
Enabled: YES
Data Logging: YES
ID: GPS
NMEA 0182 Source: TCP Client
Host: Localhost
Port: 10220
Output Events: nmea0183,nmea0183out
No data timeout: [blank]
Suppress nmea0183 event: NO
Input event: [blank]
Validate checksum: YES
Append Checksum: NO
Remove NULL characters: NO
Ignored Sentences: [blank]
Override timestamps: NO
I've done a submit and a restart. No change.
When I go to the dashboard, the incoming status indicator is not lit.
Is there a way to see what is streaming in that data connection? I do have debug logging enabled on the signalk-to-nmea183 plugin,
Additionally, mymultiplexer shows that it is sending data to two consumers. When I restart the SignalK server, for a short time the multiplexer shows sending data to one consumer, and then jumps back up to 2 consumers.
This is on a Windows 11 box at the moment. (Yes, I intend to run this on a Raspberry Pi, it's just that my windows box is a better development environment)
I'll be making the multiplexer available inboth compiled (Windows, Linux, Raspberry Pi) and source (Rust) formats.
And, yes, I do plan on connecting OpenCPN to the signalK server, directly, but first I have to get SignalK reading the [censored] GPS data.
OpenCPN reads the data (which is in NMEA0183 format) just fine and is displaying location, tracks, etc. However, SignalK server is giving me a constant stream of messages:
Aug 03 14:02:17 Are you sure you are using the correct line terminator? Not going to handle lines longer than 2048 chars.
Here are the settings for the data connection:
Data Type: NMEA0183
Enabled: YES
Data Logging: YES
ID: GPS
NMEA 0182 Source: TCP Client
Host: Localhost
Port: 10220
Output Events: nmea0183,nmea0183out
No data timeout: [blank]
Suppress nmea0183 event: NO
Input event: [blank]
Validate checksum: YES
Append Checksum: NO
Remove NULL characters: NO
Ignored Sentences: [blank]
Override timestamps: NO
I've done a submit and a restart. No change.
When I go to the dashboard, the incoming status indicator is not lit.
Is there a way to see what is streaming in that data connection? I do have debug logging enabled on the signalk-to-nmea183 plugin,
Additionally, mymultiplexer shows that it is sending data to two consumers. When I restart the SignalK server, for a short time the multiplexer shows sending data to one consumer, and then jumps back up to 2 consumers.
This is on a Windows 11 box at the moment. (Yes, I intend to run this on a Raspberry Pi, it's just that my windows box is a better development environment)
I'll be making the multiplexer available inboth compiled (Windows, Linux, Raspberry Pi) and source (Rust) formats.
And, yes, I do plan on connecting OpenCPN to the signalK server, directly, but first I have to get SignalK reading the [censored] GPS data.