Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 0/5] android: Pairing improvements
Date: Mon, 19 May 2014 10:18:53 +0200	[thread overview]
Message-ID: <1554296.3VRD4VHHxv@uw000953> (raw)
In-Reply-To: <1400414040-30913-1-git-send-email-szymon.janc@tieto.com>

On Sunday 18 of May 2014 13:53:55 Szymon Janc wrote:
> Hi,
> 
> This improves (fix) the way dual mode devices are handled. Bearer type is
> now tracked and allows to use correct one for dual mode device.
> 
> This also adds tracking if remote device was bonded or not. This is in
> preparation for fixing no bond pairing. Android HAL does not distinguish
> between pairing and bonding and appears to be ignoring bond state change
> bonded->no_bond from stack. This leads to situation when device is no longer
> paired (after being disconnected) but still being listed as bonded in
> Android Framework. Possible solution would be to not call bond_state change
> to bonded for no bond case (this seems to be what Bluedroid is doing [1])
> but this still needs further analyze and testing.
> 
> BR
> Szymon Janc
> 
> 
> [1] http://androidxref.com/4.4.2_r1/xref/external/bluetooth/bluedroid/btif/src/btif_dm.c#338
> 
> Szymon Janc (5):
>   android/bluetooth: Track device last connected bearer
>   android/bluetooth: Fix pairing of dual mode devices
>   android/bluetooth: Fix unpairing dual mode device
>   android/bluetooth: Track if paired device is bonded
>   android/bluetooth: Simplify check if device type changed
> 
>  android/bluetooth.c | 315 ++++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 233 insertions(+), 82 deletions(-)
> 
> 

Pushed.

-- 
Best regards, 
Szymon Janc

      parent reply	other threads:[~2014-05-19  8:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-18 11:53 [PATCH 0/5] android: Pairing improvements Szymon Janc
2014-05-18 11:53 ` [PATCH 1/5] android/bluetooth: Track device last connected bearer Szymon Janc
2014-05-18 11:53 ` [PATCH 2/5] android/bluetooth: Fix pairing of dual mode devices Szymon Janc
2014-05-18 11:53 ` [PATCH 3/5] android/bluetooth: Fix unpairing dual mode device Szymon Janc
2014-05-18 11:53 ` [PATCH 4/5] android/bluetooth: Track if paired device is bonded Szymon Janc
2014-05-18 11:54 ` [PATCH 5/5] android/bluetooth: Simplify check if device type changed Szymon Janc
2014-05-19  8:18 ` 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=1554296.3VRD4VHHxv@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