|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
IOCRBlockRes: device's response confirming an IOCR (part of the CONNECT response). More...
#include <protocol.h>
Collaboration diagram for profinet::PNIOCRBlockRes:Static Public Member Functions | |
| static PNIOCRBlockRes | Parse (const Bytes &data) |
| Parse an IOCRBlockRes from raw bytes. | |
Public Attributes | |
| std::array< std::uint8_t, blockHeaderLenght > | blockHeader {} |
| Nested 6-byte block header. | |
| std::uint16_t | iocrType = 0 |
| IOCR type (Input/Output/MulticastProvider/MulticastConsumer). | |
| std::uint16_t | iocrReference = 0 |
| IOCR reference assigned by the controller. | |
| std::uint16_t | frameId = 0 |
| Frame ID assigned by the device for this IOCR. | |
Static Public Attributes | |
| static constexpr std::uint16_t | BLOCK_TYPE = 0x8102 |
| Block type identifier for IOCRBlockRes. | |
| static constexpr std::size_t | kSize = 12 |
| Size in bytes of this block. | |
IOCRBlockRes: device's response confirming an IOCR (part of the CONNECT response).
Definition at line 1493 of file protocol.h.
|
inlinestatic |
Parse an IOCRBlockRes from raw bytes.
| data | Bytes starting at the BlockHeader field. |
Definition at line 1518 of file protocol.h.
References blockHeader, profinet::blockHeaderLenght, profinet::wire::Reader::Fixed(), frameId, iocrReference, iocrType, kSize, and profinet::wire::Reader::U16().
Referenced by profinet::rpc::RPCCon::ParseIocrResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticconstexpr |
Block type identifier for IOCRBlockRes.
Definition at line 1497 of file protocol.h.
Referenced by profinet::rpc::RPCCon::ParseIocrResponse().
| std::array<std::uint8_t, blockHeaderLenght> profinet::PNIOCRBlockRes::blockHeader {} |
| std::uint16_t profinet::PNIOCRBlockRes::frameId = 0 |
Frame ID assigned by the device for this IOCR.
Definition at line 1510 of file protocol.h.
Referenced by Parse().
| std::uint16_t profinet::PNIOCRBlockRes::iocrReference = 0 |
IOCR reference assigned by the controller.
Definition at line 1507 of file protocol.h.
Referenced by Parse().
| std::uint16_t profinet::PNIOCRBlockRes::iocrType = 0 |
IOCR type (Input/Output/MulticastProvider/MulticastConsumer).
Definition at line 1504 of file protocol.h.
Referenced by Parse().
|
staticconstexpr |