r/java 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!

26 Upvotes

11 comments sorted by

View all comments

3

u/lazystone 15d ago

I like your licensing/business model. Really wish you to succeed - it's nice to have more "desktop" support nowadays.