OptrisOptrisDocumentation

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

optris_sdk_broadcast_network_reply

The camera's answer to optris_sdk_configure_network_by_broadcast().

Initialise with optris_sdk_broadcast_network_reply_init(), which also fills in camera's own struct_size.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_broadcast_network_reply).

answered

int32_t answered

Non-zero when a camera answered.

status

optris_sdk_broadcast_config_status status

One of the optris_sdk_broadcast_config_status values. Read this first.

status_code

uint32_t status_code

The camera's own status number.

effect

optris_sdk_broadcast_config_effect effect

One of the optris_sdk_broadcast_config_effect values. Meaningful only for OPTRIS_SDK_BROADCAST_CONFIG_TAKEN.

effect_code

uint32_t effect_code

The camera's own number for effect.

refusal

optris_sdk_broadcast_config_refusal refusal

One of the optris_sdk_broadcast_config_refusal values.

refusal_code

uint32_t refusal_code

The camera's own number for refusal, 0 when not refused.

request_id

uint32_t request_id

The id the request carried, which the answer echoed.

reserved0

uint32_t reserved0

Reserved; always zero.

camera

optris_sdk_network_discovery_info camera

What the camera reported about itself in its answer. Its address is the new address when the setting was taken, and the address the camera kept otherwise. Empty when answered is zero.