Add ids to flatbuffer fields in y2012, y2016, frc971, and aos
Change-Id: I9ed9006ce6224e2df0459df47771786b928164a1
diff --git a/aos/network/message_bridge_client.fbs b/aos/network/message_bridge_client.fbs
index df3f02f..9dddd16 100644
--- a/aos/network/message_bridge_client.fbs
+++ b/aos/network/message_bridge_client.fbs
@@ -5,25 +5,25 @@
// Statistics from a single client connection to a server.
table ClientConnection {
// The node that we are connected to.
- node:Node;
+ node:Node (id: 0);
// Health of this connection. Connected or not?
- state:State;
+ state:State (id: 1);
// Number of packets received on all channels.
- received_packets:uint;
+ received_packets:uint (id: 2);
// This is the measured monotonic offset for just the server -> client
// direction measured in nanoseconds. Subtract this from our monotonic time
// to get their monotonic time.
- monotonic_offset:int64;
+ monotonic_offset:int64 (id: 3);
// TODO(austin): Per channel counts?
}
// Statistics for all clients.
table ClientStatistics {
- connections:[ClientConnection];
+ connections:[ClientConnection] (id: 0);
}
root_type ClientStatistics;