if the issue can be worked ,how to do that with android source code? the 2 ble pure devices (not android phone) connect with a ble android phone.
if the issue can be worked ,how to do that with android source code? the 2 ble pure devices (not android phone) connect with a ble android phone.
Thank your replay. But My issue is below , drive.google.com/.../view It make you clear my requirement.
If I understand the image in your link correctly, you simply want to make an Android app that connects to two (or more) BLE peripherals (for example two watches). As Aleksander writes in his thorough reply the answer is: Yes it is i possible to do, but No we don't provide or know of any examples. Aleksander is giving you some good tips on how to do it though. If you haven't seen them already these are all the examples we provide at the moment: Nordic's github.
I want to connect two ble devices to an Android phone at the same time. I created a BluetoothGatt object and a callback for each device. The two connections were established, but the android phone could not receive the data from any device. I tested github.com/.../Android-nRF-Connect, it worked fine, but its code is not available. I even tried github.com/.../Android-nRF-Toolbox, but the Proximity Monitor could not find the two devices. Any suggestion? Should i connect in different Service or Thread?