Austin Schuh | f068dca | 2021-03-14 21:38:40 -0700 | [diff] [blame] | 1 | namespace aos.message_bridge; |
| 2 | |
| 3 | table RemoteData { |
| 4 | // Index into the channel datastructure in the log file header. This |
| 5 | // provides the data type. |
| 6 | channel_index:uint (id: 0); |
| 7 | // Time this message was sent on the monotonic clock in nanoseconds on this |
| 8 | // node. |
| 9 | monotonic_sent_time:long (id: 1); |
| 10 | // Time this message was sent on the realtime clock in nanoseconds on this |
| 11 | // node. |
| 12 | realtime_sent_time:long (id: 2); |
| 13 | // Index into the ipc queue of this message. This should start with 0 and |
| 14 | // always monotonically increment if no messages were ever lost. It will |
| 15 | // wrap at a multiple of the queue size. |
| 16 | queue_index:uint (id: 3); |
| 17 | |
| 18 | // The nested flatbuffer. |
| 19 | data:[ubyte] (id: 4); |
| 20 | |
| 21 | // UUID for this boot. This is 16 bytes long. |
| 22 | boot_uuid:[uint8] (id: 5); |
| 23 | } |
| 24 | |
| 25 | root_type RemoteData; |