diff --git a/dsdl/uavcan/protocol/553.GetProtocolStatistics.uavcan b/dsdl/uavcan/protocol/553.GetProtocolStatistics.uavcan deleted file mode 100644 index e015bc17b8..0000000000 --- a/dsdl/uavcan/protocol/553.GetProtocolStatistics.uavcan +++ /dev/null @@ -1,15 +0,0 @@ -# -# Get protocol statistics for CAN and UAVCAN. -# - ---- - -# UAVCAN transport layer statistics -uint64 transfers_tx -uint64 transfers_rx -uint32 transfers_rx_errors - -# CAN bus statistics, for each interface independently -uint64[<=3] can_frames_tx -uint64[<=3] can_frames_rx -uint64[<=3] can_frames_errors diff --git a/dsdl/uavcan/protocol/553.GetTransportStats.uavcan b/dsdl/uavcan/protocol/553.GetTransportStats.uavcan new file mode 100644 index 0000000000..247891097e --- /dev/null +++ b/dsdl/uavcan/protocol/553.GetTransportStats.uavcan @@ -0,0 +1,13 @@ +# +# Get transport statistics. +# + +--- + +# UAVCAN transport layer statistics +uint64 transfers_tx +uint64 transfers_rx +uint64 transfer_errors + +# CAN bus statistics, for each interface independently +CanIfaceStats[<=3] can_iface_stats diff --git a/dsdl/uavcan/protocol/CanIfaceStats.uavcan b/dsdl/uavcan/protocol/CanIfaceStats.uavcan new file mode 100644 index 0000000000..23089db283 --- /dev/null +++ b/dsdl/uavcan/protocol/CanIfaceStats.uavcan @@ -0,0 +1,7 @@ +# +# Single CAN iface statistics +# + +uint64 frames_tx +uint64 frames_rx +uint64 errors