commit | cc941e150007d56b2d7f2fc0c8248e6d74dd659d | [log] [tgz] |
---|---|---|
author | Emily Shaffer <emilyshaffer@google.com> | Wed Jun 14 13:06:26 2017 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 13 21:42:57 2017 +0000 |
tree | b1107d9a2c0dbc7eef9d3626b58c5915ee41da50 | |
parent | 16fe26d83f06719077da41b054d99d78c065091e [diff] |
sensorhandler: support setting analog sensors Refactor YAML format to denote mutability of sensors. Sensors which expect different formats for reads and writes should present two entries in the sensor YAML, one with the read interface and one with the write interface. Sensors which share a format for both reads and writes may present only one entry in the YAML with both readable and writable enums specified. If a sensor receives a write which has an interface of Sensor.Value, the "Set" message is sent via DBus to the path provided in the YAML. The previous codepath is maintained. Change-Id: I292f95b6fe936de759fd65ce72c842a1bfe66448 Signed-off-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Patrick Venture <venture@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To full clean the repository again run ./bootstrap.sh clean
.