PdcommGemFormattedProgramCapabilityOptions
Struct
Limits for the formatted program capability service.
typedef struct PdcommGemFormattedProgramCapabilityOptions { ... } PdcommGemFormattedProgramCapabilityOptionsPass 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_bytesmax_command_code_bytes
Field
Largest CCODE (command code) length in bytes.
size_t max_command_code_bytesmax_commands
Field
Largest number of commands in one capability.
size_t max_commandsmax_dependencies_per_field
Field
Largest number of values in one dependency vector (BCDS, IBCDS, NBCDS, IACDS, or NACDS).
size_t max_dependencies_per_fieldmax_history
Field
Number of finished transactions remembered for replay detection; must be nonzero.
size_t max_historymax_parameters_per_command
Field
Largest number of parameter descriptors in one command.
size_t max_parameters_per_commandmax_pending
Field
Largest number of S7F21 requests the host can have outstanding; must be nonzero.
size_t max_pendingmax_received
Field
Largest number of received S7F21 requests the equipment can hold unanswered; must be nonzero.
size_t max_receivedmax_results
Field
Number of completed host results the service retains; must be nonzero.
size_t max_resultsmax_total_dependencies
Field
Largest number of dependency values across all commands; each command's ACDS value counts as one.
size_t max_total_dependenciesmax_total_parameter_bytes
Field
Largest total encoded size of all parameter descriptors, in bytes.
size_t max_total_parameter_bytesmax_total_parameters
Field
Largest number of parameter descriptors across all commands.
size_t max_total_parametersreserved
Field
Reserved; must be 0.
uint32_t reservedstruct_size
Field
Size of this structure in bytes; set to sizeof(PdcommGemFormattedProgramCapabilityOptions) or larger.
size_t struct_sizeversion
Field
Must be #PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_OPTIONS_VERSION.
uint32_t version