OptrisOptrisDocumentation

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

optris::sdk::BroadcastNetworkReply

The camera's answer to ConfigureNetworkByBroadcast().

Public attributes

answered

bool answered = false

A camera answered. False is BroadcastConfigStatus::kNoAnswer.

status

BroadcastConfigStatus status = BroadcastConfigStatus::kNoAnswer

The verdict. Read this first.

status_code

uint8_t status_code = 0

The camera's own status number, kept beside status so a status newer than this SDK is still reported exactly.

effect

BroadcastConfigEffect effect = BroadcastConfigEffect::kAtNextStart

When the setting applies. Meaningful only for kTaken.

effect_code

uint8_t effect_code = 0

The camera's own number for effect.

refusal

BroadcastConfigRefusal refusal = BroadcastConfigRefusal::kNone

Why it was refused, kNone unless status is kRefused.

refusal_code

uint8_t refusal_code = 0

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

request_id

uint32_t request_id = 0

The id this request carried, which the answer echoed.

camera

NetworkDiscoveryInfo camera

What the camera reported about itself in its answer, when answered. Its address is the new address when the setting was taken, and the address the camera kept when it was not. The answer carries no mask and no gateway, so neither is here.