Closed GoogleCodeExporter closed 8 years ago
If you want to share the same adapter in multiple threads you need to
initialize it
once in one thread.
---
BlueCoveImpl.useThreadLocalBluetoothStack();
BlueCoveImpl.setConfigProperty("bluecove.deviceID", "1");
final Object id2 = BlueCoveImpl.getThreadBluetoothStackID();
---
And then use it in all other threads lie this:
---
BlueCoveImpl.setThreadBluetoothStackID(id2);
----
New thread with code
BlueCoveImpl.setConfigProperty("bluecove.deviceID", "1");
Will try to initiate the adapter again and should fail...
Original comment by skarzhev...@gmail.com
on 8 Jan 2010 at 5:07
Original issue reported on code.google.com by
rmoren...@gmail.com
on 23 Sep 2009 at 9:58