Skip to content
Start free evaluation

PdcommGemFormattedProgramCapabilityInfo

Struct

Summary of a capability result, filled by pdcomm_gem_result_formatted_program_capability_info().

typedef struct PdcommGemFormattedProgramCapabilityInfo { ... } PdcommGemFormattedProgramCapabilityInfo

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

Members

byte_maximum

Field

BYTMAX: maximum process program size in bytes; 0 when the result holds no capability.

uint32_t byte_maximum

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

command_count

Field

Number of commands in the capability; 0 when the result holds no capability.

size_t command_count

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

command_maximum

Field

CMDMAX: maximum number of commands in a process program; 0 when the result holds no capability.

uint8_t command_maximum

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

is_request

Field

1 when the result is a received S7F21 request (equipment side), 0 for host data results.

uint8_t is_request

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

reply_ready

Field

1 when the result is a received request that still needs pdcomm_gem_formatted_program_capability_respond().

uint8_t reply_ready

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

request_kind

Field

GEM request kind copied from the result, normally #PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_SEND.

uint32_t request_kind

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

reserved

Field

Reserved; written as 0.

uint32_t reserved

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

responded

Field

1 when S7F22 has been sent for a received request, or for a host data result.

uint8_t responded

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

struct_size

Field

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

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

Receives the size written.