linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LE ADV data is lost after first connection
@ 2015-10-06  7:04 Andrejs Hanins
  2015-10-06  9:35 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Andrejs Hanins @ 2015-10-06  7:04 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

	I'm on Bluez 5.35 + Kernel 4.1.6 using D-Bus LE Adv Manager to register my own advertisement structure (with service UUID). Everything works fine, I see my UUID is present in scan record (using Android Bluetooth LE Scanner or iOS Light Blue App). But scan record becomes empty (all zeros) after I connect/disconnect to the peripheral.

	This issue, however, only present on Atheros AR3012 Bluetooth chip (USB vendor:product is 0cf3:3004) and not present neither on Broadcom BCM20705 nor on CSR. Based on btmon traces I see that after peripheral is disconnected, LE adv is enabled again using HCI "LE Set Advertising Parameters" and "LE Set Advertise Enable" commands which obviously do not set the adv data again.

	My assumption is that BT chip is expected to keep LE adv data between re-connections, but Atheros AR3012 (at least the revisions we use) has a bug which erases Adv data after the connection is made.

	Can someone confirm that my assumption is correct and workaround/quirk is needed for AR3012 or maybe there is something else may be wrong here?


BR, Andrey

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

end of thread, other threads:[~2015-10-06 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06  7:04 LE ADV data is lost after first connection Andrejs Hanins
2015-10-06  9:35 ` Luiz Augusto von Dentz
2015-10-06 10:02   ` Andrejs Hanins

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