Skip to content
Start free evaluation

pdcomm::GemFormattedProgramVerificationNegotiationInfo

Struct

State of one verification negotiation, returned by formattedProgramVerificationNegotiationInfo().

struct GemFormattedProgramVerificationNegotiationInfo

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

The 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 correlation

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

length

Field

LENGTH sent in S7F29: the byte length of the prepared S7F27 body.

uint32_t length

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

negotiationTerminal

Field

Outcome of the S7F29/F30 stage: PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_NONE, ..._GRANTED, ..._DENIED, ..._TIMED_OUT or ..._DISCONNECTED.

uint32_t negotiationTerminal

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

ppGnt

Field

PPGNT from S7F30; valid when #ppGntPresent is true (0 means granted).

uint8_t ppGnt

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

ppGntPresent

Field

true once a grant or denial was received or sent.

bool ppGntPresent

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

prepared

Field

true for equipment-side results of a prepared negotiation.

bool prepared

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

replyReady

Field

true while a received S7F29 still waits for a response.

bool replyReady

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

request

Field

Always GemRequest::FormattedProgramVerificationNegotiationSend.

GemRequest request

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

responded

Field

true after the host sent S7F30.

bool responded

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

state

Field

Negotiation state: PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_PREPARED, ..._STATE_RECEIVED or ..._STATE_RESPONDED.

uint32_t state

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

submitted

Field

true after S7F29 was sent.

bool submitted

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

verificationTerminal

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

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>