To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 19734
    RCX comunications - UDP/IP??? —Jeff Wood
   Is the RCX capable of broadcasting a message without handshaking similar to UDP/IP using NQC? For those that arent familar, UDP simply broadcast a packet and doesn't require a confirmation that the packet was recieved unlike its brother TCP/IP This (...) (22 years ago, 5-Dec-02, to lugnet.robotics)
   
        Re: RCX comunications - UDP/IP??? —Steve Baker
     (...) THe simple 'SendMessage(c)' command in NQC doesn't do any handshaking - and (of course) it broadcasts. (...) THe 'SendMessage' command only sends a single byte - and one problem with this is that if you want to send a multi-byte message, it (...) (22 years ago, 5-Dec-02, to lugnet.robotics)
   
        Re: RCX comunications - UDP/IP??? —Brian B. Alano
   Using LNP (included in BrickOS) you can broadcast a packet using lnp_integrity_write(). Such a packet is guaranteed to arrive intact if it arrives at all. Each RCX must have a "listener" set up for the port you broadcast on. LNP addressing normally (...) (22 years ago, 5-Dec-02, to lugnet.robotics)
 

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