4#ifndef BLUEZ_PERIPHERAL_OBJECTS_P_H
5#define BLUEZ_PERIPHERAL_OBJECTS_P_H
20#include <QtBluetooth/qbluetooth.h>
21#include <QtBluetooth/QBluetoothUuid>
22#include <QtBluetooth/QLowEnergyDescriptorData>
23#include <QtBluetooth/QLowEnergyCharacteristicData>
24#include <QtBluetooth/QLowEnergyServiceData>
67 bool m_registered =
false;
144 bool m_notifying{
false};
147 int m_minimumValueLength;
148 int m_maximumValueLength;
163 const bool m_isPrimary;
165 QList<QDBusObjectPath> m_includedServices;
The QLowEnergyCharacteristicData class is used to set up GATT service data. \inmodule QtBluetooth.
The QLowEnergyDescriptorData class is used to create GATT service data. \inmodule QtBluetooth.
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 QString WriteValue(const QByteArray &value, const QVariantMap &options)
InterfaceList properties() const final
QtBluezPeripheralCharacteristic(const QLowEnergyCharacteristicData &characteristicData, const QString &servicePath, quint16 ordinal, QLowEnergyHandle handle, QObject *parent)
Q_INVOKABLE void StopNotify()
Q_INVOKABLE void StartNotify()
Q_INVOKABLE QByteArray ReadValue(const QVariantMap &options, QString &error)
void valueUpdatedByRemote(QLowEnergyHandle handle, const QByteArray &value)
bool localValueUpdate(const QByteArray &value)
Q_INVOKABLE QString WriteValue(const QByteArray &value, const QVariantMap &options)
QtBluezPeripheralDescriptor(const QLowEnergyDescriptorData &descriptorData, const QString &characteristicPath, quint16 ordinal, QLowEnergyHandle handle, QLowEnergyHandle characteristicHandle, QObject *parent)
Q_INVOKABLE QByteArray ReadValue(const QVariantMap &options, QString &error)
bool localValueUpdate(const QByteArray &value)
void valueUpdatedByRemote(QLowEnergyHandle characteristicHandle, QLowEnergyHandle descriptorHandle, const QByteArray &value)
InterfaceList properties() const final
OrgFreedesktopDBusPropertiesAdaptor * propertiesAdaptor
void accessEvent(const QVariantMap &options)
void remoteDeviceAccessEvent(const QString &remoteDeviceObjectPath, quint16 mtu)
QtBluezPeripheralGattObject(const QString &objectPath, const QString &uuid, QLowEnergyHandle handle, QObject *parent=nullptr)
virtual ~QtBluezPeripheralGattObject()
virtual InterfaceList properties() const =0
void addIncludedService(const QString &objectPath)
InterfaceList properties() const final
QtBluezPeripheralService(const QLowEnergyServiceData &serviceData, const QString &applicationPath, quint16 ordinal, QLowEnergyHandle handle, QObject *parent)
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint64 GLenum void * handle
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data