I am working on installing Bluetooth Piconet among several devices in a test bench. The topology of this network is known to all devices.
Devices in the testbed are Ubuntu desktops and Android devices (Eclair). Now I am considering a way to establish a basic slave connection between these devices in a deterministic way. In particular, I am looking for a way to install an android device as master and open several connections with 7 other devices.
I looked at my own implementations using the blue column and NDK, but the implementation of the bluez stack on my device (Samsung GT 15503) does not meet the standards that I assume, and even ordinary applications like hcitool, hciconfig do not work.
So I tried using the official SDK and was even able to install the RFCOMM socket with my laptop (using the example bluetooth chat application as a link). But I am stuck at the point where I am trying to connect two or more devices using the same BluetoothServerSocket. If I do not close the source socket, I cannot open new connections.
Any suggestions in this regard are welcome.
source
share