listen to serial port if no handshake is availabel

  • can I run a python script on a TER GX 110 as a stand alone application, that processes message strings read from serial Port. However, the serial port doesn`t support any handshaking, i.e. I`ve to poll all the time and separate the strings at CR LF.

  • Yes, you`re right. You need to pool with res=SER.receive(timeout).
    It has a small buffer, 2k I think. But if you are receive short messages, it is no problem.
    Or you could implement a sotfware handshake as well.