2
3
4
5
6
7
8
9
10
12#ifndef GATTCHARACTERISTIC1ADAPTOR_P_H
13#define GATTCHARACTERISTIC1ADAPTOR_P_H
26#include <QtCore/QObject>
27#include <QtDBus/QtDBus>
29#include <QtCore/qcontainerfwd.h>
31namespace QtBluetoothPrivate {
34
35
39 Q_CLASSINFO(
"D-Bus Interface",
"org.bluez.GattCharacteristic1")
41" <interface name=\"org.bluez.GattCharacteristic1\">\n"
42" <method name=\"ReadValue\">\n"
43" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
44" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
45" <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n"
47" <method name=\"WriteValue\">\n"
48" <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n"
49" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
50" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
52" <method name=\"StartNotify\"/>\n"
53" <method name=\"StopNotify\"/>\n"
54" <property access=\"read\" type=\"s\" name=\"UUID\"/>\n"
55" <property access=\"read\" type=\"o\" name=\"Service\"/>\n"
56" <property access=\"read\" type=\"ay\" name=\"Value\"/>\n"
57" <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n"
58" <property access=\"read\" type=\"as\" name=\"Flags\"/>\n"
66 Q_PROPERTY(QStringList Flags READ flags)
69 Q_PROPERTY(
bool Notifying READ notifying)
72 Q_PROPERTY(QDBusObjectPath Service READ service)
75 Q_PROPERTY(QString UUID READ uUID)
78 Q_PROPERTY(QByteArray Value READ value)
85 void WriteValue(
const QByteArray &value,
const QVariantMap &options,
const QDBusMessage &msg);
QMap< QString, QVariantMap > InterfaceList
static constexpr auto bluezErrorInvalidOffset
static constexpr auto bluezErrorInvalidValueLength
static constexpr auto bluezServiceInterface
static constexpr auto bluezCharacteristicInterface
static constexpr auto bluezDescriptorInterface
static constexpr auto bluezErrorNotAuthorized
static constexpr auto characteristicPathTemplate
static constexpr auto descriptorPathTemplate
static constexpr auto servicePathTemplate
static constexpr int maximumAttributeLength
void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage &msg)
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.GattCharacteristic1\">\n" " <method name=\"ReadValue\">\n" " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n" " <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n" " </method>\n" " <method name=\"WriteValue\">\n" " <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n" " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n" " </method>\n" " <method name=\"StartNotify\"/>\n" " <method name=\"StopNotify\"/>\n" " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" " <property access=\"read\" type=\"o\" name=\"Service\"/>\n" " <property access=\"read\" type=\"ay\" name=\"Value\"/>\n" " <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n" " <property access=\"read\" type=\"as\" name=\"Flags\"/>\n" " </interface>\n" "") public ~OrgBluezGattCharacteristic1Adaptor() override
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.GattService1\">\n" " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" " <property access=\"read\" type=\"o\" name=\"Device\"/>\n" " <property access=\"read\" type=\"b\" name=\"Primary\"/>\n" " <property access=\"read\" type=\"ao\" name=\"Includes\"/>\n" " </interface>\n" "") public ~OrgBluezGattService1Adaptor() override
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.freedesktop.DBus.Properties\">\n" " <method name=\"Get\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" " <arg direction=\"out\" type=\"v\" name=\"value\"/>\n" " </method>\n" " <method name=\"Set\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" " <arg direction=\"in\" type=\"v\" name=\"value\"/>\n" " </method>\n" " <method name=\"GetAll\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n" " </method>\n" " <signal name=\"PropertiesChanged\">\n" " <arg type=\"s\" name=\"interface\"/>\n" " <arg type=\"a{sv}\" name=\"changed_properties\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out1\"/>\n" " <arg type=\"as\" name=\"invalidated_properties\"/>\n" " </signal>\n" " </interface>\n" "") public ~OrgFreedesktopDBusPropertiesAdaptor() override
void Set(const QString &interface, const QString &name, const QDBusVariant &value)
QVariantMap GetAll(const QString &interface)