linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "Łukasz Rymanowski" <lukasz.rymanowski@codecoup.pl>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ 1/2] unit/test-gatt: Add /TP/GAD/CL/BV-02-C-1-alternative
Date: Tue, 18 Oct 2016 13:59:07 +0300	[thread overview]
Message-ID: <CABBYNZ+hwetcYD77kiAvCDvL-8DHFg-K8fK6fVD1gT1B7wHFzQ@mail.gmail.com> (raw)
In-Reply-To: <1476698552-8030-1-git-send-email-lukasz.rymanowski@codecoup.pl>

Hi Lukasz,

On Mon, Oct 17, 2016 at 1:02 PM, =C5=81ukasz Rymanowski
<lukasz.rymanowski@codecoup.pl> wrote:
> According to GATT.TS.4.2.1,
> 4.4.3 TP/GAD/CL/BV-02-C [Discover Primary Services by Service UUID =E2=80=
=93 by Client]
>
> Pass verdict is also when response has end_handle =3D 0xffff.
> This patch add such test.
> ---
>  unit/test-gatt.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/unit/test-gatt.c b/unit/test-gatt.c
> index 8129719..c7a8fa5 100644
> --- a/unit/test-gatt.c
> +++ b/unit/test-gatt.c
> @@ -2414,6 +2414,14 @@ int main(int argc, char *argv[])
>                                         0x18),
>                         raw_pdu(0x01, 0x06, 0x08, 0x00, 0x0a));
>
> +       define_test_att("/TP/GAD/CL/BV-02-C-1-alternative",
> +                       test_search_primary, &uuid_16,
> +                       NULL,
> +                       MTU_EXCHANGE_CLIENT_PDUS,
> +                       raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28,=
 0x00,
> +                                       0x18),
> +                       raw_pdu(0x07, 0x01, 0x00, 0xFF, 0xFF));
> +
>         define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uui=
d_128,
>                         NULL,
>                         MTU_EXCHANGE_CLIENT_PDUS,
> --
> 2.7.4

Applied, thanks. I just change the order so it doesn't break bisect.


--=20
Luiz Augusto von Dentz

      parent reply	other threads:[~2016-10-18 10:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 10:02 [PATCH BlueZ 1/2] unit/test-gatt: Add /TP/GAD/CL/BV-02-C-1-alternative Łukasz Rymanowski
2016-10-17 10:02 ` [PATCH BlueZ 2/2] shared/gatt-helpers: Fix find by type response handling Łukasz Rymanowski
2016-10-18 10:59 ` Luiz Augusto von Dentz [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=CABBYNZ+hwetcYD77kiAvCDvL-8DHFg-K8fK6fVD1gT1B7wHFzQ@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=lukasz.rymanowski@codecoup.pl \
    /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;
as well as URLs for NNTP newsgroup(s).