summaryrefslogtreecommitdiff
path: root/src/gatt-client.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2016-08-04 15:31:38 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-08-05 14:43:46 +0300
commit37ba680aab9c28b6a80142ca8f345a7d96baeecf (patch)
tree08afd2a5c0fb826a450c455188b27839748f6090 /src/gatt-client.c
parentf4a623d72d1ec5bc17a764230c59197251339fc6 (diff)
downloadbluez-37ba680aab9c28b6a80142ca8f345a7d96baeecf.tar.gz
core/gatt: Fix not marking GATT D-Bus properties as stable
Those are no longer experimental. This fix not being able to use GATT client over D-Bus without -E option.
Diffstat (limited to 'src/gatt-client.c')
-rw-r--r--src/gatt-client.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/gatt-client.c b/src/gatt-client.c
index f50db0b5e..029a9d1bd 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -613,12 +613,9 @@ static DBusMessage *descriptor_write_value(DBusConnection *conn,
}
static const GDBusPropertyTable descriptor_properties[] = {
- { "UUID", "s", descriptor_get_uuid, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
- { "Characteristic", "o", descriptor_get_characteristic, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
- { "Value", "ay", descriptor_get_value, NULL, descriptor_value_exists,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
+ { "UUID", "s", descriptor_get_uuid },
+ { "Characteristic", "o", descriptor_get_characteristic, },
+ { "Value", "ay", descriptor_get_value, NULL, descriptor_value_exists },
{ }
};
@@ -1402,12 +1399,9 @@ static gboolean service_get_primary(const GDBusPropertyTable *property,
}
static const GDBusPropertyTable service_properties[] = {
- { "UUID", "s", service_get_uuid, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
- { "Device", "o", service_get_device, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
- { "Primary", "b", service_get_primary, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
+ { "UUID", "s", service_get_uuid },
+ { "Device", "o", service_get_device },
+ { "Primary", "b", service_get_primary },
{ }
};