Skip to content

Amir-yazdanmanesh/Bluetooth-Low-Energy-Terminal-Android-BLE-Library

Repository files navigation

Bluetooth Low Energy Terminal

android Status

This Android app provides a line-oriented terminal / console for Bluetooth LE (4.x) devices implementing a custom serial profile For an overview on Android BLE communication see Android Bluetooth LEOverview.

This app includes UUIDs for widely used serial profiles:

  • Nordic Semiconductor nRF51822

  • Texas Instruments CC254x

  • Microchip RN4870/1

  • Telit Bluemod

  • Filtering, scanning, linking, reading, writing, notification subscription and cancellation in a simple way.

  • Support custom scan rules

  • Support multi device connections

  • Support configuration timeout for conncet or operation

Requirements

  • A device's location services can use Bluetooth to detect Bluetooth beacons and provide a more accurate location
  • In Android 11 or lower, individual apps require location permissions to use BLE scanning
  • From Android 12, the BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE, and BLUETOOTH_CONNECT permissions can allow apps to scan for nearby devices without needing to request the location permission. For more information, see New Bluetooth permissions in Android 12.
  • My BLE library work on Android 5.0+ (API level 21+) .

Install

Step 1 :

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2 :

Add the dependency

dependencies {
    implementation 'com.github.Amir-yazdanmanesh:Bluetooth-Low-Energy-Terminal-Android-BLE-Library:1.0.6'
	}

Preview