Skip to content
Start free evaluation

PdcommGemFormattedProgramCapabilityOptions

Struct

Limits for the formatted program capability service.

typedef struct PdcommGemFormattedProgramCapabilityOptions { ... } PdcommGemFormattedProgramCapabilityOptions

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

Pass to pdcomm_gem_configure_formatted_program_capabilities(). The content limits apply both to the equipment catalog and to S7F22 data parsed by the host. A content limit of zero is accepted and rejects any content of that kind. SECS-II item limits come from the GEM configuration of the endpoint.

Members

max_capability_bytes

Field

Largest encoded size of the whole S7F22 capability body, in bytes.

size_t max_capability_bytes

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_command_code_bytes

Field

Largest CCODE (command code) length in bytes.

size_t max_command_code_bytes

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_commands

Field

Largest number of commands in one capability.

size_t max_commands

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_dependencies_per_field

Field

Largest number of values in one dependency vector (BCDS, IBCDS, NBCDS, IACDS, or NACDS).

size_t max_dependencies_per_field

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_history

Field

Number of finished transactions remembered for replay detection; must be nonzero.

size_t max_history

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_parameters_per_command

Field

Largest number of parameter descriptors in one command.

size_t max_parameters_per_command

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_pending

Field

Largest number of S7F21 requests the host can have outstanding; must be nonzero.

size_t max_pending

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_received

Field

Largest number of received S7F21 requests the equipment can hold unanswered; must be nonzero.

size_t max_received

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_results

Field

Number of completed host results the service retains; must be nonzero.

size_t max_results

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_total_dependencies

Field

Largest number of dependency values across all commands; each command's ACDS value counts as one.

size_t max_total_dependencies

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_total_parameter_bytes

Field

Largest total encoded size of all parameter descriptors, in bytes.

size_t max_total_parameter_bytes

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

max_total_parameters

Field

Largest number of parameter descriptors across all commands.

size_t max_total_parameters

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

reserved

Field

Reserved; must be 0.

uint32_t reserved

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

struct_size

Field

Size of this structure in bytes; set to sizeof(PdcommGemFormattedProgramCapabilityOptions) or larger.

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>

version

Field

Must be #PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_OPTIONS_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_capabilities.h>