Subject:
|
Data-transfering RCX -> PC in LeJOS
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Wed, 18 Apr 2001 00:29:06 GMT
|
Viewed:
|
2441 times
|
| |
| |
I'm trying to transfer some log-data from the RCX to the PC, using the
"Serial.sendPacket(byte[] aBuffer, int aOffset, int aLen)", but it does not
seem to work with a packet-length bigger than approx.. 24 bytes.
The packet is constructed as a opcode-45 packet described in the "RCX Opcode
Reference" which means that one packet can only contain 5 data-bytes(BIG
overhead).
Why does the Serial.sendPacket() skip the bytes after aBuffer[24]?
Has anybody made a package for data-transferring with the LeJOS, or done
some thinking about a "java.net"-alike API for the RCX?
Mathias Kjærgaard
c973371@student.dtu.dk
|
|
Message has 1 Reply:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|