Function off_highway_can::get_j1939_pgn

Function Documentation

inline uint16_t off_highway_can::get_j1939_pgn(uint32_t id)

Extract J1939 parameter group number (PGN) from received message id.

Parameters:

id – CAN id of received message

Returns:

J1939 parameter group number (PGN)