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 / 1399
1398  |  1400
Subject: 
Re: Blockin LNP calls
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Aug 2000 00:40:20 GMT
Viewed: 
3294 times
  
In lugnet.robotics.rcx.legos, Paolo Masetti writes:
> >         testport = 1;
> >         testhost = 0;
> >         testaddress = (testhost << 4 | testport);
> > 
> >         cout << "DEBUG: step 1 reached" << endl;
> > 
> >         result = lnp_addressing_write(testbuffer, testlen
> ,testaddress, 8);
> 
> It shouldn't be the real problem, but are you sure about the port
> paramenter?
> 
> How about:
> 
> result = lnp_addressing_write(testbuffer, testlen ,testaddress,
> testport);

Sorry, I was using an unsigned char variable, this was just a remnant of
some testing I did..... I tried a lot of variations ;-)



> Bye,
>     Paolo.
> 
> ---
> Maier's Law: If the facts do not conform to the theory, they must be
> disposed of.



Message is in Reply To:
  Re: Blockin LNP calls
 
(...) ,testaddress, 8); It shouldn't be the real problem, but are you sure about the port paramenter? How about: result = lnp_addressing_write...estbuffer, testlen ,testaddress, testport); Bye, Paolo. --- Maier's Law: If the facts do not conform to (...) (26 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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