Take a look at Xbtrc

http://wwwhome.cs.utwente.nl/~dijkhw/index.php?p=Katlijk/Xbtrc


problems encountered: multiple remotes can't connect to the same server.

i see that the accept method (unlike tcp implementation) returns the server port upon accepting an incoming connection. for instance, if the server is listening on port 16, when any remote connects to the server, the server port 16 is used to establish end-to-end connection with the client. now, another device cannot connect to the same server until the first remote disconnects. this problem stops us from using multiple remotes with a single linux server.

There is no such restriction in hardware or bluetooth software stack.  Multiple clients can be simultaneously connected to the same RFCOMM channel on a server.  Use hcidump -X -V to find out where the connection fails.  Make sure that the server is always the master and that the clients are always the slaves.  This probably requires a role switch after each connect.
 
>rfcomm connect 00:0D:88:C0:61:55 16
Can't connect RFCOMM socket: Host is down

This syntax is incorrect.  See the rfcomm documentation.
 
-albert