| View previous topic :: View next topic |
| Author |
Message |
Chimera23
Joined: 17 Sep 2007 Posts: 1
Digg It |
Posted: Tue Sep 18, 2007 10:46 am Post subject: BlueCove implemantation |
|
|
| I was wondering if there will be an implementation of WiiremotJ for BlueCove? As it is opensource, free and also supports the Bluesoleil-stack it would probably be an advantage in opposite to the Aventana JSR-82 implementation. |
|
| Back to top |
|
 |
diplomat
Joined: 15 Sep 2007 Posts: 20
Digg It |
Posted: Tue Sep 18, 2007 3:16 pm Post subject: |
|
|
| i am on that topic too. i still have some problems finding a good documentation on bluecove. |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 522
Digg It |
Posted: Thu Sep 20, 2007 2:43 pm Post subject: |
|
|
BlueCove would be an excellent choice for a JSR-82 implementation. Unfortunately, it currently (at least last time I checked) does not support the L2CAP protocol, meaning that it won't work with the Wii Remote. If it has been upgraded to support L2CAP since the last time I checked, please let me know. It would be great if we could use it in place of Avetana!
P.S. Since it seeks to be a JSR-82 implementation, if it does support L2CAP, it should work seamlessly with WiiRemoteJ, no changes required. _________________ Cha0s |
|
| Back to top |
|
 |
diplomat
Joined: 15 Sep 2007 Posts: 20
Digg It |
Posted: Thu Sep 20, 2007 8:58 pm Post subject: L2cap |
|
|
As much as I could find out, L2cap works only with the WIDCOMM Stack..
you can see on the documentation on google code
code(.)google(.)com/p/bluecove/wiki/Documentation
Greetz |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 522
Digg It |
Posted: Fri Sep 21, 2007 2:45 am Post subject: |
|
|
In that case, BlueCove should work just fine. Give it a try and tell me how it goes. _________________ Cha0s |
|
| Back to top |
|
 |
Classiclll
Joined: 10 Feb 2007 Posts: 97 Location: Japan
Digg It |
Posted: Fri Sep 21, 2007 7:48 am Post subject: |
|
|
Good News!
i'll try it, too. _________________ Classiclll |
|
| Back to top |
|
 |
diplomat
Joined: 15 Sep 2007 Posts: 20
Digg It |
Posted: Fri Sep 21, 2007 1:53 pm Post subject: |
|
|
Hey Chaos....I tried to use the exampleclass in your zip archive. but when I connect my wii controller and add the bluecovelib to the project and start your code i get an error.
BlueCove version 2.0.1 on widcomm
21.09.2007 15:50:46 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FEIN: Nintendo RVL-CNT-01...
21.09.2007 15:50:46 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FEIN: is a WiiRemote!
21.09.2007 15:50:46 wiiremotej.WiiRemote <init>
INFO: btl2cap://0019FDD63CD9
21.09.2007 15:51:47 wiiremotej.WiiRemoteDiscoverer getWiiRemote
SCHWERWIEGEND: Error getting device!
java.io.IOException: WiiRemote failed to connect!
at wiiremotej.WiiRemote.<init>(WiiRemote.java:264)
at wiiremotej.WiiRemoteDiscoverer.getWiiRemote(WiiRemoteDiscoverer.java:87)
at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:225)
at wiiremotej.WiiRemoteJ.findRemote(WiiRemoteJ.java:185)
at WRLImpl.main(WRLImpl.java:135)
Caused by: javax.bluetooth.BluetoothConnectionException: Connection timeout
at com.intel.bluetooth.BluetoothStackWIDCOMM.l2OpenClientConnectionImpl(Native Method)
at com.intel.bluetooth.BluetoothStackWIDCOMM.l2OpenClientConnection(BluetoothStackWIDCOMM.java:613)
at com.intel.bluetooth.BluetoothL2CAPClientConnection.<init>(BluetoothL2CAPClientConnection.java:32)
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnector.java:354)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:149)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:446)
at javax.microedition.io.Connector.open(Connector.java:93)
at wiiremotej.WiiRemote.<init>(WiiRemote.java:258)
... 4 more
java.lang.NullPointerException
at WRLImpl.main(WRLImpl.java:136)
Do you have any ideas what I have done wrong
Grüße
Diplomat |
|
| Back to top |
|
 |
|