dart_opendroneid library
Support for doing something awesome.
More dartdocs go here.
Classes
- AuthData
- AuthMessage
- The AuthMessage can have two different formats:
- BasicIDMessage
- CAARegistrationID
- DescriptionType
- DescriptionTypeEmergency
- DescriptionTypeExtendedStatus
- DescriptionTypePrivate
- DescriptionTypeText
- IDNone
- Location
- LocationMessage
- MessagePack
- ODIDMessage
- OperatorIDMessage
- OperatorIDType
- OperatorIDTypeOperatorID
- OperatorIDTypePrivate
- SelfIDMessage
- SerialNumber
- SpecificSessionID
- Specific Session ID according to the registered Session ID Type
- SystemMessage
- UAClassification
- UAClassificationEurope
- UAClassificationUndeclared
- UASID
- UTMAssignedID
- Representation of a UTM Assigned ID if operating within a UTM system (128-bit UUID) binary encoded, Network Byte Order.
Enums
Constants
- areaRadiusMultiplier → const int
- latLonMultiplier → const double
- maxAuthData → const int
- maxAuthDataPages → const int
- maxAuthPageNonZeroSize → const int
- maxAuthPageZeroSize → const int
- maxIDByteSize → const int
- maxMessagePackSize → const int
- maxMessagesInPack → const int
- maxMessageSize → const int
- maxStringByteSize → const int
- odidEpochOffset → const int
- verticalSpeedMultiplier → const double
Functions
-
determineODIDMessageType(
Uint8List messageData) → Type? -
Returns ODID message type based on received message header.
Returns
null
in case the message or its type is invalid -
parseODIDMessage<
T extends ODIDMessage> (Uint8List messageData) → T? -
Parses ODID message from array of raw bytes
messageData
. Optional parameterT
can constrain the expected message type. In case the specified type does not match parsed message type,null
is returned. -
parseODIDMessageStream(
Stream< Uint8List> messageStream) → Stream<ODIDMessage?> - Parses stream of binary chunks representing messages into ODIDMessage stream (using parseODIDMessage).
Typedefs
- BaroAltitudeAccuracy = VerticalAccuracy
- Same as VerticalAccuracy, redefined for naming clarity