pdcomm::respondFormattedProgramVerificationRequest
Function
Sends S7F32 Verification Request Acknowledge for a received S7F31.
inline void respondFormattedProgramVerificationRequest(GemEndpoint &endpoint, GemResult &result, uint8_t acknowledgement)Repeating the call with the same code after a successful response does nothing and succeeds; another code throws PDCOMM_STALE_TOKEN.
Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint in GemCommunication::Communicating. |
result | Result with GemOutcome::FormattedProgramVerificationRequestReceived from this endpoint. |
acknowledgement | ACKC7, 0 to 7 (0 means accepted). |
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_ARGUMENTfor a code above 7;PDCOMM_INVALID_STATEon a host, when not communicating or for another result;PDCOMM_STALE_TOKENfor a result from another endpoint, connection or selection, or for a code that differs from an earlier attempt or the sent reply;PDCOMM_BACKPRESSUREwhen the reply cannot be queued (retry later). - This call changes
result; do not run it concurrently with getters on it.