* avoid cross-transport key derivation
@ 2020-03-08 15:42 Ordit Gross
2020-03-08 15:59 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Ordit Gross @ 2020-03-08 15:42 UTC (permalink / raw)
To: linux-bluetooth
hi all,
our application connects both to mobile (ble) and speakers (br/edr)
using bluez stack.
our controller is configured as follows:
current settings: powered connectable bondable ssp br/edr le secure-conn
ever since IOS started supporting CTKD (cross-transport key
derivation) at IOS13, pairing to mobile causes also link key
distribution and brief br/edr connection follows the ble connection.
I would like to avoid the link key distribution at the pairing stage.
the only way I was able to achieve that is by disabling either
secure-conn or ssp which is undesirable as disabling either of them
block other functionality.
what is the recommended approach?
** when br/edr is turned off we do not experience disconnections from
mobile app running with IOS13. and vis versa.
looking on HCI dump from mobile side the disconnections is initiated
from mobile side, however the application is not the one initiating
the disconnections.
any advice is greatly appreciated
Ordit
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: avoid cross-transport key derivation
2020-03-08 15:42 avoid cross-transport key derivation Ordit Gross
@ 2020-03-08 15:59 ` Marcel Holtmann
[not found] ` <CAB+bgRbibcup6cAwk9mUXD388zN2kYP4wJHJRq_acD_U_YdBdw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2020-03-08 15:59 UTC (permalink / raw)
To: Ordit Gross; +Cc: linux-bluetooth
Hi Ordit,
> our application connects both to mobile (ble) and speakers (br/edr)
> using bluez stack.
> our controller is configured as follows:
> current settings: powered connectable bondable ssp br/edr le secure-conn
>
> ever since IOS started supporting CTKD (cross-transport key
> derivation) at IOS13, pairing to mobile causes also link key
> distribution and brief br/edr connection follows the ble connection.
> I would like to avoid the link key distribution at the pairing stage.
> the only way I was able to achieve that is by disabling either
> secure-conn or ssp which is undesirable as disabling either of them
> block other functionality.
> what is the recommended approach?
>
> ** when br/edr is turned off we do not experience disconnections from
> mobile app running with IOS13. and vis versa.
> looking on HCI dump from mobile side the disconnections is initiated
> from mobile side, however the application is not the one initiating
> the disconnections.
> any advice is greatly appreciated
you would have to show the btmon trace for this. The extra connection is not needed for cross-transport pairing and seems to be iOS specific to check that the connection actually works.
From our side it is by design that if both transports use the same identity address, that both sides are being paired. So this is pretty much intentional. If you disable BR/EDR, then of course pairing will stick to just pair LE only.
Regards
Marcel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-24 10:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 15:42 avoid cross-transport key derivation Ordit Gross
2020-03-08 15:59 ` Marcel Holtmann
[not found] ` <CAB+bgRbibcup6cAwk9mUXD388zN2kYP4wJHJRq_acD_U_YdBdw@mail.gmail.com>
2020-03-24 10:07 ` Marcel Holtmann
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).