I cannot transmit from IR-Tower to RCX using LNPD. I
achieve to transmit from RCX to Tower commenting some
errorcheck in file transceiver.c in lnpd (check for
variable 'badframe' value).
When transmitting from Tower to RCX it seems to
receive thrash although the lnpd daemon is writting the
correct buffer to the IR port (known via verbose flag).
I know it because I resend the bytes received by the
RCX (in function lnp_receive_byte) back to the IR-Tower
through a call to the integrity layer handler function
passing a buffer with the last N bytes received from
Tower. It seems not to receive the header correctly and
then the rest of bytes of the packet don't pass to the
state-machine reception algorithm in lnp_receive_byte
I think it could be caused by differences in any
parameter of the serial protocol used betwer RCX and
IR-Tower (bauds, parity bit, stop bit,. ..) that
corrupts the communication. Maybe some adjust to lnpd
When transmitting from IR-Tower to IR-Tower there is
Log in to post a comment.