ETHERNET_RX_ERROR.
More...
#include <EthernetRxError.h>
|
uint16_t | structLength {} |
| Length of this structure.
|
|
uint16_t | channel {} |
|
uint16_t | dir {} |
| Direction flag.
|
|
uint16_t | hardwareChannel {} |
| HW channel. 0 = invalid.
|
|
uint32_t | fcs {} |
| Frame Check Sum.
|
|
uint16_t | frameDataLength {} |
| Number of valid raw ethernet data bytes.
|
|
uint16_t | reservedEthernetRxError {} |
|
uint32_t | error {} |
|
std::vector< uint8_t > | frameData {} |
| Max 1600 data bytes per frame.
|
|
ETHERNET_RX_ERROR.
Ethernet RX error frame.
◆ Dir
enumeration for dir
Enumerator |
---|
Rx | receive
|
Tx | transmit
|
TxRq | transmit request
|
◆ calculateObjectSize()
uint32_t Vector::BLF::EthernetRxError::calculateObjectSize |
( |
| ) |
const |
|
overridevirtual |
◆ calculateStructLength()
uint16_t Vector::BLF::EthernetRxError::calculateStructLength |
( |
| ) |
const |
|
virtual |
Calculates structLength.
- Returns
- struct length
◆ read()
void Vector::BLF::EthernetRxError::read |
( |
AbstractFile & |
is | ) |
|
|
overridevirtual |
◆ write()
void Vector::BLF::EthernetRxError::write |
( |
AbstractFile & |
os | ) |
|
|
overridevirtual |
◆ channel
uint16_t Vector::BLF::EthernetRxError::channel {} |
The channel of the frame.
◆ error
uint32_t Vector::BLF::EthernetRxError::error {} |
Error code
- 1: Data Length Error
- 2: Invalid CRC
- 3: Invalid Data received
- 4: Collision detected
◆ fcs
uint32_t Vector::BLF::EthernetRxError::fcs {} |
Frame Check Sum.
Ethernet frame checksum.
◆ frameData
std::vector<uint8_t> Vector::BLF::EthernetRxError::frameData {} |
Max 1600 data bytes per frame.
Raw Ethernet frame data. Max 1522 data bytes per frame.
◆ frameDataLength
uint16_t Vector::BLF::EthernetRxError::frameDataLength {} |
Number of valid raw ethernet data bytes.
Number of valid raw ethernet data bytes, starting with Target MAC ID.
◆ reservedEthernetRxError
uint16_t Vector::BLF::EthernetRxError::reservedEthernetRxError {} |
◆ structLength
uint16_t Vector::BLF::EthernetRxError::structLength {} |
Length of this structure.
Length of this structure, without sizeof(ObjectHeader) and without raw data length
The documentation for this struct was generated from the following files: