|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
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. | |
Alarm endpoint configuration.
Everything needed to set up alarm reception for an established AR with AlarmCR.
Definition at line 50 of file alarmListener.h.
| 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().
| MacAddress profinet::AlarmEndpoint::deviceMac {} |
The device's MAC address.
Definition at line 62 of file alarmListener.h.
Referenced by profinet::AlarmListener::HandleLayer2Frame(), profinet::AlarmListener::SendAck(), and profinet::device::ProfinetDevice::StartAlarmListener().
| 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().
| 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().
| int profinet::AlarmEndpoint::transport = 0 |
Transport: 0 = Layer2 (RTA), 1 = UDP.
Definition at line 65 of file alarmListener.h.
Referenced by profinet::AlarmListener::ListenLoop(), profinet::AlarmListener::ProcessAlarm(), profinet::AlarmListener::SendAck(), profinet::AlarmListener::Start(), and profinet::device::ProfinetDevice::StartAlarmListener().