9#ifndef QTPOKIT_CALIBRATIONSERVICE_H
10#define QTPOKIT_CALIBRATIONSERVICE_H
14#include <QBluetoothAddress>
15#include <QBluetoothUuid>
16#include <QVersionNumber>
18QTPOKIT_BEGIN_NAMESPACE
20class CalibrationServicePrivate;
28 static inline const QBluetoothUuid serviceUuid { QStringLiteral(
"6f53be2f-780b-49b8-a7c3-e8a052b3ae2c") };
33 static inline const QBluetoothUuid temperature { QStringLiteral(
"0cd0f713-f5aa-4572-9e23-f8049f6bcaaa") };
36 static inline const QBluetoothUuid getParam { QStringLiteral(
"b6728f91-409c-4d6c-864e-272a6a7a0204") };
39 static inline const QBluetoothUuid setParam { QStringLiteral(
"5588e47b-cb81-4f7b-acc4-6029a3f39f72") };
48 bool calibrateTemperature(
const float ambientTemperature);
61 friend class TestCalibrationService;
Declares the AbstractPokitService class.
The AbstractPokitService class provides a common base for Pokit services classes.
Definition abstractpokitservice.h:27
virtual bool readCharacteristics()=0
Read all characteristics.
The CalibrationService class accesses the Calibrartion service of Pokit devices.
Definition calibrationservice.h:23
void temperatureCalibrated()
This signal is emitted when the Temperature characteristic has been written succesfully.
Characteristics available via the Calibration service.
Definition calibrationservice.h:31