| commit | 9714050f9650675694b1f6f3070f54dc3b22ef2b | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Fri Sep 17 13:49:43 2021 +0800 |
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Jan 12 00:40:22 2022 +0000 |
| tree | 2bd5b520142e87e01fe7f478ca0fe8d2250da3ea | |
| parent | 8c2c048ec561e0f3da885cc181271c7c4b4def98 [diff] |
sensor-cache: Implement reading data
Implement reading data in property changed callback.
With sensor-cache, the sensor's property is returned by the
callback of propertiesChanged match, parse the property from the message
and generate the sensor's response.
Tested: Verify the sensors using `readingData` have valid values in
QEMU, e.g.
Inlet_Temp | 20.000 | degrees C | ok | na | 0.000 | 5.000 | 38.000 | 43.000 | na
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I2c6328cb6001d0daf2045d17e73773dccf55d521
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.