aharpour / bluecove

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

Problem using BlueCove (device not ready) #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running an application that uses BlueCove on Windows Vista (32bit)

What is the expected output? What do you see instead?
- I tried to build a simple server but after the second operation in the
main method i get an exception.
- The first method (LocalDevice.getPropery returns this
BlueCove version 2.1.0 on widcomm

- This is the output text after a LocalDevice.getLocalDevice():

Exception in thread "main" javax.bluetooth.BluetoothStateException:
Bluetooth Device is not ready
    at
com.intel.bluetooth.BluetoothStackWIDCOMM.getLocalDeviceBluetoothAddress(Native
Method)
    at javax.bluetooth.LocalDevice.<init>(LocalDevice.java:71)
    at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:78)
    at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
    at SampleSPPServer.main(SampleSPPServer.java:46)

What BlueCove version are you using (include build number for SNAPSHOT)? 
Bluecove 2.1.0

On what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?
Windows Vista 32 bit and Java jre 1.6

I've a vaio notebook with bluetooth embedded, may be this the problem?

Thanks for your attention and sorry for my english. 

Original issue reported on code.google.com by farina.f...@gmail.com on 21 Jul 2009 at 2:36