To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 66
65  |  67
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:
  Re: Data-transfering RCX -> PC in LeJOS
 
I hope you can solve your problem; I would be very interested in finding out how you did it. I also would like to upload large chunks of data from the RCX to calibrate the light sensor for example. (...) (24 years ago, 11-May-01, to lugnet.robotics.rcx.java)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR