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

Nmea2000 IP network driver. More...

#include <sys/socket.h>
#include <netinet/in.h>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/datetime.h>
#include "model/comm_can_util.h"
#include "model/comm_drv_n2k.h"
#include "model/comm_drv_n2k_net.h"
#include "model/comm_drv_stats.h"
#include "model/conn_params.h"
#include <wx/socket.h>

Go to the source code of this file.

Classes

class  circular_buffer< T >
 
class  CommDriverN2KNet
 

Macros

#define RX_BUFFER_SIZE_NET   4096
 
#define ESCAPE   0x10
 
#define STARTOFTEXT   0x02
 
#define ENDOFTEXT   0x03
 
#define MsgTypeN2kData   0x93
 
#define MsgTypeN2kRequest   0x94
 

Enumerations

enum  N2K_Format {
  N2KFormat_Undefined = 0 , N2KFormat_YD_RAW , N2KFormat_Actisense_RAW_ASCII , N2KFormat_Actisense_N2K_ASCII ,
  N2KFormat_Actisense_N2K , N2KFormat_Actisense_RAW , N2KFormat_Actisense_NGT , N2KFormat_SeaSmart ,
  N2KFormat_MiniPlex
}
 
enum  GW_TX_FORMAT { TX_FORMAT_YDEN = 0 , TX_FORMAT_ACTISENSE }
 

Detailed Description

Nmea2000 IP network driver.

Definition in file comm_drv_n2k_net.h.

Macro Definition Documentation

◆ ENDOFTEXT

#define ENDOFTEXT   0x03

Definition at line 61 of file comm_drv_n2k_net.h.

◆ ESCAPE

#define ESCAPE   0x10

Definition at line 59 of file comm_drv_n2k_net.h.

◆ MsgTypeN2kData

#define MsgTypeN2kData   0x93

Definition at line 63 of file comm_drv_n2k_net.h.

◆ MsgTypeN2kRequest

#define MsgTypeN2kRequest   0x94

Definition at line 64 of file comm_drv_n2k_net.h.

◆ RX_BUFFER_SIZE_NET

#define RX_BUFFER_SIZE_NET   4096

Definition at line 57 of file comm_drv_n2k_net.h.

◆ STARTOFTEXT

#define STARTOFTEXT   0x02

Definition at line 60 of file comm_drv_n2k_net.h.

Enumeration Type Documentation

◆ GW_TX_FORMAT

enum GW_TX_FORMAT

Definition at line 78 of file comm_drv_n2k_net.h.

◆ N2K_Format

enum N2K_Format

Definition at line 66 of file comm_drv_n2k_net.h.