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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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