Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024

Original comment by [email protected] on 7 Dec 2007 at 6:15

  • Changed state: Fixed

from bluecove.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.