Hi, I also got the Error sending data! once today. I looked around the WiiRemoteJ forum and found this:
Right now errors message are simply forwarded to the GUI. The reason for that is they would otherwise be unnoticed and the user has no idea what’s going on. I cannot really do anything against these errors since they come from libraries that I just use. I can only change my program to behave more “nicely” when they occur. Instead of displaying a blocking error message there could be an “Error Log Window” or something like that. In case of severe errors the program could gracefully reset itself to initial state or do a reconnect (I have to investigate into that). Other suggestions?
More info: the previous release did not have this problem. Also, when run with BlueCove debug enabled, nothing appears abnormal.
I guess that’s because all errors were simply ignored :)
This happens consistently 60 seconds after the wiimote connects. Does the code do a status check on the wiimote then?
Yes, I do a status check every minute to update the battery level. Does the program work normally until the error occurs?
Uwe