NMEA2000 Library  0.1
Library to handle NMEA 2000 Communication written in C++
N2kGroupFunction.cpp File Reference
#include "N2kGroupFunction.h"
#include "NMEA2000.h"
Include dependency graph for N2kGroupFunction.cpp:

Go to the source code of this file.

Macros

#define ErrorcodeIndex   4
 
#define N2kgf_OffsetToCommandPairParameters   6
 
#define N2kgf_OffsetToParams   4
 
#define N2kgf_OffsetToRequestPairParameters   11
 

Functions

void SetStartReadOrWriteReply (tN2kMsg &N2kMsg, unsigned char Destination, unsigned long PGN, tN2kGroupFunctionCode cmd, uint16_t ManufacturerCode, uint8_t IndustryGroup, uint8_t UniqueID, uint8_t NumberOfSelectionPairs, uint8_t NumberOfParameterPairs, bool Proprietary)
 

Macro Definition Documentation

◆ ErrorcodeIndex

#define ErrorcodeIndex   4

Definition at line 430 of file N2kGroupFunction.cpp.

◆ N2kgf_OffsetToCommandPairParameters

#define N2kgf_OffsetToCommandPairParameters   6

Definition at line 268 of file N2kGroupFunction.cpp.

◆ N2kgf_OffsetToParams

#define N2kgf_OffsetToParams   4

Definition at line 266 of file N2kGroupFunction.cpp.

◆ N2kgf_OffsetToRequestPairParameters

#define N2kgf_OffsetToRequestPairParameters   11

Definition at line 267 of file N2kGroupFunction.cpp.

Function Documentation

◆ SetStartReadOrWriteReply()

void SetStartReadOrWriteReply ( tN2kMsg N2kMsg,
unsigned char  Destination,
unsigned long  PGN,
tN2kGroupFunctionCode  cmd,
uint16_t  ManufacturerCode,
uint8_t  IndustryGroup,
uint8_t  UniqueID,
uint8_t  NumberOfSelectionPairs,
uint8_t  NumberOfParameterPairs,
bool  Proprietary 
)

Definition at line 366 of file N2kGroupFunction.cpp.