PDA

View Full Version : help script to control rs-232 device?


frijoli
Feb 05, 2011, 11:52 AM
I am trying to write a script that will turn on my projector, blu-ray and such from my Android pad.

I know how to do these thing from a terminal program but can't figure out how to access the com ports and send the text from HCA.

here is what I am initially trying to do with the projector
to turn it on;
my com port is 2 8,N,1 38,400

text is: ky pow.on

then I need to be able to accept the return from the projector of the same text.

This is easily accomplished via a terminal program.

Any thoughts how to get started with this?