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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // A forwarded CANFD frame as requested by MAV_CMD_CAN_FORWARD. These are separated from CAN_FRAME as they need different handling (eg. TAO handling)
     6  type MessageCanfdFrame struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// bus number
    12  	Bus uint8
    13  	// Frame length
    14  	Len uint8
    15  	// Frame ID
    16  	Id uint32
    17  	// Frame data
    18  	Data [64]uint8
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageCanfdFrame) GetID() uint32 {
    23  	return 387
    24  }