I want to read data off a serial device on /dev/ttyS1. What I need to do is send one ASCII character to the device, upon which it spits out 7 multi-character values, see below. The comm parameters are 1200Bd 8N1, no flow control. I have tried various approaches based on the serial programming HowTo and a few code fragments written for serial multimeters found on the net. However, I don't seem to be able to make any of this work. I can get the expected result by using a terminal emulator, but what I really want is a program or script that can do this. This has been bugging me for weeks now, but I don't seem to be able to make anything of the HowTo and progs. Any advice on how to approach this or a link to a more in-depth description?
Sent: F Rec'd: R:12,60;- 1,3;15;11,22;12,61;- 1,6;- 1,3;