Listening on a serial port
I have a blood analyzing maching that embeds messages in packets to send to the serial port (ttyS0) of my RH box. When the packet is received, I need to send an acknowledgement back automatically.
My problem is I don't know where to start. I want to be able to upload lab results to my server. I have the spec file from the company that manufactures the analyzer.
How do I get Linus to 'listen' for the packet, and then respond? (I know what to listen for and what to send in the response, I just don't know what tools to use to listen and respond with).
TIA
Caleb
|