DeviceOpWrite class

Write registers for a device.

DEVICE_OP_WRITE

Implemented types

Constructors

DeviceOpWrite({required uint32_t requestId, required uint8_t targetSystem, required uint8_t targetComponent, required DeviceOpBustype bustype, required uint8_t bus, required uint8_t address, required List<char> busname, required uint8_t regstart, required uint8_t count, required List<int8_t> data, required uint8_t bank})
DeviceOpWrite.parse(ByteData data_)
factory

Properties

address uint8_t
Bus address.
final
bank uint8_t
Bank number.
final
bus uint8_t
Bus number.
final
busname List<char>
Name of device on bus (for SPI).
final
bustype DeviceOpBustype
The bus type.
final
count uint8_t
Count of registers to write.
final
data List<int8_t>
Write data.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
regstart uint8_t
First register to write.
final
requestId uint32_t
Request ID - copied to reply.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetComponent uint8_t
Component ID.
final
targetSystem uint8_t
System ID.
final

Methods

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

Operators

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

Constants

mavlinkEncodedLength → const int