Skip to content
Start free evaluation

PdcommGemFormattedProgramQueryInfo

Struct

Summary of a query result, filled by pdcomm_gem_result_formatted_program_query_info().

typedef struct PdcommGemFormattedProgramQueryInfo { ... } PdcommGemFormattedProgramQueryInfo

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

Members

command_count

Field

Number of process commands in the returned program; 0 when no program is present.

size_t command_count

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

id_format

Field

Format of the requested PPID, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY.

uint8_t id_format

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

is_request

Field

1 when the result is a received S7F25 primary (equipment side), 0 for an S7F26 result.

uint8_t is_request

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

present

Field

1 when the answer contains the program; 0 when it is absent or not yet known.

uint8_t present

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

present_known

Field

1 when the answer is known: always for an S7F26 result, and after the reply for a received S7F25.

uint8_t present_known

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

reply_ready

Field

1 when the result is an S7F25 primary that still needs pdcomm_gem_formatted_program_query_respond().

uint8_t reply_ready

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

request_kind

Field

GEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_SEND for these results.

uint32_t request_kind

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

reserved

Field

Reserved; written as zero.

uint8_t reserved[3]

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

responded

Field

1 when S7F26 has been sent for this primary, or the result is itself an S7F26.

uint8_t responded

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

struct_size

Field

Structure size; set it to at least sizeof(PdcommGemFormattedProgramQueryInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

Receives the size written.