OpenDroneIdAuthentication class

Data for filling the OpenDroneID Authentication message. The Authentication Message defines a field that can provide a means of authenticity for the identity of the UAS (Unmanned Aircraft System). The Authentication message can have two different formats. For data page 0, the fields PageCount, Length and TimeStamp are present and AuthData is only 17 bytes. For data page 1 through 15, PageCount, Length and TimeStamp are not present and the size of AuthData is 23 bytes.

OPEN_DRONE_ID_AUTHENTICATION

Implemented types

Constructors

OpenDroneIdAuthentication({required uint32_t timestamp, required uint8_t targetSystem, required uint8_t targetComponent, required List<int8_t> idOrMac, required MavOdidAuthType authenticationType, required uint8_t dataPage, required uint8_t lastPageIndex, required uint8_t length, required List<int8_t> authenticationData})
OpenDroneIdAuthentication.parse(ByteData data_)
factory

Properties

authenticationData List<int8_t>
Opaque authentication data. For page 0, the size is only 17 bytes. For other pages, the size is 23 bytes. Shall be filled with nulls in the unused portion of the field.
final
authenticationType MavOdidAuthType
Indicates the type of authentication.
final
dataPage uint8_t
Allowed range is 0 - 15.
final
hashCode int
The hash code for this object.
no setterinherited
idOrMac List<int8_t>
Only used for drone ID data received from other UAs. See detailed description at https://mavlink.io/en/services/opendroneid.html.
final
lastPageIndex uint8_t
This field is only present for page 0. Allowed range is 0 - 15. See the description of struct ODID_Auth_data at https://github.com/opendroneid/opendroneid-core-c/blob/master/libopendroneid/opendroneid.h.
final
length uint8_t
This field is only present for page 0. Total bytes of authentication_data from all data pages. See the description of struct ODID_Auth_data at https://github.com/opendroneid/opendroneid-core-c/blob/master/libopendroneid/opendroneid.h.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetComponent uint8_t
Component ID (0 for broadcast).
final
targetSystem uint8_t
System ID (0 for broadcast).
final
timestamp uint32_t
This field is only present for page 0. 32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019.
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