github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_named_value_int.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output. 6 type MessageNamedValueInt struct { 7 // Timestamp (time since system boot). 8 TimeBootMs uint32 9 // Name of the debug variable 10 Name string `mavlen:"10"` 11 // Signed integer value 12 Value int32 13 } 14 15 // GetID implements the message.Message interface. 16 func (*MessageNamedValueInt) GetID() uint32 { 17 return 252 18 }