Skip to content
Start free evaluation

PdcommGemFormattedProgramVerificationNegotiationInfo

Struct

Negotiation details of a GEM result, filled by pdcomm_gem_result_formatted_program_verification_negotiation_info().

typedef struct PdcommGemFormattedProgramVerificationNegotiationInfo { ... } PdcommGemFormattedProgramVerificationNegotiationInfo

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

Members

correlation

Field

Sequence number shared by every result of the same negotiation on this endpoint.

uint64_t correlation

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

length

Field

LENGTH: byte length of the S7F27 body, computed by the equipment or received by the host.

uint32_t length

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

negotiation_terminal

Field

Outcome of the S7F29/S7F30 exchange, a TERMINAL_* value.

uint32_t negotiation_terminal

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

pp_gnt

Field

PPGNT grant code; valid only when pp_gnt_present is 1. 0 means granted.

uint8_t pp_gnt

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

pp_gnt_present

Field

1 when a PPGNT code was sent (host) or received (equipment).

uint8_t pp_gnt_present

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

prepared

Field

1 for equipment-side records, 0 for host-side S7F29 records.

uint8_t prepared

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

reply_ready

Field

1 when the result is a host-side inquiry that still needs pdcomm_gem_formatted_program_verification_respond().

uint8_t reply_ready

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

request_kind

Field

GEM request kind copied from the result; see #PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_SEND.

uint32_t request_kind

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

reserved

Field

Reserved; written as 0.

uint8_t reserved[2]

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

responded

Field

1 when the host has answered the inquiry with S7F30.

uint8_t responded

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

state

Field

Record state, a PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_* value.

uint32_t state

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

struct_size

Field

Structure size; set to sizeof(PdcommGemFormattedProgramVerificationNegotiationInfo) or larger.

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

Receives the size written.

submitted

Field

1 when the equipment has sent the S7F29 inquiry for this negotiation.

uint8_t submitted

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>

verification_terminal

Field

Outcome of the S7F27/S7F28 exchange after a grant, a TERMINAL_* value (GRANTED means acknowledged).

uint32_t verification_terminal

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.h>