ResourceRequest class

The autopilot is requesting a resource (file, binary, other type of data)

RESOURCE_REQUEST

Implemented types

Constructors

ResourceRequest({required uint8_t requestId, required uint8_t uriType, required List<int8_t> uri, required uint8_t transferType, required List<int8_t> storage})
ResourceRequest.parse(ByteData data_)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
requestId uint8_t
Request ID. This ID should be re-used when sending back URI contents
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage List<int8_t>
The storage path the autopilot wants the URI to be stored in. Will only be valid if the transfer_type has a storage associated (e.g. MAVLink FTP).
final
transferType uint8_t
The way the autopilot wants to receive the URI. 0 = MAVLink FTP. 1 = binary stream.
final
uri List<int8_t>
The requested unique resource identifier (URI). It is not necessarily a straight domain name (depends on the URI type enum)
final
uriType uint8_t
The type of requested URI. 0 = a file via URL. 1 = a UAVCAN binary
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