PdcommGemFormattedProgramTransferInfo
Struct
Summary of a transfer result, filled by pdcomm_gem_result_formatted_program_transfer_info().
typedef struct PdcommGemFormattedProgramTransferInfo { ... } PdcommGemFormattedProgramTransferInfoMembers
acknowledgement
Field
ACKC7 code: the code received in S7F24, or the code this side sent for a received S7F23.
uint8_t acknowledgementSEMI E5 defines 0 = accepted, 1 = permission not granted, 2 = length error, 3 = matrix overflow, 4 = PPID not found, 5 = unsupported mode, 6 = initiated for asynchronous completion, and 7 = storage limit error. Valid only when acknowledgement_present is 1.
acknowledgement_present
Field
1 when acknowledgement holds a code.
uint8_t acknowledgement_presentcommand_count
Field
Number of process commands in the received program; 0 for an S7F24 result.
size_t command_countid_format
Field
PPID format, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when the result carries no program.
uint8_t id_formatis_request
Field
1 when the result is a received S7F23 primary (equipment side), 0 for an S7F24 result.
uint8_t is_requestreply_ready
Field
1 when the result is an S7F23 primary that still needs an S7F24 reply.
uint8_t reply_readyrequest_kind
Field
GEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_SEND for these results.
uint32_t request_kindreserved
Field
Reserved; written as zero.
uint8_t reserved[3]responded
Field
1 when S7F24 has been sent for this primary, or the result is itself an S7F24.
uint8_t respondedstruct_size
Field
Structure size; set it to at least sizeof(PdcommGemFormattedProgramTransferInfo).
size_t struct_sizeReceives the size written.