github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_open_drone_id_basic_id.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Data for filling the OpenDroneID Basic ID message. This and the below messages are primarily meant for feeding data to/from an OpenDroneID implementation. E.g. https://github.com/opendroneid/opendroneid-core-c. These messages are compatible with the ASTM F3411 Remote ID standard and the ASD-STAN prEN 4709-002 Direct Remote ID standard. Additional information and usage of these messages is documented at https://mavlink.io/en/services/opendroneid.html. 6 type MessageOpenDroneIdBasicId struct { 7 // System ID (0 for broadcast). 8 TargetSystem uint8 9 // Component ID (0 for broadcast). 10 TargetComponent uint8 11 // Only used for drone ID data received from other UAs. See detailed description at https://mavlink.io/en/services/opendroneid.html. 12 IdOrMac [20]uint8 13 // Indicates the format for the uas_id field of this message. 14 IdType MAV_ODID_ID_TYPE `mavenum:"uint8"` 15 // Indicates the type of UA (Unmanned Aircraft). 16 UaType MAV_ODID_UA_TYPE `mavenum:"uint8"` 17 // UAS (Unmanned Aircraft System) ID following the format specified by id_type. Shall be filled with nulls in the unused portion of the field. 18 UasId [20]uint8 19 } 20 21 // GetID implements the message.Message interface. 22 func (*MessageOpenDroneIdBasicId) GetID() uint32 { 23 return 12900 24 }