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 kvrDiscoveryClearDevicesAtExit(int onoff)
uint32_t ean_lo
Definition: kvrlib.h:713
uint32_t version
Definition: kvrlib.h:366
kvrStatus kvrServiceStop(int *status)
kvrStatus kvrDiscoverySetPassword(kvrDeviceInfo *device_info, const char *password)
void kvrConfigClose(kvrConfigHandle handle)
kvrStatus kvrDiscoveryClose(kvrDiscoveryHandle handle)
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 fw_major_ver
Definition: kvrlib.h:715
kvrStatus kvrConfigActiveProfileSet(int32_t can_channel_no, int32_t profile_number)
kvrStatus kvrDiscoveryStartEx(kvrDiscoveryHandle handle, uint32_t delay_ms, uint32_t timeout_ms, int add_stored)
kvrStatus kvrNetworkGetRssiRtt(kvrConfigHandle handle, kvrRssiHistory *rssi, uint32_t rssi_size, uint32_t *rssi_count, kvrRttHistory *rtt, uint32_t rtt_size, uint32_t *rtt_count)
uint32_t ean_hi
Definition: kvrlib.h:712
uint32_t capability
Definition: kvrlib.h:367
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 kvrServiceStart(int *status)
kvrStatus kvrServiceQuery(int *status)
kvrStatus kvrDiscoverySetAddresses(kvrDiscoveryHandle handle, const kvrAddress address_list[], uint32_t address_list_size)
kvrStatus kvrConfigOpenEx(int32_t can_channel_no, int32_t mode, const char *password, kvrConfigHandle *handle, uint32_t profile_no)
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
kvrStatus kvrNetworkGetAddressInfo(kvrConfigHandle handle, kvrAddress *address1, kvrAddress *address2, kvrAddress *netmask, kvrAddress *gateway, int32_t *dhcp)
uint32_t kvrRttHistory
Definition: kvrlib.h:405
int32_t usage
Definition: kvrlib.h:720
kvrStatus kvrConfigNoProfilesGet(int32_t can_channel_no, int32_t *no_profiles)
kvrStatus kvrDiscoveryGetResults(kvrDiscoveryHandle handle, kvrDeviceInfo *device_info)
kvrStatus
Definition: kvrlib.h:36
int32_t kvrConfigHandle
Definition: kvrlib.h:59
int32_t kvrDiscoveryHandle
Definition: kvrlib.h:738
kvrStatus kvrNetworkGenerateWepKeys(const char *pass_phrase, char *key64_1, char *key64_2, char *key64_3, char *key64_4, char *key128)
uint32_t type
Definition: kvrlib.h:354
kvrStatus kvrDiscoverySetEncryptionKey(kvrDeviceInfo *device_info, const char *key)
kvrStatus kvrConfigVerifyXml(const char *xml_buffer, char *err_buffer, uint32_t err_buffer_size)
int32_t fw_build_ver
Definition: kvrlib.h:717
kvrStatus kvrGetErrorText(kvrStatus error, char *buffer, uint32_t buffer_size)
kvrStatus kvrConfigActiveProfileGet(int32_t can_channel_no, int32_t *profile_number)
kvrStatus kvrDiscoveryStoreDevices(const kvrDeviceInfo device_info_list[], uint32_t device_info_list_size)
int32_t fw_minor_ver
Definition: kvrlib.h:716
kvrStatus kvrDeviceGetServiceStatus(const kvrDeviceInfo *device_info, int32_t *state, int32_t *start_info)
kvrStatus kvrNetworkGenerateWpaKeys(const char *pass_phrase, const char *ssid, char *key)
uint32_t group_cipher
Definition: kvrlib.h:370
kvrStatus kvrStringFromAddress(char *buffer, uint32_t buffer_size, const kvrAddress *address)
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)
kvrStatus kvrAddressFromString(int32_t address_type, kvrAddress *address, const char *address_string)
uint32_t list_cipher_auth
Definition: kvrlib.h:373
kvrStatus kvrConfigInfoGet(int32_t can_channel_no, int32_t profile_no, char *xml_buffer, uint32_t xml_buffer_size)
kvrStatus kvrConfigClear(kvrConfigHandle handle)
kvrStatus kvrConfigSet(kvrConfigHandle handle, const char *xml_buffer)
uint32_t ser_no
Definition: kvrlib.h:714
kvrStatus kvrDeviceGetServiceStatusText(const kvrDeviceInfo *device_info, char *buffer, uint32_t buffer_size)
kvrStatus kvrNetworkGetHostName(kvrConfigHandle handle, char *buffer, uint32_t buffer_size)
int32_t kvrRssiHistory
Definition: kvrlib.h:400
kvrStatus kvrDiscoveryOpen(kvrDiscoveryHandle *handle)
kvrStatus kvrWlanStartScan(kvrConfigHandle handle, int32_t active, int32_t bss_type, int32_t domain)
Holds information about a discovered device.
Definition: kvrlib.h:710
void kvrUnloadLibrary(void)
void kvrInitializeLibrary(void)
uint32_t struct_size
Definition: kvrlib.h:711
int32_t request_connection
Definition: kvrlib.h:726
kvrStatus kvrDiscoveryStart(kvrDiscoveryHandle handle, uint32_t delay_ms, uint32_t timeout_ms)
kvrStatus kvrConfigGet(kvrConfigHandle handle, char *xml_buffer, uint32_t xml_buffer_size)
kvrAddress device_address
Definition: kvrlib.h:723
int32_t accessibility
Definition: kvrlib.h:721
int32_t availability
Definition: kvrlib.h:729
uint16_t kvrGetVersion(void)
kvrAddress client_address
Definition: kvrlib.h:724