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 <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2022-11-08 12:37:36 +01:00
parent 0e15c8833d
commit 20118a0f71
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}