users@grizzly.java.net

grizzly and com port communication

From: Georges Goebel <georges.goebel_at_pch.etat.lu>
Date: Wed, 21 May 2008 17:44:33 +0200

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 !))
 
So, is it possible to implement a SerialSelectorHandler on top of grizzly to
simplyfy the serial communication ? 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 ?
 
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 ?
 
Thanks for any remarks
 
Georges Goebel