summaryrefslogtreecommitdiff
path: root/attrib
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 /attrib
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 'attrib')
-rw-r--r--attrib/gattrib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 57ca01541..8aa0f5eff 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -275,8 +275,9 @@ static void attrib_callback_result(uint8_t opcode, const void *pdu,
free(buf);
}
-static void attrib_callback_notify(uint8_t opcode, const void *pdu,
- uint16_t length, void *user_data)
+static void attrib_callback_notify(struct bt_att_chan *chan, uint8_t opcode,
+ const void *pdu, uint16_t length,
+ void *user_data)
{
uint8_t *buf;
struct attrib_callbacks *cb = user_data;