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

Unified Diff: tools/battor_agent/battor_protocol_types.h

Issue 2390893002: [BattOr] Make BattOr able to return firmware version. (Closed)
Patch Set: Start Work On Getting Git Hash 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
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..4439a041373698fa37aa750fe3c6766a1c362347 100644
--- a/tools/battor_agent/battor_protocol_types.h
+++ b/tools/battor_agent/battor_protocol_types.h
@@ -59,6 +59,8 @@ 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.
charliea (OOO until 10-5) 2016/10/05 20:35:16 I'd go ahead and add the other CONTROL_TYPE enums
rnephew (Reviews Here) 2016/10/06 17:10:55 Done.
+ BATTOR_CONTROL_MESSAGE_TYPE_GET_GIT_HASH = 0x09,
};
// The gain level for the BattOr to use.
« tools/battor_agent/battor_agent.cc ('K') | « tools/battor_agent/battor_agent_bin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698