Files
OpenCellular/util
Bill Richardson 9d3286301d Add GET_RGB, GET_BRIGHTNESS, and GET_DEMO subcommands to lightbar
This adds three new lightbar subcommands to the EC_CMD_LIGHTBAR_CMD host
command, allowing the AP to read the current brightness level, the
current lightbar LED values, and the state of demo mode.

Because this is new, also update LIGHTBAR_IMPLEMENTATION_VERSION. All the
previous commands are unchanged, though.

BUG=chrome-os-partner:28596
BRANCH=ToT
TEST=manual

From the AP, run these commands to see the changes:

  ectool version
  ectool lightbar brightness
  ectool lightbar 0
  ectool lightbar 1
  ectool lightbar 2
  ectool lightbar 3
  ectool lightbar demo

The version output is different, the other commands used to just emit
errors.

Change-Id: If32a5d2388217edc3ae7b9b091d66e9d2cf753be
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/199881
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2014-05-15 05:18:16 +00:00
..
2013-12-19 00:12:28 +00:00
2013-07-01 16:14:16 -07:00
2014-01-17 18:17:06 +00:00
2013-07-01 16:14:16 -07:00
2012-11-01 14:09:34 -07:00
2014-05-14 22:53:44 +00:00
2014-02-17 17:35:43 +00:00
2013-07-01 16:14:16 -07:00
2013-07-01 16:14:16 -07:00
2014-01-15 04:52:54 +00:00
2014-04-30 09:45:59 +00:00