aboutsummaryrefslogtreecommitdiff
path: root/apps/SoilMoisture.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-06-21 13:26:55 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-06-21 13:26:55 +0200
commit47b736139f242a8fd2e5c6513b0c2e0b31110d77 (patch)
tree94aeca3afb607a2b60cca2a146c8532d431f2b1f /apps/SoilMoisture.h
parentf4afc04ee7a085a89ad84ba89344bb50ca9e6e04 (diff)
downloadble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.gz
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.bz2
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.tar.xz
ble-toys-47b736139f242a8fd2e5c6513b0c2e0b31110d77.zip
SoilMoisture:
o Adding getName(). sm-get-value: o More cleanup.
Diffstat (limited to 'apps/SoilMoisture.h')
-rw-r--r--apps/SoilMoisture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/SoilMoisture.h b/apps/SoilMoisture.h
index 938da07..45ba5d4 100644
--- a/apps/SoilMoisture.h
+++ b/apps/SoilMoisture.h
@@ -30,6 +30,8 @@ public:
uint16_t getValue(uint8_t sensor);
+ string getName(uint8_t sensor);
+
private:
SoilMoisture(shared_ptr<BluetoothGatt> gatt, BluetoothGattService &s, BluetoothGattCharacteristic &c);