What NMEA 2000 gives me (part 1)

3 minute read

I’ve added “part 1” on the title of this entry because I’m expecting to have more and more devices on the NMEA 2000 bus and will give samples as I go.

For now, here’s what I have:

  • Garmin GPS 19x
  • Actisense NGT-1 (USB)

From CanBoat (n2kd), there are 3 active outputs (via TCP streams):

  • 2597 - The latest message from all sources received within the last 120 seconds and AIS and SonicHub data received within the last 6 minutes.
  • 2598 - No processing, just a real-time stream of NMEA 2000 data
  • 2599 - As NMEA 2000 messages are received they are checked to see if it there is a known NMEA0183 equivalent and if so the NMEA 0183 string is sent

Sample port 2597 output:

{"262161":
  {"description":"Actisense"
  }
,"262384":
  {"description":"Actisense"
  }
,"129025":
  {"description":"Position, Rapid Update"
  ,"1":{"timestamp":"2017-11-07T03:03:24.009Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505404,"Longitude":-77.8867891}}
  }
,"129026":
  {"description":"COG & SOG, Rapid Update"
  ,"1":{"timestamp":"2017-11-07T03:03:24.009Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":43,"COG Reference":"True","COG":354.3,"SOG":0.16}}
  }
,"126992":
  {"description":"System Time"
  ,"1":{"timestamp":"2017-11-07T03:03:23.056Z","prio":3,"src":1,"dst":255,"pgn":126992,"description":"System Time","fields":{"SID":33,"Source":"GPS","Date":"2017.11.07", "Time": "03:03:23"}}
  }
,"129539":
  {"description":"GNSS DOPs"
  ,"1":{"timestamp":"2017-11-07T03:03:23.056Z","prio":6,"src":1,"dst":255,"pgn":129539,"description":"GNSS DOPs","fields":{"SID":33,"Desired Mode":"Auto","Actual Mode":"3D","HDOP":0.88,"VDOP":1.47,"TDOP":0.91}}
  }
,"129029":
  {"description":"GNSS Position Data"
  ,"1":{"timestamp":"2017-11-07T03:03:23.086Z","prio":3,"src":1,"dst":255,"pgn":129029,"description":"GNSS Position Data","fields":{"SID":33,"Date":"2017.11.07", "Time": "03:03:23","Latitude":34.0505405,"Longitude":-77.8867895,"Altitude":-37.942749,"GNSS type":"GPS","Method":"GNSS fix","Integrity":"No integrity checking","Number of SVs":10,"HDOP":0.88,"PDOP":1.71,"Geoidal Separation":-36.44,"list":[{}]}}
  }
,"129540":
  {"description":"GNSS Sats in View"
  ,"1":{"timestamp":"2017-11-07T03:03:23.171Z","prio":6,"src":1,"dst":255,"pgn":129540,"description":"GNSS Sats in View","fields":{"SID":33,"Mode":"1","Sats in View":10,"list":[{}]}}
  }
,"127258":
  {"description":"Magnetic Variation"
  ,"1":{"timestamp":"2017-11-07T03:03:23.171Z","prio":6,"src":1,"dst":255,"pgn":127258,"description":"Magnetic Variation","fields":{"SID":33,"Source":"Automatic Table","Age of service":"2017.11.07","Variation":-9.4}}
  }
,"262386":
  {"description":"Actisense"
  ,"0":{"timestamp":"2017-11-07T03:03:23.171Z","prio":0,"src":0,"dst":0,"pgn":262386,"description":"Actisense: System status","fields":{"SID":1,"Model ID":14,"Serial ID":000000,"Error ID":0,"Indi channel count":2,"Ch1 Rx Bandwidth":3,"Ch1 Rx Load":2,"Ch1 Rx Filtered":0,"Ch1 Rx Dropped":0,"Ch1 Tx Bandwidth":0,"Ch1 Tx Load":0,"Ch2 Rx Bandwidth":0,"Ch2 Rx Load":0,"Ch2 Rx Filtered":0,"Ch2 Rx Dropped":0,"Ch2 Tx Bandwidth":7,"Ch2 Tx Load":34,"Uni channel count":2,"Ch1 Bandwidth":1,"Ch1 Deleted":0,"Ch1 BufferLoading":0,"Ch1 PointerLoading":0,"Ch2 Bandwidth":2,"Ch2 Deleted":0,"Ch2 BufferLoading":0,"Ch2 PointerLoading":0}}
  }
}

