9#ifndef QTPOKIT_ABSTRACTPOKITSERVICE_H
10#define QTPOKIT_ABSTRACTPOKITSERVICE_H
14#include <QLowEnergyService>
19QTPOKIT_BEGIN_NAMESPACE
21class AbstractPokitServicePrivate;
33 bool autoDiscover()
const;
34 void setAutoDiscover(
const bool discover =
true);
45 AbstractPokitServicePrivate * d_ptr;
52 friend class TestAbstractPokitService;
The AbstractPokitService class provides a common base for Pokit services classes.
Definition: abstractpokitservice.h:24
virtual bool readCharacteristics()=0
Read all characteristics.
void serviceErrorOccurred(QLowEnergyService::ServiceError newError)
This signal is emitted whenever an error occurs on the underlying QLowEnergyService.
void serviceDetailsDiscovered()
This signal is emitted when the Pokit service details have been discovered.
Global QtPokit library macros.