summaryrefslogtreecommitdiff
path: root/src/gatt-client.c
diff options
context:
space:
mode:
authorƁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2016-04-13 23:09:55 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-04-22 14:35:52 +0300
commit00910a68a7d5897fc63148e6e827c5eb545c2518 (patch)
tree545c1ede09c18e55e1e91859e48bc1b1b0471cad /src/gatt-client.c
parentcbf002b197d178d0fd46ee12d8170ca07c3c82bc (diff)
downloadbluez-00910a68a7d5897fc63148e6e827c5eb545c2518.tar.gz
shared/gatt-db: Extend gatt_db_attribute_get_char_data with ext. prop
This patch adds way to get extended properties from characteristic extended property descriptor
Diffstat (limited to 'src/gatt-client.c')
-rw-r--r--src/gatt-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gatt-client.c b/src/gatt-client.c
index 52add1db9..ebb7b3511 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -1283,7 +1283,8 @@ static struct characteristic *characteristic_create(
gatt_db_attribute_get_char_data(attr, &chrc->handle,
&chrc->value_handle,
- &chrc->props, &uuid);
+ &chrc->props, NULL,
+ &uuid);
chrc->attr = gatt_db_get_attribute(service->client->db,
chrc->value_handle);