summaryrefslogtreecommitdiff
path: root/peripheral
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-05-10 10:35:00 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-03-02 14:42:32 -0800
commit76d63c91b27ab27e28267b6e5ff252252efd537f (patch)
tree05a458bdabed77825eb34aa0b9ca0430d16aa98f /peripheral
parent0379b6c8761dbd1f3d36508c3e7eb611b84c5896 (diff)
downloadbluez-76d63c91b27ab27e28267b6e5ff252252efd537f.tar.gz
shared/gatt-client: Add support for EATT features
This enables EATT in the Client Features if the EATT characteristic is present in the database.
Diffstat (limited to 'peripheral')
-rw-r--r--peripheral/gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peripheral/gatt.c b/peripheral/gatt.c
index 08541c424..bbbf3f59f 100644
--- a/peripheral/gatt.c
+++ b/peripheral/gatt.c
@@ -136,7 +136,7 @@ static struct gatt_conn *gatt_conn_new(int fd)
return NULL;
}
- conn->client = bt_gatt_client_new(gatt_cache, conn->att, mtu);
+ conn->client = bt_gatt_client_new(gatt_cache, conn->att, mtu, 0);
if (!conn->gatt) {
fprintf(stderr, "Failed to create GATT client\n");
bt_gatt_server_unref(conn->gatt);