summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Aring <aar@pengutronix.de>2016-09-21 21:32:25 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-09-22 10:45:50 +0300
commitcf944b2cddaa2a71a3eeb71dc8f73323c06406e6 (patch)
tree54df8bd2afab1d8b75261da09ef7b11016eb731e /test
parent9ae688c7c4506f0acad7991ffc424985146110f4 (diff)
downloadbluez-cf944b2cddaa2a71a3eeb71dc8f73323c06406e6.tar.gz
tests/example-gatt-server: Fix using GATT_CHRC_IFACE in Descriptor
This patch changes GATT_CHRC_IFACE to GATT_DESC_IFACE when querying properties for Descriptor class.
Diffstat (limited to 'test')
-rwxr-xr-xtest/example-gatt-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example-gatt-server b/test/example-gatt-server
index 44ceb7037..bac1687ce 100755
--- a/test/example-gatt-server
+++ b/test/example-gatt-server
@@ -234,7 +234,7 @@ class Descriptor(dbus.service.Object):
if interface != GATT_DESC_IFACE:
raise InvalidArgsException()
- return self.get_properties()[GATT_CHRC_IFACE]
+ return self.get_properties()[GATT_DESC_IFACE]
@dbus.service.method(GATT_DESC_IFACE,
in_signature='a{sv}',