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:
parent
0e15c8833d
commit
20118a0f71
|
|
@ -625,7 +625,7 @@ static struct server *server_create(int fd, uint16_t mtu)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose) {
|
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,
|
bt_gatt_server_set_debug(server->gatt, debug_cb,
|
||||||
"server: ", NULL);
|
"server: ", NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue