Android Question Getting Started with BLE2 - but not detecting second device

swabygw

Active Member
Licensed User
Longtime User
I have two Android phones sitting next to each other.

I've installed these two examples on one of the phones, Phone A:

RSSI example: https://www.b4x.com/android/forum/threads/bluetooth-rssi-signal-strenth.43019/#post-261068

BLE Chat example: https://www.b4x.com/android/forum/threads/ble-chat-connecting-android-and-ios.66543/#content (BLECentral_B4)

In the RSSI example, Phone A finds Phone B successfully. But, in the BLE Chat example, after issuing:
B4X:
manager.Scan(Null)
from Phone A, it finds my printer, my neighbors digital piano with Bluetooth, but not the other phone (Phone B). Shouldn't it report finding the other phone, too? For the BLE Chat to work on the two Android phones, does one of them have to be a peripheral (where is an Android peripheral example)?
 
Last edited:
Top