users@grizzly.java.net

Re: grizzly and com port communication

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 21 May 2008 14:57:19 -0400

Hi Georges,

Georges Goebel wrote:
> Hi,
>
> Having seen your presentation at JavaOne, I asked myself if it wouldn't
> be possible to use the grizzly framework on a serial port connection.
>
> You have apis for TCP, UDF and SSL, but what about native serial port
> communication. (f.ex atdt commands which you send to a modem an
> communicate with a remote device (no tcp/ip !))

We don't have now, but I would be happy to work with you on implementing
such support.


>
> So, is it possible to implement a SerialSelectorHandler on top of
> grizzly to simplyfy the serial communication ?

Yes it should be doable.


At the moment I have to
> send manually send characters through Streams. The response is pretty
> difficult to handle because the response chucks don't arrive constantly
> but (sometimes) random ?

Have you implemented javax.comm support in Grizzly or it is your own
implementation.


>
> f.ex
> http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html?page=2
>
> Did I missunderstood the usage of the Grizzly framework ?

We don't yet have support :-) Any help appreciated!

Thanks

-- Jeanfrancois



>
> Thanks for any remarks
>
> Georges Goebel