From 8e7aa83ed8c2548a4a5b9dac0af18c35e4df43a4 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 21 Oct 2022 04:58:47 +0530 Subject: [PATCH] add SerialConfig option message --- uavcan/tunnel/2011.SerialConfig.uavcan | 7 +++++++ uavcan/tunnel/Protocol.uavcan | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 uavcan/tunnel/2011.SerialConfig.uavcan diff --git a/uavcan/tunnel/2011.SerialConfig.uavcan b/uavcan/tunnel/2011.SerialConfig.uavcan new file mode 100644 index 0000000..30b25e5 --- /dev/null +++ b/uavcan/tunnel/2011.SerialConfig.uavcan @@ -0,0 +1,7 @@ +# +# This message carries baudrate for tunnel channel_id + +# The channelID allows for additional routing between the source and target nodes. +uint8 channel_id + +uint32 baud diff --git a/uavcan/tunnel/Protocol.uavcan b/uavcan/tunnel/Protocol.uavcan index 918169f..1e613be 100644 --- a/uavcan/tunnel/Protocol.uavcan +++ b/uavcan/tunnel/Protocol.uavcan @@ -5,7 +5,7 @@ uint8 MAVLINK = 0 # MAVLink uint8 MAVLINK2 = 1 # MAVLink2 -uint8 GPS = 2 # GPS +uint8 GPS_GENERIC = 2 # GPS uint8 UNDEFINED = 255 # Undefined uint8 protocol