Raw NMEA 2000 data
The router allows to access raw NMEA 2000 via port 2112. This comes in handy when using NMEARemote, the open source canboat software or if you want to write your own NMEA 2000 parser. The current version of the router firmware only supports reading raw NMEA 2000 data.
The canboat software can be found here
NMEA 2000 sentences sent over port 2112 are not entirely raw. NMEA 2000 packages sent only allow for a payload of 8 bytes. In order to send longer sentences NMEA 2000 uses fast transmissions. Fast transmissions are multiple 8 byte payload packages of the same PGN sentence. The vyacht router merges all fast transmissions of the same sentence into one byte array and transfers that. This is more efficient and understood by canboat or NMEA remote.
The following example shows a PGN 129038 AIS position report in canboat format:
2016-10-01-07:54:13.595,3,129038,2,255,31,03,22,fe,01, 86,d6,12,00,62,da,a7,00,36,3d,20,02,00,72,01,33,00,00,00, 00,3c,00,e3,00,00,61,00