supla-device
Loading...
Searching...
No Matches
thermometer_driver.h
1// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#ifndef SRC_SUPLA_SENSOR_THERMOMETER_DRIVER_H_
5#define SRC_SUPLA_SENSOR_THERMOMETER_DRIVER_H_
6
7#include <stdint.h>
8
9#include "measurement_driver.h"
10
11#define TEMPERATURE_NOT_AVAILABLE -275.0
12
13namespace Supla {
14namespace Sensor {
16 public:
18 virtual ~ThermometerDriver() = default;
19
20 virtual int16_t getTempInt16();
21};
22
23} // namespace Sensor
24} // namespace Supla
25
26#endif // SRC_SUPLA_SENSOR_THERMOMETER_DRIVER_H_
Definition measurement_driver.h:9
Definition thermometer_driver.h:15