Serial read () does not block reasons:
open(dev[lcomPort], O_RDWR | O_NOCTTY | O_NDELAY);
Note: O_NONBLOCK (O_NDELAY Like O_NONBLOCK) is set to non-blocking mode , when read without blocking live, when read in a while loop to read
Note: O_NONBLOCK (O_NDELAY Like O_NONBLOCK) is set to non-blocking mode , when read without blocking live, when read in a while loop to read