pdcomm_gem_formatted_program_verification_retry_response
Function
Resends the staged S7F30 reply of a received inquiry.
PdcommStatus pdcomm_gem_formatted_program_verification_retry_response(PdcommTcpEndpoint *endpoint, PdcommGemResult *result)Host only. Use it after pdcomm_gem_formatted_program_verification_respond() failed to send. On success the result's outcome becomes #PDCOMM_GEM_REPLIED, reply_sent becomes 1, the state becomes RESPONDED, the result records the staged PPGNT (pp_gnt_present becomes 1), and the negotiation terminal becomes GRANTED (PPGNT 0) or DENIED.
Parameters
| Name | Description |
|---|---|
endpoint | Communicating GEM host endpoint that produced result. |
result | Host-side inquiry result. |
Returns
#PDCOMM_OK when the staged reply was queued; #PDCOMM_INVALID_ARGUMENT when endpoint or result is NULL; #PDCOMM_INVALID_STATE when the endpoint is not a communicating GEM host, the service is not configured, or result is not a negotiation result; #PDCOMM_STALE_TOKEN when result is not an unanswered host-side inquiry of this endpoint and session; #PDCOMM_STALE_TOKEN also when no reply has been staged yet; #PDCOMM_BACKPRESSURE when the endpoint holds a staged TCP event or the send queue is full; #PDCOMM_ALLOCATION_FAILED; other TCP statuses such as #PDCOMM_IO_ERROR; #PDCOMM_POISONED.