From 76d63c91b27ab27e28267b6e5ff252252efd537f Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 10 May 2019 10:35:00 +0300 Subject: shared/gatt-client: Add support for EATT features This enables EATT in the Client Features if the EATT characteristic is present in the database. --- peripheral/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'peripheral') 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); -- cgit v1.2.1