9#ifndef BLUEZQT_GATTCHARACTERISTIC_H
10#define BLUEZQT_GATTCHARACTERISTIC_H
12#include "bluezqt_export.h"
14#include <QDBusObjectPath>
22class BLUEZQT_EXPORT GattCharacteristic :
public QObject
35 explicit GattCharacteristic(
const QString &uuid, GattService *service);
46 GattCharacteristic(
const QString &uuid,
const QStringList &flags, GattService *service);
51 ~GattCharacteristic()
override;
66 using ReadCallback = std::function<
QByteArray()>;
67 void setReadCallback(ReadCallback callback);
81 const GattService *service()
const;
113 bool isNotifying()
const;
134 std::unique_ptr<class GattCharacterisiticPrivate>
const d;
136 friend class GattApplicationPrivate;
137 friend class GattCharacteristicAdaptor;
138 friend class GattDescriptor;
139 friend class GattDescriptorPrivate;
140 friend class GattManager;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.