 | | RCX comunications - UDP/IP???
|
|
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???
|
|
(...) 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???
|
|
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)
|