btleplug
btleplug copied to clipboard
“Software caused connection abort”
Describe the bug My code run on mobile And macos. But when I compile it on Ubuntu, it doesn't work. I Get this error after each successful connection. Why?
My code works fine on all mobile platforms and macos, and scans fine when I try to run it on Ubuntu, but this error occurs every time I connect. I'm running in docker. Is that relevant?
Possibly. Hardware access in docker can be very weird. Are you seeing connections on the device side?
Possibly. Hardware access in docker can be very weird. Are you seeing connections on the device side?
Yes, there was a connection for a moment. I tested a non-docker environment on Ubuntu and had the same error.
I have got exactly the same issue and the application is not running inside docker, so the two are unrelated.
Weirdly however, one in 50 (or so) connection attempts works.