Enumerations¶
Accessibility¶
-
class
canlib.kvrlib.
Accessibility
[source]¶ kvrAccessibility_xxx
Remote device accessability status.
-
PRIVATE
= 3¶ Private (invisible, password needed to connect).
-
PROTECTED
= 2¶ Protected (visible for all, password needed to connect).
-
PUBLIC
= 1¶ Public (visible for all, no password required to connect).
-
UNKNOWN
= 0¶ Unknown (e.g., no reply from device).
-
AddressType¶
AddressTypeFlag¶
Availability¶
BasicServiceSet¶
ConfigMode¶
DeviceUsage¶
Error¶
-
class
canlib.kvrlib.
Error
[source]¶ An enumeration.
-
BLANK
= -6¶ List was not set or no more results.
-
BUFFER_TOO_SMALL
= -15¶ The buffer provided was not large enough to contain the requested data.
-
CHECKSUM
= -3¶ Checksum problem.
-
DUPLICATED_DEVICE
= -13¶ There are duplicates in the device list.
-
GENERIC
= -2¶ Generic error.
-
NOT_IMPLEMENTED
= -9¶ Function is not yet implemented.
-
NOT_INITIALIZED
= -1¶ kvrlib has not been initialized.
-
NO_ANSWER
= -8¶ No answer arrived within given timeout.
-
NO_DEVICE
= -7¶ Remote device is unreachable.
-
NO_SERVICE
= -12¶ The helper service is not running.
-
OK
= 0¶ OK!
-
OUT_OF_SPACE
= -11¶ Out of space, eg. to many open handles, to small buffer.
-
PARAMETER
= -4¶ Error in supplied in parameters.
-
PASSWORD
= -5¶ Supplied password was wrong.
-
PERMISSION_DENIED
= -10¶ Permission denied.
-
XML_VALIDATION
= -14¶ XML-file validation failed.
-
NetworkState¶
-
class
canlib.kvrlib.
NetworkState
[source]¶ kvrNetworkState_xxx
States for network connection.
-
AUTHENTICATING
= 8¶ EAPOL handshake ongoing.
-
AUTHENTICATION_FAILED
= 9¶ Authentication have failed.
-
CONNECTED
= 7¶ Network is reached.
-
CONNECTING
= 6¶ Waiting for connections (ad-hoc).
-
CONNECTION_DELAY
= 5¶ Delay during connection (ad-hoc).
-
FAILED_MIC
= 11¶ MIC verification (EAPOL-key) failed.
-
INITIALIZING
= 3¶ Started, waiting for initialization.
-
INVALID
= 1¶ Network hardware has been disabled.
-
NOT_CONNECTED
= 4¶ No connection (may auto-connect).
-
ONLINE
= 10¶ Authentication completed.
-
STARTUP
= 2¶ Configuring network hardware.
-
UNKNOWN
= 0¶ Bad state, should never be reported.
-
RegulatoryDomain¶
RemoteState¶
-
class
canlib.kvrlib.
RemoteState
[source]¶ kvrRemoteState_xxx
State of connection to device.
-
AVAILABLE
= 1¶ Tries to ping known device.
-
CLOSING
= 10¶ Will stop communication.
-
CONFIG_CHANGED
= 13¶ Same as UNWILLING.
-
CONNECTION_DOWN
= 5¶ Will try and restore connection.
-
CONNECTION_UP
= 6¶ Device connected, heartbeat up.
-
DISCOVERED
= 2¶ Currently not used.
-
INSTALLING
= 15¶ Driver installation is in progress.
-
REDISCOVER
= 7¶ Trying to talk to device.
-
REDISCOVER_PENDING
= 9¶ Will do rediscover in a moment.
-
REMOVE_ME
= 11¶ Device removed, it will be stopped.
-
STANDBY
= 12¶ Known device, but unused.
-
STARTED
= 4¶ Currently not used.
-
STARTING
= 3¶ Initializes for new device.
-
STOPPING
= 14¶ Tries to stop device.
-
UNWILLING
= 8¶ Device turned down connection req.
-
VOID
= 0¶ Marked as not in list.
-
ServiceState¶
-
class
canlib.kvrlib.
ServiceState
[source]¶ kvrServiceState_xxx
Current service state.
-
AVAILABLE
= 1¶ Device available
-
CLOSING
= 10¶ Closing device
-
CONFIG_CHANGED
= 13¶ Configuration has changed
-
CONNECTION_DOWN
= 5¶ Connection is currently down
-
CONNECTION_UP
= 6¶ Connection is corrently up. The device should be showing up in Kvaser Hardware and be ready to be used from CANlib.
-
DISCOVERED
= 2¶ Device discovered
-
INSTALLING
= 15¶ Device is currently being installed
-
REDISCOVER
= 7¶ We’ve lost the device - rediscover it
-
REDISCOVER_PENDING
= 9¶ Rediscover is pending
-
REMOVE_ME
= 11¶ Removing the device
-
STANDBY
= 12¶ Standby, the service is not taking any actions against this device
-
STARTED
= 4¶ Device is started
-
STARTING
= 3¶ Device is starting, other devices may inhibit this device from being started at the moment (e.g. by installing).
-
STOPPING
= 14¶ Stopping devic
-
UNWILLING
= 8¶ Unwilling, see sub state for reason
-
VOID
= 0¶ Void
-
StartInfo¶
-
class
canlib.kvrlib.
StartInfo
[source]¶ kvrStartInfo_xxx
Current start information.
-
ERR_CONFIGURING
= 5¶ I’m being configured so won’t start
-
ERR_ENCRYPTION_PWD
= 7¶ Wrong encryption password.
-
ERR_IN_USE
= 2¶ Already connected to someone else
-
ERR_NOTME
= 4¶ This start is not for me
-
ERR_PARAM
= 6¶ Invalid parameters in QRV (non matching versions)
-
ERR_PWD
= 3¶ Wrong connection pwd
-
NONE
= 0¶ No information available
-
START_OK
= 1¶ Started OK
-