optris_sdk_enumeration_options
Filters applied while enumerating.
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_enumeration_options).
include_simulated
uint8_t include_simulated
Include a simulated device in the results.
include_network
uint8_t include_network
Search the network as well as local buses. This is what makes enumeration slow; it is off by default.
filter_by_device_type
uint8_t filter_by_device_type
Only report devices of device_type. Ignored unless filter_by_device_type is set.
filter_by_connection_type
uint8_t filter_by_connection_type
Only look on connection_type, and only report what is found there. Ignored unless filter_by_connection_type is set.
This one decides which sources are read, so it makes a sweep cheaper as well as narrower: OPTRIS_SDK_CONNECTION_USB sends no broadcast whatever include_network says, OPTRIS_SDK_CONNECTION_NETWORK does not read the local buses, and OPTRIS_SDK_CONNECTION_SIMULATED touches no hardware at all and returns at once. Contrast filter_by_device_type, which can only be applied to results.
device_type
optris_sdk_device_type device_type
The model to filter on.
connection_type
optris_sdk_connection_type connection_type
The attachment to filter on.
network_discovery_timeout_ms
uint32_t network_discovery_timeout_ms
How long to wait for network devices to answer, in milliseconds. Ignored unless include_network is set.
reserved0
uint32_t reserved0
Reserved; always zero.