68 #define kvrConfigMode_R 0 69 #define kvrConfigMode_RW 1 70 #define kvrConfigMode_ERASE 2 79 #define kvrServiceState_VOID 0 80 #define kvrServiceState_AVAILABLE 1 81 #define kvrServiceState_DISCOVERED 2 84 #define kvrServiceState_STARTING 3 85 #define kvrServiceState_STARTED 4 86 #define kvrServiceState_CONNECTION_DOWN 5 90 #define kvrServiceState_CONNECTION_UP 6 91 #define kvrServiceState_REDISCOVER 7 92 #define kvrServiceState_UNWILLING 8 93 #define kvrServiceState_REDISCOVER_PENDING 9 94 #define kvrServiceState_CLOSING 10 95 #define kvrServiceState_REMOVE_ME 11 97 #define kvrServiceState_STANDBY 12 98 #define kvrServiceState_CONFIG_CHANGED 13 99 #define kvrServiceState_STOPPING 14 100 #define kvrServiceState_INSTALLING 15 109 #define kvrStartInfo_NONE 0 110 #define kvrStartInfo_START_OK 1 111 #define kvrStartInfo_ERR_IN_USE 2 112 #define kvrStartInfo_ERR_PWD 3 113 #define kvrStartInfo_ERR_NOTME 4 114 #define kvrStartInfo_ERR_CONFIGURING 5 115 #define kvrStartInfo_ERR_PARAM 6 116 #define kvrStartInfo_ERR_ENCRYPTION_PWD 7 165 kvrStatus WINAPI kvrConfigOpen(int32_t can_channel_no, 167 const char *password,
168 kvrConfigHandle *handle);
249 const char *password,
250 kvrConfigHandle *handle,
251 uint32_t profile_no);
281 uint32_t err_buffer_size);
312 uint32_t xml_buffer_size);
335 uint32_t xml_buffer_size);
390 #define kvrAddressType_UNKNOWN 0 391 #define kvrAddressType_IPV4 1 392 #define kvrAddressType_IPV6 2 393 #define kvrAddressType_IPV4_PORT 3 394 #define kvrAddressType_MAC 4 400 typedef int32_t kvrRssiHistory; 413 #define kvrNetworkState_UNKNOWN 0 414 #define kvrNetworkState_INVALID 1 415 #define kvrNetworkState_STARTUP 2 416 #define kvrNetworkState_INITIALIZING 3 417 #define kvrNetworkState_NOT_CONNECTED 4 418 #define kvrNetworkState_CONNECTION_DELAY 5 419 #define kvrNetworkState_CONNECTING 6 420 #define kvrNetworkState_CONNECTED 7 421 #define kvrNetworkState_AUTHENTICATING 8 422 #define kvrNetworkState_AUTHENTICATION_FAILED 9 423 #define kvrNetworkState_ONLINE 10 424 #define kvrNetworkState_FAILED_MIC 11 433 #define kvrBss_INFRASTRUCTURE 0 434 #define kvrBss_INDEPENDENT 1 445 #define kvrRegulatoryDomain_JAPAN_TELEC 0 446 #define kvrRegulatoryDomain_EUROPE_ETSI 1 447 #define kvrRegulatoryDomain_NORTH_AMERICA_FCC 2 448 #define kvrRegulatoryDomain_WORLD 3 449 #define kvrRegulatoryDomain_CHINA_MII 4 470 kvrStatus WINAPI kvrNetworkConnectionTest(kvrConfigHandle handle, 491 uint32_t *rssi_count,
494 uint32_t *rtt_count);
553 uint32_t *capability,
568 char* buffer, uint32_t buffer_size);
582 char* buffer, uint32_t buffer_size);
637 #define kvrDeviceUsage_UNKNOWN 0 638 #define kvrDeviceUsage_FREE 1 639 #define kvrDeviceUsage_REMOTE 2 640 #define kvrDeviceUsage_USB 3 641 #define kvrDeviceUsage_CONFIG 4 650 #define kvrAccessibility_UNKNOWN 0 651 #define kvrAccessibility_PUBLIC 1 652 #define kvrAccessibility_PROTECTED 2 653 #define kvrAccessibility_PRIVATE 3 663 #define kvrRemoteState_VOID 0 664 #define kvrRemoteState_AVAILABLE 1 665 #define kvrRemoteState_DISCOVERED 2 666 #define kvrRemoteState_STARTING 3 667 #define kvrRemoteState_STARTED 4 668 #define kvrRemoteState_CONNECTION_DOWN 5 669 #define kvrRemoteState_CONNECTION_UP 6 670 #define kvrRemoteState_REDISCOVER 7 671 #define kvrRemoteState_UNWILLING 8 672 #define kvrRemoteState_REDISCOVER_PENDING 9 673 #define kvrRemoteState_CLOSING 10 674 #define kvrRemoteState_REMOVE_ME 11 675 #define kvrRemoteState_STANDBY 12 676 #define kvrRemoteState_CONFIG_CHANGED 13 677 #define kvrRemoteState_STOPPING 14 678 #define kvrRemoteState_INSTALLING 15 687 #define kvrAvailability_NONE 0 688 #define kvrAvailability_FOUND_BY_SCAN 1 689 #define kvrAvailability_STORED 2 722 char accessibility_pwd[256];
730 char encryption_key[32];
748 #define kvrAddressTypeFlag_ALL 0xff 749 #define kvrAddressTypeFlag_BROADCAST 0x01 750 #define kvrAddressTypeFlag_STORED 0x02 773 kvrStatus WINAPI kvrDiscoveryGetDefaultAddresses(kvrAddress address_list[], 774 uint32_t address_list_size,
775 uint32_t *address_list_count,
776 uint32_t address_type_flags);
810 uint32_t address_list_size);
843 uint32_t timeout_ms);
869 uint32_t timeout_ms,
int add_stored);
893 uint32_t device_info_list_size);
916 const char *password);
941 uint32_t buffer_size);
953 int32_t *state, int32_t *start_info);
975 uint32_t buffer_size);
1026 const char *address_string);
1055 uint32_t security_string_size,
1056 uint32_t capability,
kvrStatus kvrConfigActiveProfileGet(int32_t can_channel_no, int32_t *profile_number)
kvrStatus kvrDiscoveryStart(kvrDiscoveryHandle handle, uint32_t delay_ms, uint32_t timeout_ms)
kvrStatus kvrServiceStart(int *status)
kvrStatus
Definition: kvrlib.h:36
uint32_t ean_lo
Definition: kvrlib.h:713
int32_t usage
Definition: kvrlib.h:720
uint32_t version
Definition: kvrlib.h:366
int32_t fw_build_ver
Definition: kvrlib.h:717
kvrStatus kvrDiscoveryOpen(kvrDiscoveryHandle *handle)
kvrStatus kvrConfigNoProfilesGet(int32_t can_channel_no, int32_t *no_profiles)
kvrStatus kvrDiscoveryClose(kvrDiscoveryHandle handle)
int32_t kvrRssiHistory
Definition: kvrlib.h:400
uint32_t kvrRttHistory
Definition: kvrlib.h:405
void kvrInitializeLibrary(void)
kvrStatus kvrDeviceGetServiceStatusText(const kvrDeviceInfo *device_info, char *buffer, uint32_t buffer_size)
kvrStatus kvrConfigInfoGet(int32_t can_channel_no, int32_t profile_no, char *xml_buffer, uint32_t xml_buffer_size)
kvrStatus kvrServiceQuery(int *status)
kvrStatus kvrNetworkGetRssiRtt(kvrConfigHandle handle, kvrRssiHistory *rssi, uint32_t rssi_size, uint32_t *rssi_count, kvrRttHistory *rtt, uint32_t rtt_size, uint32_t *rtt_count)
kvrStatus kvrWlanGetScanResults(kvrConfigHandle handle, int32_t *rssi, int32_t *channel, kvrAddress *mac, int32_t *bss_type, char *ssid, uint32_t *capability, uint32_t *type_wpa, kvrCipherInfoElement *wpa_info, kvrCipherInfoElement *rsn_info)
uint32_t ean_hi
Definition: kvrlib.h:712
uint32_t ser_no
Definition: kvrlib.h:714
kvrStatus kvrDiscoveryStoreDevices(const kvrDeviceInfo device_info_list[], uint32_t device_info_list_size)
kvrStatus kvrDeviceGetServiceStatus(const kvrDeviceInfo *device_info, int32_t *state, int32_t *start_info)
uint32_t list_cipher_auth
Definition: kvrlib.h:373
int32_t fw_minor_ver
Definition: kvrlib.h:716
kvrStatus kvrGetErrorText(kvrStatus error, char *buffer, uint32_t buffer_size)
kvrStatus kvrConfigActiveProfileSet(int32_t can_channel_no, int32_t profile_number)
kvrStatus kvrHostName(uint32_t ean_hi, uint32_t ean_lo, uint32_t ser_no, char *buffer, uint32_t buffer_size)
kvrAddress base_station_id
Definition: kvrlib.h:725
int32_t kvrConfigHandle
Definition: kvrlib.h:59
kvrStatus kvrConfigGet(kvrConfigHandle handle, char *xml_buffer, uint32_t xml_buffer_size)
kvrStatus kvrNetworkGenerateWepKeys(const char *pass_phrase, char *key64_1, char *key64_2, char *key64_3, char *key64_4, char *key128)
uint32_t struct_size
Definition: kvrlib.h:711
void kvrConfigClose(kvrConfigHandle handle)
kvrStatus kvrConfigVerifyXml(const char *xml_buffer, char *err_buffer, uint32_t err_buffer_size)
uint32_t group_cipher
Definition: kvrlib.h:370
kvrStatus kvrDiscoveryClearDevicesAtExit(int onoff)
uint32_t capability
Definition: kvrlib.h:367
kvrStatus kvrConfigClear(kvrConfigHandle handle)
void kvrUnloadLibrary(void)
kvrStatus kvrConfigSet(kvrConfigHandle handle, const char *xml_buffer)
kvrStatus kvrConfigOpenEx(int32_t can_channel_no, int32_t mode, const char *password, kvrConfigHandle *handle, uint32_t profile_no)
kvrStatus kvrNetworkGenerateWpaKeys(const char *pass_phrase, const char *ssid, char *key)
kvrStatus kvrNetworkGetConnectionStatus(kvrConfigHandle handle, int32_t *state, int32_t *tx_rate, int32_t *rx_rate, int32_t *channel, int32_t *rssi, int32_t *tx_power)
int32_t kvrDiscoveryHandle
Definition: kvrlib.h:738
uint32_t type
Definition: kvrlib.h:354
kvrStatus kvrServiceStop(int *status)
kvrStatus kvrDiscoverySetAddresses(kvrDiscoveryHandle handle, const kvrAddress address_list[], uint32_t address_list_size)
kvrStatus kvrNetworkGetHostName(kvrConfigHandle handle, char *buffer, uint32_t buffer_size)
kvrAddress device_address
Definition: kvrlib.h:723
uint16_t kvrGetVersion(void)
int32_t accessibility
Definition: kvrlib.h:721
kvrAddress client_address
Definition: kvrlib.h:724
kvrStatus kvrStringFromAddress(char *buffer, uint32_t buffer_size, const kvrAddress *address)
Holds information about a discovered device.
Definition: kvrlib.h:710
kvrStatus kvrNetworkGetAddressInfo(kvrConfigHandle handle, kvrAddress *address1, kvrAddress *address2, kvrAddress *netmask, kvrAddress *gateway, int32_t *dhcp)
kvrStatus kvrDiscoverySetEncryptionKey(kvrDeviceInfo *device_info, const char *key)
int32_t availability
Definition: kvrlib.h:729
int32_t request_connection
Definition: kvrlib.h:726
kvrStatus kvrDiscoverySetPassword(kvrDeviceInfo *device_info, const char *password)
kvrStatus kvrDiscoveryStartEx(kvrDiscoveryHandle handle, uint32_t delay_ms, uint32_t timeout_ms, int add_stored)
kvrStatus kvrWlanStartScan(kvrConfigHandle handle, int32_t active, int32_t bss_type, int32_t domain)
kvrStatus kvrAddressFromString(int32_t address_type, kvrAddress *address, const char *address_string)
kvrStatus kvrWlanGetSecurityText(char *security_string, uint32_t security_string_size, uint32_t capability, uint32_t type_wpa, const kvrCipherInfoElement *wpa_info, const kvrCipherInfoElement *rsn_info)
kvrStatus kvrDiscoveryGetResults(kvrDiscoveryHandle handle, kvrDeviceInfo *device_info)
int32_t fw_major_ver
Definition: kvrlib.h:715