All of lore.kernel.org
 help / color / mirror / Atom feed
* bt dongle goes awry after too many connections
@ 2015-03-02 20:25 Tim Tisdall
  2015-03-03  0:17 ` Marcel Holtmann
  0 siblings, 1 reply; 15+ messages in thread
From: Tim Tisdall @ 2015-03-02 20:25 UTC (permalink / raw)
  To: linux-bluetooth

I have a "0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0" usb
bluetooth dongle I'm using to connect to multiple BLE devices.  It
used to be that I could connect to 7 devices with no issues and then
when I tried to connect to the 8th device I'd get a
CONNECTION_LIMIT_EXCEEDED error.  In my code I would then tag that
dongle as having a connection limit of 7 and limit the number of
connections.

Recently I was using this code and found that it no longer works.  The
dongle seems to "successfully" connect to ~13 devices but things don't
work properly.  At least half of the devices no longer respond to GATT
commands sent to it.  I issue a GATT command after connecting to each
device to read some attributes and most simply do nothing (no error,
no response, nothing).

Any way, I'm not really familiar with how things are laid out in the
kernel so I'm not really sure where that CONNECTION_LIMIT_EXCEEDED was
being created before and why it's no longer working as expected.  I
tried looking through the git logs in "btusb" and "bluetooth" modules
and didn't really see anything pertinent.

-Tim

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: bt dongle goes awry after too many connections
@ 2015-03-02 20:41 Tim Tisdall
  0 siblings, 0 replies; 15+ messages in thread
From: Tim Tisdall @ 2015-03-02 20:41 UTC (permalink / raw)
  To: linux-bluetooth

Sorry, the error I mentioned is called HCI_MAX_NUMBER_OF_CONNECTIONS
in the Bluez bluetooth.h file.  The name I gave it is from the
Bluetooth specs (CONNECTION_LIMIT_EXCEEDED).

- Tim

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

end of thread, other threads:[~2015-03-09 17:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02 20:25 bt dongle goes awry after too many connections Tim Tisdall
2015-03-03  0:17 ` Marcel Holtmann
2015-03-03 16:02   ` Tim Tisdall
2015-03-03 16:07     ` Tim Tisdall
2015-03-03 16:19     ` Marcel Holtmann
2015-03-03 16:41       ` Tim Tisdall
2015-03-09 14:40         ` Tim Tisdall
2015-03-09 15:27           ` Andrejs Hanins
2015-03-09 16:21             ` Marcel Holtmann
2015-03-09 16:47               ` Andrejs Hanins
2015-03-09 16:53                 ` Tim Tisdall
2015-03-09 16:59                   ` Andrejs Hanins
2015-03-09 17:10                 ` Marcel Holtmann
2015-03-09 17:22                   ` Andrejs Hanins
  -- strict thread matches above, loose matches on Subject: below --
2015-03-02 20:41 Tim Tisdall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.