Hi everyone,
I have some code I wrote in Processing (a Java wrapper) that encapsulates sending and receiving values over the Dexter NXTBee in network-independent format. This allows for communication between NXTs/PCs running either RobotC or Processing. I would like to port this class to leJOS, but it relies on the java.nio.bytebuffer class to perform network byte-ordering transformations of the data values prior to sending.
leJOS provides the EndianTools class which I could use to re-implement my own version ByteBuffer.
Does anyone know of a ByteBuffer implementation for leJOS (or one implemented in Java I could re-use)? If not then I"ll save my time searching and start re-coding my NXTBee class using EndianTools.
Thanks!
Mark
