Programming Tutorials

Comment on Tutorial - Read from a COM port using Java program By Steven Lim



Comment Added by : Ben Hallinan

Comment Added at : 2008-04-25 08:36:42

Comment on Tutorial : Read from a COM port using Java program By Steven Lim
Hi Steven. It looks like your example program does something similar to what I need to do. I want to write a program which will wait for incoming calls from another computer. The other computer will be sending an order over the telephone line. I'm trying to understand whether such a listening program needs to "answer" the call or will this happen automatically in your program code above.

I would have suspected that the program should wait for the Ring Indicator event and then send a command to the modem in order to answer the call. After the call has been answered it would then start to respond to the Data Available event. Am I wrong about this? Thanks!


View Tutorial