Skip to content
Start free evaluation

pdcomm::respondFormattedProgramVerificationNegotiation

Function

Sends S7F30 Process Program Verification Grant for a received S7F29.

inline void respondFormattedProgramVerificationNegotiation(GemEndpoint &endpoint, GemResult &result, uint8_t ppGnt)

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

Repeating the call with the same PPGNT after a successful response does nothing and succeeds.

Parameters

NameDescription
endpointHost endpoint in GemCommunication::Communicating.
resultResult with GemOutcome::FormattedProgramVerificationNegotiationReceived.
ppGntPPGNT, 0 to 63 (0 grants the S7F27 transfer).

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_ARGUMENT for a value above 63; PDCOMM_INVALID_STATE on equipment or when not communicating; PDCOMM_STALE_TOKEN for a stale request, or for a PPGNT that differs from an earlier attempt or the sent reply; PDCOMM_BACKPRESSURE or another send failure, after which retryFormattedProgramVerificationNegotiationResponse() resends the same reply.
  • This call changes result; do not run it concurrently with getters on it.