From: Szymon Janc <szymon.janc@tieto.com>
To: Mariusz Skamra <mariusz.skamra@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCHv4 0/3] HOGP fixes and update of test results
Date: Thu, 26 Feb 2015 12:51:08 +0100 [thread overview]
Message-ID: <2917626.daz8GJBBb1@uw000953> (raw)
In-Reply-To: <1424866931-13334-1-git-send-email-mariusz.skamra@tieto.com>
Hi Mariusz,
On Wednesday 25 of February 2015 13:22:08 Mariusz Skamra wrote:
> I deleted most of the code related to finding include services. This was only used
> in situation when HID service as primary service was not found. However according to
> SPEC HID device shall implement HID service as primary. Further HOG is called
> from hidhost's hog_conn_cb when HID service was found and connection was established using LE.
> Now searching for include services is performed because TC_HGDR_RH_BV_01_I requires that.
> Finding battery services is performed like before, during primary services discovery.
> Compared to v3 I used queue instead of GSList for bas.
>
> Add a queue of battery services because according to HOGP SPEC there could be more
> than one battery services like in TC_HGDC_HH_BV_14_I where there is only one HID service,
> and two battery services. So the first found bas was overwritten by the second one and
> after reconnection only one bas was attached.
>
> For test purposes requiring read of battery level read_value_cb was added.
>
> Mariusz Skamra (3):
> android/bas: Read battery level characteristic
> android/hog: Fix find included battery services
> android/pts: Update test results for HOGP
>
> android/bas.c | 13 ++++++--
> android/hog.c | 84 +++++++++++++++++-----------------------------------
> android/pts-hogp.txt | 6 ++--
> 3 files changed, 41 insertions(+), 62 deletions(-)
>
All patches applied (after fixing some minor style issues), thanks.
--
Best regards,
Szymon Janc
prev parent reply other threads:[~2015-02-26 11:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 12:22 [PATCHv4 0/3] HOGP fixes and update of test results Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 1/3] android/bas: Read battery level characteristic Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 2/3] android/hog: Fix find included battery services Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 3/3] android/pts: Update test results for HOGP Mariusz Skamra
2015-02-26 11:51 ` 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=2917626.daz8GJBBb1@uw000953 \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=mariusz.skamra@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