Releases: Velorexe/Unity-Android-Bluetooth-Low-Energy
Unity Android BLE Plugin v0.0.3-alpha.0
Hello!
Today I decided to finally start publishing the project-overhaul that I've been working on! Though for now it'll just be an alpha build, nothing too fancy. From the feedback, issues and notes from other users, I've managed to think of a slightly better way to handle the plugin. To be completely honest, it was due for a nice new coat of paint anyway.
So the things that I wanted to achieve with this overhaul, was to separate the plugin from it's original roots. The queuing of BleCommands was tedious and didn't support a bigger picture with more interactivity with the BleDevice itself.
With this release, I've separated all logic from BleCommands to a class called BleDevice. This BleDevice holds all the BleGattServices and BleGattCharacteristics that are on the device itself. If you want to execute logic on these, you can just call .GetCharacteristic to get the specific BleGattCharacteristic that you need, and execute a .Write, .Read or .Subscribe function on it. The callbacks should be handled by the BleGattCharacteristic itself, instead of a global singleton BleManager doing that for you.
If you want to look into the Java side of things, that part is also updated, you can find it here: https://github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy-Java-Library/blob/develop/app/src/main/java/com/velorexe/unityandroidble/UnityAndroidBLE.java
You can now just clone the project and use / build it with more ease. Instead of providing instructions, I've just provided my project as-is.
I hope you'll be able to check it out and leave feedback if you find anything!
Untiy Android BLE Plugin v0.0.3-alpha.1
Hello!
A small release in between project overhauls. I received a great PR from @paulhayes that I want to merge which will make the project a package instead of a .unitypackage (like it is now). Note that this isn't implemented yet, but will be in the next release. Look forward to that in the future!
Features:
- Added
Disconnectmethod toBleDeviceclass
Full Changelog: v0.0.3-alpha.0...v0.0.3-alpha.1
Unity Android BLE Plugin v0.0.2
Forgot to release a v0.0.2 for the plugin, so here it is!
Managed to fit some improvements in here, here's a small list.
Features
- Documentation! All methods, constructors and classes have been annotated with C# hint summaries
- Added
ReadFromCharacteristiccommand to readbyte[]data from a characteristic
Bug Fixes
- Fixed
DisconnectFromDevicenot properly disconnecting from the device - Fixed
WriteToCharacteristiccommand not writing to a characteristic (but always returning an exception instead)
I hope you'll use the plugin in the future and give me feedback along the way!
Unity Android BLE Plugin v0.0.1
The first test release of my Unity Android BLE Plugin! Lett me know if you've got any questions or remarks regarding the plugin.
Contact information can be found in the Readme.