Kable
Kable's JVM target runs on btleplug and takes the first adapter it reports, which on Windows and macOS is the computer's own radio.

Kotlin Bluetooth
Dongl is a USB Bluetooth Low Energy adapter you drive from Kotlin with SimpleKtBLE. Scan, connect, and pair through its own radio on Windows, macOS, and Linux, with coroutines from the first call.
















































Pre-order a Dongl, or flash the free Dongl firmware onto a Nordic nRF52840 Dongle or DK you already own.
Add org.simpleble:simplektble to your Gradle build.
A plugged-in Dongl appears as its own adapter, next to the computer's Bluetooth. Take the adapters of the Dongl backend and your code runs on the Dongl.
Select the Dongl, then scan, connect, and read. This is the code for each step.
import org.simplektble.Backend
val adapter = Backend.getDongl().getAdapters().first()
println("${adapter.identifier} [${adapter.address}]")On the desktop JVM, Kotlin code uses Kable or the Java BLE libraries.
Kable's JVM target runs on btleplug and takes the first adapter it reports, which on Windows and macOS is the computer's own radio.
bluez-dbus and Blessed for BlueZ work from Kotlin on Linux only.
Calls on different Dongls run in parallel, so one coroutine per Dongl checks several devices at once.
The same Kotlin code drives a Dongl on every desktop, from desktop apps and command-line tools alike.
Scans report each device's real address, so a Mac test station matches devices by the address on their label.
Your code answers passkey and numeric-comparison prompts, with no system dialog. Bonds stay on the Dongl.
Each Dongl is another adapter, with a stable address across restarts and USB ports.
Commercial customers work directly with the team that builds SimpleBLE and the Dongl firmware.
Dongl hardware ships with the firmware installed and includes a commercial license to use SimpleBLE through the Dongl backend.
Plug in a Dongl, add SimpleKtBLE to your Gradle build, and take the adapters of the Dongl backend with Backend.getDongl().getAdapters(). Each Dongl is an adapter with its own radio, and it works through the same API as the computer's Bluetooth.
Plug in a Dongl, add SimpleKtBLE to your Gradle build, and take the adapters of the Dongl backend with Backend.getDongl().getAdapters(). Each Dongl is an adapter with its own radio, and it works through the same API as the computer's Bluetooth.
Yes. Each Dongl is a separate adapter, and calls on different adapters run in parallel, so one coroutine per Dongl scans, connects, and reads at the same time.
Yes. Each Dongl is a separate adapter, and calls on different adapters run in parallel, so one coroutine per Dongl scans, connects, and reads at the same time.
Yes. SimpleKtBLE is SimpleBLE's Kotlin Multiplatform package. Its desktop targets drive a Dongl on Windows, macOS, and Linux, and the same API reaches Bluetooth on Android and iOS.
Yes. SimpleKtBLE is SimpleBLE's Kotlin Multiplatform package. Its desktop targets drive a Dongl on Windows, macOS, and Linux, and the same API reaches Bluetooth on Android and iOS.
Java code can use SimpleJavaBLE, SimpleBLE's Java package, which drives a Dongl the same way.
Java code can use SimpleJavaBLE, SimpleBLE's Java package, which drives a Dongl the same way.
No. The free Dongl firmware runs on a Nordic nRF52840 Dongle or DK for prototyping, testing, and non-commercial validation. Dongl hardware ships with the firmware installed and includes a commercial license to use SimpleBLE through the Dongl backend.
No. The free Dongl firmware runs on a Nordic nRF52840 Dongle or DK for prototyping, testing, and non-commercial validation. Dongl hardware ships with the firmware installed and includes a commercial license to use SimpleBLE through the Dongl backend.
SimpleBLE is source-available under the Business Source License 1.1 and free for non-commercial use. Evaluation needs no license. Commercial use needs a license, and one agreement covers your whole company, with no per-seat, per-device, or royalty fees. Each Dongl hardware unit includes a commercial license to use SimpleBLE through the Dongl backend.
SimpleBLE is source-available under the Business Source License 1.1 and free for non-commercial use. Evaluation needs no license. Commercial use needs a license, and one agreement covers your whole company, with no per-seat, per-device, or royalty fees. Each Dongl hardware unit includes a commercial license to use SimpleBLE through the Dongl backend.