From: Szymon Janc <szymon.janc@tieto.com>
To: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/gatt: Add debug logs useful for PTS testing
Date: Fri, 23 May 2014 16:02:33 +0200 [thread overview]
Message-ID: <2545768.QERf4PJ5oZ@uw000953> (raw)
In-Reply-To: <1400852946-24498-1-git-send-email-lukasz.rymanowski@tieto.com>
Hi Łukasz,
On Friday 23 of May 2014 15:49:06 Lukasz Rymanowski wrote:
> ---
> android/gatt.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/android/gatt.c b/android/gatt.c
> index 532a416..804c6ba 100644
> --- a/android/gatt.c
> +++ b/android/gatt.c
> @@ -2165,6 +2165,9 @@ static void cache_all_srvc_chars(struct service *srvc, GSList *characteristics)
> srvc->incl.range.end;
> }
>
> + DBG("attr handle = 0x%04x, end handle = 0x%04x uuid: %s",
> + ch->ch.handle ,ch->end_handle, ch->ch.uuid);
> +
> if (!queue_push_tail(srvc->chars, ch)) {
> error("gatt: Error while caching characteristic");
> destroy_characteristic(ch);
> @@ -2321,6 +2324,8 @@ static void gatt_discover_desc_cb(guint8 status, GSList *descs,
> descr->id.instance = i++;
> descr->handle = desc->handle;
>
> + DBG("attr handle = 0x%04x, uuid: %s", desc->handle, desc->uuid);
> +
> if (!queue_push_tail(ch->descriptors, descr))
> free(descr);
> }
Applied, thanks.
--
Best regards,
Szymon Janc
prev parent reply other threads:[~2014-05-23 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 13:49 [PATCH] android/gatt: Add debug logs useful for PTS testing Lukasz Rymanowski
2014-05-23 14:02 ` Szymon Janc [this message]
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=2545768.QERf4PJ5oZ@uw000953 \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=lukasz.rymanowski@tieto.com \
/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