github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_open_drone_id_message_pack.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // An OpenDroneID message pack is a container for multiple encoded OpenDroneID messages (i.e. not in the format given for the above message descriptions but after encoding into the compressed OpenDroneID byte format). Used e.g. when transmitting on Bluetooth 5.0 Long Range/Extended Advertising or on WiFi Neighbor Aware Networking or on WiFi Beacon.
     6  type MessageOpenDroneIdMessagePack 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  	// This field must currently always be equal to 25 (bytes), since all encoded OpenDroneID messages are specified to have this length.
    14  	SingleMessageSize uint8
    15  	// Number of encoded messages in the pack (not the number of bytes). Allowed range is 1 - 9.
    16  	MsgPackSize uint8
    17  	// Concatenation of encoded OpenDroneID messages. Shall be filled with nulls in the unused portion of the field.
    18  	Messages [225]uint8
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageOpenDroneIdMessagePack) GetID() uint32 {
    23  	return 12915
    24  }