9#ifndef QTPOKIT_CALIBRATIONSERVICE_H
10#define QTPOKIT_CALIBRATIONSERVICE_H
14#include <QBluetoothAddress>
15#include <QBluetoothUuid>
16#include <QVersionNumber>
48 bool calibrateTemperature(
const float ambientTemperature);
Declares the AbstractPokitService class.
virtual bool readCharacteristics()=0
Read all characteristics.
The CalibrationServicePrivate class provides private implementation for CalibrationService.
The CalibrationService class accesses the Calibrartion service of Pokit devices.
CalibrationService(QLowEnergyController *const pokitDevice, QObject *parent=nullptr)
Constructs a new Pokit service with parent.
static const QBluetoothUuid serviceUuid
UUID of the Calibration service.
void temperatureCalibrated()
This signal is emitted when the Temperature characteristic has been written succesfully.
QObject * parent() const const
#define QTPOKIT_BEFRIEND_TEST(Class)
Macro for befriending a related unit test class, but only when QT_TESTLIB_LIB is defined.
#define QTPOKIT_BEGIN_NAMESPACE
Macro for starting the QtPokit library's top-most namespace (if one is defined).
#define QTPOKIT_EXPORT
QtPokit library export/import macro.
#define QTPOKIT_END_NAMESPACE
Macro for ending the QtPokit library's top-most namespace (if one is defined).
Characteristics available via the Calibration service.
static const QBluetoothUuid setParam
static const QBluetoothUuid getParam
static const QBluetoothUuid temperature
UUID of the Calibration service's Temperature characterstic.