Skip to content
Start free evaluation

pdcomm::configureFormattedProgramCapabilities

Function

Enables S7F21/F22 process capability exchange on an endpoint.

inline void configureFormattedProgramCapabilities(GemEndpoint &endpoint, const PdcommGemFormattedProgramCapabilityOptions &options)

Declared in: #include <pdcomm_gem_formatted_program_capabilities.hpp>

Call once while the endpoint is stopped, after the role is configured. Hosts can then ask for capabilities; equipment answers from the catalog set with replaceFormattedProgramCapabilityCatalog().

Parameters

NameDescription
endpointHost or equipment endpoint.
optionsLimits built with gemFormattedProgramCapabilityOptions().

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE when the endpoint is not stopped, has no role or is already configured; PDCOMM_INVALID_ARGUMENT for invalid options.