OpenCPN Partial API docs
|
Implement comm_util.h – communication driver utilities. More...
#include <vector>
#include <string>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include "model/comm_util.h"
#include "model/comm_drv_factory.h"
#include "model/comm_drv_registry.h"
#include "model/conn_params.h"
Go to the source code of this file.
Functions | |
void | UpdateDatastreams () |
bool | StopAndRemoveCommDriver (std::string ident, NavAddr::Bus _bus) |
wxString | ProcessNMEA4Tags (const wxString &msg) |
Strip NMEA V4 tag blocks from NMEA0183 message. | |
Implement comm_util.h – communication driver utilities.
Definition in file comm_util.cpp.
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.
bool StopAndRemoveCommDriver | ( | std::string | ident, |
NavAddr::Bus | _bus | ||
) |
Definition at line 83 of file comm_util.cpp.
void UpdateDatastreams | ( | ) |
Definition at line 39 of file comm_util.cpp.