We have been working on optimising the flow of communication in our Sortingmachine (see http://www.youtube.com/watch?v=Bet_QDWNFCY
). Instead of only using Blutooth connections between the NXT's, we have exchanged some of the connections to use RS485, in order to avoid switching between Bluetooth connections as it takes alot of time.
However, when the system is running using RS485 connections, we get an IOException when flushing the RS485 Connection. After digging deeply in the source-code, using RConsole, we found that the RS485 connection is being disconnected at line 733 in RS485.java (release 0.9.1) so it seems that a timeout occurs. But it occurs after a random amount of time.
We have been looking at this for some time now, and we are stuck in how to resolve the error.
We have not been able to create a simple test scenario that replicates the error.
Do you have any suggestions on what to do from here? Is this a known error?
Lasse and Kenneth - BrickIt.dk