Closed GoogleCodeExporter closed 8 years ago
Hi Michael
0) Are you connecting to one Remote at a time or more than one?
1) What type of traffic you get from remote bps or kbps + directions?
2) Does it work fine on avetana?
3) What is "setting the input report" in L2CAP terms.
If I would have One Wii remote in my office. What I need to do to reproduce the
problem. Need instruction for dummies + url to jar
--
Vlad
Original comment by skarzhev...@gmail.com
on 3 Jan 2008 at 2:30
I'm having the same problem. I'm not a hardcore coder, so I can't explain it in
proper terms :) Anyway:
I'm connecting one Wii Remote only, and the exception occures when the remote
Bluetooth activation buttons are pressed prior to the device discovery step. I'm
guessing this has something to do with the bug.
Ctta0s, could this help in building a workaround of some sort?
Original comment by pekka.pu...@gmail.com
on 3 Jan 2008 at 4:40
I see the problem on OSX. Also tested on WIDCOMM and it works fine.
Are application opening two or more L2CAP connections to the same device?
Original comment by skarzhev...@gmail.com
on 3 Jan 2008 at 5:10
I managed to run two L2CAP connections from OSX to different service on another
computer XP+WIDCOMM stack. I can close any of them and open connections again.
All
works fine.
I used my test application.
Since WiiRemote is not open source application I can't debug it. Please provide
more
details how I can reproduce the problem, e.g. general communications diagram
for your
applications. What happens when.
Original comment by skarzhev...@gmail.com
on 3 Jan 2008 at 5:37
Alright, I'll do a quick outline:
1. Device discovery happens and gets the bluetooth address of the device.
2. A connection is opened on PSM 0x11 for output and on PSM 0x13 for input.
3. A listener thread is started that constantly reads from PSM 0x13.
4. Two outputs are sent:
(hex) 52 12 00 30
(hex) 52 11 00
5. Data is read from the WiiRemote (this involves sending another command).
I think I see the problem. The remote also sends controller status messages,
and I think this is the problem.
The exception occurs when this happens (the computer has to send back a
confirmation similar to the first
message I wrote). Perhaps the timing of this causes the error.
Original comment by ctt...@gmail.com
on 3 Jan 2008 at 6:52
I think I fixed the problem. One remote was working fine for me and I pressed
all the
buttons:)
Try the latest build #75
http://www.pyx4me.com/maven2-snapshot/net/sf/bluecove/bluecove/2.0.2-SNAPSHOT/bl
uecove-2.0.2-20080104.002558-75.jar
Original comment by skarzhev...@gmail.com
on 4 Jan 2008 at 12:28
No reply from customer, Now tests seems to work in my environment.
Original comment by skarzhev...@gmail.com
on 7 Jan 2008 at 3:36
Sorry, I've been a bit busy these past few days and didn't have access to a Wii
Remote until now. Confirmed that
the problem is fixed. Thanks! :)
Original comment by ctt...@gmail.com
on 7 Jan 2008 at 8:18
Anyone else having problems with the latest builds on this issue? I tried some
of the nightly builds including the
one mentioned above but all show the same behaviour. Usually it works the
second time I launch the WiiRemoteJ
application (shortly after the first attempt). Does anybody can help?
Original comment by carlo.jo...@gmail.com
on 11 Jan 2008 at 4:56
This is the WiiRemoteJ problem. The code should retry connections properly.
Also it would be nice if WiiRemoteJ would store the device address to be later
reused
by application.
--
As of now this is not BlueCove bug.
Original comment by skarzhev...@gmail.com
on 11 Jan 2008 at 4:59
Hi,
The new build does not work with Widcomm 1.6 (using the bluecove.dll for widcomm 1.6
under widnows vista)
The bluecove-2.0.2 had the same connection problem, but now I have a
"java.lang.IllegalStateException: Bluetooth failed to initialize. There is
probably a
problem with your local Bluetooth stack or API."
Do you know where the problem is ?
Ludovic
Original comment by ludovic....@gmail.com
on 11 Jan 2008 at 5:14
Visa and Widcomm 6 are not supported in main distribution for now
http://code.google.com/p/bluecove/wiki/stacks
You can try and use the dll specially created for Widcomm version 6
http://bluecove.googlecode.com/svn/build/win-dlls/BTW%20DK%206.1/
I had no time to test it on Vista and change the BlueCove to use this dll on
Vista.
!!! Tell me how it goes !!!
BUT please use different bug since this one is closed and was for OS X!
Original comment by skarzhev...@gmail.com
on 11 Jan 2008 at 5:19
Original issue reported on code.google.com by
ctt...@gmail.com
on 3 Jan 2008 at 1:35