|
OpenCPN Partial API docs
|
Implement comm_drv_n2k_net.h – IP network nmea2K driver. More...
#include <iomanip>#include <sstream>#include <vector>#include <stdlib.h>#include <math.h>#include <time.h>#include <arpa/inet.h>#include <netinet/tcp.h>#include <wx/wxprec.h>#include <wx/wx.h>#include <wx/tokenzr.h>#include <wx/datetime.h>#include <wx/socket.h>#include <wx/log.h>#include <wx/memory.h>#include <wx/chartype.h>#include <wx/sckaddr.h>#include "model/comm_drv_n2k_net.h"#include "model/comm_navmsg_bus.h"#include "model/idents.h"#include "model/comm_drv_registry.h"#include "model/sys_events.h"Go to the source code of this file.
Classes | |
| class | MrqContainer |
| class | CommDriverN2KNetEvent |
| struct | product_info |
Macros | |
| #define | N_DOG_TIMEOUT 8 |
| #define | TIMER_SOCKET_N2KNET 7339 |
| #define | RD_BUF_SIZE 4096 |
Functions | |
| wxDEFINE_EVENT (wxEVT_COMMDRIVER_N2K_NET, CommDriverN2KNetEvent) | |
| wxDECLARE_EVENT (wxEVT_COMMDRIVER_N2K_NET, CommDriverN2KNetEvent) | |
| bool | isASCII (std::vector< unsigned char > packet) |
| std::vector< unsigned char > | MakeSimpleOutMsg (int data_format, int pgn, std::vector< unsigned char > &payload) |
Variables | |
| std::unordered_map< uint8_t, product_info > | prod_info_map |
Implement comm_drv_n2k_net.h – IP network nmea2K driver.
Definition in file comm_drv_n2k_net.cpp.
| #define N_DOG_TIMEOUT 8 |
Definition at line 71 of file comm_drv_n2k_net.cpp.
| #define TIMER_SOCKET_N2KNET 7339 |
Definition at line 176 of file comm_drv_n2k_net.cpp.
| bool isASCII | ( | std::vector< unsigned char > | packet | ) |
Definition at line 620 of file comm_drv_n2k_net.cpp.
| std::vector< unsigned char > MakeSimpleOutMsg | ( | int | data_format, |
| int | pgn, | ||
| std::vector< unsigned char > & | payload | ||
| ) |
Definition at line 1439 of file comm_drv_n2k_net.cpp.
| std::unordered_map<uint8_t, product_info> prod_info_map |
Definition at line 259 of file comm_drv_n2k_net.cpp.