Skip to content
Simple test for sending and receiving data to a Bluetooth Low Energy UART service from an Android 4.3 or 4.4 device.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app Autoscrolling when new text is coming Oct 5, 2015
gradle/wrapper Initial commit. Apr 2, 2014
.gitignore Initial commit. Apr 2, 2014
BLETest.iml Initial commit. Apr 2, 2014
BTLETest.iml Update files from running on linux. Apr 25, 2014
LICENSE Initial commit Apr 2, 2014
README.md Update README.md Apr 2, 2014
build.gradle Initial commit. Apr 2, 2014
gradle.properties Initial commit. Apr 2, 2014
gradlew Initial commit. Apr 2, 2014
gradlew.bat Initial commit. Apr 2, 2014
settings.gradle Initial commit. Apr 2, 2014

README.md

BTLETest

Simple test for sending and receiving data to a Bluetooth Low Energy UART service from an Android 4.3 or 4.4 device.

Load the APK on your Android 4.3 or 4.4 device (highly suggest 4.4 as BTLE is quite unstable in Android!). Make sure to enable loading apps from unknown sources first.

Build a simple Bluefruit LE + Arduino circuit and load the Bluefruit LE library echoDemo on the Arduino.

Make sure bluetooth is enabled, then load the BLETest application (has a generic Android icon). Once started the app will immediately search for BTLE devices and connect to the first one it finds with the UART service. Status messages will be displayed in a text view on the screen.

Once you see the connected and services discovered message, try typing text in the edit view at the top and click Send to send it to the Arduino. From the Arduino side try sending text from its serial monitor to the BLETest app.

The source for this app is written in the latest version (0.53) of Android Studio.

You can’t perform that action at this time.