linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/2] android/handsfree-client: Fix connection state defines
Date: Mon, 09 Feb 2015 13:31:43 +0100	[thread overview]
Message-ID: <17152355.cJ5E5gWooh@leonov> (raw)
In-Reply-To: <1423222193-27653-1-git-send-email-szymon.janc@tieto.com>

On Friday 06 of February 2015 12:29:52 Szymon Janc wrote:
> Connected state was missing.
> ---
>  android/hal-ipc-api.txt | 5 +++--
>  android/hal-msg.h       | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
> index 515cf4e..77f2f57 100644
> --- a/android/hal-ipc-api.txt
> +++ b/android/hal-ipc-api.txt
> @@ -2473,8 +2473,9 @@ Notifications:
> 
>  		Valid State values: 0x00 = Disconnected
>  		                    0x01 = Connecting
> -		                    0x02 = SLC Connected
> -		                    0x03 = Disconnecting
> +		                    0x02 = Connected
> +		                    0x03 = SLC Connected
> +		                    0x04 = Disconnecting
> 
>  		Peer Features is a bitmask of the supported features. Currently
>  		available bits:
> diff --git a/android/hal-msg.h b/android/hal-msg.h
> index ecc1150..0ec07c7 100644
> --- a/android/hal-msg.h
> +++ b/android/hal-msg.h
> @@ -2107,8 +2107,9 @@ struct hal_ev_gatt_server_congestion {
> 
>  #define HAL_HF_CLIENT_CONN_STATE_DISCONNECTED		0x00
>  #define HAL_HF_CLIENT_CONN_STATE_CONNECTING		0x01
> -#define HAL_HF_CLIENT_CONN_STATE_SLC_CONNECTED		0x02
> -#define HAL_HF_CLIENT_CONN_STATE_DISCONNECTING		0x03
> +#define HAL_HF_CLIENT_CONN_STATE_CONNECTED		0x02
> +#define HAL_HF_CLIENT_CONN_STATE_SLC_CONNECTED		0x03
> +#define HAL_HF_CLIENT_CONN_STATE_DISCONNECTING		0x04
> 
>  #define HAL_HF_CLIENT_PEER_FEAT_3WAY		0x00000001
>  #define HAL_HF_CLIENT_PEER_FEAT_ECNR		0x00000002

Both applied.

-- 
BR
Szymon Janc

      parent reply	other threads:[~2015-02-09 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 11:29 [PATCH 1/2] android/handsfree-client: Fix connection state defines Szymon Janc
2015-02-06 11:29 ` [PATCH 2/2] android/handsfree-client: Fix missing connected state notification Szymon Janc
2015-02-09 12:31 ` 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=17152355.cJ5E5gWooh@leonov \
    --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;
as well as URLs for NNTP newsgroup(s).