Switch magic timestamp channel to RemoteMessage
In order to track reboots and such, we really need to communicate more
information from the message_bridge to the logger. It is a shame to
have to modify the MessageHeader to do this, even though it would be
nice. Switch the remote timestamp channels over to a new RemoteMessage
channel instead, and add code to rename the channel when replaying.
There are no known log files with a MessageHeader actually logged, so
most of this should be pretty safe. I've tested this on an old log file
by hand.
Change-Id: If81b31869b95040151d833d20ec3eb8623ab1cd4
diff --git a/aos/configuration.h b/aos/configuration.h
index 7383a1a..d10d16d 100644
--- a/aos/configuration.h
+++ b/aos/configuration.h
@@ -31,7 +31,7 @@
// schema list.
FlatbufferDetachedBuffer<Configuration> MergeConfiguration(
const Flatbuffer<Configuration> &config,
- const std::vector<aos::FlatbufferString<reflection::Schema>> &schemas);
+ const std::vector<aos::FlatbufferVector<reflection::Schema>> &schemas);
// Merges a configuration json snippet into the provided configuration and
// returns the modified config.
@@ -49,7 +49,7 @@
const std::string_view name,
const std::string_view type,
const std::string_view application_name,
- const Node *node);
+ const Node *node, bool quiet = false);
inline const Channel *GetChannel(const Flatbuffer<Configuration> &config,
const std::string_view name,
const std::string_view type,