We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Flow Control / Serial Communication
Page Index Toggle Pages: 1
Flow Control / Serial Communication (Read 1700 times)
Flow Control / Serial Communication
Nov 5th, 2005, 5:35am
 
Can I chagne 'Flow Conrol' setting for Serial Communication as 'Hardware' in Processing?
I happen to use blutooth/RS232 module but it's not working on Processing. It's working on Hyperterminal program in Win XP.

I tried to chagne the device setting as not using hardware flowcontrol for communicaiton but I couldn't. It's fixed.

So I was trying to find a way to change the setting in Processing. But I don't know how.
Do I have to add source line in serial.java?
Re: Flow Control / Serial Communication
Reply #1 - Nov 5th, 2005, 9:04pm
 
you probably need to make your own version of Serial.java that handles this sort of thing.
Re: Flow Control / Serial Communication
Reply #2 - Nov 8th, 2005, 11:26am
 
I added the line as below in the Constructer and recompiled the Serial.java. And the Procssing worked fine.

port.setFlowControlMode(SerialPort.FLOWCONTROL_RTSCTS_IN | SerialPort.FLOWCONTROL_RTSCTS_OUT); // Set Hardware FlowControl
Page Index Toggle Pages: 1