BluezQt::GattService Class
class BluezQt::GattServiceBluetooth LE GATT service. More...
Header: | #include <BluezQt/GattService> |
CMake: | find_package(KF6 REQUIRED COMPONENTS BluezQt) target_link_libraries(mytarget PRIVATE KF6::BluezQt) |
Inherits: | QObject |
Public Functions
GattService(const QString &uuid, bool isPrimary, BluezQt::GattApplication *parent) | |
bool | isPrimary() const |
QString | uuid() const |
Protected Functions
virtual QDBusObjectPath | objectPath() const |
Detailed Description
This class represents a Bluetooth LE GATT service.
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.