MacOS (10.15.1 (19B88)) "Disconnect" doesn't work from Bluetooth in menu bar
Hi, Thank you so much for the library and all the value provided, I'm testing on Mac, and observed the interesting issue, Please help to resolve:
Bluetooth in menu bar -> Devices -> "ESP32 device name" -> Disconnect (only this option is available) Clicking on Disconnect here - my device reconnects automatically immediately
Additional info:
When you go to Apple menu/System Preferences/Bluetooth
only Remove option (not Disconnect) available for the connected device

Unfortunately I don't have any Apple devices, so I can't really help too much. Does this issue occur on other devices too (Windows or Android maybe)?
Hi, Thanks for the feedback, I've checked on Windows (Bootcamp) - there is no feature like Disconnect - only Remove, So, this Apple's specific I guess,
Btw - iOS device can do only "Forget this device" no Disconnect as well,
In that case, I can't really help. Maybe someone else with a Mac OS device can jump in.
Thank you, Hope, somebody will be interested in this!
Hi again, Here are my findings regarding this behavior. I've flased the sample esp-idf/examples/bluetooth/esp_hid_device/ Bluetooth connectivity has another behavior:
- It can be disconnected via the clicking on the option in the menu bar:
- However, the device disappears from the menu at all
- And can be only removed, not connected again
I know it's not Arduino ( but ESP-IDF) sample. The purpose was just to check the Connect/Disconnect/Remove options functioning.
My guess: there are settings in kind of ESP32 core libraries on how to handle the connection. Appreciate somebody's effort to dive into the topic and tune this to make it finally ideal! Thanks!
Can you try this again with the latest release (0.2.2), please?
Thanks, everyone for the effort! Name of the device recognizing fine (as defined in the code) the first time you are connecting it on macOS, - fixed/improved. "Disconnect" still has the same behavior as early - reconnects immediately after clicking on the Disconnect menu item,
Thank you for testing this again. I was hoping that the changes may have also had an effect on that reconnecting behavior. I guess not. Hopefully someone in the future can come up with a fix.