BluezQt 5.109.0
Public Member Functions | List of all members
BluezQt::GattApplication

Bluetooth GattApplication. More...

Public Member Functions

 GattApplication (const QString &objectPathPrefix, QObject *parent=nullptr)
 Creates a new GattApplication object with custom object path prefix.
 
 GattApplication (QObject *parent=nullptr)
 Creates a new GattApplication object with default object path prefix.
 
 ~GattApplication () override
 Destroys a GattApplication object.
 

Detailed Description

Bluetooth GattApplication.

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

Constructor & Destructor Documentation

◆ GattApplication() [1/2]

BluezQt::GattApplication::GattApplication ( QObject *  parent = nullptr)
explicit

Creates a new GattApplication object with default object path prefix.

Object path: /org/kde/bluezqt/appXX/serviceYY/charZZ

Parameters
parent

◆ GattApplication() [2/2]

BluezQt::GattApplication::GattApplication ( const QString &  objectPathPrefix,
QObject *  parent = nullptr 
)
explicit

Creates a new GattApplication object with custom object path prefix.

Object path: [objectPathPrefix]/appXX/serviceYY/charZZ

Parameters
objectPathPrefix
parent

◆ ~GattApplication()

BluezQt::GattApplication::~GattApplication ( )
override

Destroys a GattApplication object.