From 20118a0f7187f75d571abbd03e61b6326cf836ae Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Tue, 8 Nov 2022 12:37:36 +0100 Subject: [PATCH] ble: dey-example: update example to match with latest bluez version Now the bt_att_set_debug requires a new parameter to set the debug level. This is caused by the update of the bluez library. https://onedigi.atlassian.net/browse/DEL-8151 Signed-off-by: Francisco Gil --- ble-gatt-server-example/ble-gatt-server-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ble-gatt-server-example/ble-gatt-server-app.c b/ble-gatt-server-example/ble-gatt-server-app.c index 130c68c..f4fb3a5 100644 --- a/ble-gatt-server-example/ble-gatt-server-app.c +++ b/ble-gatt-server-example/ble-gatt-server-app.c @@ -625,7 +625,7 @@ static struct server *server_create(int fd, uint16_t mtu) } if (verbose) { - bt_att_set_debug(server->att, debug_cb, "att: ", NULL); + bt_att_set_debug(server->att, BT_ATT_DEBUG_VERBOSE, debug_cb, "att: ", NULL); bt_gatt_server_set_debug(server->gatt, debug_cb, "server: ", NULL); }