Author Topic: wiiremotj + bluecove + widcomm connection problem(JAVA)  (Read 6719 times)

Offline tidus

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
on: November 02, 2010, 01: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: [Select]
WiiRemote remote = null;
remote = WiiRemoteJ.findRemote();

it shows this
Code: [Select]
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>(
        at WiiSRV.main(
Caused by: javax.bluetooth.BluetoothStateException: BluetoothStack not detected
        at Method)
        at javax.bluetooth.LocalDevice.getLocalDeviceInstance(
        at javax.bluetooth.LocalDevice.getLocalDevice(
        at wiiremotej.WiiRemoteJ.<clinit>(
        ... 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, 01:44:19 PM by tidus »