optris_sdk_network_discovery_info
What a network camera said about itself the last time it answered discovery: the fields optris_sdk_device_info has no place for.
Initialise with optris_sdk_network_discovery_info_init().
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_network_discovery_info).
stream_port
uint16_t stream_port
The UDP port the camera sends its stream to.
protocol_version
uint16_t protocol_version
The version of the discovery record. 1000: the camera answers by unicast and cannot be configured by broadcast. 1001: it answers by broadcast, so it is found from a host in another subnet of the same network segment, and it understands optris_sdk_configure_network_by_broadcast().
hardware_revision
uint32_t hardware_revision
as in optris_sdk_device_info
firmware_revision
uint32_t firmware_revision
as in optris_sdk_device_info
answers_by_broadcast
int32_t answers_by_broadcast
Non-zero when protocol_version is 1001 or later.
accepts_broadcast_config
int32_t accepts_broadcast_config
Non-zero when the camera accepts a network setting by broadcast. Zero for a camera that cannot take one and for one whose owner has switched it off; such a camera answers optris_sdk_configure_network_by_broadcast() with OPTRIS_SDK_BROADCAST_CONFIG_REFUSED.
discovery_policy
uint32_t discovery_policy
The camera's policy byte as it sent it. Bit 0 is accepts_broadcast_config. Zero for a version 1000 camera.
reserved0
uint32_t reserved0
Reserved; always zero. Named so the struct has no implicit padding.
age_ms
uint64_t age_ms
How long ago, in milliseconds, the reply was heard.
serial
char serial[OPTRIS_SDK_MAX_SERIAL]
The camera's serial number, as in optris_sdk_device_info.
mac_address
char mac_address[OPTRIS_SDK_MAX_ADDRESS]
The camera's MAC address, "9C:43:1E:70:40:3E".
address
char address[OPTRIS_SDK_MAX_ADDRESS]
The address the camera has now.
stream_destination
char stream_destination[OPTRIS_SDK_MAX_ADDRESS]
Where the camera sends its stream, as it reported it.
heard_on
char heard_on[OPTRIS_SDK_MAX_ADDRESS]
This host's address on the interface the reply arrived on.