WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

1 in 3 times findRemotes locks up without "BlueCove&quo

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
NickGeorge



Joined: 06 Jun 2008
Posts: 3

Digg It
PostPosted: Tue Jun 10, 2008 4:58 pm    Post subject: 1 in 3 times findRemotes locks up without "BlueCove&quo

The three relevant lines of code:
Code:

System.out.println( 1 );
WiiRemoteJ.findRemotes( this , 1 );
System.out.println( 2 );


Under normal operation, I get:
Code:

1
BlueCove version 2.0.2 on mac
2

and then it properly finds the remote. But for some reason (and seemingly increasingly often), I just get
Code:

1

and the program blocks without ever finding the remote. Never prints out "BlueCove," never gets to 2, gotta force quit.

Any clues on that one?
Thanks,
Nick
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 521

Digg It
PostPosted: Tue Jun 10, 2008 6:15 pm    Post subject:

I'm not entirely sure what the issue would be. What OS do you have, and what Bluetooth stack are you using?
_________________
Cha0s
Back to top
View user's profile Send private message
NickGeorge



Joined: 06 Jun 2008
Posts: 3

Digg It
PostPosted: Tue Jun 10, 2008 6:27 pm    Post subject:

it's a Mac OS X version 10.5.1. I'm using the built-in stack on the macbook, I'm not sure how to get you more specific information than that.

By the way, if I understand correctly, and this API is your baby, then I want to say great work, it's astonishingly easy to use! Much appreciation!
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 521

Digg It
PostPosted: Tue Jun 10, 2008 11:06 pm    Post subject:

Thank you. Smile

I'm not sure what the problem is exactly (the Mac stack is generally pretty stable except for a few known bugs on PPC Macs). There were some bugs in handling multiple remotes which I think I've fixed in my current release. I'm trying to avoid a release without new features, but if this release does fix your problem, I'll go ahead with it.

So, I guess you can be the tester for the new release. Wink Shoot me an email with where you want me to send it (what email address), and I'll send an updated version of WiiRemoteJ back. My email is available in the readme.
_________________
Cha0s
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group