BluezQt::GattDescriptorRemote

Search for usage in LXR

BluezQt::GattDescriptorRemote Class Reference

#include <BluezQt/GattDescriptorRemote>

Inheritance diagram for 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

PendingCallreadValue (const QVariantMap &options)
 
PendingCallwriteValue (const QByteArray &value, const QVariantMap &options)
 

Public Member Functions

 ~GattDescriptorRemote () override
 
GattCharacteristicRemotePtr characteristic () const
 
QStringList flags () const
 
quint16 handle () const
 
PendingCallsetHandle (quint16 handle)
 
GattDescriptorRemotePtr toSharedPtr () const
 
QString ubi () const
 
QString uuid () const
 
QByteArray value () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () 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< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
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 QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () 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
 
qobject_cast (const QObject *object)
 
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)
 
QThreadthread () const const
 

Additional Inherited Members

- 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)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- 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
 
QObjectsender () 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.

Definition at line 31 of file gattdescriptorremote.h.

Property Documentation

◆ characteristic

GattCharacteristicRemotePtr BluezQt::GattDescriptorRemote::characteristic
read

Definition at line 39 of file gattdescriptorremote.h.

◆ flags

QStringList BluezQt::GattDescriptorRemote::flags
read

Definition at line 37 of file gattdescriptorremote.h.

◆ handle

quint16 BluezQt::GattDescriptorRemote::handle
read

Definition at line 38 of file gattdescriptorremote.h.

◆ ubi

QString BluezQt::GattDescriptorRemote::ubi
read

Definition at line 34 of file gattdescriptorremote.h.

◆ uuid

QString BluezQt::GattDescriptorRemote::uuid
read

Definition at line 35 of file gattdescriptorremote.h.

◆ value

QByteArray BluezQt::GattDescriptorRemote::value
read

Definition at line 36 of file gattdescriptorremote.h.

Constructor & Destructor Documentation

◆ ~GattDescriptorRemote()

BluezQt::GattDescriptorRemote::~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

void BluezQt::GattDescriptorRemote::descriptorChanged ( GattDescriptorRemotePtr descriptor)
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

void BluezQt::GattDescriptorRemote::flagsChanged ( QStringList flags)
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

void BluezQt::GattDescriptorRemote::handleChanged ( quint16 handle)
signal

Indicates that descriptor's handle have changed.

◆ readValue

PendingCall * BluezQt::GattDescriptorRemote::readValue ( const QVariantMap & options)
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
handledescriptor 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

void BluezQt::GattDescriptorRemote::uuidChanged ( const QString & uuid)
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

void BluezQt::GattDescriptorRemote::valueChanged ( const QByteArray value)
signal

Indicates that descriptor's value have changed.

◆ writeValue

PendingCall * BluezQt::GattDescriptorRemote::writeValue ( const QByteArray & value,
const QVariantMap & options )
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.