|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
AlarmAck-PDU: acknowledges receipt of an AlarmNotification-PDU. More...
#include <protocol.h>
Collaboration diagram for profinet::PNAlarmAckPDU:Public Member Functions | |
| Bytes | ToBytes () const |
| Serialize this PDU back to raw bytes. | |
Public Attributes | |
| std::array< std::uint8_t, blockHeaderLength > | blockHeader {} |
| Nested 6-byte block header. | |
| AlarmType | alarmType |
| Alarm type being acknowledged. | |
| std::uint32_t | api = 0 |
| API number. | |
| std::uint16_t | slotNumber = 0 |
| Slot number being acknowledged. | |
| std::uint16_t | subslotNumber = 0 |
| Subslot number being acknowledged. | |
| std::uint16_t | alarmSpecifier = 0 |
| Alarm specifier flags echoed from the notification. | |
| std::uint32_t | statusPNIO = 0 |
| PNIO status code (0 = acknowledged OK). | |
Static Public Attributes | |
| static constexpr std::size_t | kSize = 22 |
| Size in bytes of this PDU. | |
AlarmAck-PDU: acknowledges receipt of an AlarmNotification-PDU.
Definition at line 2346 of file protocol.h.
|
inline |
Serialize this PDU back to raw bytes.
Definition at line 2374 of file protocol.h.
References alarmSpecifier, alarmType, api, blockHeader, profinet::wire::PutFixed(), profinet::wire::PutU16(), profinet::wire::PutU32(), slotNumber, statusPNIO, and subslotNumber.
Referenced by profinet::AlarmListener::SendAck(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:| std::uint16_t profinet::PNAlarmAckPDU::alarmSpecifier = 0 |
Alarm specifier flags echoed from the notification.
Definition at line 2364 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
| AlarmType profinet::PNAlarmAckPDU::alarmType |
Alarm type being acknowledged.
Definition at line 2352 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
| std::uint32_t profinet::PNAlarmAckPDU::api = 0 |
API number.
Definition at line 2355 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
| std::array<std::uint8_t, blockHeaderLength> profinet::PNAlarmAckPDU::blockHeader {} |
Nested 6-byte block header.
Definition at line 2349 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
|
staticconstexpr |
Size in bytes of this PDU.
Definition at line 2370 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), profinet::TEST_F(), and TEST_F().
| std::uint16_t profinet::PNAlarmAckPDU::slotNumber = 0 |
Slot number being acknowledged.
Definition at line 2358 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
| std::uint32_t profinet::PNAlarmAckPDU::statusPNIO = 0 |
PNIO status code (0 = acknowledged OK).
Definition at line 2367 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().
| std::uint16_t profinet::PNAlarmAckPDU::subslotNumber = 0 |
Subslot number being acknowledged.
Definition at line 2361 of file protocol.h.
Referenced by profinet::AlarmListener::SendAck(), and ToBytes().