Holds information about a discovered device. More...
#include <kvrlib.h>
Data Fields | |
uint32_t | struct_size |
uint32_t | ean_hi |
uint32_t | ean_lo |
uint32_t | ser_no |
int32_t | fw_major_ver |
int32_t | fw_minor_ver |
int32_t | fw_build_ver |
char | name [256] |
char | host_name [256] |
int32_t | usage |
int32_t | accessibility |
char | accessibility_pwd [256] |
kvrAddress | device_address |
kvrAddress | client_address |
kvrAddress | base_station_id |
int32_t | request_connection |
int32_t | availability |
char | encryption_key [32] |
char | reserved1 [256] |
char | reserved2 [256] |
Holds information about a discovered device.
The information in here is returned when a device is discovered. For a WLAN connected device, device_address and client_address are IP addresses, and base_station_id is the ethernet MAC address of the AP.
Depending on the "availability" flag, not all fields may be used. If "availability" includes the flag kvrAvailability_STORED the following fields are set: ean_hi, ean_lo, ser_no, device_address, request_connection, name and accessibility_pwd.
If the field "availability" includes the flag kvrAvailability_FOUND_BY_SCAN, the following fields are set: fw_major_ver, fw_minor_ver, fw_build_ver, usage, accessibility, host_name and client_address.
int32_t accessibility |
char accessibility_pwd[256] |
Accessibility password or empty.
int32_t availability |
The device availability. One or more kvrAvailability_xxx flags.
kvrAddress base_station_id |
Unique ID of base station, if any.
kvrAddress client_address |
Address of connected client, if any.
kvrAddress device_address |
Address of remote device.
uint32_t ean_hi |
High part of EAN.
uint32_t ean_lo |
Low part of EAN.
char encryption_key[32] |
Encryption key.
int32_t fw_build_ver |
Firmware build version.
int32_t fw_major_ver |
Major firmware version.
int32_t fw_minor_ver |
Minor firmware version.
char host_name[256] |
DNS hostname or empty.
char name[256] |
User-defined name.
int32_t request_connection |
Activate or deactivate a request for connection to a specified device. Activation means that the device will be connected to when it appears in the future.
char reserved1[256] |
char reserved2[256] |
uint32_t ser_no |
Serial number.
uint32_t struct_size |
Size of struct, used for compatibility.
int32_t usage |