Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: tools/battor_agent/battor_protocol_types.h

Issue 2390893002: [BattOr] Make BattOr able to return firmware version. (Closed)
Patch Set: fix compiling error Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/battor_agent/battor_agent_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/battor_agent/battor_protocol_types.h
diff --git a/tools/battor_agent/battor_protocol_types.h b/tools/battor_agent/battor_protocol_types.h
index 6402b3f1d2bb14a44ee17cf89f4c7d5674e4a951..11ac53134d6ba2eb004522ba330c9a5817cf119c 100644
--- a/tools/battor_agent/battor_protocol_types.h
+++ b/tools/battor_agent/battor_protocol_types.h
@@ -59,6 +59,14 @@ enum BattOrControlMessageType : uint8_t {
// Tells the BattOr to send back the number of samples it's collected so far.
// This is used for syncing the clocks between the agent and the BattOr.
BATTOR_CONTROL_MESSAGE_TYPE_READ_SAMPLE_COUNT,
+ // Tells the BattOr to send back the git hash of the firmware.
+ BATTOR_CONTROL_MESSAGE_TYPE_GET_FIRMWARE_GIT_HASH,
+ // Read if the BattOr is portable or not.
+ BATTOR_CONTROL_MESSAGE_TYPE_GET_MODE_PORTABLE,
+ // Write the RTC seconds.
+ BATTOR_CONTROL_MESSAGE_TYPE_SET_RTC,
+ // Read the RTC seconds.
+ BATTOR_CONTROL_MESSAGE_TYPE_GET_RTC,
};
// The gain level for the BattOr to use.
« no previous file with comments | « tools/battor_agent/battor_agent_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698