Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
mm::capture::EtherCatFrame Struct Reference

One EtherCAT frame. More...

#include <ethercat_frame.h>

Collaboration diagram for mm::capture::EtherCatFrame:
[legend]

Public Attributes

bool fromMaster = false
 
std::vector< Datagram > datagrams
 In wire order. Never empty.
 

Detailed Description

One EtherCAT frame.

Member Data Documentation

◆ datagrams

std::vector<Datagram> mm::capture::EtherCatFrame::datagrams

In wire order. Never empty.

◆ fromMaster

bool mm::capture::EtherCatFrame::fromMaster = false

True when the master sent this frame and no slave has processed it yet. Every ESC sets the locally administered bit of the first source-MAC byte on a frame it processes (ESC datasheet, Section I, 3), so a frame on its way back to the master has that bit set. The rule reads any capture, from this program or from tcpdump, with no knowledge of the master's MAC.


The documentation for this struct was generated from the following file: