Skip to content

promptsoft/Android_BLE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Multiple BLE Device Connection

This test app demonstrate how to connect and communicate android app with multiple BLE devices using BluetoothLeGatt interface.

Prerequisites

1.Android Device with android 4.4.2 and above 2.Bluetooth Low Energy Device which can work in Peripheral Module.

Installation

1.Import project in Android Studio. 2.Please verify that application have BLUETOOTH and BLUETOOTH_ADMIN permission in menifest file.

If Android Device has Marshmallow or above version then add extra permissions of LOCATION and GPS.

Currently this app supports connection with 2 BLE devices but we can add connection upto 4-7 devices (most device support 4 connection at a time) by implementing BluetoothLeGatt callback method. Each callback method stands for one BLE connection.

Please modify class BluetoothLeSevice to add more BLE devices connection.

About

Connect multiple BLE device with android application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages