|
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 (...) (24 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
|
|
|
|