|
> > > > My code never reaches "debugging step 2". When I compile and run this, the
> > > > data is successfully recieved by the RCX, but the lnp_addressing_write(..)
> > > > call never returns .....
> > > >
> > > > Does anyone have any ideas, please? It's driving me mad,
> > >
> > > From the statement "data is received by the RCX" I assume you have this
> > > problem on the host system. What OS are you using? Also, how does your
> > > lnp_logical_write() routine look like?
> >
> >
> > Yes, the problem is on the host PC (running Red Hat 6.2). What I cant figure
> > out is how identical code works fine if I instantiate the wrapper class
> > in a simple demo app, but once I try calling it form within my CORBA server,
> > it blocks on sending the data??
>
> No, I meant lnp_logical_write, which is called from lnp_addressing_write.
> lnp_logical_write is not within the file lnp.c, which I guess you link into
> your app. This function is supposed to actually write to the serial device
> communicating with the RCX. Depending on the serial port initialization
> this might block. What code do you use to talk to the serial port?
I guess I'm using lnp_logical_write then? That is, I include the standard lib_lnp.h
file into my code and then link my app with liblnp.so.....does this answer your
question? Is there a way in which I can call lnp_logical_write directly to test it's
working?
|
|
Message is in Reply To:
| | Re: Blockin LNP calls
|
| (...) No, I meant lnp_logical_write, which is called from lnp_addressing_write. lnp_logical_write is not within the file lnp.c, which I guess you link into your app. This function is supposed to actually write to the serial device communicating with (...) (24 years ago, 28-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
|
|
|
|