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 / 2185
2184  |  2186
Subject: 
Re: LNPD: communication between clients
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 30 Dec 2001 23:29:26 GMT
Viewed: 
1788 times
  
In adding LNP support to EmuLegOS I needed this feature in the lnpd.  If you
grab EmuLegos there is a patch for lnpd that will add the feature you are
looking for.  The patch has nothing to do with EmuLegOS so you can apply it
without setting up the emulator.  You can get EmuLegOS and the patch at

http://sourceforge.net/projects/emulegos/

grab the latest tar ball and look in the lnp_patch directory for the patch and
instructions.

all the patch does is make sure that every packets that come in over IP are
routed back out over IP (to all clients) as well as over IR.

mark


In lugnet.robotics.rcx.legos, Eric Swalens writes:
It seems that when a client of lnpd sends data to the IR tower, these are not
sent to the other clients connected to the daemon. Unfortunately, I really
need this feature...

So I tried to call "deliver_packet(tx_buffer, tx_end-tx_buffer);" in
rcx_read() in tranceiver.c, just after "confirm_packet(TX_SUCCESS);" (ie.
when a packet has been sent without any collision). But it does not work:
two packets are successfully replicated, then subsequent calls to
lnp_addressing_write() in the client return TX_FAILURE. lnpd detects the
third "incoming" packet but then nothing happens.

Does someone have any idea? Is Martin Cornelius still the maintainer of lnpd?

Eric

PS: to reply to my previous question :), yes, there is an obvious reason to
use a define for the host address: it must be known to download programs into
the RCX.



Message has 1 Reply:
  Re: LNPD: communication between clients
 
(...) Great, thank you very much. Btw, didn't you diff in reverse order (I grabbed version 1.2.4.2)? The lines to add begin with "-"... Eric (23 years ago, 31-Dec-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  LNPD: communication between clients
 
It seems that when a client of lnpd sends data to the IR tower, these are not sent to the other clients connected to the daemon. Unfortunately, I really need this feature... So I tried to call "deliver_packet(tx_buffer, tx_end-tx_buffer);" in (...) (23 years ago, 28-Dec-01, to lugnet.robotics.rcx.legos)

3 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