public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Tedd Ho-Jeong An <tedd.an@intel.com>
To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org
Cc: tedd.an@intel.com
Subject: [PATCH 0/3] Add common debug print functions and toggle option
Date: Tue, 22 May 2012 13:13 -0700	[thread overview]
Message-ID: <2127339.hDnIl3oBeZ@tedd-ubuntu> (raw)

From: Tedd Ho-Jeong AN <tedd.an@intel.com>

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(-)

-- 
1.7.9.5

                 reply	other threads:[~2012-05-22 20:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2127339.hDnIl3oBeZ@tedd-ubuntu \
    --to=tedd.an@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox