Android-nRF-UART
Android-nRF-UART copied to clipboard
nRF UART app for Android. A simple app showing how to handle BLE with custom service in Android.
I have updated the build tools to the latest version (30) and gradle/dependencies to 2.0.0, but I still can't run the project due to an error in the LocalBroadcastManager include/import...
Upgrade Android Gradle Plugin to 3.5.3 Upgrade Gradle Wrapper to 6.0.1 Use AndroidX LocalBroadcastManager Clean repo and improve .gitignore Added required permission to manifest
Adds new logging functionality to the app.
E/UartService: mBluetoothGatt nullandroid.bluetooth.BluetoothGatt@2aa156fa D/UartService: write TXchar - status=false device is connected but cmd is not sending
I discovered that on nRF-UART Android app, notifications are not enabled by default if ble-app-uart is paired without bonding. This resulted in ble-app-uart not being able to transmit data to...
https://stackoverflow.com/questions/33045581/location-needs-to-be-enabled-for-bluetooth-low-energy-scanning-on-android-6-0
The App is using older SDK and gradle for compiling the project which is causing build error with Android Studio using latest Android SDK. https://github.com/NordicSemiconductor/Android-nRF-UART/blob/master/app/build.gradle **Solution** Update your Project level...
from this log it shows that from mBluetoothGatt.discoverServices() to public void onServicesDiscovered(BluetoothGatt gatt, int status) callback took about 6 seconds for android 6.0.1 & 5.x. for android 4.4.2 it takes...