BluezQt
gattdescriptorremote.cpp
16GattDescriptorRemote::GattDescriptorRemote(const QString &path, const QVariantMap &properties, GattCharacteristicRemotePtr characteristic)
58 return new PendingCall(d->setDBusProperty(QStringLiteral("Handle"), QVariant::fromValue(handle)), PendingCall::ReturnVoid, this);
68 return new PendingCall(d->m_bluezGattDescriptor->ReadValue(options), PendingCall::ReturnByteArray, this);
71PendingCall *GattDescriptorRemote::writeValue(const QByteArray &value, const QVariantMap &options)
73 return new PendingCall(d->m_bluezGattDescriptor->WriteValue(value,options), PendingCall::ReturnVoid, this);
PendingCall * readValue(const QVariantMap &options)
Read the value of the GATT descriptor.
Definition gattdescriptorremote.cpp:66
GattDescriptorRemotePtr toSharedPtr() const
Returns a shared pointer from this.
Definition gattdescriptorremote.cpp:26
~GattDescriptorRemote() override
Destroys a GattDescriptor object.
Definition gattdescriptorremote.cpp:22
PendingCall * setHandle(quint16 handle)
Sets the descriptor handle.
Definition gattdescriptorremote.cpp:56
PendingCall * writeValue(const QByteArray &value, const QVariantMap &options)
Write the value of the GATT descriptor.
Definition gattdescriptorremote.cpp:71
QString path(const QString &relativePath)
KGuiItem properties()
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.