Reputation: 9526
I need a program to send and receive some text by a COM port. I would like to launch this by a exec command (command line). I tried to view if Hyperterminal or putty can be used by command line but i can not find a solution.
This would be a workaround to send and receive text by a PHP webserver, I'm going to use the php exec function to run it.
Upvotes: 1
Views: 1369
Reputation: 51
I published two tiny command line applications called SerialSend and ComPrinter on my blog, which send and receive text via serial port. I'm not sure if they'll do exactly what you need since one only sends and the other only receives, but maybe you can get them to do what you want. They're completely free, you can download binary or sourcecode (they're really easy to compile), and they're both really easy to use.
Here are the links:
Upvotes: 1