Velorexe / Unity-Android-Bluetooth-Low-Energy

A Unity Android plugin to support basic Bluetooth Low Energy interactions.
The Unlicense
101 stars 21 forks source link

Option to initiate disconnect from device in refactored code? #43

Open thecodechemist99 opened 7 months ago

thecodechemist99 commented 7 months ago

I’m currently using the refactored version of your project and noticed there is no Disconnect() method anymore. I also couldn’t find a method for it in the Java code. Is there currently an option to initiate a disconnect?

Velorexe commented 7 months ago

Haha, interesting that I've forgot to add one of the most basic things to the project. Sorry about that, I'll add it this afternoon! Shouldn't be a huge change.

Velorexe commented 7 months ago

I've released a new Unity Android Bluetooth Low Energy v.0.0.3-alpha.1 on the Releases tab which contains the Disconnect method on the BleDevice class.

https://github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy/releases/tag/v0.0.3-alpha.1