RxAndroidBle
Android-BLE-Library
RxAndroidBle | Android-BLE-Library | |
---|---|---|
10 | 13 | |
3,374 | 1,884 | |
0.4% | 1.2% | |
5.1 | 7.8 | |
about 1 month ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RxAndroidBle
-
How to use the Bluetooth le api
I use https://github.com/dariuszseweryn/RxAndroidBle which is very nice.
- Android BLE
-
Why is Android Bluetooth API so hard to use? or did I just use the wrong API?
Probably this one? It’s the only decent BLE API I’ve ever seen
-
BLE scan for RSSI for bluetooth paired devices
https://github.com/dariuszseweryn/RxAndroidBle is a great open source library, I recommend using that.
-
BLE paired device behavior changes between Android 9P and Android 12S
I usually use RxAndroidBle which is a great library for dealing with Bluetooth with a nice RxJava based API
-
some tips for developing an android BLE app
- https://github.com/dariuszseweryn/RxAndroidBle
-
Starting Android Developer job tomorrow
RxAndroidBle is a great library that helps with using Android Bluetooth LE API in a reactive way.
-
Android as Peripheral -- BLE Bonding Causes Disconnection and errors in future connections
Have you tried using RxAndroidBle to manage ble connections for you?
Android-BLE-Library
-
Can you create an instance of a class in a Kotlin coroutine and have everything run on that Dispatcher thread?
It feels like Kable & this https://github.com/NordicSemiconductor/Android-BLE-Library are what people use nowadays. Nothing will ever be perfect though because the API is cursed and samsung are incompetent and petty
- Android BLE
-
Why is Android Bluetooth API so hard to use? or did I just use the wrong API?
This library makes it slightly better.
-
OnePlus not supported
Android 13 has introduced a new Bluetooth stack [Gabeldorsche](https://blog.esper.io/android-13-deep-dive/#bluetooth\_gabeldorsche) for Bluetooth Low Energy operations. The nature of the Android ecosystem is that Google releases their "bare-bone" Android OS (AOSP), and other device manufacturers (OEM) modify it to meet their hardware requirement criteria. This enables OEMs to choose their hardware components (case in point here, Bluetooth chip-set) without writing the entire OS layer themselves. With the introduction of this stack, developers have started noticing reliability issues while connecting to Bluetooth Low Energy peripherals LE Privacy enabled. These issues were reported to Google as early as Aug 2022. [Issuetracker](https://issuetracker.google.com/issues/242755161?pli=1) If we go by the reported issues, we will notice instances of devices -- 1) [Tesla keys](https://issuetracker.google.com/issues/242755161#comment29) 2) [Garmin smartwatches](https://issuetracker.google.com/issues/242755161#comment42) 3) [Whoop wearables](https://issuetracker.google.com/issues/242755161#comment198) 4) [Polar wearables](https://issuetracker.google.com/issues/242755161#comment309) not working or not working reliably. While some may have been fixed, some wearables still face these issues. To communicate data between a Bluetooth Low Energy peripheral (Bluetooth wearable) and a Bluetooth Central (typical smartphones in our scenario) must transmit command packets between them. These command packets are intercepted at a hardware layer (HCI layer in case of smartphones; similar driver software layer at wearables) over which application layers (Android app in smartphone, firmware layer at wearables) have no or little control. In the ongoing issue, the communication in these layers is breaking, for which we have no data transmission. To resolve this issue, OEMs (both on the smartphone and wearable side) must devise a solution. This raises a question why are not all Android 13 devices and all wearables facing this issue? How does some pair of smartphone and wearable work fine while others do not? The answer is fragmentation in the Android ecosystem; Google Pixel devices and Samsung devices are notably less affected by this issue. Ultrahuman Ring can transmit data when connecting to these smartphones. In some other manufacturers (like OnePlus, Realme, Mi, etc.), while on the Android 13 version of their OS, our Ring faces data communication problems. As stated earlier, OEMs on the wearable side can too take part in resolving this issue. We manufacture Ultrahuman Ring, and our Bluetooth chip manufacturer is Nordic Semiconductors. They write the driver software for talking to a Bluetooth radio. We have notified them of this issue which they have acknowledged, and are in constant communication to resolve it in both [public forums](https://github.com/NordicSemiconductor/Android-BLE-Library/issues/448) and across private channels. We are exploring options to change hardware components or rewrite the entire firmware to circumvent this issue. Still, the nature of the problem remains that it is hard to stipulate a timeline to fix this issue. We understand the frustration and are actively working to find a solution. We want you to know that our website and FAQs need an update to reflect the current situation, and we will update it accordingly. We appreciate your feedback and assure you that we are taking responsibility for this issue. We will update you on any upcoming updates or firmware that will fix this issue. We hope you continue to believe in our product, and thank you for your patience and understanding. Feel free to let me know if you have more questions.
-
Recommendations for beginner BLE development.
You can use this library. Here is an example app that uses it (the actual code is in the profile_... directories). If you don't use a library you will end up with code like this.
-
some tips for developing an android BLE app
- https://github.com/NordicSemiconductor/Android-BLE-Library
- Hardware suggestion to learn BLE development
-
Android dev has become impossible as a hobby
I developed nrf devices as a hobby. This is their basic app. To proceed, I have to decipher Kotlin and Coroutines, sidestepping new fads it's not that simple for a hobbyist.
-
Sending a value over BLE (Simple)
Read up on GAP (For connecting), GATT(For communicating), and Services(Things that receive/send data i.e. battery service, heartbeat service, etc.) for Ble and understand what they are. Every Service has a UUID, find out what that is and that will be what you write to. Then use a library to write to that Service. We use Nordic's Android library at my company because we use a Nordic board but you can use any one that you like. It is significantly easier with a library than using a stock android solution.
-
Developing an Android app for a fitness tracker that uses a NORDIC 52832 CPU and SI1182 sensor
I'm trying to develop an Android app to get the BP, HRV, HR, SpO2, ECG, PPG, BPM, steps, activity, temperature, sleep quality from Spovan H02 fitness tracker (www.spovan-en.com/.../2669112013571072.html)) which uses NORDIC 52832 CPU and SI1182 sensor. The use of H-Band app (https://play.google.com/store/apps/details?id=com.veepoo.hband&hl=en) is made in the instructions manual, but it doesn't provide the option to save details and that's why I'm building the app. I've discovered the Android BLE Scanner Compat library (https://github.com/NordicSemiconductor/Android-Scanner-Compat-Library)) to scan for the BLE devices and the Android BLE Library (https://github.com/NordicSemiconductor/Android-BLE-Library)) to connect to and communicate with BLE peripherals. I'm not able to proceed further, any help will be appreciated. Thanks in advance.
What are some alternatives?
blessed-android - BLESSED, a Bluetooth Low Energy (BLE) library for Android
Android-Scanner-Compat-Library - A compat library for Bluetooth Low Energy scanning on Android.
Android-DFU-Library - Device Firmware Update library and Android app
cordova-plugin-ble-central - Bluetooth Low Energy (BLE) Central plugin for Apache Cordova (aka PhoneGap)
kable - Kotlin Asynchronous Bluetooth Low-Energy
SweetBlue - BLE on Android, the easy way. THIS IS NOW DEPRECATED. Please visit website for info on new versions.
android-mvp-architecture - This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
blessed-android-coroutines - BLESSED Coroutines, a Bluetooth Low Energy (BLE) library for Android using Kotlin Coroutines
NimBLE-Arduino - A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.
Telegram - Telegram for Android source