ComponentInformationBasic class
Basic component information data. Should be requested using MAV_CMD_REQUEST_MESSAGE on startup, or when required.
COMPONENT_INFORMATION_BASIC
- Implemented types
Constructors
-
ComponentInformationBasic({required MavProtocolCapability capabilities, required uint32_t timeBootMs, required uint32_t timeManufactureS, required List<
char> vendorName, required List<char> modelName, required List<char> softwareVersion, required List<char> hardwareVersion, required List<char> serialNumber}) - ComponentInformationBasic.parse(ByteData data_)
-
factory
Properties
- capabilities → MavProtocolCapability
-
Component capability flags
final
-
hardwareVersion
→ List<
char> -
Hardware version. The recommended format is SEMVER: 'major.minor.patch' (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
-
modelName
→ List<
char> -
Name of the component model. Needs to be zero terminated. The field is optional and can be empty/all zeros.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serialNumber
→ List<
char> -
Hardware serial number. The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
final
-
softwareVersion
→ List<
char> -
Software version. The recommended format is SEMVER: 'major.minor.patch' (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
final
- timeBootMs → uint32_t
-
Timestamp (time since system boot).
final
- timeManufactureS → uint32_t
-
Date of manufacture as a UNIX Epoch time (since 1.1.1970) in seconds.
final
-
vendorName
→ List<
char> -
Name of the component vendor. Needs to be zero terminated. The field is optional and can be empty/all zeros.
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