OpenCPN Partial API docs
Loading...
Searching...
No Matches
comm_util.h File Reference

Misc driver utilities. More...

Go to the source code of this file.

Functions

void UpdateDatastreams ()
 
bool StopAndRemoveCommDriver (std::string ident, NavAddr::Bus=NavAddr::Bus::Undef)
 
wxString ProcessNMEA4Tags (const wxString &msg)
 Strip NMEA V4 tag blocks from NMEA0183 message.
 

Detailed Description

Misc driver utilities.

Definition in file comm_util.h.

Function Documentation

◆ ProcessNMEA4Tags()

wxString ProcessNMEA4Tags ( const wxString &  msg)

Strip NMEA V4 tag blocks from NMEA0183 message.

Tag blocks are enclosed in '\' characters and appear before the traditional NMEA sentence (which starts with $ or !). The format is: \tag:value,tag:value*checksum\actual NMEA message

Definition at line 106 of file comm_util.cpp.

◆ StopAndRemoveCommDriver()

bool StopAndRemoveCommDriver ( std::string  ident,
NavAddr::Bus  _bus = NavAddr::Bus::Undef 
)

Definition at line 83 of file comm_util.cpp.

◆ UpdateDatastreams()

void UpdateDatastreams ( )

Definition at line 39 of file comm_util.cpp.