9#ifndef QTPOKIT_CALIBRATIONSERVICE_H
10#define QTPOKIT_CALIBRATIONSERVICE_H
14#include <QBluetoothAddress>
15#include <QBluetoothUuid>
16#include <QVersionNumber>
18QTPOKIT_BEGIN_NAMESPACE
20class CalibrationServicePrivate;
48 bool calibrateTemperature(
const float ambientTemperature);
Declares the AbstractPokitService class.
virtual bool readCharacteristics()=0
Read all characteristics.
The CalibrationService class accesses the Calibrartion service of Pokit devices.
Definition calibrationservice.h:23
CalibrationService(QLowEnergyController *const pokitDevice, QObject *parent=nullptr)
Constructs a new Pokit service with parent.
Definition calibrationservice.cpp:24
static const QBluetoothUuid serviceUuid
UUID of the Calibration service.
Definition calibrationservice.h:28
void temperatureCalibrated()
This signal is emitted when the Temperature characteristic has been written succesfully.
QObject * parent() const const
Characteristics available via the Calibration service.
Definition calibrationservice.h:31
static const QBluetoothUuid setParam
Definition calibrationservice.h:39
static const QBluetoothUuid getParam
Definition calibrationservice.h:36
static const QBluetoothUuid temperature
UUID of the Calibration service's Temperature characterstic.
Definition calibrationservice.h:33