ComponentInformation class

Component information message, which may be requested using MAV_CMD_REQUEST_MESSAGE.

COMPONENT_INFORMATION

Implemented types

Constructors

ComponentInformation({required uint32_t timeBootMs, required uint32_t generalMetadataFileCrc, required uint32_t peripheralsMetadataFileCrc, required List<char> generalMetadataUri, required List<char> peripheralsMetadataUri})
ComponentInformation.parse(ByteData data_)
factory

Properties

generalMetadataFileCrc uint32_t
CRC32 of the general metadata file (general_metadata_uri).
final
generalMetadataUri List<char>
MAVLink FTP URI for the general metadata file (COMP_METADATA_TYPE_GENERAL), which may be compressed with xz. The file contains general component metadata, and may contain URI links for additional metadata (see COMP_METADATA_TYPE). The information is static from boot, and may be generated at compile time. The string needs to be zero terminated.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
peripheralsMetadataFileCrc uint32_t
CRC32 of peripherals metadata file (peripherals_metadata_uri).
final
peripheralsMetadataUri List<char>
(Optional) MAVLink FTP URI for the peripherals metadata file (COMP_METADATA_TYPE_PERIPHERALS), which may be compressed with xz. This contains data about "attached components" such as UAVCAN nodes. The peripherals are in a separate file because the information must be generated dynamically at runtime. The string needs to be zero terminated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
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