shared/att: Add debug level to bt_att_set_debug
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 8 Jan 2021 18:54:24 +0000 (10:54 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit5dff468624b846ce9a02fd4d96a3f07007831c12
treef71cfd87aaccdc1b73ccd518d0c03a2fbf22fdb7
parent1d6365b3427aa5f04ee587571b03853a6ab9a01b
shared/att: Add debug level to bt_att_set_debug

This creates different levels of debugging which can be passed to
bt_att_set_debug as depending on the application it may not need to
print everything which can pollute the logs quite a bit.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/att.c
src/shared/att.h
tools/btgatt-client.c
tools/btgatt-server.c
unit/test-gatt.c