linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 test command for sign write
Date: Tue, 17 Jun 2014 11:23:38 +0200	[thread overview]
Message-ID: <2727661.I924SVBVzA@uw000953> (raw)
In-Reply-To: <1402955976-31684-1-git-send-email-lukasz.rymanowski@tieto.com>

Hi Łukasz,

On Monday 16 of June 2014 23:59:36 Lukasz Rymanowski wrote:
> This is needed for some PTS test cases.
> ---
>  android/gatt.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/android/gatt.c b/android/gatt.c
> index a19fe5c..943704a 100644
> --- a/android/gatt.c
> +++ b/android/gatt.c
> @@ -3674,6 +3674,11 @@ static uint8_t test_read_write(bdaddr_t *bdaddr, bt_uuid_t *uuid, uint16_t op,
>  	case ATT_OP_EXEC_WRITE_REQ:
>  		length = enc_exec_write_req(u2, pdu, mtu);
>  		break;
> +	case ATT_OP_SIGNED_WRITE_CMD:
> +		if (signed_write_cmd(dev, u2, (uint8_t *) &u3, sizeof(u3)))
> +			return HAL_STATUS_SUCCESS;
> +		else
> +			return HAL_STATUS_FAILED;
>  	default:
>  		error("gatt: Unknown operation type");
>  
> 

Patch applied, thanks.

-- 
Best regards, 
Szymon Janc

      reply	other threads:[~2014-06-17  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 21:59 [PATCH] android/gatt: Add test command for sign write Lukasz Rymanowski
2014-06-17  9:23 ` 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=2727661.I924SVBVzA@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;
as well as URLs for NNTP newsgroup(s).