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 / 3921
3920  |  3922
Subject: 
Re: RCX to RCX LNP
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 17 Aug 2005 08:37:08 GMT
Viewed: 
7404 times
  
Hi.

AFAIK there is no way to receive Lego-Messages, except by editing lnp.c and adding
that by hand.  The only Lego-Messages that brickos knows of, are those from the
remote control and the "send message" opcode (0xf7). It may be worthwhile to add
general LEGO-Message support to lnp.c together with an lnp_lego_handler...

That would be a fun state machine to set up... ;-)

However, I wonder why your brickOS RCX doesn't indicate that it receives a message.

It only does so when it receives opcodes between 0xf0 - 0xf7 or a
standard firmware message (0x55). Of the first eight, only 0xf0 and 0xf1
currently require further action, with 0xf0 being reserved for
unaddressed lnp_integrity messages and 0xf1 for lnp messages with
addressing features. Everything else will be ignored and thus not
visually indicated as valid message (the display is software controlled).

Andre



Message has 1 Reply:
  Re: RCX to RCX LNP
 
(...) So, I finally sat down and figured out how the lnp state machine works in BrickOS. Turns out it was pretty easy to add in a new set of states so it can process a standard OpCode & store the parameters in variables. At this point, I'm not (...) (19 years ago, 8-Sep-05, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: RCX to RCX LNP
 
(...) AFAIK there is no way to receive Lego-Messages, except by editing lnp.c and adding that by hand. The only Lego-Messages that brickos knows of, are those from the remote control and the "send message" opcode (0xf7). It may be worthwhile to add (...) (19 years ago, 12-Aug-05, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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