OpenCPN Partial API docs
|
Implement comm_drv_n2k.h – Nmea2000 serial driver. More...
#include <mutex>
#include <queue>
#include <vector>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/log.h>
#include "model/comm_drv_n2k_serial.h"
#include "model/comm_navmsg_bus.h"
#include "model/comm_drv_registry.h"
#include "model/logger.h"
#include "model/comm_drv_stats.h"
#include "N2kMsg.h"
Go to the source code of this file.
Classes | |
class | n2k_atomic_queue< T > |
class | circular_buffer< T > |
class | CommDriverN2KSerialThread |
class | CommDriverN2KSerialEvent |
Macros | |
#define | DS_RX_BUFFER_SIZE 4096 |
This thread manages reading the N2K data stream provided by some N2K gateways from the declared serial port. | |
#define | MaxActisenseMsgBuf 400 |
#define | MsgTypeN2kTX 0x94 |
Functions | |
wxDECLARE_EVENT (wxEVT_COMMDRIVER_N2K_SERIAL, CommDriverN2KSerialEvent) | |
wxDEFINE_EVENT (wxEVT_COMMDRIVER_N2K_SERIAL, CommDriverN2KSerialEvent) | |
void | AddByteEscapedToBuf (unsigned char byteToAdd, uint8_t &idx, unsigned char *buf, int &byteSum) |
Implement comm_drv_n2k.h – Nmea2000 serial driver.
Definition in file comm_drv_n2k_serial.cpp.
#define DS_RX_BUFFER_SIZE 4096 |
This thread manages reading the N2K data stream provided by some N2K gateways from the declared serial port.
Definition at line 610 of file comm_drv_n2k_serial.cpp.
#define MaxActisenseMsgBuf 400 |
Definition at line 1097 of file comm_drv_n2k_serial.cpp.
#define MsgTypeN2kTX 0x94 |
Definition at line 1098 of file comm_drv_n2k_serial.cpp.