implement flow control based on CTS (0-ok 1-stop)