fabiberlin / android-bluetooth

Automatically exported from code.google.com/p/android-bluetooth
0 stars 0 forks source link

Multiple Links #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello
not exactly an issue but more of a general question..
is it technically possible to open more than one bluetooth link ?
i know that your bluetooth class is implemented as a singleton, but i 
wanted to know what would happen if lets say you tried to create more than 
one instance.

thanks

Original issue reported on code.google.com by tomer.be...@gmail.com on 15 Nov 2009 at 12:02

GoogleCodeExporter commented 9 years ago
The LocalBluetoothDevice wraps the reference to the hardware. Since there is 
only one
Bluetooth physical interface, it does make sense to have more than one instance 
of
LocalBluetoothDevice in an application.

Does it answer to your question?

Original comment by gerda...@gmail.com on 29 Dec 2009 at 11:27