OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_config_load_report

What an import did. Mirrors optris::sdk::ConfigLoadReport.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_config_load_report).

outcome

optris_sdk_config_load_outcome outcome

One of the optris_sdk_config_load_outcome values. Read first.

present_sections

optris_sdk_config_section present_sections

The sections the file carried, whether or not they took effect.

applied_sections

optris_sdk_config_section applied_sections

The sections now in effect on the camera.

omitted_sections

optris_sdk_config_section omitted_sections

The sections the file carried that are not in effect.

serial_matched

uint8_t serial_matched

Non-zero if file_serial is this camera's, or if the file named no serial. Zero is not in itself a failure -- see optris_sdk_config_load_options::require_matching_serial.

reserved0

uint8_t reserved0[3]

Reserved; always zero.

file_serial

char file_serial[OPTRIS_SDK_MAX_NAME]

The serial recorded in the file, or empty if it had none.

diagnosis

char diagnosis[OPTRIS_SDK_MAX_MESSAGE]

What happened, in words. Empty when there is nothing to say. Log it or show it; do not parse it -- the fields above are what a program branches on.