Pages
API Documentation
On this page

BluezQt::GattDescriptorRemote Class

Bluetooth LE GATT descriptor. More...

  • Header: #include <BluezQt/GattDescriptorRemote>
  • CMake: find_package(KF6 REQUIRED COMPONENTS BluezQt)
    target_link_libraries(mytarget PRIVATE KF6::BluezQt)
  • Inherits: QObject

List of all members, including inherited members

Properties

Public Functions

Public Slots

Signals

Detailed Description

This class represents a Bluetooth LE GATT descriptor for the clients.

Property Documentation

[read-only] characteristic : const GattCharacteristicRemotePtr

Access functions:

[read-only] flags : QStringList

Access functions:

  • QStringList flags() const

Notifier signal:

[read-only] handle : quint16

Access functions:

Notifier signal:

[read-only] ubi : const QString

Access functions:

  • QString ubi() const

[read-only] uuid : QString

Access functions:

  • QString uuid() const

Notifier signal:

[read-only] value : QByteArray

Access functions:

  • QByteArray value() const

Notifier signal:

Member Function Documentation

BluezQt::GattCharacteristicRemotePtr GattDescriptorRemote::characteristic() const

Returns the characteristic that owns that descriptor.

Note: Getter function for property characteristic.

[signal] void GattDescriptorRemote::descriptorChanged(BluezQt::GattDescriptorRemotePtr descriptor)

Indicates that at least one of the descriptors's properties has changed.

QStringList GattDescriptorRemote::flags() const

Returns flags the descriptor.

Note: Getter function for property flags.

[signal] void GattDescriptorRemote::flagsChanged(QStringList flags)

Indicates that descriptor's flags have changed.

Note: Notifier signal for property flags.

quint16 GattDescriptorRemote::handle() const

Returns descriptor handle.

Note: Getter function for property handle.

See also setHandle()

[signal] void GattDescriptorRemote::handleChanged(quint16 handle)

Indicates that descriptor's handle has changed.

Note: Notifier signal for property handle.

[slot] BluezQt::PendingCall *GattDescriptorRemote::readValue(const QVariantMap &options)

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:

Returns QByteArray pending call.

BluezQt::PendingCall *GattDescriptorRemote::setHandle(quint16 handle)

Sets the descriptor handle.

Returns void pending call.

See also handle()

BluezQt::GattDescriptorRemotePtr GattDescriptorRemote::toSharedPtr() const

Returns a shared pointer from this.

QString GattDescriptorRemote::ubi() const

Returns the UBI of the GATT descriptor.

Example UBI: "/org/bluez/hci0/dev_40_79_6A_0C_39_75"

Note: Getter function for property ubi.

QString GattDescriptorRemote::uuid() const

Returns the uuid of the descriptor.

Note: Getter function for property uuid.

[signal] void GattDescriptorRemote::uuidChanged(const QString &uuid)

Indicates that descriptor's uuid has changed.

Note: Notifier signal for property uuid.

QByteArray GattDescriptorRemote::value() const

Returns the value of the descriptor.

Note: Getter function for property value.

[signal] void GattDescriptorRemote::valueChanged(const QByteArray value)

Indicates that descriptor's value has changed.

Note: Notifier signal for property value.

[slot] BluezQt::PendingCall *GattDescriptorRemote::writeValue(const QByteArray &value, const QVariantMap &options)

Write the value of the GATT descriptor.

Issues a request to write the value of the descriptor.

Possible errors:

Returns void pending call.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.