Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC 1/3] android: Update HAL API to Android 4.4.3-r1.1
Date: Thu, 12 Jun 2014 12:21:52 +0200	[thread overview]
Message-ID: <1967781.v548FO5nCP@uw000953> (raw)
In-Reply-To: <1402486261-22488-1-git-send-email-szymon.janc@tieto.com>

On Wednesday 11 of June 2014 13:30:59 Szymon Janc wrote:
> ---
>  android/hal-gatt.c                | 4 +++-
>  android/hardware/bt_gatt_client.h | 4 +++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/android/hal-gatt.c b/android/hal-gatt.c
> index 6f0d2c5..a4ad0f2 100644
> --- a/android/hal-gatt.c
> +++ b/android/hal-gatt.c
> @@ -975,7 +975,9 @@ static bt_status_t set_adv_data(int server_if, bool set_scan_rsp,
>  				bool include_name, bool include_txpower,
>  				int min_interval, int max_interval,
>  				int appearance, uint16_t manufacturer_len,
> -				char *manufacturer_data)
> +				char *manufacturer_data,
> +				uint16_t service_data_len, char *service_data,
> +				uint16_t service_uuid_len, char *service_uuid)
>  {
>  	char buf[IPC_MTU];
>  	struct hal_cmd_gatt_client_set_adv_data *cmd = (void *) buf;
> diff --git a/android/hardware/bt_gatt_client.h b/android/hardware/bt_gatt_client.h
> index d6b0cb4..cf4fabe 100644
> --- a/android/hardware/bt_gatt_client.h
> +++ b/android/hardware/bt_gatt_client.h
> @@ -278,7 +278,9 @@ typedef struct {
>      /** Set the advertising data or scan response data */
>      bt_status_t (*set_adv_data)(int server_if, bool set_scan_rsp, bool include_name,
>                      bool include_txpower, int min_interval, int max_interval, int appearance,
> -                    uint16_t manufacturer_len, char* manufacturer_data);
> +                    uint16_t manufacturer_len, char* manufacturer_data,
> +                    uint16_t service_data_len, char* service_data,
> +                    uint16_t service_uuid_len, char* service_uuid);
>  
>      /** Test mode interface */
>      bt_status_t (*test_command)( int command, btgatt_test_params_t* params);
> 

Applied.

-- 
Best regards, 
Szymon Janc

      parent reply	other threads:[~2014-06-12 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 11:30 [RFC 1/3] android: Update HAL API to Android 4.4.3-r1.1 Szymon Janc
2014-06-11 11:31 ` [RFC 2/3] android/gatt: Update set_adv_data IPC to HAL API change Szymon Janc
2014-06-11 11:31 ` [RFC 3/3] android: Re-enable support for Android 4.4.2 Szymon Janc
2014-06-12 10:21 ` 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=1967781.v548FO5nCP@uw000953 \
    --to=szymon.janc@tieto.com \
    --cc=linux-bluetooth@vger.kernel.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