optris_sdk_broadcast_network_config
A network setting for the camera with a given MAC address, sent by broadcast.
Initialise with optris_sdk_broadcast_network_config_init(), which writes the defaults: a 3000 ms timeout and 3 attempts.
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_broadcast_network_config).
timeout_ms
uint32_t timeout_ms
How long to wait for the camera's answer, in all, in milliseconds. Zero uses 3000.
attempts
uint32_t attempts
How many times to send the request within timeout_ms while no answer has come. Zero is refused with OPTRIS_SDK_ERROR_CONFIGURATION.
immediately
int32_t immediately
Non-zero applies the new address at once rather than at the camera's next start.
mac_address
char mac_address[OPTRIS_SDK_MAX_ADDRESS]
Which camera: "9C:43:1E:70:40:3E", "9c-43-1e-70-40-3e" or "9C431E70403E".
ip_address
char ip_address[OPTRIS_SDK_MAX_ADDRESS]
The camera's new address, e.g. "10.0.2.213".
subnet_mask
char subnet_mask[OPTRIS_SDK_MAX_ADDRESS]
The mask for it, e.g. "255.255.240.0".
gateway
char gateway[OPTRIS_SDK_MAX_ADDRESS]
The gateway; empty or "0.0.0.0" for none.