Skip to content
Start free evaluation

PdcommGemCommandParameterInfo

Struct

Definition of one stored command parameter.

typedef struct PdcommGemCommandParameterInfo { ... } PdcommGemCommandParameterInfo

Declared in: #include <pdcomm_gem_commands.h>

Filled by pdcomm_gem_equipment_command_parameter_at() and pdcomm_gem_equipment_enhanced_command_parameter_at(). Absent optional values read as 0.

Members

format

Field

Required SECS-II format code; 0 when format_present is 0.

uint8_t format

Declared in: #include <pdcomm_gem_commands.h>

format_present

Field

1 when format is enforced.

uint8_t format_present

Declared in: #include <pdcomm_gem_commands.h>

max_count

Field

Largest allowed element count of the CPVAL item.

size_t max_count

Declared in: #include <pdcomm_gem_commands.h>

maximum

Field

Inclusive upper bound; 0 when maximum_present is 0.

PdcommGemInt128 maximum

Declared in: #include <pdcomm_gem_commands.h>

maximum_present

Field

1 when maximum is enforced.

uint8_t maximum_present

Declared in: #include <pdcomm_gem_commands.h>

min_count

Field

Smallest allowed element count of the CPVAL item.

size_t min_count

Declared in: #include <pdcomm_gem_commands.h>

minimum

Field

Inclusive lower bound; 0 when minimum_present is 0.

PdcommGemInt128 minimum

Declared in: #include <pdcomm_gem_commands.h>

minimum_present

Field

1 when minimum is enforced.

uint8_t minimum_present

Declared in: #include <pdcomm_gem_commands.h>

required

Field

1 when the parameter is required.

uint8_t required

Declared in: #include <pdcomm_gem_commands.h>

struct_size

Field

Structure size; set to sizeof(PdcommGemCommandParameterInfo) or larger, receives the size written.

size_t struct_size

Declared in: #include <pdcomm_gem_commands.h>