Skip to content
Start free evaluation

pdcomm::respondFormattedProgramVerificationRequest

Function

Sends S7F32 Verification Request Acknowledge for a received S7F31.

inline void respondFormattedProgramVerificationRequest(GemEndpoint &endpoint, GemResult &result, uint8_t acknowledgement)

Declared in: #include <pdcomm_gem_formatted_program_verification_requests.hpp>

Repeating the call with the same code after a successful response does nothing and succeeds; another code throws PDCOMM_STALE_TOKEN.

Parameters

NameDescription
endpointEquipment endpoint in GemCommunication::Communicating.
resultResult with GemOutcome::FormattedProgramVerificationRequestReceived from this endpoint.
acknowledgementACKC7, 0 to 7 (0 means accepted).

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_ARGUMENT for a code above 7; PDCOMM_INVALID_STATE on a host, when not communicating or for another result; PDCOMM_STALE_TOKEN for a result from another endpoint, connection or selection, or for a code that differs from an earlier attempt or the sent reply; PDCOMM_BACKPRESSURE when the reply cannot be queued (retry later).
  • This call changes result; do not run it concurrently with getters on it.