Skip to content
Start free evaluation

pdcomm_gem_configure_formatted_program_verification_negotiation

Function

Enables the verification negotiation service on a GEM endpoint.

PdcommStatus pdcomm_gem_configure_formatted_program_verification_negotiation(PdcommTcpEndpoint *endpoint, const PdcommGemFormattedProgramVerificationNegotiationOptions *options)

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

Call once, after configuring the GEM host or equipment and while the endpoint is stopped.

Parameters

NameDescription
endpointTCP endpoint with a configured GEM role.
optionsService limits; see ::PdcommGemFormattedProgramVerificationNegotiationOptions.

Returns

#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when endpoint or options is NULL, options->struct_size is too small, version is wrong, reserved is nonzero, or a queue limit is 0; #PDCOMM_INVALID_STATE when the endpoint is not stopped, holds a staged event, has no GEM role, or already has the service; #PDCOMM_ALLOCATION_FAILED; #PDCOMM_POISONED.