Add ids to flatbuffer fields in y2012, y2016, frc971, and aos
Change-Id: I9ed9006ce6224e2df0459df47771786b928164a1
diff --git a/aos/network/message_bridge_server.fbs b/aos/network/message_bridge_server.fbs
index 8f06fdb..1be0796 100644
--- a/aos/network/message_bridge_server.fbs
+++ b/aos/network/message_bridge_server.fbs
@@ -11,28 +11,28 @@
// Statistics from a single connection to a client from this server.
table ServerConnection {
// 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 that have been dropped (if known).
- dropped_packets:uint;
+ dropped_packets:uint (id: 2);
// Number of packets received on all channels.
- sent_packets:uint;
+ sent_packets:uint (id: 3);
// This is the measured monotonic offset for the connected node in
// nanoseconds. Add this to our monotonic time to get their
// monotonic time.
- monotonic_offset:int64;
+ monotonic_offset:int64 (id: 4);
// TODO(austin): Per channel counts?
}
// Statistics for all connections to all the clients.
table ServerStatistics {
- connections:[ServerConnection];
+ connections:[ServerConnection] (id: 0);
}
root_type ServerStatistics;