4#ifndef BLUEZ_PERIPHERAL_APPLICATION_P_H
5#define BLUEZ_PERIPHERAL_APPLICATION_P_H
18#include <QtBluetooth/private/qlowenergycontroller_bluezdbus_p.h>
21#include <QtBluetooth/QBluetoothAddress>
22#include <QtCore/QCoreApplication>
52 QSharedPointer<QLowEnergyServicePrivate> servicePrivate,
79 void registerServices();
80 void unregisterServices();
83 QSharedPointer<QLowEnergyServicePrivate> service);
85 QSharedPointer<QLowEnergyServicePrivate> service,
88 QMap<QLowEnergyHandle, QtBluezPeripheralService*> m_services;
89 QMap<QLowEnergyHandle, QtBluezPeripheralCharacteristic*> m_characteristics;
90 QMap<QLowEnergyHandle, QtBluezPeripheralDescriptor*> m_descriptors;
95 bool m_applicationRegistered{
false};
QMap< QDBusObjectPath, InterfaceList > ManagedObjectList
The QLowEnergyServiceData class is used to set up GATT service data. \inmodule QtBluetooth.
QObject * parent() const
Returns a pointer to the parent object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Q_INVOKABLE ManagedObjectList GetManagedObjects()
~QtBluezPeripheralApplication()
bool localDescriptorWrite(QLowEnergyHandle handle, const QByteArray &value)
void unregisterApplication()
void remoteDeviceAccessEvent(const QString &remoteDeviceObjectPath, quint16 mtu)
void registerApplication()
QtBluezPeripheralApplication(const QString &localAdapterPath, QObject *parent=nullptr)
void addService(const QLowEnergyServiceData &serviceData, QSharedPointer< QLowEnergyServicePrivate > servicePrivate, QLowEnergyHandle serviceHandle)
void characteristicValueUpdatedByRemote(QLowEnergyHandle handle, const QByteArray &value)
bool registrationNeeded()
bool localCharacteristicWrite(QLowEnergyHandle handle, const QByteArray &value)
void descriptorValueUpdatedByRemote(QLowEnergyHandle characteristicHandle, QLowEnergyHandle descriptorHandle, const QByteArray &value)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint64 GLenum void * handle