linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BfA] Setting Reconnection Address
@ 2016-01-29 12:12 Prabhu Chawandi
  2016-02-05  9:10 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhu Chawandi @ 2016-01-29 12:12 UTC (permalink / raw)
  To: linux-bluetooth

Hi All,

   I have basic doubt, which is as below.
when I enable the privacy feature random address will be advertised.

Say, I am using blueooth smart KB from logitek.

When I connect using " hidhost connect" works fine.  When I reboot,
How can I reconnect ? I have random address which is no more valid.

Or Do I need not to try to reconnect ? When Directed advertisement go
will it connect automatically ?

Please let me know, how to handle this Privacy feature enabled Server devices.

many Thanks,
Prabhu Chawandi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BfA] Setting Reconnection Address
  2016-01-29 12:12 [BfA] Setting Reconnection Address Prabhu Chawandi
@ 2016-02-05  9:10 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2016-02-05  9:10 UTC (permalink / raw)
  To: Prabhu Chawandi; +Cc: linux-bluetooth

Hi,

On Friday 29 January 2016 17:42:18 Prabhu Chawandi wrote:
> Hi All,
> 
>    I have basic doubt, which is as below.
> when I enable the privacy feature random address will be advertised.
> 
> Say, I am using blueooth smart KB from logitek.
> 
> When I connect using " hidhost connect" works fine.  When I reboot,
> How can I reconnect ? I have random address which is no more valid.

After reboot this device should be visible with its Identity Address. The 
reason why you don't see this change right after pairing is that Android HAL 
doesn't provide any means to notify framework about such change.

So until you restart bluetoothd you should use address that was used for 
pairing and bluetoothd will handle this internally. After restart this is read 
from storage and device is visible with its identity address.

Normally this is handled by Android Framework where after start it gets list 
of bonded devices and supported profiles. So for end user this change is 
invisible since name of device stays the same.
 
> Or Do I need not to try to reconnect ? When Directed advertisement go
> will it connect automatically ?

AFAIR for HoG you need to explicitly connect it for the first time after BT is 
enabled. After that auto connect should work.

> Please let me know, how to handle this Privacy feature enabled Server
> devices.

-- 
pozdrawiam
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-05  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 12:12 [BfA] Setting Reconnection Address Prabhu Chawandi
2016-02-05  9:10 ` Szymon Janc

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).