noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.13k stars 450 forks source link

Existing Connection Forcibly Terminated By New Connection #426

Open legoabram opened 5 years ago

legoabram commented 5 years ago

I have a situation where multiple devices will be attempting to connect to my bleno app on a Raspberry Pi Zero W. I would have expected that if bleno is busy with one connection, it would reject incoming connections. Instead, the current connection is immediately terminated to let the new device connect. As I see it, there is one of three things happening...

  1. This is a bug, and should be addressed.
  2. This is a design choice, and I would request an option to enable/disable this behavior if possible.
  3. This is a hardware/firmware quirk, and there is nothing to be done.