|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
AlarmCRBlockRes: device's response confirming the alarm connection (part of the CONNECT response). More...
#include <protocol.h>
Collaboration diagram for profinet::PNAlarmCRBlockRes:Static Public Member Functions | |
| static PNAlarmCRBlockRes | Parse (const Bytes &data) |
| Parse an AlarmCRBlockRes from raw bytes. | |
Public Attributes | |
| std::array< std::uint8_t, blockHeaderLenght > | blockHeader {} |
| Nested 6-byte block header. | |
| std::uint16_t | alarmCrType = 0 |
| Alarm CR type (always 1: Alarm). | |
| std::uint16_t | localAlarmReference = 0 |
| Local alarm reference assigned by the device. | |
| std::uint16_t | maxAlarmDataLength = 0 |
| Maximum alarm data length in bytes accepted by the device. | |
Static Public Attributes | |
| static constexpr std::uint16_t | BLOCK_TYPE = 0x8103 |
| Block type identifier for AlarmCRBlockRes. | |
| static constexpr std::size_t | kSize = 12 |
| Size in bytes of this block. | |
AlarmCRBlockRes: device's response confirming the alarm connection (part of the CONNECT response).
Definition at line 1743 of file protocol.h.
|
inlinestatic |
Parse an AlarmCRBlockRes from raw bytes.
| data | Bytes starting at the BlockHeader field. |
Definition at line 1768 of file protocol.h.
References alarmCrType, blockHeader, profinet::blockHeaderLenght, profinet::wire::Reader::Fixed(), kSize, localAlarmReference, maxAlarmDataLength, and profinet::wire::Reader::U16().
Referenced by profinet::rpc::RPCCon::ParseAlarmCrResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| std::uint16_t profinet::PNAlarmCRBlockRes::alarmCrType = 0 |
|
staticconstexpr |
Block type identifier for AlarmCRBlockRes.
Definition at line 1747 of file protocol.h.
Referenced by profinet::rpc::RPCCon::ParseAlarmCrResponse().
| std::array<std::uint8_t, blockHeaderLenght> profinet::PNAlarmCRBlockRes::blockHeader {} |
|
staticconstexpr |
| std::uint16_t profinet::PNAlarmCRBlockRes::localAlarmReference = 0 |
Local alarm reference assigned by the device.
Definition at line 1757 of file protocol.h.
Referenced by Parse().
| std::uint16_t profinet::PNAlarmCRBlockRes::maxAlarmDataLength = 0 |
Maximum alarm data length in bytes accepted by the device.
Definition at line 1760 of file protocol.h.
Referenced by Parse().