pdcomm::GemFormattedProgramVerificationNegotiationInfo
Struct
State of one verification negotiation, returned by formattedProgramVerificationNegotiationInfo().
struct GemFormattedProgramVerificationNegotiationInfoThe equipment prepares an S7F27 report, asks with S7F29 for permission to send its LENGTH bytes, and sends the report after an S7F30 grant. Equipment-side results (prepared, grant, acknowledgement and failure results) have #prepared set; the host's received S7F29 result has #replyReady set until it is answered.
Members
correlation
Field
Sequence number that identifies the negotiation; the prepared result and all later results of the same negotiation share it.
uint64_t correlationlength
Field
LENGTH sent in S7F29: the byte length of the prepared S7F27 body.
uint32_t lengthnegotiationTerminal
Field
Outcome of the S7F29/F30 stage: PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_NONE, ..._GRANTED, ..._DENIED, ..._TIMED_OUT or ..._DISCONNECTED.
uint32_t negotiationTerminalppGnt
Field
PPGNT from S7F30; valid when #ppGntPresent is true (0 means granted).
uint8_t ppGntppGntPresent
Field
true once a grant or denial was received or sent.
bool ppGntPresentprepared
Field
true for equipment-side results of a prepared negotiation.
bool preparedreplyReady
Field
true while a received S7F29 still waits for a response.
bool replyReadyrequest
Field
Always GemRequest::FormattedProgramVerificationNegotiationSend.
GemRequest requestresponded
Field
true after the host sent S7F30.
bool respondedstate
Field
Negotiation state: PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_PREPARED, ..._STATE_RECEIVED or ..._STATE_RESPONDED.
uint32_t statesubmitted
Field
true after S7F29 was sent.
bool submittedverificationTerminal
Field
Outcome of the S7F27/F28 stage after a grant, with the same constants; ..._GRANTED (1) means the S7F28 acknowledgement arrived. ..._NONE before that stage.
uint32_t verificationTerminal