Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Assure-thinkTech/53619619bb4bbce86792f887d43b5017 to your computer and use it in GitHub Desktop.
Save Assure-thinkTech/53619619bb4bbce86792f887d43b5017 to your computer and use it in GitHub Desktop.
Android Bluetooth Low Energy (BLE) Resources

Background

Platform-Agnostic

Android-Specific

Libraries

  • iDevicesInc/SweetBlue - A proprietary library that abstracts away many of Android BLE challenges. May be useful if you have more dollars than time, or if you are developing stability-critical applications.
  • Polidea/RxAndroidBle - A reactive BLE wrapper, useful for one-shot connections and operations (is not set up to support persistent connections).
  • douglasjunior/AndroidBluetoothLibrary - MIT-licensed Android BLE wrapper. I haven't personally used this, but it looks good.
  • Beepiz/BleGattCoroutines - Again, not a library I've used, but a natural application of Kotlin's coroutines to sidestep callback hell.

Building

Resources relevant to building Bluetooth Low Energy Android applications from scratch.

In-Depth Guides

  • "Bluetooth Low Energy on Android: Top Tips For The Tricky Bits" by Stuart Kent (slides, video) - My own talk!
  • "Bluetooth Low Energy on Android" series by Erik Hellman (post 1) (post 2) - Comprehensive introductory articles.
  • Android BLE Issues - A fairly complete list of symptoms you are likely to encounter while working with Android's BLE stack. Some apply to pre-Lollipop only, but many still exist and occur.

Implementations

Android Source Code

Stack Overflow

Useful users, questions, answers, and comments from Stack Overflow's Q&A.

Google Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment