OpenCPN Partial API docs
Loading...
Searching...
No Matches
comm_can_util.cpp File Reference

Implement comm_can_util.h – low-level socketcan utility functions. More...

#include <algorithm>
#include <vector>
#include "model/comm_can_util.h"

Go to the source code of this file.

Typedefs

typedef struct can_frame CanFrame
 

Functions

bool IsFastMessagePGN (unsigned pgn)
 
unsigned long BuildCanID (int priority, int source, int destination, int pgn)
 

Detailed Description

Implement comm_can_util.h – low-level socketcan utility functions.

Definition in file comm_can_util.cpp.

Typedef Documentation

◆ CanFrame

typedef struct can_frame CanFrame

Definition at line 41 of file comm_can_util.cpp.

Function Documentation

◆ BuildCanID()

unsigned long BuildCanID ( int  priority,
int  source,
int  destination,
int  pgn 
)

Definition at line 58 of file comm_can_util.cpp.

◆ IsFastMessagePGN()

bool IsFastMessagePGN ( unsigned  pgn)

Definition at line 43 of file comm_can_util.cpp.