|
static uint32_t | convertToIdentifier (const Header &header, bool fragmentated) |
| Convert a packet header to a can identifier.
|
|
static bool | convertToHeader (const uint32_t &identifier, Header &header) |
| Convert a can identifier to a packet header. More...
|
|
static bool | isFragment (const uint32_t &identifier) |
|
static uint8_t | getNumberOfFragments (uint8_t messageSize) |
| Calculate the number of fragments needed to send a message with a length of messageSize .
|
|
|
static uint8_t | messageCounter = 0 |
|
bool xpcc::CanConnectorBase::convertToHeader |
( |
const uint32_t & |
identifier, |
|
|
xpcc::Header & |
header |
|
) |
| |
|
static |
Convert a can identifier to a packet header.
- Parameters
-
[in] | identifier | 29-bit CAN identifier |
[out] | header | Packet header |
- Returns
true
if the message is part of a fragmented packet, false
otherwise.
The documentation for this class was generated from the following files:
- communication/xpcc/backend/can/connector.hpp
- connector.cpp