Sample port 2598 output:

{"timestamp":"2017-11-07T03:22:00.766Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867571}}
{"timestamp":"2017-11-07T03:22:00.766Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":77,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:00.862Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:00.862Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":78,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:00.974Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:00.974Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":79,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:01.080Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.080Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":80,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:01.080Z","prio":3,"src":1,"dst":255,"pgn":126992,"description":"System Time","fields":{"SID":81,"Source":"GPS","Date":"2017.11.07", "Time": "03:22:01"}}
{"timestamp":"2017-11-07T03:22:01.080Z","prio":6,"src":1,"dst":255,"pgn":129539,"description":"GNSS DOPs","fields":{"SID":81,"Desired Mode":"Auto","Actual Mode":"3D","HDOP":1.34,"VDOP":2.15,"TDOP":1.54}}
{"timestamp":"2017-11-07T03:22:01.107Z","prio":3,"src":1,"dst":255,"pgn":129029,"description":"GNSS Position Data","fields":{"SID":81,"Date":"2017.11.07", "Time": "03:22:01","Latitude":34.0505499,"Longitude":-77.8867570,"Altitude":-37.441112,"GNSS type":"GPS","Method":"GNSS fix","Integrity":"No integrity checking","Number of SVs":8,"HDOP":1.34,"PDOP":2.53,"Geoidal Separation":-36.44,"list":[{}]}}
{"timestamp":"2017-11-07T03:22:01.123Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.123Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":82,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:01.167Z","prio":6,"src":1,"dst":255,"pgn":129540,"description":"GNSS Sats in View","fields":{"SID":81,"Mode":"1","Sats in View":8,"list":[{}]}}
{"timestamp":"2017-11-07T03:22:01.167Z","prio":6,"src":1,"dst":255,"pgn":127258,"description":"Magnetic Variation","fields":{"SID":81,"Source":"Automatic Table","Age of service":"2017.11.07","Variation":-9.4}}
{"timestamp":"2017-11-07T03:22:01.215Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.230Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":83,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:01.230Z","prio":0,"src":0,"dst":0,"pgn":262386,"description":"Actisense: System status","fields":{"SID":1,"Model ID":14,"Serial ID":000000,"Error ID":0,"Indi channel count":2,"Ch1 Rx Bandwidth":3,"Ch1 Rx Load":2,"Ch1 Rx Filtered":0,"Ch1 Rx Dropped":0,"Ch1 Tx Bandwidth":0,"Ch1 Tx Load":0,"Ch2 Rx Bandwidth":0,"Ch2 Rx Load":0,"Ch2 Rx Filtered":0,"Ch2 Rx Dropped":0,"Ch2 Tx Bandwidth":7,"Ch2 Tx Load":47,"Uni channel count":2,"Ch1 Bandwidth":1,"Ch1 Deleted":0,"Ch1 BufferLoading":0,"Ch1 PointerLoading":0,"Ch2 Bandwidth":2,"Ch2 Deleted":0,"Ch2 BufferLoading":0,"Ch2 PointerLoading":0}}
{"timestamp":"2017-11-07T03:22:01.327Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.327Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":84,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:01.423Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.423Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":85,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:01.519Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.519Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":86,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:01.613Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.629Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":87,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:01.727Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.727Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":88,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:01.821Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505499,"Longitude":-77.8867570}}
{"timestamp":"2017-11-07T03:22:01.821Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":89,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:01.918Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:01.918Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":90,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:02.013Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.029Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":91,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:02.078Z","prio":3,"src":1,"dst":255,"pgn":126992,"description":"System Time","fields":{"SID":92,"Source":"GPS","Date":"2017.11.07", "Time": "03:22:02"}}
{"timestamp":"2017-11-07T03:22:02.078Z","prio":6,"src":1,"dst":255,"pgn":129539,"description":"GNSS DOPs","fields":{"SID":92,"Desired Mode":"Auto","Actual Mode":"3D","HDOP":1.34,"VDOP":2.15,"TDOP":1.54}}
{"timestamp":"2017-11-07T03:22:02.109Z","prio":3,"src":1,"dst":255,"pgn":129029,"description":"GNSS Position Data","fields":{"SID":92,"Date":"2017.11.07", "Time": "03:22:02","Latitude":34.0505498,"Longitude":-77.8867569,"Altitude":-37.415657,"GNSS type":"GPS","Method":"GNSS fix","Integrity":"No integrity checking","Number of SVs":8,"HDOP":1.34,"PDOP":2.53,"Geoidal Separation":-36.44,"list":[{}]}}
{"timestamp":"2017-11-07T03:22:02.125Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.125Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":93,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:02.167Z","prio":6,"src":1,"dst":255,"pgn":129540,"description":"GNSS Sats in View","fields":{"SID":92,"Mode":"1","Sats in View":8,"list":[{}]}}
{"timestamp":"2017-11-07T03:22:02.167Z","prio":6,"src":1,"dst":255,"pgn":127258,"description":"Magnetic Variation","fields":{"SID":92,"Source":"Automatic Table","Age of service":"2017.11.07","Variation":-9.4}}
{"timestamp":"2017-11-07T03:22:02.239Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.240Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":94,"COG Reference":"True","COG":8.7,"SOG":0.02}}
{"timestamp":"2017-11-07T03:22:02.240Z","prio":0,"src":0,"dst":0,"pgn":262386,"description":"Actisense: System status","fields":{"SID":1,"Model ID":14,"Serial ID":000000,"Error ID":0,"Indi channel count":2,"Ch1 Rx Bandwidth":3,"Ch1 Rx Load":2,"Ch1 Rx Filtered":0,"Ch1 Rx Dropped":0,"Ch1 Tx Bandwidth":0,"Ch1 Tx Load":0,"Ch2 Rx Bandwidth":0,"Ch2 Rx Load":0,"Ch2 Rx Filtered":0,"Ch2 Rx Dropped":0,"Ch2 Tx Bandwidth":7,"Ch2 Tx Load":24,"Uni channel count":2,"Ch1 Bandwidth":1,"Ch1 Deleted":0,"Ch1 BufferLoading":0,"Ch1 PointerLoading":0,"Ch2 Bandwidth":2,"Ch2 Deleted":0,"Ch2 BufferLoading":0,"Ch2 PointerLoading":0}}
{"timestamp":"2017-11-07T03:22:02.317Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.333Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":95,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.429Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.429Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":96,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.525Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.525Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":97,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.623Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.623Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":98,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.717Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.733Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":99,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.829Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867569}}
{"timestamp":"2017-11-07T03:22:02.829Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":100,"COG Reference":"True","COG":8.7,"SOG":0.01}}
{"timestamp":"2017-11-07T03:22:02.925Z","prio":2,"src":1,"dst":255,"pgn":129025,"description":"Position, Rapid Update","fields":{"Latitude":34.0505498,"Longitude":-77.8867567}}
{"timestamp":"2017-11-07T03:22:02.925Z","prio":2,"src":1,"dst":255,"pgn":129026,"description":"COG & SOG, Rapid Update","fields":{"SID":101,"COG Reference":"True","COG":8.7,"SOG":0.01}}

Sample port 2599 output:

$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABGSA,M,3,,,,,,,,,,,,,0.000,0.960,1.690*2B
$ABGLL,3403.0329,N,7753.2057,W,032341,A,D*79
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABGSA,M,3,,,,,,,,,,,,,0.000,0.960,1.690*2B
$ABGLL,3403.0328,N,7753.2057,W,032342,A,D*7B
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABGSA,M,3,,,,,,,,,,,,,0.000,0.960,1.690*66
$ABGLL,3403.0328,N,7753.2057,W,032343,A,D*7A
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.020,N,0.011,K*49
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F
$ABVTG,08.7,T,,M,0.010,N,0.005,K*4F

Tags:

Updated: