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 / 1535
1534  |  1536
Subject: 
LNPD problem..again :)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 28 Nov 2000 18:28:39 GMT
Viewed: 
1399 times
  
hi everybody, im having some trouble with LNPD and was hoping someone
out there might get me on the
right track again :)


PC side:
#define MY_PORT 8
#define DEST_HOST 0
#define DEST_PORT 0
#define DEST_ADDR (DEST_HOST << 4 | DEST_PORT)

i am trying to send an "int data[10]" array (all in all 40 bytes), but
when i do the
result = lnp_addressing_write(data,len,DEST_ADDR,MY_PORT);
the result retuns an TX_FAILURE indicating a collision.
i can see on the LCD display on the RCX that it starts recieving , but
that is only for a fraction of a second.


RCX side:
#define MY_PORT 0
#define DEST_HOST 8
#define DEST_PORT 8
#define DEST_ADDR ( DEST_HOST << 4 | DEST_PORT )

soo..anyways... help? :)

kenneth johansen
kennethj@stud.cs.uit.no



Message has 1 Reply:
  Re: LNPD problem..again :)
 
(...) Have you set up a packet handler on the RCX before sending this? I would guess that if there isn't one, you'll run into something like TCP's "connection refused", which might be what you're seeing. Otherwise, I assume that other LNP stuff (...) (24 years ago, 28-Nov-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