MraaReturnCode enum

MRAA function return(result) codes

Inheritance

Constructors

MraaReturnCode(int code)
const

Values

success → const MraaReturnCode

< Expected response

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_SUCCESS)
errorFeatureNotImplemented → const MraaReturnCode

< Feature

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_FEATURE_NOT_IMPLEMENTED)
errorFeatureNotSupported → const MraaReturnCode

< Feature not supported by HW

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_FEATURE_NOT_SUPPORTED)
errorInvalidVerbosityLevel → const MraaReturnCode

< Verbosity level wrong

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_VERBOSITY_LEVEL)
errorInvalidParameter → const MraaReturnCode

< Parameter invalid

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_PARAMETER)
errorInvalidHandle → const MraaReturnCode

< Handle invalid

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_HANDLE)
errorNoResources → const MraaReturnCode

< No resource of that type avail

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_NO_RESOURCES)
errorInvalidResource → const MraaReturnCode

< Resource invalid

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_RESOURCE)
errorInvalidQueueType → const MraaReturnCode

< Queue type incorrect

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_QUEUE_TYPE)
errorNoDataAvailable → const MraaReturnCode

< No data available

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_NO_DATA_AVAILABLE)
errorInvalidPlatform → const MraaReturnCode

< Platform not recognised

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_INVALID_PLATFORM)
errorPlatformNotInitialised → const MraaReturnCode

< Board information not initialised

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_PLATFORM_NOT_INITIALISED)
errorUartOwShorted → const MraaReturnCode

< UART OW Short Circuit Detected

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_UART_OW_SHORTED)
errorUartOwNoDevices → const MraaReturnCode

< UART OW No devices detected

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_UART_OW_NO_DEVICES)
errorUartOwDataError → const MraaReturnCode

UART OW Data/Bus error detected

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_UART_OW_DATA_ERROR)
errorUnspecified → const MraaReturnCode

Unspecified

const MraaReturnCode(mraaimpl.mraa_result_t.MRAA_ERROR_UNSPECIFIED)

Properties

code int
final
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

Methods

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

Operators

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

Static Properties

byCode Map<int, MraaReturnCode>
final

Static Methods

returnCode(int retCode) MraaReturnCode

Constants

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