PdcommGemFormattedProgramQueryOptions
Struct
Limits for the S7F25/S7F26 service and the Equipment program store.
typedef struct PdcommGemFormattedProgramQueryOptions { ... } PdcommGemFormattedProgramQueryOptionsPass this structure to pdcomm_gem_configure_formatted_program_queries(). The command and parameter limits apply to programs in the store and to programs received in S7F26.
Members
max_catalog_entries
Field
Largest number of programs in the store.
size_t max_catalog_entriesStorage for this many entries is reserved at configuration time. The store's total encoded size is limited to this value times the endpoint's SECS-II message_bytes limit.
max_catalog_identifier_bytes
Field
Largest sum of the PPID lengths of all stored programs, in bytes.
size_t max_catalog_identifier_bytesmax_commands
Field
Largest number of process commands in one program; must be below SIZE_MAX - 1.
size_t max_commandsmax_history
Field
Number of completed transactions remembered to reject replays; the oldest is discarded first.
size_t max_historyMust be nonzero.
max_parameters_per_command
Field
Largest number of PPARM items in one command.
size_t max_parameters_per_commandmax_pending
Field
Largest number of sent S7F25 requests awaiting S7F26; must be nonzero.
size_t max_pendingmax_received
Field
Largest number of received S7F25 requests awaiting a reply; must be nonzero.
size_t max_receivedA primary leaves this count when it is answered, or when its HSMS session ends (deselect or disconnect), because it can no longer be answered.
max_results
Field
Number of completed query outcomes the service retains; the oldest is discarded first.
size_t max_resultsMust be nonzero.
max_total_parameter_bytes
Field
Largest sum of the encoded sizes of all PPARM items in one program, in bytes.
size_t max_total_parameter_bytesmax_total_parameters
Field
Largest number of PPARM items in one program.
size_t max_total_parametersreserved
Field
Reserved; must be 0.
uint32_t reservedstruct_size
Field
Size of this structure in bytes; at least sizeof(PdcommGemFormattedProgramQueryOptions).
size_t struct_sizeversion
Field
Options layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_OPTIONS_VERSION.
uint32_t version