BurtCanStatus enum

No 0 value to ensure we always set a status

Inheritance

Constructors

BurtCanStatus(int value)
const

Values

OK → const BurtCanStatus
const BurtCanStatus(1)
SOCKET_CREATE_ERROR → const BurtCanStatus

Errors when opening and closing

const BurtCanStatus(2)
INTERFACE_PARSE_ERROR → const BurtCanStatus
const BurtCanStatus(3)
BIND_ERROR → const BurtCanStatus
const BurtCanStatus(4)
CLOSE_ERROR → const BurtCanStatus
const BurtCanStatus(5)
MTU_ERROR → const BurtCanStatus

CANFD errors

const BurtCanStatus(6)
CANFD_NOT_SUPPORTED → const BurtCanStatus
const BurtCanStatus(7)
FD_MISC_ERROR → const BurtCanStatus
const BurtCanStatus(8)
WRITE_ERROR → const BurtCanStatus

IO errors

const BurtCanStatus(9)
READ_ERROR → const BurtCanStatus
const BurtCanStatus(10)
FRAME_NOT_FULLY_READ → const BurtCanStatus
const BurtCanStatus(11)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) BurtCanStatus

Constants

values → const List<BurtCanStatus>
A constant List of the values in this enum, in order of their declaration.