esphome-ble-controller icon indicating copy to clipboard operation
esphome-ble-controller copied to clipboard

Only one client can be connected at one time.

Open archef2000 opened this issue 1 year ago • 12 comments

I can't connect two devices to one ble_controller at the same time is this a limitation or a bug?

I have one esp32 that is the ble_controller and two other connecting to it. I Just wanted to ask if it is limitation as the "normal" ble_server supports 3 connections?

archef2000 avatar Jun 29 '23 12:06 archef2000

That is an interesting question. I googled a little bit and found this discussion. It seems technically possible. But the lower-level APIs, which my component is based on, do not support it AFAIK. So, I will consider it rather a limitation than a bug.

wifwucite avatar Jun 29 '23 18:06 wifwucite

How much changing does the library need to work with multiple devices

archef2000 avatar Jun 29 '23 18:06 archef2000

I do not know. In the other thread the guy says, he got it to work, but he also got some errors afterwards. So I am not sure if he really has a solution. ;-)

wifwucite avatar Jun 29 '23 18:06 wifwucite

Oh, and what do you mean by „normal“ ble_server?

wifwucite avatar Jun 29 '23 18:06 wifwucite

The one from esphome directly

archef2000 avatar Jun 29 '23 18:06 archef2000

Oh, that‘s interesting. Let’s reopen then.

wifwucite avatar Jun 29 '23 18:06 wifwucite

You could use that directly instead of a 3rd party one if it allows for the full featureset

archef2000 avatar Jun 29 '23 19:06 archef2000

Have you found a way on how to use the ble_server because i would really like to have a ble network in my home so it even works with no wifi

archef2000 avatar Jul 13 '23 16:07 archef2000

Have you found a way to connect more than one device ?

archef2000 avatar Aug 11 '23 12:08 archef2000

Sorry, currently I’m away from my computer. Maybe I can check next month.

wifwucite avatar Aug 13 '23 17:08 wifwucite

Have you tested if it would be possible?

archef2000 avatar Dec 18 '23 07:12 archef2000

Hey no problem if you don't want to implement it yourself. Have you researched it already? Would you accept a PR?

archef2000 avatar Aug 20 '24 16:08 archef2000