BluezQt::GattService Class
Bluetooth GattService. More...
- Header:
#include <BluezQt/GattService> - 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
- GattService(const QString &uuid, bool isPrimary, BluezQt::GattApplication *parent)
- bool isPrimary() const
- QString uuid() const
Protected Functions
Detailed Description
This class represents a Bluetooth GattService.
Member Function Documentation
[explicit] GattService::GattService(const QString &uuid, bool isPrimary, BluezQt::GattApplication *parent)
Creates a new GattService object as a child of a parent application.
bool GattService::isPrimary() const
Indicates whether or not this GATT service is a primary service.
Returns true if this GATT service is primary, false if secondary.
[virtual protected] QDBusObjectPath GattService::objectPath() const
Returns the D-Bus object path registered for the GattService.
Note: You must provide valid object path!
QString GattService::uuid() const
Returns the 128-bit service UUID.