PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::RtaErrorTests Class Reference

Tests for PROFINET RTA ERR-PDU decoding. More...

+ Inheritance diagram for profinet::RtaErrorTests:
+ Collaboration diagram for profinet::RtaErrorTests:

Static Protected Member Functions

static Bytes BuildRtaErrorPdu (std::array< std::uint8_t, 4 > status, const Bytes &padding={})
 Build the RTA header used by the AUMA ERR-RTA example.
 

Detailed Description

Tests for PROFINET RTA ERR-PDU decoding.

Definition at line 884 of file test_alarmListenerRta.cpp.

Member Function Documentation

◆ BuildRtaErrorPdu()

static Bytes profinet::RtaErrorTests::BuildRtaErrorPdu ( std::array< std::uint8_t, 4 >  status,
const Bytes &  padding = {} 
)
inlinestaticprotected

Build the RTA header used by the AUMA ERR-RTA example.

Parameters
statusThe four-byte PNIO status payload.
paddingOptional Ethernet minimum-frame padding.
Returns
Complete RTA PDU beginning at AlarmDstEndpoint.

Definition at line 892 of file test_alarmListenerRta.cpp.


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