/SuperPanel

Primary LanguageJavaMIT LicenseMIT

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.