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

Alarm endpoint configuration. More...

#include <alarmListener.h>

+ Collaboration diagram for profinet::AlarmEndpoint:

Public Attributes

std::string interface
 Network interface name to bind to, e.g. "eth0".
 
std::uint16_t controllerRef = 0
 Controller's local alarm reference (from AlarmCRBlockReq).
 
std::uint16_t deviceRef = 0
 Device's local alarm reference (from AlarmCRBlockRes).
 
MacAddress deviceMac {}
 The device's MAC address.
 
int transport = 0
 Transport: 0 = Layer2 (RTA), 1 = UDP.
 

Detailed Description

Alarm endpoint configuration.

Everything needed to set up alarm reception for an established AR with AlarmCR.

Definition at line 50 of file alarmListener.h.

Member Data Documentation

◆ controllerRef

std::uint16_t profinet::AlarmEndpoint::controllerRef = 0

Controller's local alarm reference (from AlarmCRBlockReq).

Definition at line 56 of file alarmListener.h.

Referenced by profinet::AlarmListener::ProcessAlarm(), profinet::AlarmListener::SendLayer2Ack(), and profinet::device::ProfinetDevice::StartAlarmListener().

◆ deviceMac

MacAddress profinet::AlarmEndpoint::deviceMac {}

◆ deviceRef

std::uint16_t profinet::AlarmEndpoint::deviceRef = 0

Device's local alarm reference (from AlarmCRBlockRes).

Definition at line 59 of file alarmListener.h.

Referenced by profinet::AlarmListener::SendLayer2Ack(), and profinet::device::ProfinetDevice::StartAlarmListener().

◆ interface

std::string profinet::AlarmEndpoint::interface

Network interface name to bind to, e.g. "eth0".

Definition at line 53 of file alarmListener.h.

Referenced by profinet::AlarmListener::Start(), and profinet::device::ProfinetDevice::StartAlarmListener().

◆ transport


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