Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RXTX: channel.write() does not work while context.write() does #958

Closed
jeje opened this issue Jan 18, 2013 · 1 comment
Closed

RXTX: channel.write() does not work while context.write() does #958

jeje opened this issue Jan 18, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@jeje
Copy link

jeje commented Jan 18, 2013

When using the RXTX client example, I'm able to run it fine when the context is used in order to write a message (like done in the RxtxClientHandler.channelActive() method).

But if I try to use the channel itself in order to write the message, this does not seem to work.
For clarification, by does not work, I mean that the program behaves as if no message was written.

My test is based on the actual RXTX client where I've commented the channelActive() method and where I've added the following line: f.channel().write("AT\n"); right after ChannelFuture f = b.connect().sync();

If needed I can provide an Arduino sketch responding to the RXTX client in order to ease testing.

@normanmaurer
Copy link
Member

Fixed by #962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants