buttplug icon indicating copy to clipboard operation
buttplug copied to clipboard

Handle bluetooth adapter hotplugging gracefully

Open qdot opened this issue 4 years ago • 1 comments

Describe the bug Buttplug-rs has no way to handle whether a bluetooth adapter was plugged in or removed while it is running

Additional context buttplug-rs uses btleplug (https://github.com/deviceplug/btleplug), which doesn't have a way of detecting adapter hotplugging yet. This means that it's difficult to manage adapters being un/plugged while the library is being used. This will require fixes in btleplug first, but those should propagate up once that's done.

qdot avatar Jul 26 '20 04:07 qdot

This is probably never going to happen, and is such a weird thing that we should just spew errors if it does happen. I suspect we'll see it on mobile when people turn on airplane mode or something, but we should just see our available adapters fall to zero or something?

qdot avatar Aug 29 '22 00:08 qdot