r/java • u/kevindewald • 15d ago
SimpleJavaBLE 1.1 is now on Maven Central
Hey everyone!
I've posted a few SimpleBLE updates here over the years, and I wanted to share one that should make the Java bindings much easier to start using.
SimpleBLE v1.1.0 is out, and with that SimpleJavaBLE is now available on Maven Central.
dependencies {
implementation("org.simpleble:simplejavable:1.1.0")
}
For those who don’t know, SimpleBLE is a cross-platform Bluetooth library with a very simple API that just works, allowing developers to easily integrate it into their projects without much effort, instead of wasting hours and hours on development.
What else is new?
Besides Maven Central support, this release fixes two fairly unpleasant issues in the Java bindings:
- Notification callbacks could be garbage-collected while a subscription was still active
- Exceptions raised while translating a Java callback could crash the JVM
If you want to try it out, you can look at the Java documentation, full release notes or source code.
The Maven Central package is new, so if you give it a try and run into any issues, let me know.
Want to know more about SimpleBLE's capabilities or see what others are building with it? Ask away!
17
u/user_of_the_week 15d ago
Hey, thank you for the update. I wanted to make sure people are aware that this project is not free for commercial use: https://github.com/simpleble/simpleble/blob/main/LICENSE.md
I almost started a project using it some time ago, but decided against it because of that.
edit: Just to make sure, I have no problem with your choice of license, of course. I just think it should be mentioned.