Skip to contentSkip to conversation

Add common debug print functions and toggle option

PATCH Superseded Tedd Ho-Jeong An 1 participant 1 message May 22, 2012 Bluetooth drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add common debug print functions and toggle option

From: Tedd Ho-Jeong AN <[email protected]>

As per comments from the Marcel in my previous submission, he suggested to have common debug functions that can be toggled with option, so other vendors and manufacturer can use them for their convenience.

These patches add common debug print functions that displays the debug message to stderr in uniform format "dbg: xxxx" and specific packet contents. And these messages are enabled if '-d' is specified.

Tedd Ho-Jeong An (3):
hciattach: add common debug print functions and toggle option
hciattach: replace DBGPRINT macro with common debug print functions
hciattach: add sleep option in the usage

 tools/hciattach.8       |    4 ++++
 tools/hciattach.c       |   36 ++++++++++++++++++++++++++++++++++--
 tools/hciattach.h       |    3 +++
 tools/hciattach_intel.c |   46 ++++++++++++++++------------------------------
 4 files changed, 57 insertions(+), 32 deletions(-)
Signature · 1 line
1.7.9.5