PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
rt.cpp File Reference

Implements PROFINET RT_CLASS_1 cyclic frame handling and IO data layout support. More...

#include "profinet/rt.h"
#include <algorithm>
#include <cstdio>
#include <ranges>
#include <stdexcept>
+ Include dependency graph for rt.cpp:

Go to the source code of this file.

Namespaces

namespace  profinet
 
namespace  profinet::rt
 

Functions

Bytes profinet::rt::BuildEthernetFrame (const MacAddress &dstMac, const MacAddress &srcMac, const RTFrame &rtFrame)
 Build a complete Ethernet frame carrying an RT frame.
 
std::optional< RTFrameprofinet::rt::ParseEthernetFrame (const Bytes &data)
 Parse a complete Ethernet frame and extract its RT frame.
 

Detailed Description

Implements PROFINET RT_CLASS_1 cyclic frame handling and IO data layout support.

Definition in file rt.cpp.