To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1627
1626  |  1628
Subject: 
Re: LNP Help
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 14 Jan 2001 04:07:53 GMT
Viewed: 
1689 times
  
On Sat, 13 Jan 2001, Trevor Foley wrote:

Hey,

I am trying to get my computer to talk to 2 rcxs.  I have the program and
when I send ir messages to the RCX loaded with LegOS, it shows the IR port
on.  However I do not understand what the packets should look like with the
intergrity layer.  Right now I have something like:

MsgData[0] = 0xF0; //Header
MsgData[1] = 0x01; //Lenght
MsgData[2] = 0x01; //Data
MsgData[3] = 0x03; //Checksum (Not sure about this)

Is there some reason you're not using liblnp? It will take care of all
this junk for you and you just have to give it the data.

--
"The greatest obstacle to discovery is not ignorance -
it is the illusion of knowledge." - Daniel J. Boorstin

Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



Message is in Reply To:
  LNP Help
 
Hey, I am trying to get my computer to talk to 2 rcxs. I have the program and when I send ir messages to the RCX loaded with LegOS, it shows the IR port on. However I do not understand what the packets should look like with the intergrity layer. (...) (24 years ago, 13-Jan-01, to lugnet.robotics.rcx.legos)

2 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