BluezQt::GattDescriptorRemote
#include <BluezQt/GattDescriptorRemote>
Properties | |
GattCharacteristicRemotePtr | characteristic |
QStringList | flags |
quint16 | handle |
QString | ubi |
QString | uuid |
QByteArray | value |
Properties inherited from QObject | |
objectName | |
Signals | |
void | descriptorChanged (GattDescriptorRemotePtr descriptor) |
void | flagsChanged (QStringList flags) |
void | handleChanged (quint16 handle) |
void | uuidChanged (const QString &uuid) |
void | valueChanged (const QByteArray value) |
Public Slots | |
PendingCall * | readValue (const QVariantMap &options) |
PendingCall * | writeValue (const QByteArray &value, const QVariantMap &options) |
Public Member Functions | |
~GattDescriptorRemote () override | |
GattCharacteristicRemotePtr | characteristic () const |
QStringList | flags () const |
quint16 | handle () const |
PendingCall * | setHandle (quint16 handle) |
GattDescriptorRemotePtr | toSharedPtr () const |
QString | ubi () const |
QString | uuid () const |
QByteArray | value () const |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QBindable< QString > | bindableObjectName () |
bool | blockSignals (bool block) |
const QObjectList & | children () const const |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
bool | disconnect (const QObject *receiver, const char *method) const const |
void | dumpObjectInfo () const const |
void | dumpObjectTree () const const |
QList< QByteArray > | dynamicPropertyNames () const const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (Qt::FindChildOptions options) const const |
bool | inherits (const char *className) const const |
void | installEventFilter (QObject *filterObj) |
bool | isQuickItemType () const const |
bool | isWidgetType () const const |
bool | isWindowType () const const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () const const |
QVariant | property (const char *name) const const |
Q_CLASSINFO (Name, Value) | |
Q_EMIT Q_EMIT | |
Q_ENUM (...) | |
Q_ENUM_NS (...) | |
Q_ENUMS (...) | |
Q_FLAG (...) | |
Q_FLAG_NS (...) | |
Q_FLAGS (...) | |
Q_GADGET Q_GADGET | |
Q_GADGET_EXPORT (EXPORT_MACRO) | |
Q_INTERFACES (...) | |
Q_INVOKABLE Q_INVOKABLE | |
Q_MOC_INCLUDE Q_MOC_INCLUDE | |
Q_NAMESPACE Q_NAMESPACE | |
Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
Q_OBJECT Q_OBJECT | |
Q_PROPERTY (...) | |
Q_REVISION Q_REVISION | |
Q_SET_OBJECT_NAME (Object) | |
Q_SIGNAL Q_SIGNAL | |
Q_SIGNALS Q_SIGNALS | |
Q_SLOT Q_SLOT | |
Q_SLOTS Q_SLOTS | |
T | qobject_cast (const QObject *object) |
T | qobject_cast (QObject *object) |
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
void | removeEventFilter (QObject *obj) |
void | setObjectName (const QString &name) |
void | setObjectName (QAnyStringView name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | setProperty (const char *name, QVariant &&value) |
bool | signalsBlocked () const const |
int | startTimer (int interval, Qt::TimerType timerType) |
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
QThread * | thread () const const |
Additional Inherited Members | |
Public Types inherited from QObject | |
typedef | QObjectList |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
Bluetooth LE GATT descriptor.
This class represents a Bluetooth LE GATT descriptor for the clients.
Property Documentation
◆ characteristic
|
read |
Definition at line 39 of file gattdescriptorremote.h.
◆ flags
|
read |
Definition at line 37 of file gattdescriptorremote.h.
◆ handle
|
read |
Definition at line 38 of file gattdescriptorremote.h.
◆ ubi
|
read |
Definition at line 34 of file gattdescriptorremote.h.
◆ uuid
|
read |
Definition at line 35 of file gattdescriptorremote.h.
◆ value
|
read |
Definition at line 36 of file gattdescriptorremote.h.
Constructor & Destructor Documentation
◆ ~GattDescriptorRemote()
|
override |
Destroys a GattDescriptor object.
Definition at line 22 of file gattdescriptorremote.cpp.
Member Function Documentation
◆ characteristic()
GattCharacteristicRemotePtr BluezQt::GattDescriptorRemote::characteristic | ( | ) | const |
Returns a characteristic that owns that descriptor.
- Returns
- characteristic of descriptor
Definition at line 61 of file gattdescriptorremote.cpp.
◆ descriptorChanged
|
signal |
Indicates that at least one of the descriptors's properties have changed.
◆ flags()
QStringList BluezQt::GattDescriptorRemote::flags | ( | ) | const |
Returns flags the descriptor.
- Returns
- flags of descriptor
Definition at line 46 of file gattdescriptorremote.cpp.
◆ flagsChanged
|
signal |
Indicates that descriptor's flags have changed.
◆ handle()
quint16 BluezQt::GattDescriptorRemote::handle | ( | ) | const |
Returns descriptor handle.
- Returns
- qint16 descriptor handle
Definition at line 51 of file gattdescriptorremote.cpp.
◆ handleChanged
|
signal |
Indicates that descriptor's handle have changed.
◆ readValue
|
slot |
Read the value of the GATT descriptor.
Issues a request to read the value of the descriptor and returns the value if the operation was successful.
Possible errors: PendingCall::NotReady, PendingCall::Failed, PendingCall::InProgress, PendingCall::AlreadyConnected
- Returns
- QByteArray pending call
Definition at line 66 of file gattdescriptorremote.cpp.
◆ setHandle()
PendingCall * BluezQt::GattDescriptorRemote::setHandle | ( | quint16 | handle | ) |
Sets the descriptor handle.
- Parameters
-
handle descriptor handle
- Returns
- void pending call
Definition at line 56 of file gattdescriptorremote.cpp.
◆ toSharedPtr()
GattDescriptorRemotePtr BluezQt::GattDescriptorRemote::toSharedPtr | ( | ) | const |
Returns a shared pointer from this.
- Returns
- DevicePtr
Definition at line 26 of file gattdescriptorremote.cpp.
◆ ubi()
QString BluezQt::GattDescriptorRemote::ubi | ( | ) | const |
Returns an UBI of the GATT descriptor.
Example UBI: "/org/bluez/hci0/dev_40_79_6A_0C_39_75"
- Returns
- UBI of descriptor
Definition at line 31 of file gattdescriptorremote.cpp.
◆ uuid()
QString BluezQt::GattDescriptorRemote::uuid | ( | ) | const |
Returns an uuid of the descriptor.
- Returns
- uuid of the descriptor
Definition at line 36 of file gattdescriptorremote.cpp.
◆ uuidChanged
|
signal |
Indicates that descriptor's uuid have changed.
◆ value()
QByteArray BluezQt::GattDescriptorRemote::value | ( | ) | const |
Returns an value of the descriptor.
- Returns
- value of the descriptor
Definition at line 41 of file gattdescriptorremote.cpp.
◆ valueChanged
|
signal |
Indicates that descriptor's value have changed.
◆ writeValue
|
slot |
Write the value of the GATT descriptor.
Issues a request to write the value of the descriptor.
Possible errors: PendingCall::NotReady, PendingCall::Failed, PendingCall::InProgress, PendingCall::AlreadyConnected
- Returns
- void pending call
Definition at line 71 of file gattdescriptorremote.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.