burakpat
burakpat

Reputation: 11

Connecting two android with BLE

Is it possible to connect two anonymouse android device (without identity sharing) with bluetooth low energy? I am trying to make an application which allows content sharing at small crowded location.I dont think P2P Wifi is suitable for me since it drains lots of battery power. thanks

Upvotes: 0

Views: 965

Answers (3)

MountainLogic
MountainLogic

Reputation: 308

Keep in mind that BLE was intended to send teaspoon sized data not a firehose like classic bluetooth. Packet size about 20 bytes. You can of course send more than one packet.

Upvotes: 0

Danke Xie
Danke Xie

Reputation: 1797

The only profile supported by BLE in Android L preview seems to be the GATT profile. You can get small objects over BLE connection between two anonymous devices, but a socket-like interface is not supported.

Upvotes: 1

henrik
henrik

Reputation: 1312

Android L release has added Bluetooth Low Energy Peripheral role.

In BLE a connection can only be between 1 Central and 1 Peripheral.

This works fine on Nexus 5 and Nexus 7 with Android L preview.

The throughput of BLE is not very high compared to Bluetooth Classic and Wifi direct.

Upvotes: 0

Related Questions