{"repo":"weliem/blessed-bluez","free":true,"listed":false,"github":"https://github.com/weliem/blessed-bluez","clone":"git clone https://github.com/weliem/blessed-bluez.git","description":"BLE library using Java and Bluez","language":"Java","stars":98,"topics":["bluetooth-low-energy","bluetooth-le","java","bluez","bluez-dbus","raspberry-pi","ubuntu"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"BLESSED for Bluez - BLE made easy BLESSED-for-Bluez is a Bluetooth Low Energy (BLE) library for Bluez 5.50 and higher, that makes working with BLE using Bluez very easy. It completely hides the DBus messaging needed to use Bluez and provides a CoreBluetooth-like object oriented interface. This library uses the DBus-Java library and parts of the Bluez-DBus library for the communication with the DBus and Bluez functionality. The library consists of 3 core classes and 2 callback abstract classes: 1. BluetoothCentralManager , and it companion abstract class BluetoothCentralManagerCallback 2. BluetoothPeripheral , and it's companion abstract class BluetoothPeripheralCallback 3. BluetoothBytesParser The BluetoothCentralManager class is used to scan for devices and manage connections. The BluetoothPeripheral class represent the peripheral and wraps all GATT related peripheral functionality. The BluetoothBytesParser class is a utility class that makes parsing byte arrays easy. The BLESSED library was inspired by CoreBluetooth on iOS and provides the same level of abstraction. If you already have developed using CoreBluetooth you can very easily port your code to Linux using this library. It has been tested on Ubuntu 18/19/20 and Raspberry Pis. Installation The library is available on Jitpack and uses SLF4J for logging: You need to include a transport library for dbus-java, for most users dbus-java-transport-native-unixsocket will be the best choice. But if your Java version is older ","default_branch":null,"files":null,"tree":[],"storefront":"/r/weliem","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/weliem/blessed-bluez/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}