OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

BroadcastNetworkReply

pub struct BroadcastNetworkReply

A camera's answer to configure_network_by_broadcast.

#[non_exhaustive]: read the fields, do not build one.

BroadcastNetworkReply — fields

answered: bool

A camera answered.

status: BroadcastConfigStatus

The verdict. Read this first. Every value except BroadcastConfigStatus::Taken means nothing was stored.

status_code: u8

The camera's own status number.

effect: BroadcastConfigEffect

When the setting applies. Meaningful only for BroadcastConfigStatus::Taken.

effect_code: u8

The camera's own number for effect.

refusal: BroadcastConfigRefusal

Why it was refused.

refusal_code: u8

The camera's own number for refusal.

request_id: u32

The id the request carried, which the answer echoed.

camera: Option<NetworkDiscoveryInfo>

What the camera reported about itself in its answer, or None when nothing answered. Its address is the new one when the setting was taken and the one the camera kept otherwise.