1
UUID u = UUID.fromString(MY_UUID);
BluetoothSocket btsoc = device.createRfcommSocketToServiceRecord(u);
btsoc.connect();

This will create the bluetooth connection with PC. Can I create another socket connection with different UUID? In normal socket, we could distinguish it with port number on one IP address.

user1338157
  • 13
  • 1
  • 3

1 Answers1

1

Yes, you can create many connections using different UUIDs. You can check this question (Multiple bluetooth connection) for further details.

;)

Community
  • 1
  • 1
João Dias Amaro
  • 511
  • 6
  • 14