SachinPuthran / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

Need a way to know how many devices are available for the threadlocal stack #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
implement something like 'hcitool dev' that lists the available
localdevices for using with the threadlocal strack in linux

Original issue reported on code.google.com by franci...@gmail.com on 23 Jun 2008 at 8:42

GoogleCodeExporter commented 9 years ago
New function: Vector BlueCoveImpl.getLocalDevicesID()
And new property LocalDevice.getProperty("bluecove.local_devices_ids") has been
added. The last returns: "0,1"  if I have two device
If I run # hciconfig hci0 down
Then the property returns only "1"

Keep in mind that you would have an initialized stack when calling
BlueCoveImpl.getLocalDevicesID()

So if you need to initialize a new stack (when available) you need the exclude
already initialized!  Use LocalDevice.getProperty("bluecove.deviceID") to get 
the ID
of current one.....

The 32-bit build already on build server
The 64-bit build would updated later tonight.

Original comment by skarzhev...@gmail.com on 25 Jun 2008 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by skarzhev...@gmail.com on 25 Jun 2008 at 7:30

GoogleCodeExporter commented 9 years ago

Original comment by skarzhev...@gmail.com on 5 Sep 2008 at 7:16