Subject:
|
Re: usb from .java best how
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Wed, 5 Mar 2003 08:38:30 GMT
|
Viewed:
|
5223 times
|
| |
| |
In lugnet.robotics.rcx.java, Pat LaVarre writes:
> > http://news.lugnet.com/robotics/rcx/java/?n=237
> > Subject: Re: frame RCX reply how ...
> >
> > Anyone know more specifically where to read how
> > Lejos frames standard RCX IR replies?
> >
> > Does Lejos even include any .java code that runs
> > on the PC?
Pat,
Lejos 2.1.0 includes JNI libraries that support all forms of RCX comms. The
PC Tower class interfaces with serial and USB towers. It lets you send and
receive standard Lego packets. The send and receive methods support the Lego
firmware opcodes and packet format.The read and write methods support
low-level read and write of raw bytes to allow other protocols to be
supported. The LNP class uses Tower to implement the LNP protocol. The
RCXPort class supports Java stream using its own efficient protocol. All
these clases and methods are documented in the pciapidocs directory.
Lejos 2.1.0 also supports java versions if the download tools that use the
Tower class (these are firmdl and lejosdl).
The source for all these are in rcxcomm/classes/josx/rcxcomm in the lejos
2.1.0 distribution.
Lawrie Griffiths
|
|
Message is in Reply To:
| | Re: usb from .java best how
|
| (...) Offline thanks I'm told that: (URL) a one page Lejos usage summary in slide 26 of 31 that says `Lejosfirmdl` can download new firmware, which necessarily involves talking thru USB or serial. Code for .java thru .c to USB may only be a few (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.java)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|