BluezQt::GattApplication Class
Bluetooth GattApplication. More...
- Header:
#include <BluezQt/GattApplication> - CMake:
find_package(KF6 REQUIRED COMPONENTS BluezQt)
target_link_libraries(mytarget PRIVATE KF6::BluezQt) - Inherits: QObject
List of all members, including inherited members
Public Functions
- GattApplication(QObject *parent = nullptr)
- GattApplication(const QString &objectPathPrefix, QObject *parent = nullptr)
Detailed Description
This class represents a Bluetooth GattApplication, which is the root node of a GATT object hierarchy. Its child nodes can be GattServices, GattCharacteristics and GattDescriptors that belong to that GattApplication. The object path prefix for GattApplications is freely definable and its children's paths follow the application path hierarchy automatically, while all instances are enumerated automatically as well.
Object path: [variable prefix]/appXX/serviceYY/charZZ
Member Function Documentation
[explicit] GattApplication::GattApplication(QObject *parent = nullptr)
Creates a new GattApplication object with default object path prefix as a child of parent.
Object path: /org/kde/bluezqt/appXX/serviceYY/charZZ
[explicit] GattApplication::GattApplication(const QString &objectPathPrefix, QObject *parent = nullptr)
Creates a new GattApplication object with custom object path prefix objectPathPrefix as a child of parent.
Object path: [objectPathPrefix]/appXX/serviceYY/charZZ