|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Namespaces | |
| namespace | raw |
Classes | |
| struct | AllIM |
| All I&M records a device supports, read in one call. More... | |
| struct | ApplicationRelations |
| struct | BlockHeaderView |
| Generic block header (type + length) used to scan response blocks. More... | |
| struct | ConnectResult |
| Result of a successful RPCCon::Connect() that also established cyclic IO. More... | |
| struct | EPMEndpoint |
| One RPC endpoint advertised by a device's Endpoint Mapper. More... | |
| struct | IndexProbeResult |
| Result of probing one index in EnumerateIndices(). More... | |
| struct | IOCRSetup |
| Configuration for establishing cyclic IO alongside an AR. More... | |
| struct | IOSlot |
| One slot/subslot's expected module configuration and IO data sizes. More... | |
| class | IRPCCon |
| Abstract interface for a PROFINET RPC connection. More... | |
| class | IRpcTransport |
| class | MockRPCCon |
| Google Mock implementation of the IRPCCon RPC connection interface. More... | |
| class | RPCCon |
| Connection to a PROFINET IO-Device: establishes an AR (Application Relationship) and performs acyclic read/write and CONTROL operations. More... | |
| struct | RPCConOptions |
| Configuration options for an RPC connection. More... | |
| class | RpcTests |
| class | RpcTransport |
| Synchronous UDP transport used by PROFINET DCE/RPC. More... | |
| struct | WriteItem |
| A single write operation for WriteMultiple(). More... | |
Enumerations | |
| enum class | StartupMode : std::uint16_t { Legacy , Advanced } |
Functions | |
| BlockHeaderView | PeekBlockHeader (const Bytes &data, std::size_t offset) |
| std::array< std::uint8_t, uuidLenght > | BuildObjectUuid (std::uint8_t b10, std::uint8_t b11, std::uint8_t b12, std::uint8_t b13, std::uint8_t b14, std::uint8_t b15) |
| Builds a PROFINET object UUID. | |
| std::string | UuidBytesToString (const std::array< std::uint8_t, uuidLenght > &data) |
| Format a 16-byte DCE/RPC UUID as a canonical string. | |
| std::array< std::uint8_t, uuidLenght > | StringToUuidBytes (const std::string &uuidStr) |
| Parse a canonical UUID string into 16 raw DCE/RPC UUID bytes. | |
| std::optional< EPMEndpoint > | ParseEpmTower (const Bytes &towerData) |
| Parses a DCE/RPC EPM tower into a PROFINET endpoint. | |
| dcp::DCPDeviceDescription | GetStationInfo (IRawEthernetSocket &sock, const MacAddress &src, const std::string &name, double timeoutSec=DEFAULT_TIMEOUT *2) |
| Resolve a device by PROFINET station name via DCP. | |
| TEST_F (RpcTests, UuidBytesToStringStringToUuidBytesRoundtrip) | |
| TEST_F (RpcTests, StringToUuidBytesRejectsMalformedInput) | |
| TEST_F (RpcTests, EPMEndpointResolvesWellKnownProfinetInterfaceNames) | |
| TEST_F (RpcTests, EPMEndpointUnknownUuidIncludesUuid) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNameIsCaseInsensitive) | |
| TEST_F (RpcTests, IOCRSetupCycleTimeCalculation) | |
| TEST_F (RpcTests, IOCRSetupValidateFlagsEmptySlotsAndLowWatchdog) | |
| TEST_F (RpcTests, IOCRSetupValidateEmptySlots) | |
| TEST_F (RpcTests, IOCRSetupValidateLowWatchdog) | |
| TEST_F (RpcTests, IOCRSetupValidateNormalConfiguration) | |
| TEST_F (RpcTests, CreateRpcBuildsExpectedHeader) | |
| TEST_F (RpcTests, PNRPCHeaderInterfaceUuidBytes) | |
| TEST_F (RpcTests, BuildIocrBlockUsesConfiguredSlots) | |
| TEST_F (RpcTests, GenerateNonZeroArUuid) | |
| TEST_F (RpcTests, GenerateDifferentArUuids) | |
| TEST_F (RpcTests, GenerateIndependentArAndActivityUuids) | |
| TEST_F (RpcTests, GenerateNonZeroSessionKey) | |
| TEST_F (RpcTests, GeneratedSessionKeysAreAlwaysNonZero) | |
| TEST_F (RpcTests, BuildsExpectedRemoteObjectUuid) | |
| TEST_F (RpcTests, BuildObjectUuidPreservesDeviceAndVendorBytes) | |
| TEST_F (RpcTests, BuildObjectUuidUsesFixedProfinetPrefixAndSuffix) | |
| TEST_F (RpcTests, RemoteObjectUuidHasExpectedLength) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNamePnioDevice) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNamePnioController) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNamePnioSupervisor) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNamePnioParameterServer) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNameEpm) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNameUnknown) | |
| TEST_F (RpcTests, EPMEndpointInterfaceNameIsCaseInsensitiveForAllKnownInterfaces) | |
| TEST_F (RpcTests, ParseEpmTowerRejectsTooShortTower) | |
| TEST_F (RpcTests, ParseEpmTowerStopsOnTruncatedFloorHeader) | |
| TEST_F (RpcTests, ParseEpmTowerStopsOnTruncatedLhs) | |
| TEST_F (RpcTests, ParseEpmTowerStopsOnTruncatedRhsLength) | |
| TEST_F (RpcTests, ParseEpmTowerStopsOnTruncatedRhs) | |
| TEST_F (RpcTests, ParseEpmTowerSkipsEmptyLhs) | |
| TEST_F (RpcTests, MakeInterfaceTowerLhsCreatesValidInterfaceBlock) | |
| TEST_F (RpcTests, ParseEpmTowerParsesInterfaceFloor) | |
| TEST_F (RpcTests, ParseEpmTowerSkipsEmptyFloor) | |
| TEST_F (RpcTests, MakeEpmTowerEncodesEmptyThenInterfaceFloor) | |
| TEST_F (RpcTests, ParseEpmTowerParsesInterfaceUuidAndVersions) | |
| TEST_F (RpcTests, ParseEpmTowerInterfaceFloorWithoutMinorVersion) | |
| TEST_F (RpcTests, ParseEpmTowerRejectsShortInterfaceFloor) | |
| TEST_F (RpcTests, ParseEpmTowerParsesUdpProtocol) | |
| TEST_F (RpcTests, ParseEpmTowerParsesBigEndianPort) | |
| TEST_F (RpcTests, ParseEpmTowerIgnoresShortPortRhs) | |
| TEST_F (RpcTests, ParseEpmTowerParsesIpv4Address) | |
| TEST_F (RpcTests, ParseEpmTowerIgnoresShortIpRhs) | |
| TEST_F (RpcTests, ParseEpmTowerParsesCompleteEndpoint) | |
| TEST_F (RpcTests, ParseEpmTowerOnlyUsesFirstInterfaceFloorForInterfaceData) | |
| TEST_F (RpcTests, ParseEpmTowerIgnoresInterfaceDataFromLaterFloor) | |
| TEST_F (RpcTests, ParseEpmTowerIgnoresUnknownProtocol) | |
| TEST_F (RpcTests, ParseEpmTowerContinuesAcrossAllFloors) | |
| Verifies that protocol, port and IP floors are parsed after the interface floor. | |
| TEST_F (RpcTests, EpmLookupReturnsParsedEndpoint) | |
| TEST_F (RpcTests, EpmLookupBuildsInterfaceFilteredRequest) | |
| TEST_F (RpcTests, EpmLookupReturnsEmptyForShortResponse) | |
| TEST_F (RpcTests, EpmLookupReturnsEmptyForFaultResponse) | |
| TEST_F (RpcTests, EpmLookupReturnsEmptyForUnexpectedResponseType) | |
| TEST_F (RpcTests, EpmLookupReturnsEmptyForShortBody) | |
| TEST_F (RpcTests, EpmLookupClampsBodyLengthToReceivedData) | |
| TEST_F (RpcTests, EpmLookupStopsOnTruncatedEntryUuid) | |
| TEST_F (RpcTests, EpmLookupStopsOnTruncatedTowerPointer) | |
| TEST_F (RpcTests, EpmLookupStopsOnTruncatedAnnotationLength) | |
| TEST_F (RpcTests, EpmLookupHandlesZeroLengthAnnotation) | |
| TEST_F (RpcTests, EpmLookupTrimsTrailingAnnotationZeros) | |
| TEST_F (RpcTests, EpmLookupIgnoresEntryWithInvalidTower) | |
| TEST_F (RpcTests, GetStationInfoReturnsFirstDirectResponse) | |
| TEST_F (RpcTests, GetStationInfoSendsStationNameRequest) | |
| TEST_F (RpcTests, GetStationInfoFallsBackToDiscovery) | |
| TEST_F (RpcTests, GetStationInfoDiscoveryMatchesStationNameCaseInsensitive) | |
| TEST_F (RpcTests, GetStationInfoDiscoverySkipsNonMatchingDevice) | |
| TEST_F (RpcTests, GetStationInfoThrowsWhenDiscoveryFindsNoMatchingDevice) | |
| TEST_F (RpcTests, GetStationInfoNotFoundExceptionContainsStationName) | |
| TEST_F (RpcTests, GetStationInfoThrowsWhenDiscoveryReturnsNoResponses) | |
| TEST_F (RpcTests, GetStationInfoDoesNotFilterNonEmptyDirectResponse) | |
| TEST_F (RpcTests, CreateNrdBuildsExpectedWrapper) | |
| TEST_F (RpcTests, CreateNrdHandlesEmptyPayload) | |
| TEST_F (RpcTests, CreateNrdRoundTripsThroughSerialization) | |
| TEST_F (RpcTests, BuildAlarmCrBlockUsesProfinetEtherTypeForTransportZero) | |
| TEST_F (RpcTests, BuildAlarmCrBlockUsesIpEtherTypeForNonZeroTransport) | |
| TEST_F (RpcTests, BuildAlarmCrBlockEncodesPriority) | |
| TEST_F (RpcTests, BuildAlarmCrBlockCombinesTransportAndPriority) | |
| TEST_F (RpcTests, BuildAlarmCrBlockCreatesExpectedBlockHeader) | |
| TEST_F (RpcTests, ParseAlarmCrResponseReturnsMinusOneForEmptyData) | |
| TEST_F (RpcTests, ParseAlarmCrResponseReturnsMinusOneForShortData) | |
| TEST_F (RpcTests, ParseAlarmCrResponseIgnoresUnrelatedBlock) | |
| TEST_F (RpcTests, ParseAlarmCrResponseReturnsLocalAlarmReference) | |
| TEST_F (RpcTests, ParseAlarmCrResponseContinuesAfterUnrelatedBlock) | |
| TEST_F (RpcTests, ParseAlarmCrResponseContinuesAfterMalformedAlarmBlock) | |
| TEST_F (RpcTests, ParseAlarmCrResponseIgnoresTruncatedAlarmBlock) | |
| TEST_F (RpcTests, ParseAlarmCrResponseContinuesAfterMalformedBlock) | |
| TEST_F (RpcTests, ParseAlarmCrResponseReturnsMinusOneAfterUnrelatedBlocks) | |
| TEST_F (RpcTests, IsConnectedReturnsFalseInitially) | |
| TEST_F (RpcTests, InfoReturnsDeviceDescription) | |
| TEST_F (RpcTests, ArUuidReturnsConnectionArUuid) | |
| TEST_F (RpcTests, SessionKeyReturnsInitialValue) | |
| TEST_F (RpcTests, LocalAlarmRefReturnsConfiguredValue) | |
| TEST_F (RpcTests, DeviceAlarmRefReturnsZeroInitially) | |
| TEST_F (RpcTests, HasAlarmCrReturnsFalseInitially) | |
| TEST_F (RpcTests, ParseIocrResponseReturnsZeroForEmptyData) | |
| TEST_F (RpcTests, ParseIocrResponseReturnsZeroForShortData) | |
| TEST_F (RpcTests, ParseIocrResponseIgnoresUnrelatedBlock) | |
| TEST_F (RpcTests, ParseIocrResponseIgnoresDifferentIocrType) | |
| TEST_F (RpcTests, ParseIocrResponseReturnsMatchingFrameId) | |
| TEST_F (RpcTests, ParseIocrResponseIgnoresMalformedIocrBlock) | |
| TEST_F (RpcTests, ParseIocrResponseFindsMatchingBlockAfterUnrelatedBlock) | |
| TEST_F (RpcTests, SendReceiveReturnsResponseAndMarksConnectionLive) | |
| TEST_F (RpcTests, SendReceiveRetriesAfterRequestPacket) | |
| TEST_F (RpcTests, SendReceiveThrowsForShortResponse) | |
| TEST_F (RpcTests, SendReceiveThrowsRpcFaultError) | |
| TEST_F (RpcTests, SendReceiveThrowsForRejectedResponse) | |
| TEST_F (RpcTests, SendReceiveThrowsForUnexpectedPacketType) | |
| TEST_F (RpcTests, CheckTimeoutDoesNothingWhenNotConnected) | |
| TEST_F (RpcTests, CheckTimeoutDoesNotReconnectBeforeTimeout) | |
| TEST_F (RpcTests, CheckTimeoutReconnectsAfterTimeout) | |
| TEST_F (RpcTests, ConnectRequiresSourceMacForInitialConnection) | |
| TEST_F (RpcTests, ConnectEstablishesBasicApplicationRelation) | |
| TEST_F (RpcTests, ConnectRequestsAlarmCr) | |
| TEST_F (RpcTests, ConnectLeavesAlarmCrDisabledWhenResponseHasNoAlarmCr) | |
| TEST_F (RpcTests, ConnectConvertsDevicePnioError) | |
| TEST_F (RpcTests, ConnectConvertsRpcError) | |
| TEST_F (RpcTests, ConnectReusesSourceMacDuringReconnect) | |
| TEST_F (RpcTests, ConnectReplacesSourceMacDuringReconnect) | |
| TEST_F (RpcTests, ConnectRejectsMissingSourceMacDuringReconnect) | |
| TEST_F (RpcTests, ConnectReturnsConnectResultForIocrSetup) | |
| TEST_F (RpcTests, ReadReturnsParsedIodResponse) | |
| TEST_F (RpcTests, ReadThrowsPnioErrorForDeviceError) | |
| TEST_F (RpcTests, ReadImplicitReturnsParsedIodResponse) | |
| TEST_F (RpcTests, ReadImplicitThrowsPnioErrorForDeviceError) | |
| TEST_F (RpcTests, WriteCompletesSuccessfully) | |
| TEST_F (RpcTests, WriteThrowsPnioErrorForDeviceError) | |
| TEST_F (RpcTests, ReadRawReturnsPayload) | |
| TEST_F (RpcTests, ReadImWrappersReadAllIndividualIndices) | |
| TEST_F (RpcTests, ReadAllImReturnsAllSuccessfulRecords) | |
| TEST_F (RpcTests, ReadAllImIgnoresRpcErrorForOptionalRecord) | |
| TEST_F (RpcTests, ReadAllImIgnoresStandardExceptionForOptionalRecord) | |
| TEST_F (RpcTests, ReadAllImPropagatesIm0Failure) | |
| TEST_F (RpcTests, WriteMultipleReturnsEmptyForNoWrites) | |
| TEST_F (RpcTests, WriteMultipleSendsMultipleWrites) | |
| TEST_F (RpcTests, WriteMultipleThrowsPnioErrorForDeviceError) | |
| TEST_F (RpcTests, ReadModuleDiffReturnsParsedModuleDifference) | |
| TEST_F (RpcTests, ReadDiagnosisUsesFullDiagnosisParser) | |
| TEST_F (RpcTests, ReadDiagnosisFallsBackToSimpleParser) | |
| TEST_F (RpcTests, ReadDiagnosisReturnsEmptyForShortDiagnosisPayload) | |
| TEST_F (RpcTests, ReadDiagnosisReturnsEmptyForRpcError) | |
| TEST_F (RpcTests, ReadAllDiagnosisReturnsNonEmptyDiagnosisResults) | |
| TEST_F (RpcTests, ReadAllDiagnosisContinuesAfterRpcError) | |
| TEST_F (RpcTests, ReadPdRealDataReturnsParsedData) | |
| TEST_F (RpcTests, ReadRealIdentificationDataReturnsParsedData) | |
| TEST_F (RpcTests, DiscoverSlotsReturnsRealIdentificationSlots) | |
| TEST_F (RpcTests, DiscoverTopologyReturnsBothTopologyRecords) | |
| TEST_F (RpcTests, EnumerateIndicesReportsAllProbeOutcomes) | |
| TEST_F (RpcTests, SendControlRejectsDisconnectedConnection) | |
| TEST_F (RpcTests, SendControlSendsWithoutWaiting) | |
| TEST_F (RpcTests, SendControlReturnsResponsePayload) | |
| TEST_F (RpcTests, SendControlThrowsPnioErrorForDeviceError) | |
| TEST_F (RpcTests, PrmBeginSendsExpectedControlCommand) | |
| TEST_F (RpcTests, PrmEndSendsExpectedControlCommand) | |
| TEST_F (RpcTests, ReadyForRtClass3SendsExpectedControlCommand) | |
| TEST_F (RpcTests, ParseRawRpcHeaderRejectsShortData) | |
| TEST_F (RpcTests, ParseRawRpcHeaderParsesBigEndian) | |
| TEST_F (RpcTests, ParseRawRpcHeaderParsesLittleEndian) | |
| TEST_F (RpcTests, ParseRawRpcHeaderPreservesSerialHigh) | |
| TEST_F (RpcTests, ParseRawRpcHeaderExtractsPayloadAfterFixedHeader) | |
| TEST_F (RpcTests, ApplicationReadyThrowsWhenNotConnected) | |
| TEST_F (RpcTests, ApplicationReadySkipsInvalidRawRpcPacket) | |
| TEST_F (RpcTests, ApplicationReadySkipsNonRequestPacket) | |
| TEST_F (RpcTests, ApplicationReadySkipsNonControlOperation) | |
| TEST_F (RpcTests, ApplicationReadySkipsShortNrdPayload) | |
| TEST_F (RpcTests, ApplicationReadySkipsShortNrdBody) | |
| TEST_F (RpcTests, ApplicationReadySkipsWrongControlBlockType) | |
| TEST_F (RpcTests, ApplicationReadyProcessesBigEndianRequest) | |
| TEST_F (RpcTests, ApplicationReadyProcessesLittleEndianRequest) | |
| TEST_F (RpcTests, ApplicationReadyAcceptsUnexpectedControlCommand) | |
| TEST_F (RpcTests, ApplicationReadyPropagatesReceiveException) | |
| TEST_F (RpcTests, DisconnectSendsReleaseRequestAndClearsLive) | |
| TEST_F (RpcTests, DisconnectBuildsCorrectReleaseBlock) | |
| TEST_F (RpcTests, DisconnectDoesNothingWhenNotLive) | |
| TEST_F (RpcTests, DisconnectSwallowsSendExceptionAndClearsLive) | |
| TEST_F (RpcTests, DisconnectAlwaysClearsLive) | |
| TEST_F (RpcTests, CloseDisconnectsAndClosesBothTransports) | |
| TEST_F (RpcTests, CloseClosesBothTransportsWhenNotLive) | |
Variables | |
| constexpr std::uint8_t | VERSION_HIGH = 0x01 |
| Version high. | |
| constexpr std::uint8_t | VERSION_LOW = 0x00 |
| Version low. | |
| constexpr std::uint16_t | RPC_PORT = 0x8894 |
| PROFINET IO RPC port (34964). | |
| constexpr std::uint16_t | RPC_BIND_PORT = 0x8895 |
| PROFINET IO RPC bind port (34965). | |
| const std::string | UUID_NULL = "00000000-0000-0000-0000-000000000000" |
| Null (all-zero) DCE/RPC UUID string. | |
| const std::string | UUID_EPM_V4 = "e1af8308-5d1f-11c9-91a4-08002b14a0fa" |
| Endpoint Mapper interface UUID. | |
| const std::string | UUID_PNIO_DEVICE = "dea00001-6c97-11d1-8271-00a02442df7d" |
| PROFINET IO-Device interface UUID. | |
| const std::string | UUID_PNIO_CONTROLLER = "dea00002-6c97-11d1-8271-00a02442df7d" |
| PROFINET IO-Controller interface UUID. | |
| const std::string | UUID_PNIO_SUPERVISOR = "dea00003-6c97-11d1-8271-00a02442df7d" |
| PROFINET IO-Supervisor interface UUID. | |
| const std::string | UUID_PNIO_PARAMETER_SERVER = "dea00004-6c97-11d1-8271-00a02442df7d" |
| PROFINET IO-ParameterServer interface UUID. | |
| constexpr std::uint32_t | PNIO_DEVICE_INTERFACE_VERSION = 1 |
| Interface version used for the PNIO device interface. | |
| constexpr std::uint32_t | EPM_LOOKUP = 0x02 |
| EPM operation: Lookup. | |
| constexpr std::uint32_t | EPM_INQUIRY_ALL = 0x00 |
| EPM inquiry type: all interfaces. | |
| constexpr std::uint32_t | EPM_INQUIRY_INTERFACE = 0x01 |
| EPM inquiry type: specific interface. | |
| constexpr double | DEFAULT_TIMEOUT = 5.0 |
| Default RPC response timeout in seconds. | |
| constexpr double | CONNECTION_TIMEOUT = 10.0 |
| Maximum idle time in seconds before an AR is considered to need re-connection. | |
| constexpr std::uint16_t | BLOCK_IOD_CONTROL_PRM_END_REQ = 0x0110 |
| Block type: IODControlReqPrmEnd. | |
| constexpr std::uint16_t | BLOCK_IOD_CONTROL_APP_READY_REQ = 0x0112 |
| Block type: IODControlReqAppReady. | |
| constexpr std::uint16_t | BLOCK_IOD_CONTROL_APP_READY_RES = 0x8112 |
| Block type: IODControlResAppReady. | |
| constexpr std::uint16_t | BLOCK_IOD_CONTROL_RT_CLASS_3_REQ = 0x0117 |
| Block type: IODControlReqRTClass3. | |
| constexpr std::uint16_t | BLOCK_PRM_BEGIN_REQ = 0x0118 |
| Block type: PrmBeginReq. | |
| constexpr std::uint16_t | BLOCK_RELEASE_REQ = 0x0114 |
| Block type: IODReleaseReq. | |
| constexpr std::uint16_t | CONTROL_CMD_PRM_END = 0x0001 |
| Control command bit: PrmEnd. | |
| constexpr std::uint16_t | CONTROL_CMD_APP_READY = 0x0002 |
| Control command bit: ApplicationReady. | |
| constexpr std::uint16_t | CONTROL_CMD_RELEASE = 0x0004 |
| Control command bit: Release. | |
| constexpr std::uint16_t | CONTROL_CMD_DONE = 0x0008 |
| Control command bit: Done. | |
| constexpr std::uint16_t | CONTROL_CMD_READY_FOR_COMPANION = 0x0010 |
| Control command bit: ReadyForCompanion. | |
| constexpr std::uint16_t | CONTROL_CMD_READY_FOR_RT_CLASS_3 = 0x0020 |
| Control command bit: ReadyForRTClass3. | |
| constexpr std::uint16_t | CONTROL_CMD_PRM_BEGIN = 0x0040 |
| Control command bit: PrmBegin. | |
|
strong |
| Enumerator | |
|---|---|
| Legacy | |
| Advanced | |
Definition at line 123 of file rpcTypes.h.
| std::array< std::uint8_t, uuidLenght > profinet::rpc::BuildObjectUuid | ( | std::uint8_t | b10, |
| std::uint8_t | b11, | ||
| std::uint8_t | b12, | ||
| std::uint8_t | b13, | ||
| std::uint8_t | b14, | ||
| std::uint8_t | b15 | ||
| ) |
Builds a PROFINET object UUID.
Constructs the 16-byte PROFINET object UUID using the fixed PROFINET UUID prefix and the shared PROFINET UUID suffix. The six supplied bytes are placed in the UUID node field and therefore provide the unique device-specific portion of the UUID.
The resulting UUID has the following layout:
| b10 | First byte of the UUID node field. |
| b11 | Second byte of the UUID node field. |
| b12 | Third byte of the UUID node field (deviceHigh). |
| b13 | Fourth byte of the UUID node field (deviceLow). |
| b14 | Fifth byte of the UUID node field (vendorHigh). |
| b15 | Sixth byte of the UUID node field (vendorLow). |
Definition at line 56 of file rpc.cpp.
References profinet::kPnUuidSuffix.
Referenced by profinet::rpc::RPCCon::RPCCon(), and profinet::rpc::RpcTests::InvokeSetRPCConInfo().
Here is the caller graph for this function:| dcp::DCPDeviceDescription profinet::rpc::GetStationInfo | ( | IRawEthernetSocket & | sock, |
| const MacAddress & | src, | ||
| const std::string & | name, | ||
| double | timeoutSec = DEFAULT_TIMEOUT * 2 |
||
| ) |
Resolve a device by PROFINET station name via DCP.
| sock | Bound Ethernet socket to send/receive on. |
| src | Source MAC address to send from. |
| name | Station name to resolve. |
| timeoutSec | How long to wait for each discovery attempt. |
Falls back from a filtered Identify request to a broadcast discover + name filter. Throws DCPDeviceNotFoundError if no matching device responds.
Definition at line 509 of file rpc.cpp.
References profinet::Mac, profinet::dcp::MakeBlockKey(), profinet::dcp::DCPDeviceDescription::name, profinet::PNDCPBlock::NAME_OF_STATION, profinet::dcp::ReadResponse(), profinet::dcp::SendDiscover(), and profinet::dcp::SendRequest().
Referenced by profinet::device::ProfinetDevice::Discover(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:| std::optional< EPMEndpoint > profinet::rpc::ParseEpmTower | ( | const Bytes & | towerData | ) |
Parses a DCE/RPC EPM tower into a PROFINET endpoint.
| towerData | Raw EPM tower bytes. |
Definition at line 239 of file rpc.cpp.
References profinet::wire::Reader::Fixed(), profinet::rpc::EPMEndpoint::interfaceUuid, profinet::rpc::EPMEndpoint::interfaceVersionMajor, profinet::rpc::EPMEndpoint::interfaceVersionMinor, profinet::rpc::EPMEndpoint::ipAddress, profinet::rpc::EPMEndpoint::port, profinet::rpc::EPMEndpoint::protocol, profinet::wire::Reader::ReadBytes(), profinet::wire::Reader::Remaining(), profinet::wire::Reader::SkipTo(), profinet::wire::Reader::U16(), profinet::wire::Reader::U16LittleEndian(), UuidBytesToString(), and profinet::uuidLenght.
Referenced by profinet::rpc::RPCCon::EpmLookup(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 54 of file rpc.h.
References profinet::wire::Reader::SkipTo(), and profinet::wire::Reader::U16().
Referenced by profinet::sim::VirtualProfinetRpcDevice::ContainsBlock(), FindBlocks(), profinet::sim::VirtualProfinetRpcDevice::HandleConnect(), TestRpcDevice::HandleConnect(), profinet::rpc::RPCCon::ParseAlarmCrResponse(), profinet::rpc::RPCCon::ParseIocrResponse(), profinet::CyclicCaptureTests::TEST(), profinet::TEST(), and profinet::sim::VirtualProfinetRpcDevice::ValidateConnect().
Here is the call graph for this function:
Here is the caller graph for this function:| std::array< std::uint8_t, uuidLenght > profinet::rpc::StringToUuidBytes | ( | const std::string & | uuidStr | ) |
Parse a canonical UUID string into 16 raw DCE/RPC UUID bytes.
| uuidStr | String in "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" form. |
Throws std::invalid_argument on malformed input.
Definition at line 126 of file rpc.cpp.
References length, profinet::wire::PutBigEndian(), profinet::wire::PutLittleEndian(), and profinet::uuidLenght.
Referenced by profinet::rpc::RPCCon::EpmLookup(), profinet::rpc::RpcTests::MakeInterfaceTowerLhs(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadyAcceptsUnexpectedControlCommand | |||
| ) |
Definition at line 4610 of file test_rpc.cpp.
References BLOCK_IOD_CONTROL_APP_READY_REQ, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::ReadyForRtClass3, profinet::rpc::RpcTests::TestRpcTransport::receiveCount, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadyProcessesBigEndianRequest | |||
| ) |
Definition at line 4518 of file test_rpc.cpp.
References BLOCK_IOD_CONTROL_APP_READY_RES, profinet::PNIODReleaseBlock::blockHeader, profinet::PNRPCHeader::CONTROL, profinet::PNIODReleaseBlock::controlCommand, profinet::Done, profinet::PNRPCHeader::interfaceVersion, profinet::PNIODReleaseBlock::kSize, profinet::rpc::RpcTests::TestRpcTransport::lastSendToEndpoint, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNIODReleaseBlock::Parse(), profinet::rpc::raw::ParseRawRpcHeader(), profinet::PNRPCHeader::payload, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveEndpoint, profinet::PNRPCHeader::RESPONSE, profinet::rpc::RpcTests::TestRpcTransport::sentRequests, profinet::PNRPCHeader::sequenceNumber, profinet::PNIODReleaseBlock::sessionKey, and profinet::PNRPCHeader::version.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadyProcessesLittleEndianRequest | |||
| ) |
Definition at line 4566 of file test_rpc.cpp.
References BLOCK_IOD_CONTROL_APP_READY_RES, profinet::PNIODReleaseBlock::blockHeader, profinet::PNRPCHeader::CONTROL, profinet::PNIODReleaseBlock::controlCommand, profinet::Done, profinet::PNRPCHeader::interfaceVersion, profinet::PNIODReleaseBlock::kSize, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNIODReleaseBlock::Parse(), profinet::rpc::raw::ParseRawRpcHeader(), profinet::PNRPCHeader::payload, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveEndpoint, profinet::PNRPCHeader::RESPONSE, profinet::rpc::RpcTests::TestRpcTransport::sentRequests, profinet::PNRPCHeader::sequenceNumber, and profinet::PNIODReleaseBlock::sessionKey.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadyPropagatesReceiveException | |||
| ) |
Definition at line 4629 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receiveCount, profinet::rpc::RpcTests::TestRpcTransport::receiveException, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsInvalidRawRpcPacket | |||
| ) |
Definition at line 4384 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveCount, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsNonControlOperation | |||
| ) |
Definition at line 4424 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::PNRPCHeader::READ, profinet::rpc::RpcTests::TestRpcTransport::receiveCount, profinet::PNRPCHeader::REQUEST, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsNonRequestPacket | |||
| ) |
Definition at line 4400 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveCount, profinet::PNRPCHeader::RESPONSE, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsShortNrdBody | |||
| ) |
Definition at line 4474 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveCount, profinet::PNRPCHeader::REQUEST, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsShortNrdPayload | |||
| ) |
Definition at line 4450 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveCount, profinet::PNRPCHeader::REQUEST, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadySkipsWrongControlBlockType | |||
| ) |
Definition at line 4499 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::QueueIncomingDatagram(), profinet::rpc::RpcTests::TestRpcTransport::receiveCount, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ApplicationReadyThrowsWhenNotConnected | |||
| ) |
Definition at line 4374 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receiveCount.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ArUuidReturnsConnectionArUuid | |||
| ) |
Definition at line 2980 of file test_rpc.cpp.
References profinet::uuidLenght.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildAlarmCrBlockCombinesTransportAndPriority | |||
| ) |
Definition at line 2821 of file test_rpc.cpp.
References profinet::PNAlarmCRBlockReq::alarmCrProperties, profinet::PNAlarmCRBlockReq::etherTypeLT, profinet::IP_ETHERTYPE, and profinet::PNAlarmCRBlockReq::Parse().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildAlarmCrBlockCreatesExpectedBlockHeader | |||
| ) |
Definition at line 2832 of file test_rpc.cpp.
References profinet::PNAlarmCRBlockReq::BLOCK_TYPE, profinet::PNBlockHeader::blockLength, profinet::PNBlockHeader::blockType, profinet::PNBlockHeader::blockVersionHigh, profinet::PNBlockHeader::blockVersionLow, profinet::PNAlarmCRBlockReq::kSize, and profinet::PNBlockHeader::Parse().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildAlarmCrBlockEncodesPriority | |||
| ) |
Definition at line 2810 of file test_rpc.cpp.
References profinet::PNAlarmCRBlockReq::alarmCrProperties, profinet::PNAlarmCRBlockReq::etherTypeLT, profinet::PNAlarmCRBlockReq::Parse(), and profinet::PROFINET_ETHERTYPE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildAlarmCrBlockUsesIpEtherTypeForNonZeroTransport | |||
| ) |
Definition at line 2799 of file test_rpc.cpp.
References profinet::PNAlarmCRBlockReq::alarmCrProperties, profinet::PNAlarmCRBlockReq::etherTypeLT, profinet::IP_ETHERTYPE, and profinet::PNAlarmCRBlockReq::Parse().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildAlarmCrBlockUsesProfinetEtherTypeForTransportZero | |||
| ) |
Definition at line 2778 of file test_rpc.cpp.
References profinet::PNAlarmCRBlockReq::alarmCrProperties, profinet::PNAlarmCRBlockReq::alarmCrTagHeaderHigh, profinet::PNAlarmCRBlockReq::alarmCrTagHeaderLow, profinet::PNAlarmCRBlockReq::alarmCrType, profinet::PNAlarmCRBlockReq::DEFAULT_MAX_ALARM_DATA_LENGTH, profinet::PNAlarmCRBlockReq::DEFAULT_RTA_RETRIES, profinet::PNAlarmCRBlockReq::DEFAULT_RTA_TIMEOUT_FACTOR, profinet::PNAlarmCRBlockReq::DEFAULT_TAG_HEADER_HIGH, profinet::PNAlarmCRBlockReq::DEFAULT_TAG_HEADER_LOW, profinet::PNAlarmCRBlockReq::etherTypeLT, profinet::PNAlarmCRBlockReq::kSize, profinet::PNAlarmCRBlockReq::localAlarmReference, profinet::PNAlarmCRBlockReq::maxAlarmDataLength, profinet::PNAlarmCRBlockReq::Parse(), profinet::PROFINET_ETHERTYPE, profinet::PNAlarmCRBlockReq::rtaRetries, and profinet::PNAlarmCRBlockReq::rtaTimeoutFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildIocrBlockUsesConfiguredSlots | |||
| ) |
Definition at line 1300 of file test_rpc.cpp.
References profinet::Input, profinet::Output, profinet::PNIOCRBlockReqHeader::Parse(), and profinet::rpc::IOCRSetup::slots.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildObjectUuidPreservesDeviceAndVendorBytes | |||
| ) |
Definition at line 1475 of file test_rpc.cpp.
References profinet::ToHex().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildObjectUuidUsesFixedProfinetPrefixAndSuffix | |||
| ) |
Definition at line 1486 of file test_rpc.cpp.
References profinet::ToHex().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| BuildsExpectedRemoteObjectUuid | |||
| ) |
Definition at line 1466 of file test_rpc.cpp.
References profinet::ToHex().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| CheckTimeoutDoesNothingWhenNotConnected | |||
| ) |
Definition at line 3175 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CheckTimeoutDoesNotReconnectBeforeTimeout | |||
| ) |
Definition at line 3183 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receivedRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CheckTimeoutReconnectsAfterTimeout | |||
| ) |
Definition at line 3195 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, CONNECTION_TIMEOUT, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, and profinet::rpc::RpcTests::TestRpcTransport::responses.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CloseClosesBothTransportsWhenNotLive | |||
| ) |
Definition at line 4766 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::closeCount, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CloseDisconnectsAndClosesBothTransports | |||
| ) |
Definition at line 4751 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::closeCount, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectConvertsDevicePnioError | |||
| ) |
Definition at line 3280 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, profinet::PNRPCHeader::RESPONSE, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectConvertsRpcError | |||
| ) |
Definition at line 3292 of file test_rpc.cpp.
References profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectEstablishesBasicApplicationRelation | |||
| ) |
Definition at line 3223 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::rpc::RpcTests::TestRpcTransport::responses, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectLeavesAlarmCrDisabledWhenResponseHasNoAlarmCr | |||
| ) |
Definition at line 3265 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectRejectsMissingSourceMacDuringReconnect | |||
| ) |
Definition at line 3349 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectReplacesSourceMacDuringReconnect | |||
| ) |
Definition at line 3325 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectRequestsAlarmCr | |||
| ) |
Definition at line 3244 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectRequiresSourceMacForInitialConnection | |||
| ) |
Definition at line 3217 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectReturnsConnectResultForIocrSetup | |||
| ) |
Definition at line 3359 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, profinet::rpc::IOCRSetup::slots, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ConnectReusesSourceMacDuringReconnect | |||
| ) |
Definition at line 3307 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| CreateNrdBuildsExpectedWrapper | |||
| ) |
Definition at line 2722 of file test_rpc.cpp.
References profinet::PNNRDData::actualCount, profinet::PNNRDData::argsLength, profinet::PNNRDData::argsMaximumStatus, profinet::PNNRDData::maximumCount, profinet::PNNRDData::offset, profinet::PNNRDData::payload, and payload.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CreateNrdHandlesEmptyPayload | |||
| ) |
Definition at line 2742 of file test_rpc.cpp.
References profinet::PNNRDData::actualCount, profinet::PNNRDData::argsLength, profinet::PNNRDData::argsMaximumStatus, profinet::PNNRDData::maximumCount, profinet::PNNRDData::offset, and profinet::PNNRDData::payload.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| CreateNrdRoundTripsThroughSerialization | |||
| ) |
Definition at line 2756 of file test_rpc.cpp.
References profinet::PNNRDData::actualCount, profinet::PNNRDData::argsLength, profinet::PNNRDData::argsMaximumStatus, profinet::PNNRDData::maximumCount, profinet::PNNRDData::offset, profinet::PNNRDData::Parse(), profinet::PNNRDData::payload, payload, and profinet::PNNRDData::ToBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| CreateRpcBuildsExpectedHeader | |||
| ) |
Definition at line 1268 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONNECT, payload, and profinet::PNRPCHeader::REQUEST.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DeviceAlarmRefReturnsZeroInitially | |||
| ) |
Definition at line 3000 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DisconnectAlwaysClearsLive | |||
| ) |
Definition at line 4740 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::sendException.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DisconnectBuildsCorrectReleaseBlock | |||
| ) |
Definition at line 4680 of file test_rpc.cpp.
References profinet::PNIODReleaseBlock::arUuid, profinet::PNIODReleaseBlock::blockHeader, profinet::PNBlockHeader::blockLength, profinet::PNBlockHeader::blockType, profinet::PNBlockHeader::blockVersionHigh, profinet::PNBlockHeader::blockVersionLow, profinet::PNIODReleaseBlock::controlBlockProperties, profinet::PNIODReleaseBlock::controlCommand, profinet::PNIODReleaseBlock::padding1, profinet::PNIODReleaseBlock::padding2, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNBlockHeader::Parse(), profinet::PNIODReleaseBlock::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::Release, profinet::ReleaseRequest, profinet::rpc::RpcTests::TestRpcTransport::sentRequests, profinet::PNIODReleaseBlock::sessionKey, and StringToUuidBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| DisconnectDoesNothingWhenNotLive | |||
| ) |
Definition at line 4718 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DisconnectSendsReleaseRequestAndClearsLive | |||
| ) |
Definition at line 4642 of file test_rpc.cpp.
References profinet::PNIODReleaseBlock::arUuid, profinet::PNIODReleaseBlock::blockHeader, profinet::PNIODReleaseBlock::controlBlockProperties, profinet::PNIODReleaseBlock::controlCommand, profinet::PNIODReleaseBlock::kSize, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNIODReleaseBlock::padding1, profinet::PNIODReleaseBlock::padding2, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODReleaseBlock::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::Release, profinet::PNRPCHeader::RELEASE, profinet::ReleaseRequest, profinet::PNRPCHeader::REQUEST, profinet::rpc::RpcTests::TestRpcTransport::sentRequests, profinet::PNIODReleaseBlock::sessionKey, and StringToUuidBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| DisconnectSwallowsSendExceptionAndClearsLive | |||
| ) |
Definition at line 4728 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::sendException, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DiscoverSlotsReturnsRealIdentificationSlots | |||
| ) |
Definition at line 4005 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ, and profinet::REAL_ID_API.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| DiscoverTopologyReturnsBothTopologyRecords | |||
| ) |
Definition at line 4025 of file test_rpc.cpp.
References profinet::PD_REAL_DATA, profinet::PNRPCHeader::READ, and profinet::REAL_ID_API.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EnumerateIndicesReportsAllProbeOutcomes | |||
| ) |
Definition at line 4052 of file test_rpc.cpp.
References profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, and profinet::PNRPCHeader::RESPONSE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNameEpm | |||
| ) |
Definition at line 1543 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), profinet::rpc::EPMEndpoint::interfaceUuid, and UUID_EPM_V4.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNameIsCaseInsensitive | |||
| ) |
Definition at line 1192 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), and profinet::rpc::EPMEndpoint::interfaceUuid.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNameIsCaseInsensitiveForAllKnownInterfaces | |||
| ) |
Definition at line 1561 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), profinet::rpc::EPMEndpoint::interfaceUuid, UUID_EPM_V4, UUID_PNIO_CONTROLLER, UUID_PNIO_DEVICE, UUID_PNIO_PARAMETER_SERVER, and UUID_PNIO_SUPERVISOR.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNamePnioController | |||
| ) |
Definition at line 1516 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), profinet::rpc::EPMEndpoint::interfaceUuid, and UUID_PNIO_CONTROLLER.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNamePnioDevice | |||
| ) |
Definition at line 1507 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), profinet::rpc::EPMEndpoint::interfaceUuid, and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNamePnioParameterServer | |||
| ) |
Definition at line 1534 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), and profinet::rpc::EPMEndpoint::interfaceUuid.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNamePnioSupervisor | |||
| ) |
Definition at line 1525 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), and profinet::rpc::EPMEndpoint::interfaceUuid.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointInterfaceNameUnknown | |||
| ) |
Definition at line 1552 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), and profinet::rpc::EPMEndpoint::interfaceUuid.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointResolvesWellKnownProfinetInterfaceNames | |||
| ) |
Definition at line 1164 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), profinet::rpc::EPMEndpoint::interfaceUuid, UUID_PNIO_CONTROLLER, and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EPMEndpointUnknownUuidIncludesUuid | |||
| ) |
Definition at line 1181 of file test_rpc.cpp.
References profinet::rpc::EPMEndpoint::InterfaceName(), and profinet::rpc::EPMEndpoint::interfaceUuid.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupBuildsInterfaceFilteredRequest | |||
| ) |
Definition at line 1989 of file test_rpc.cpp.
References EPM_INQUIRY_INTERFACE, profinet::PNRPCHeader::kFixedSize, profinet::wire::Reader::SkipTo(), StringToUuidBytes(), profinet::wire::Reader::U16LittleEndian(), profinet::wire::Reader::U32LittleEndian(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupClampsBodyLengthToReceivedData | |||
| ) |
Definition at line 2136 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupHandlesZeroLengthAnnotation | |||
| ) |
Definition at line 2270 of file test_rpc.cpp.
References StringToUuidBytes(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupIgnoresEntryWithInvalidTower | |||
| ) |
Definition at line 2378 of file test_rpc.cpp.
References StringToUuidBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupReturnsEmptyForFaultResponse | |||
| ) |
Definition at line 2064 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupReturnsEmptyForShortBody | |||
| ) |
Definition at line 2113 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupReturnsEmptyForShortResponse | |||
| ) |
Definition at line 2042 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupReturnsEmptyForUnexpectedResponseType | |||
| ) |
Definition at line 2089 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupReturnsParsedEndpoint | |||
| ) |
Definition at line 1912 of file test_rpc.cpp.
References EPM_LOOKUP, profinet::PNRPCHeader::kFixedSize, profinet::PNRPCHeader::REQUEST, profinet::wire::Reader::SkipTo(), StringToUuidBytes(), profinet::wire::Reader::U16LittleEndian(), profinet::wire::Reader::U32LittleEndian(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupStopsOnTruncatedAnnotationLength | |||
| ) |
Definition at line 2238 of file test_rpc.cpp.
References profinet::uuidLenght.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupStopsOnTruncatedEntryUuid | |||
| ) |
Definition at line 2179 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupStopsOnTruncatedTowerPointer | |||
| ) |
Definition at line 2208 of file test_rpc.cpp.
References profinet::uuidLenght.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| EpmLookupTrimsTrailingAnnotationZeros | |||
| ) |
Definition at line 2321 of file test_rpc.cpp.
References StringToUuidBytes(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GenerateDifferentArUuids | |||
| ) |
Definition at line 1413 of file test_rpc.cpp.
References profinet::rpc::RPCCon::ArUuid().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GeneratedSessionKeysAreAlwaysNonZero | |||
| ) |
Definition at line 1451 of file test_rpc.cpp.
References profinet::rpc::RPCCon::SessionKey().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GenerateIndependentArAndActivityUuids | |||
| ) |
Definition at line 1429 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| GenerateNonZeroArUuid | |||
| ) |
Definition at line 1399 of file test_rpc.cpp.
References profinet::rpc::RPCCon::ArUuid(), and profinet::uuidLenght.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GenerateNonZeroSessionKey | |||
| ) |
Definition at line 1440 of file test_rpc.cpp.
References profinet::rpc::RPCCon::SessionKey().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoDiscoveryMatchesStationNameCaseInsensitive | |||
| ) |
Definition at line 2531 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoDiscoverySkipsNonMatchingDevice | |||
| ) |
Definition at line 2564 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoDoesNotFilterNonEmptyDirectResponse | |||
| ) |
Definition at line 2686 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoFallsBackToDiscovery | |||
| ) |
Definition at line 2497 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoNotFoundExceptionContainsStationName | |||
| ) |
Definition at line 2631 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoReturnsFirstDirectResponse | |||
| ) |
Definition at line 2408 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoSendsStationNameRequest | |||
| ) |
Definition at line 2446 of file test_rpc.cpp.
References profinet::dcp::DCP_MULTICAST_MAC, profinet::EthernetHeader::dst, frame, GetStationInfo(), profinet::Identify, profinet::EthernetHeader::Parse(), profinet::PNDCPHeader::Parse(), profinet::EthernetHeader::payload, profinet::PROFINET_ETHERTYPE, profinet::PNDCPHeader::serviceId, profinet::EthernetHeader::src, profinet::String2Mac(), and profinet::EthernetHeader::type.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoThrowsWhenDiscoveryFindsNoMatchingDevice | |||
| ) |
Definition at line 2601 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| GetStationInfoThrowsWhenDiscoveryReturnsNoResponses | |||
| ) |
Definition at line 2660 of file test_rpc.cpp.
References GetStationInfo(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| HasAlarmCrReturnsFalseInitially | |||
| ) |
Definition at line 3006 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| InfoReturnsDeviceDescription | |||
| ) |
Definition at line 2972 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| IOCRSetupCycleTimeCalculation | |||
| ) |
Definition at line 1202 of file test_rpc.cpp.
References profinet::rpc::IOCRSetup::CycleTimeMs(), profinet::rpc::IOCRSetup::CycleTimeUs(), profinet::rpc::IOCRSetup::reductionRatio, and profinet::rpc::IOCRSetup::sendClockFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| IOCRSetupValidateEmptySlots | |||
| ) |
Definition at line 1228 of file test_rpc.cpp.
References profinet::rpc::IOCRSetup::Validate(), and profinet::rpc::IOCRSetup::watchdogFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| IOCRSetupValidateFlagsEmptySlotsAndLowWatchdog | |||
| ) |
Definition at line 1217 of file test_rpc.cpp.
References profinet::rpc::IOCRSetup::Validate(), and profinet::rpc::IOCRSetup::watchdogFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| IOCRSetupValidateLowWatchdog | |||
| ) |
Definition at line 1240 of file test_rpc.cpp.
References profinet::rpc::IOCRSetup::Validate(), and profinet::rpc::IOCRSetup::watchdogFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| IOCRSetupValidateNormalConfiguration | |||
| ) |
Definition at line 1252 of file test_rpc.cpp.
References profinet::rpc::IOCRSetup::reductionRatio, profinet::rpc::IOCRSetup::sendClockFactor, profinet::rpc::IOCRSetup::slots, profinet::rpc::IOCRSetup::Validate(), and profinet::rpc::IOCRSetup::watchdogFactor.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| IsConnectedReturnsFalseInitially | |||
| ) |
Definition at line 2966 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| LocalAlarmRefReturnsConfiguredValue | |||
| ) |
Definition at line 2994 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| MakeEpmTowerEncodesEmptyThenInterfaceFloor | |||
| ) |
Definition at line 1686 of file test_rpc.cpp.
References UUID_PNIO_DEVICE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| MakeInterfaceTowerLhsCreatesValidInterfaceBlock | |||
| ) |
Definition at line 1638 of file test_rpc.cpp.
References StringToUuidBytes(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseContinuesAfterMalformedAlarmBlock | |||
| ) |
Definition at line 2893 of file test_rpc.cpp.
References profinet::blockHeaderLength.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseContinuesAfterMalformedBlock | |||
| ) |
Definition at line 2918 of file test_rpc.cpp.
References profinet::AlarmCrResponse, profinet::blockHeaderLength, profinet::PNBlockHeader::blockLength, profinet::PNBlockHeader::blockType, profinet::PNBlockHeader::blockVersionHigh, profinet::PNBlockHeader::blockVersionLow, and profinet::PNBlockHeader::ToBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseContinuesAfterUnrelatedBlock | |||
| ) |
Definition at line 2880 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseIgnoresTruncatedAlarmBlock | |||
| ) |
Definition at line 2907 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseIgnoresUnrelatedBlock | |||
| ) |
Definition at line 2862 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseReturnsLocalAlarmReference | |||
| ) |
Definition at line 2870 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseReturnsMinusOneAfterUnrelatedBlocks | |||
| ) |
Definition at line 2950 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseReturnsMinusOneForEmptyData | |||
| ) |
Definition at line 2844 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseAlarmCrResponseReturnsMinusOneForShortData | |||
| ) |
Definition at line 2850 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerContinuesAcrossAllFloors | |||
| ) |
Verifies that protocol, port and IP floors are parsed after the interface floor.
Definition at line 1893 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerIgnoresInterfaceDataFromLaterFloor | |||
| ) |
Definition at line 1862 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerIgnoresShortIpRhs | |||
| ) |
Definition at line 1813 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerIgnoresShortPortRhs | |||
| ) |
Definition at line 1783 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerIgnoresUnknownProtocol | |||
| ) |
Definition at line 1875 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerInterfaceFloorWithoutMinorVersion | |||
| ) |
Definition at line 1727 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerOnlyUsesFirstInterfaceFloorForInterfaceData | |||
| ) |
Definition at line 1845 of file test_rpc.cpp.
References ParseEpmTower(), UUID_PNIO_CONTROLLER, and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesBigEndianPort | |||
| ) |
Definition at line 1768 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesCompleteEndpoint | |||
| ) |
Definition at line 1828 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_CONTROLLER.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesInterfaceFloor | |||
| ) |
Definition at line 1656 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesInterfaceUuidAndVersions | |||
| ) |
Definition at line 1711 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesIpv4Address | |||
| ) |
Definition at line 1798 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerParsesUdpProtocol | |||
| ) |
Definition at line 1753 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerRejectsShortInterfaceFloor | |||
| ) |
Definition at line 1743 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerRejectsTooShortTower | |||
| ) |
Definition at line 1575 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerSkipsEmptyFloor | |||
| ) |
Definition at line 1677 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerSkipsEmptyLhs | |||
| ) |
Definition at line 1614 of file test_rpc.cpp.
References ParseEpmTower(), and UUID_PNIO_DEVICE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerStopsOnTruncatedFloorHeader | |||
| ) |
Definition at line 1582 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerStopsOnTruncatedLhs | |||
| ) |
Definition at line 1590 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerStopsOnTruncatedRhs | |||
| ) |
Definition at line 1606 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseEpmTowerStopsOnTruncatedRhsLength | |||
| ) |
Definition at line 1598 of file test_rpc.cpp.
References ParseEpmTower().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseFindsMatchingBlockAfterUnrelatedBlock | |||
| ) |
Definition at line 3060 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseIgnoresDifferentIocrType | |||
| ) |
Definition at line 3034 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseIgnoresMalformedIocrBlock | |||
| ) |
Definition at line 3050 of file test_rpc.cpp.
References profinet::PNIOCRBlockRes::BLOCK_TYPE, profinet::blockHeaderLength, and profinet::PNIOCRBlockRes::kSize.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseIgnoresUnrelatedBlock | |||
| ) |
Definition at line 3026 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseReturnsMatchingFrameId | |||
| ) |
Definition at line 3042 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseReturnsZeroForEmptyData | |||
| ) |
Definition at line 3012 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseIocrResponseReturnsZeroForShortData | |||
| ) |
Definition at line 3018 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseRawRpcHeaderExtractsPayloadAfterFixedHeader | |||
| ) |
Definition at line 4353 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize, profinet::rpc::raw::ParseRawRpcHeader(), payload, and profinet::PNRPCHeader::REQUEST.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseRawRpcHeaderParsesBigEndian | |||
| ) |
Definition at line 4265 of file test_rpc.cpp.
References profinet::rpc::raw::ParseRawRpcHeader(), payload, profinet::PNRPCHeader::REQUEST, and profinet::uuidLenght.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseRawRpcHeaderParsesLittleEndian | |||
| ) |
Definition at line 4309 of file test_rpc.cpp.
References profinet::rpc::raw::ParseRawRpcHeader(), payload, and profinet::PNRPCHeader::RESPONSE.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseRawRpcHeaderPreservesSerialHigh | |||
| ) |
Definition at line 4335 of file test_rpc.cpp.
References profinet::rpc::raw::ParseRawRpcHeader(), and profinet::PNRPCHeader::REQUEST.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ParseRawRpcHeaderRejectsShortData | |||
| ) |
Definition at line 4255 of file test_rpc.cpp.
References profinet::PNRPCHeader::kFixedSize, and profinet::rpc::raw::ParseRawRpcHeader().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| PNRPCHeaderInterfaceUuidBytes | |||
| ) |
Definition at line 1289 of file test_rpc.cpp.
References profinet::PNRPCHeader::IfaceUuidDevice(), and profinet::ToHex().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| PrmBeginSendsExpectedControlCommand | |||
| ) |
Definition at line 4180 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, CONTROL_CMD_PRM_BEGIN, profinet::PNIODReleaseBlock::controlCommand, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODReleaseBlock::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, and profinet::rpc::RpcTests::TestRpcTransport::responses.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| PrmEndSendsExpectedControlCommand | |||
| ) |
Definition at line 4207 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, CONTROL_CMD_PRM_END, profinet::PNIODReleaseBlock::controlCommand, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODReleaseBlock::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, and profinet::rpc::RpcTests::TestRpcTransport::responses.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllDiagnosisContinuesAfterRpcError | |||
| ) |
Definition at line 3936 of file test_rpc.cpp.
References profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllDiagnosisReturnsNonEmptyDiagnosisResults | |||
| ) |
Definition at line 3900 of file test_rpc.cpp.
References profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllImIgnoresRpcErrorForOptionalRecord | |||
| ) |
Definition at line 3608 of file test_rpc.cpp.
References profinet::PNInM2::IDX, profinet::rpc::AllIM::im0, profinet::rpc::AllIM::im1, profinet::rpc::AllIM::im2, profinet::rpc::AllIM::im3, profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllImIgnoresStandardExceptionForOptionalRecord | |||
| ) |
Definition at line 3645 of file test_rpc.cpp.
References profinet::PNInM3::IDX, profinet::rpc::AllIM::im0, profinet::rpc::AllIM::im1, profinet::rpc::AllIM::im3, profinet::rpc::AllIM::im4, profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllImPropagatesIm0Failure | |||
| ) |
Definition at line 3682 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadAllImReturnsAllSuccessfulRecords | |||
| ) |
Definition at line 3564 of file test_rpc.cpp.
References profinet::rpc::AllIM::im0, profinet::rpc::AllIM::im1, profinet::rpc::AllIM::im10, profinet::rpc::AllIM::im11, profinet::rpc::AllIM::im12, profinet::rpc::AllIM::im13, profinet::rpc::AllIM::im14, profinet::rpc::AllIM::im15, profinet::rpc::AllIM::im2, profinet::rpc::AllIM::im3, profinet::rpc::AllIM::im4, profinet::rpc::AllIM::im5, profinet::rpc::AllIM::im6, profinet::rpc::AllIM::im7, profinet::rpc::AllIM::im8, profinet::rpc::AllIM::im9, profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadDiagnosisFallsBackToSimpleParser | |||
| ) |
Definition at line 3813 of file test_rpc.cpp.
References profinet::wire::PutU16(), profinet::wire::PutU8(), and profinet::PNRPCHeader::READ.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadDiagnosisReturnsEmptyForRpcError | |||
| ) |
Definition at line 3878 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadDiagnosisReturnsEmptyForShortDiagnosisPayload | |||
| ) |
Definition at line 3854 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadDiagnosisUsesFullDiagnosisParser | |||
| ) |
Definition at line 3791 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadImplicitReturnsParsedIodResponse | |||
| ) |
Definition at line 3439 of file test_rpc.cpp.
References profinet::PNRPCHeader::IMPLICIT_READ, profinet::PNIODHeader::index, profinet::PNIODHeader::payload, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, and profinet::rpc::RpcTests::TestRpcTransport::responses.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadImplicitThrowsPnioErrorForDeviceError | |||
| ) |
Definition at line 3461 of file test_rpc.cpp.
References profinet::PNRPCHeader::IMPLICIT_READ, and profinet::PNRPCHeader::RESPONSE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadImWrappersReadAllIndividualIndices | |||
| ) |
Definition at line 3523 of file test_rpc.cpp.
References profinet::PNIODHeader::index, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODHeader::Parse(), profinet::PNRPCHeader::payload, and profinet::PNNRDData::payload.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadModuleDiffReturnsParsedModuleDifference | |||
| ) |
Definition at line 3772 of file test_rpc.cpp.
References profinet::MODULE_DIFF_BLOCK, and profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadPdRealDataReturnsParsedData | |||
| ) |
Definition at line 3967 of file test_rpc.cpp.
References profinet::PD_REAL_DATA, and profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadRawReturnsPayload | |||
| ) |
Definition at line 3504 of file test_rpc.cpp.
References payload, and profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadRealIdentificationDataReturnsParsedData | |||
| ) |
Definition at line 3984 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ, and profinet::REAL_ID_API.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadReturnsParsedIodResponse | |||
| ) |
Definition at line 3396 of file test_rpc.cpp.
References profinet::PNIODHeader::api, profinet::PNIODHeader::index, profinet::PNIODHeader::payload, profinet::PNRPCHeader::READ, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::rpc::RpcTests::TestRpcTransport::responses, profinet::PNIODHeader::slot, and profinet::PNIODHeader::subslot.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadThrowsPnioErrorForDeviceError | |||
| ) |
Definition at line 3425 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ, and profinet::PNRPCHeader::RESPONSE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| ReadyForRtClass3SendsExpectedControlCommand | |||
| ) |
Definition at line 4231 of file test_rpc.cpp.
References profinet::PNRPCHeader::CONTROL, CONTROL_CMD_READY_FOR_RT_CLASS_3, profinet::PNIODReleaseBlock::controlCommand, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNIODReleaseBlock::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, and profinet::rpc::RpcTests::TestRpcTransport::responses.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| RemoteObjectUuidHasExpectedLength | |||
| ) |
Definition at line 1499 of file test_rpc.cpp.
References profinet::uuidLenght.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendControlRejectsDisconnectedConnection | |||
| ) |
Definition at line 4111 of file test_rpc.cpp.
References profinet::PrmBegin.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendControlReturnsResponsePayload | |||
| ) |
Definition at line 4147 of file test_rpc.cpp.
References BLOCK_PRM_BEGIN_REQ, profinet::PNRPCHeader::CONTROL, and profinet::PrmBegin.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendControlSendsWithoutWaiting | |||
| ) |
Definition at line 4119 of file test_rpc.cpp.
References BLOCK_PRM_BEGIN_REQ, profinet::PNRPCHeader::CONTROL, profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNRPCHeader::Parse(), profinet::PNNRDData::Parse(), profinet::PNRPCHeader::payload, profinet::PNNRDData::payload, profinet::PrmBegin, profinet::PNRPCHeader::REQUEST, and profinet::rpc::RpcTests::TestRpcTransport::sentRequests.
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendControlThrowsPnioErrorForDeviceError | |||
| ) |
Definition at line 4166 of file test_rpc.cpp.
References BLOCK_PRM_BEGIN_REQ, profinet::PNRPCHeader::CONTROL, profinet::PrmBegin, and profinet::PNRPCHeader::RESPONSE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveRetriesAfterRequestPacket | |||
| ) |
Definition at line 3094 of file test_rpc.cpp.
References profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNRPCHeader::READ, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::PNRPCHeader::REQUEST, profinet::PNRPCHeader::RESPONSE, and profinet::rpc::RpcTests::TestRpcTransport::responses.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveReturnsResponseAndMarksConnectionLive | |||
| ) |
Definition at line 3070 of file test_rpc.cpp.
References profinet::PNRPCHeader::operationNumber, profinet::PNRPCHeader::packetType, profinet::PNRPCHeader::payload, payload, profinet::PNRPCHeader::READ, profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::PNRPCHeader::REQUEST, profinet::PNRPCHeader::RESPONSE, and profinet::rpc::RpcTests::TestRpcTransport::responses.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveThrowsForRejectedResponse | |||
| ) |
Definition at line 3142 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ, and profinet::PNRPCHeader::REJECT.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveThrowsForShortResponse | |||
| ) |
Definition at line 3115 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveThrowsForUnexpectedPacketType | |||
| ) |
Definition at line 3155 of file test_rpc.cpp.
References profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SendReceiveThrowsRpcFaultError | |||
| ) |
Definition at line 3128 of file test_rpc.cpp.
References profinet::PNRPCHeader::FAULT, profinet::PNRPCHeader::operationNumber, and profinet::PNRPCHeader::READ.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| SessionKeyReturnsInitialValue | |||
| ) |
Definition at line 2988 of file test_rpc.cpp.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| StringToUuidBytesRejectsMalformedInput | |||
| ) |
Definition at line 1155 of file test_rpc.cpp.
References StringToUuidBytes().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| UuidBytesToStringStringToUuidBytesRoundtrip | |||
| ) |
Definition at line 1144 of file test_rpc.cpp.
References StringToUuidBytes(), and UuidBytesToString().
Here is the call graph for this function:| profinet::rpc::TEST_F | ( | RpcTests | , |
| WriteCompletesSuccessfully | |||
| ) |
Definition at line 3472 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::rpc::RpcTests::TestRpcTransport::responses, and profinet::PNRPCHeader::WRITE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| WriteMultipleReturnsEmptyForNoWrites | |||
| ) |
Definition at line 3699 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receivedRequests.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| WriteMultipleSendsMultipleWrites | |||
| ) |
Definition at line 3716 of file test_rpc.cpp.
References profinet::rpc::RpcTests::TestRpcTransport::receivedRequests, profinet::rpc::RpcTests::TestRpcTransport::responses, and profinet::PNRPCHeader::WRITE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| WriteMultipleThrowsPnioErrorForDeviceError | |||
| ) |
Definition at line 3750 of file test_rpc.cpp.
References profinet::PNRPCHeader::RESPONSE, and profinet::PNRPCHeader::WRITE.
| profinet::rpc::TEST_F | ( | RpcTests | , |
| WriteThrowsPnioErrorForDeviceError | |||
| ) |
Definition at line 3490 of file test_rpc.cpp.
References profinet::PNRPCHeader::RESPONSE, and profinet::PNRPCHeader::WRITE.
| std::string profinet::rpc::UuidBytesToString | ( | const std::array< std::uint8_t, uuidLenght > & | data | ) |
Format a 16-byte DCE/RPC UUID as a canonical string.
| data | The 16 raw UUID bytes (mixed-endian DCE/RPC format). |
Definition at line 106 of file rpc.cpp.
References profinet::wire::Reader::Fixed(), profinet::ToHex(), profinet::wire::Reader::U16(), profinet::wire::Reader::U16LittleEndian(), and profinet::wire::Reader::U32LittleEndian().
Referenced by profinet::rpc::RPCCon::EpmLookup(), ParseEpmTower(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Block type: IODControlReqAppReady.
Definition at line 65 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::ApplicationReady(), TestRpcDevice::BuildApplicationReadyRequestPayload(), TestRpcDevice::ParseControlRequest(), TestRpcDevice::SendApplicationReadyRequest(), TestRpcDevice::SendControlRequest(), TEST_F(), TEST_F(), and TEST_F().
|
inlineconstexpr |
Block type: IODControlResAppReady.
Definition at line 67 of file rpcTypes.h.
Referenced by TestRpcDevice::ParseControlResponse(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inlineconstexpr |
|
inlineconstexpr |
Block type: IODControlReqRTClass3.
Definition at line 69 of file rpcTypes.h.
|
inlineconstexpr |
Block type: PrmBeginReq.
Definition at line 71 of file rpcTypes.h.
|
inlineconstexpr |
Block type: IODReleaseReq.
Definition at line 73 of file rpcTypes.h.
|
inlineconstexpr |
Maximum idle time in seconds before an AR is considered to need re-connection.
Definition at line 58 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::CheckTimeout(), and TEST_F().
|
inlineconstexpr |
Control command bit: ApplicationReady.
Definition at line 78 of file rpcTypes.h.
Referenced by TestRpcDevice::BuildApplicationReadyRequestPayload(), TestRpcDevice::SendApplicationReadyRequest(), and TEST_F().
|
inlineconstexpr |
|
inlineconstexpr |
Control command bit: PrmBegin.
Definition at line 88 of file rpcTypes.h.
Referenced by profinet::sim::VirtualProfinetRpcDevice::HandleControl(), and TEST_F().
|
inlineconstexpr |
Control command bit: PrmEnd.
Definition at line 76 of file rpcTypes.h.
Referenced by profinet::sim::VirtualProfinetRpcDevice::HandleControl(), TEST_F(), and TEST_F().
|
inlineconstexpr |
Control command bit: ReadyForCompanion.
Definition at line 84 of file rpcTypes.h.
|
inlineconstexpr |
Control command bit: ReadyForRTClass3.
Definition at line 86 of file rpcTypes.h.
Referenced by TEST_F().
|
inlineconstexpr |
Control command bit: Release.
Definition at line 80 of file rpcTypes.h.
|
inlineconstexpr |
Default RPC response timeout in seconds.
Definition at line 56 of file rpcTypes.h.
|
inlineconstexpr |
EPM inquiry type: all interfaces.
Definition at line 51 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::EpmLookup().
|
inlineconstexpr |
EPM inquiry type: specific interface.
Definition at line 53 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::EpmLookup(), and TEST_F().
|
inlineconstexpr |
EPM operation: Lookup.
Definition at line 49 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::EpmLookup(), profinet::rpc::RpcTests::MakeEpmResponse(), and TEST_F().
|
inlineconstexpr |
Interface version used for the PNIO device interface.
Definition at line 46 of file rpcTypes.h.
|
inlineconstexpr |
PROFINET IO RPC bind port (34965).
Definition at line 30 of file rpcTypes.h.
|
inlineconstexpr |
PROFINET IO RPC port (34964).
Definition at line 28 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::RPCCon(), and TestRpcDevice::ControllerCControlEndpoint().
|
inline |
Endpoint Mapper interface UUID.
Definition at line 35 of file rpcTypes.h.
Referenced by profinet::rpc::RPCCon::EpmLookup(), profinet::rpc::EPMEndpoint::InterfaceName(), TEST_F(), and TEST_F().
|
inline |
Null (all-zero) DCE/RPC UUID string.
Definition at line 33 of file rpcTypes.h.
|
inline |
PROFINET IO-Controller interface UUID.
Definition at line 39 of file rpcTypes.h.
Referenced by profinet::rpc::EPMEndpoint::InterfaceName(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
PROFINET IO-Device interface UUID.
Definition at line 37 of file rpcTypes.h.
Referenced by profinet::rpc::EPMEndpoint::InterfaceName(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
PROFINET IO-ParameterServer interface UUID.
Definition at line 43 of file rpcTypes.h.
Referenced by profinet::rpc::EPMEndpoint::InterfaceName(), and TEST_F().
|
inline |
PROFINET IO-Supervisor interface UUID.
Definition at line 41 of file rpcTypes.h.
Referenced by profinet::rpc::EPMEndpoint::InterfaceName(), and TEST_F().
|
inlineconstexpr |
Version high.
Definition at line 42 of file rpc.h.
Referenced by profinet::rpc::RPCCon::BuildAlarmCrBlock(), profinet::rpc::RPCCon::BuildIocrBlock(), profinet::rpc::RPCCon::Connect(), profinet::sim::VirtualProfinetRpcDevice::MakeAlarmCrResponse(), profinet::sim::VirtualProfinetRpcDevice::MakeIocrResponse(), profinet::rpc::RPCCon::Read(), and profinet::StubRpcTransport::SendReceive().
|
inlineconstexpr |
Version low.
Definition at line 44 of file rpc.h.
Referenced by profinet::rpc::RPCCon::BuildAlarmCrBlock(), profinet::rpc::RPCCon::BuildIocrBlock(), profinet::rpc::RPCCon::Connect(), profinet::sim::VirtualProfinetRpcDevice::MakeAlarmCrResponse(), profinet::sim::VirtualProfinetRpcDevice::MakeIocrResponse(), profinet::rpc::RPCCon::Read(), and profinet::StubRpcTransport::SendReceive().