PdcommGemFormattedProgramQueryInfo
Struct
Summary of a query result, filled by pdcomm_gem_result_formatted_program_query_info().
typedef struct PdcommGemFormattedProgramQueryInfo { ... } PdcommGemFormattedProgramQueryInfoMembers
command_count
Field
Number of process commands in the returned program; 0 when no program is present.
size_t command_countid_format
Field
Format of the requested PPID, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY.
uint8_t id_formatis_request
Field
1 when the result is a received S7F25 primary (equipment side), 0 for an S7F26 result.
uint8_t is_requestpresent
Field
1 when the answer contains the program; 0 when it is absent or not yet known.
uint8_t presentpresent_known
Field
1 when the answer is known: always for an S7F26 result, and after the reply for a received S7F25.
uint8_t present_knownreply_ready
Field
1 when the result is an S7F25 primary that still needs pdcomm_gem_formatted_program_query_respond().
uint8_t reply_readyrequest_kind
Field
GEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_SEND for these results.
uint32_t request_kindreserved
Field
Reserved; written as zero.
uint8_t reserved[3]responded
Field
1 when S7F26 has been sent for this primary, or the result is itself an S7F26.
uint8_t respondedstruct_size
Field
Structure size; set it to at least sizeof(PdcommGemFormattedProgramQueryInfo).
size_t struct_sizeReceives the size written.