Functional Bluetooth GATT This library allows easy and safer usage of BluetoothGatt in Android. Instead of having callbacks to manage, you just need to call functions. It has also been tested successfully on Wear OS, with the sample included in this repository. It should work similarly on other Android variants such as Android TV. It does so by taking advantage of the excellent coroutines feature in the Kotlin programming language that allows one to write asynchronous code in a sequential/synchronous style, which means, without the callback hell, and without blocking any thread (which would waste memory and decrease performances). This library makes it possible to have readable and debuggable code that interacts with Bluetooth Low Energy GATT (General Attribute), that is, the connection part of the Bluetooth Low Energy standard.

Features

  • Documentation available
  • Examples available
  • Experimental API
  • Gradle instructions
  • BleGattCoroutines is published on MavenCentral
  • Services discovery

Project Samples

Project Activity

See All Activity >

Categories

Mobile

License

Apache License V2.0

Follow BleGattCoroutines

BleGattCoroutines Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BleGattCoroutines!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Mobile Software

Registered

2024-02-27