summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Trampedach <tim@timtt.com>2012-10-10 01:17:53 -0700
committerKevron Rees <kevron_m_rees@linux.intel.com>2012-10-26 16:29:49 -0700
commit5cf40a12c301b24fdb7490f748bd805bf1711e7e (patch)
tree771394d4b582b032d85dc4f3dcdecac2a502b446
parent72518b3e3d65413caf3350c91519f3c9e70e57f2 (diff)
downloadautomotive-message-broker-5cf40a12c301b24fdb7490f748bd805bf1711e7e.tar.gz
basic TPMS plugin framework without USB sensor interaction
-rw-r--r--lib/vehicleproperty.h7
-rw-r--r--plugins/CMakeLists.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/vehicleproperty.h b/lib/vehicleproperty.h
index c42cc421..a407f222 100644
--- a/lib/vehicleproperty.h
+++ b/lib/vehicleproperty.h
@@ -233,6 +233,13 @@ public:
static const Property TirePressureRightRear;
typedef BasicPropertyType<uint16_t> TirePressureType;
+ /**< Tire pressure in kPa */
+ static const Property TireTemperatureLeftFront;
+ static const Property TireTemperatureRightFront;
+ static const Property TireTemperatureLeftRear;
+ static const Property TireTemperatureRightRear;
+ typedef BasicPropertyType<uint16_t> TireTemperature;
+
/**< Vehicle Power Mode.
*@see Power::PowerModes
*/
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index f7518f8f..b3d70b85 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -25,3 +25,4 @@ add_subdirectory(websocketsink)
add_subdirectory(obd2plugin)
add_subdirectory(demosink)
add_subdirectory(websocketsourceplugin)
+add_subdirectory(tpms)