Skip to content
Start free evaluation

pdcomm::configureFormattedProgramVerificationRequests

Function

Enables S7F31/F32 verification requests on an endpoint.

inline void configureFormattedProgramVerificationRequests(GemEndpoint &endpoint, const PdcommGemFormattedProgramVerificationRequestOptions &options)

Declared in: #include <pdcomm_gem_formatted_program_verification_requests.hpp>

Call once while the endpoint is stopped, after the role is configured. Hosts can then send verification requests and equipment can receive and acknowledge them.

const auto options =
    pdcomm::gemFormattedProgramVerificationRequestOptions(2, 2, 2, 64, 1, 1, 1, 2);
pdcomm::configureFormattedProgramVerificationRequests(host, options);
pdcomm::configureFormattedProgramVerificationRequests(equipment, options);

Parameters

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

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.