Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » Hardware Support » Bluetooth & Connectivity Help Center » wiiremotj + bluecove + widcomm connection problem(JAVA)
Pages: [1]
  Print  
Author Topic: wiiremotj + bluecove + widcomm connection problem(JAVA)  (Read 2654 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile Email
« on: November 02, 2010, 09:11:47 PM »

I want to write a JAVA program to get data from my wii remote.
I am using wiiremotej and bluecove libraries with win7 x64 and my bluetooth dongle with widcomm driver.

when i call the method
Code:
WiiRemote remote = null;
remote = WiiRemoteJ.findRemote();

it shows this
Code:
Exception in thread "main" java.lang.IllegalStateException: Bluetooth failed to initialize. There is probably a problem with your local Bluetooth stack or API.
        at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:56)
        at WiiSRV.main(WiiSRV.java:28)
Caused by: javax.bluetooth.BluetoothStateException: BluetoothStack not detected
        at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:496)
        at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:69)
        at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1044)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:1042)
        at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:1035)
        at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:75)
        at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
        at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:49)
        ... 1 more
Java Result: 1

I tested the connection, my wii remote can connect to my pc with Smoothboard or WiimoteWhiteboard
what is the problem? thank you
« Last Edit: November 02, 2010, 09:44:19 PM by tidus » Logged
Pages: [1]
  Print  
 
Jump to:  

Clicky Web Analytics