user2086994
user2086994

Reputation: 51

How to detect nexus 4 through another nexus 4 using bluetooth low enerrgy

I am using Google sample code for BLE. I have 2 nexus 4 phones. When i install the app on one phone and try to scan for any other BLE enabled devices, it does not display any device. Is there any problem in the code or BLE on phone cannot detect BLE enabled mobile phones?

Upvotes: 1

Views: 105

Answers (1)

reTs
reTs

Reputation: 1829

http://developer.android.com/guide/topics/connectivity/bluetooth-le.html#roles

You have to first understand that how BLE works. There are central and peripheral roles. Read the link above, you will find that now Android only supports central role, and central cannot be discovered by another central.

Upvotes: 1

Related Questions