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 / 1497
1496  |  1498
Subject: 
LNP and the LEGO remote
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 1 Nov 2000 20:49:05 GMT
Viewed: 
1389 times
  
Luis previously wrote:

  > I'd actually really like to include Chris's patch in the official tree,
  > but I'm informed by folks with more clue about the networking stuff than
  > me that switching the parity bit would probably break some LNP stuff.

I think that a solution could be to run LNP in no-parity mode,
listen for a LEGO remote message header (55 ff 00 d2 2d), and then
switch to odd parity mode on the fly (no parity mode recieves the header ok),
receive the message, and when the message is received, switch back to no parity
mode.

I've tried it, and it works fine for me, I switch to odd parity mode, when I
see the 0x55 byte. - I'm not using the patch Chris Arquiza have
made, just a little modification of the LNP code.

(One downside it has is ofcause that it kind of breaks the layer model, because
the integrity layer accesses the hardware directly and not through
the logical layer.)

Any comments on that?



Message has 1 Reply:
  Re: LNP and the LEGO remote
 
(...) parity (...) because (...) Hi Rasmus, Do you have a patch for this? I'm working on a project for which I want to use the remote, and it'd be nice if I could use legOS... Thanks, ROSCO (24 years ago, 29-Dec-00, 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