# Enumerations

## Accessibility

class `canlib.kvrlib.``Accessibility`

  kvrAccessibility_xxx

  Remote device accessability status.

  `PRIVATE` = 3
  `PROTECTED` = 2
  `PUBLIC` = 1
  `UNKNOWN` = 0

## AddressType

class `canlib.kvrlib.``AddressType`

  kvrAddressType_xxx

  Type of device address.

  Note

  Ports are currently not used.

  `IPV4` = 1
  `IPV4_PORT` = 3
  `IPV6` = 2
  `MAC` = 4
  `UNKNOWN` = 0

## AddressTypeFlag

class `canlib.kvrlib.``AddressTypeFlag`

  kvrAddressTypeFlag_xxx

  Flags for setting what addresses that should be returned by `kvrDiscoveryGetDefaultAddresses()`.

  `ALL` = 255
  `BROADCAST` = 1
  `STORED` = 2

## Availability

class `canlib.kvrlib.``Availability`

  kvrAvailability_xxx

  Device avalability flags.

  `FOUND_BY_SCAN` = 1
  `NONE` = 0
  `STORED` = 2

## BasicServiceSet

class `canlib.kvrlib.``BasicServiceSet`

  kvrBss_xxx

  Basic Service Set.

  `ANY` = 2
  `INDEPENDENT` = 1
  `INFRASTRUCTURE` = 0

## ConfigMode

class `canlib.kvrlib.``ConfigMode`

  kvrConfigMode_xxx

  Configuration mode.

  `ERASE` = 2
  `R` = 0
  `RW` = 1

## DeviceUsage

class `canlib.kvrlib.``DeviceUsage`

  kvrDeviceUsage_xxx

  Remote device usage status.

  `CONFIG` = 4
  `FREE` = 1
  `REMOTE` = 2
  `UNKNOWN` = 0
  `USB` = 3

## Error

class `canlib.kvrlib.``Error`

  An enumeration.

  `BLANK` = -6
  `BUFFER_TOO_SMALL` = -15
  `CHECKSUM` = -3
  `DUPLICATED_DEVICE` = -13
  `GENERIC` = -2
  `NOT_IMPLEMENTED` = -9
  `NOT_INITIALIZED` = -1
  `NO_ANSWER` = -8
  `NO_DEVICE` = -7
  `NO_SERVICE` = -12
  `OUT_OF_SPACE` = -11
  `PARAMETER` = -4
  `PASSWORD` = -5
  `PERMISSION_DENIED` = -10
  `XML_VALIDATION` = -14

## NetworkState

class `canlib.kvrlib.``NetworkState`

  kvrNetworkState_xxx

  States for network connection.

  `AUTHENTICATING` = 8
  `AUTHENTICATION_FAILED` = 9
  `CONNECTED` = 7
  `CONNECTING` = 6
  `CONNECTION_DELAY` = 5
  `FAILED_MIC` = 11
  `INITIALIZING` = 3
  `INVALID` = 1
  `NOT_CONNECTED` = 4
  `ONLINE` = 10
  `STARTUP` = 2
  `UNKNOWN` = 0

## RegulatoryDomain

class `canlib.kvrlib.``RegulatoryDomain`

  kvrRegulatoryDomain_xxx

  Regulatory domain.

  `CHINA_MII` = 4
  `EUROPE_ETSI` = 1
  `JAPAN_TELEC` = 0
  `NORTH_AMERICA_FCC` = 2
  `WORLD` = 3

## RemoteState

class `canlib.kvrlib.``RemoteState`

  kvrRemoteState_xxx

  State of connection to device.

  `AVAILABLE` = 1
  `CLOSING` = 10
  `CONFIG_CHANGED` = 13
  `CONNECTION_DOWN` = 5
  `CONNECTION_UP` = 6
  `DISCOVERED` = 2
  `INSTALLING` = 15
  `REDISCOVER` = 7
  `REDISCOVER_PENDING` = 9
  `REMOVE_ME` = 11
  `STANDBY` = 12
  `STARTED` = 4
  `STARTING` = 3
  `STOPPING` = 14
  `UNWILLING` = 8
  `VOID` = 0

## ServiceState

class `canlib.kvrlib.``ServiceState`

  kvrServiceState_xxx

  Current service state.

  `AVAILABLE` = 1
  `CLOSING` = 10
  `CONFIG_CHANGED` = 13
  `CONNECTION_DOWN` = 5
  `CONNECTION_UP` = 6
  `DISCOVERED` = 2
  `INSTALLING` = 15
  `REDISCOVER` = 7
  `REDISCOVER_PENDING` = 9
  `REMOVE_ME` = 11
  `STANDBY` = 12
  `STARTED` = 4
  `STARTING` = 3
  `STOPPING` = 14
  `UNWILLING` = 8
  `VOID` = 0

## StartInfo

class `canlib.kvrlib.``StartInfo`

  kvrStartInfo_xxx

  Current start information.

  `ERR_CONFIGURING` = 5
  `ERR_ENCRYPTION_PWD` = 7
  `ERR_IN_USE` = 2
  `ERR_NOTME` = 4
  `ERR_PARAM` = 6
  `ERR_PWD` = 3
  `NONE` = 0
  `START_OK` = 1