Comments (5)
In general more then one Device inquiry is not supported on any Bluetooth stack!
Any comments on what Exception you got?
Original comment by [email protected]
on 7 Dec 2007 at 4:42
from bluecove.
I'm doing an inquiry and while doing that i'm publishing services and that
doesn't work
I get this in the console
BlueCove version 2.0.2-SNAPSHOT on winsock
BlueCove version 2.0.2-SNAPSHOT on winsock
on my other machine:
BlueCove version 2.0.2-SNAPSHOT on widcomm
BlueCove version 2.0.2-SNAPSHOT on widcomm
Fri Dec 07 17:54:22 CET 2007 Searching for Bluetooth devices in the vicinity...
javax.bluetooth.BluetoothStateException: Bluetooth Device is not ready
at com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiryImpl (Native Method)
at
com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiry(BluetoothStackWIDCOMM
.java:204)
at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:80)
javax.bluetooth.BluetoothStateException : WIDCOMM error[WBT_ERROR]
at
com.intel.bluetooth.BluetoothStackWIDCOMM.getLocalDeviceBluetoothAddress(Native
Method)
at javax.bluetooth.LocalDevice.<init>(LocalDevice.java:70)
at javax.bluetooth.LocalDevice.getLocalDevice (LocalDevice.java:85)
at com.vodtec.bluetoothserver.VodtecServer.start(VodtecServer.java:69)
at
com.vodtec.bluetoothserver.VodtecServerGui.actionPerformed(VodtecServerGui.java:
85)
at javax.swing.AbstractButton.fireActionPerformed (Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed (Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl (Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent (Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Fri Dec 07 17:55:22 CET 2007 Searching for Bluetooth devices in the vicinity...
javax.bluetooth.BluetoothStateException: Bluetooth Device is not ready
at com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiryImpl (Native Method)
at
com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiry(BluetoothStackWIDCOMM
.java:204)
at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:80)
Original comment by [email protected]
on 7 Dec 2007 at 4:59
from bluecove.
Do you have this application available so I can test myself?
Anyway I fixed Singleton initialization.
Can you try a new build:
bluecove-2.0.2-20071207.172813-54.jar 07-Dec-2007 12:28
Also can you be so kind to test related problem:
1) When Bluetooth is disabled you should get exception
BluetoothStateException("BluetoothStack not detected")
2) DO not restart application. Enable device and start search again. It should
work.
Original comment by [email protected]
on 7 Dec 2007 at 5:29
- Changed state: Accepted
from bluecove.
startup seems to be fixed
and disabling/enabling bluetooth also works (switch on my laptop)
I get DiscoveryListener.INQUIRY_ERROR
and
DiscoveryListener.SERVICE_SEARCH_DEVICE_NOT_REACHABLE
but I suppose you would like a test with an external usb device...
on my other pc i'm getting this now:
BlueCove version 2.0.2-SNAPSHOT on widcomm
Fri Dec 07 19:04:25 CET 2007 Searching for Bluetooth devices in the vicinity...
javax.bluetooth.BluetoothStateException: Bluetooth Device is not ready
at com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiryImpl (Native Method)
at
com.intel.bluetooth.BluetoothStackWIDCOMM.runDeviceInquiry(BluetoothStackWIDCOMM
.java:204)
at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:80)
I'm afraid I can't send you the code...
Original comment by [email protected]
on 7 Dec 2007 at 6:10
from bluecove.
Original comment by [email protected]
on 7 Dec 2007 at 6:15
- Changed state: Fixed
from bluecove.
Related Issues (20)
- CloseHandle needs to be called after BluetoothFindFirstRadio and BluetoothFindNextRadio
- BlueCove on Mac OS X 10.7.2 - Access restriction: The type DiscoveryListener is not accessible due to restriction on required library /Library/Java/Extensions/bluecove-2.1.0.jar
- Broadcom stack not detected as WIDCOMM HOT 2
- : The requested protocol does not exist btspp
- Using Bluecove Software with Android App- Bluetooth stack not found on Toshiba
- undefined symbol: sdp_extract_pdu HOT 5
- kkk
- Bluecove broken on OSX 10.8 HOT 43
- Multiple Connections
- Exceptions thrown by Emulator when running with Java 7
- Make bluecove work with bluesoleil stack HOT 1
- Mac OSX 10.7.5 with Java 7 Webstart using does not work and eventually a JVM crash
- Bluecove on Windows 8 HOT 2
- Patch for /trunk/bluecove-android2/src/main/java/com/intel/bluetooth/BluetoothStackAndroid.java
- x64
- Bluecove not supported in Android 4.2 version
- bluecove_ce and intelbth_ce not found on Windows CE 6.0 and Creme JVM
- Bluecove on Windows CE 6.0
- BlueCove on Windows 8
- "Native Library bluecove_arm not available" issue on arm ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluecove.