I have been asked to connect 2 concurrent bluetooth SPP devices (Serial port over bluetooth) on an Android tablet.
I used the bluetooth chat as a base to connect one, but I’m lost when it comes to connecting to 2 devices at the same time.
The goal is to collect data from two remote devices and compare the data.
The tablet can not act as a server, it must be client to those devices.
I looked around but did not found any source examples.
If someone could help…
Thanks
Cedric
Finally I cloned the class containing the connection threads and doubled the handler in the main activity.
I also doubled the menu in order to connect to the 2 devices and after a few tweakings, works like a charm !