in reply to Blocking on serial port!

Does read(14) block until it gets 14 bytes? or will it return fewer bytes? try checking the returned count.

Replies are listed 'Best First'.
Re^2: Blocking on serial port!
by jabidof (Initiate) on Apr 26, 2013 at 13:12 UTC
    Yes, read(14) blocks till 14 bytes are received. Thing is I'm sure there are 14 bytes sent every 250ms. I could verify in many ways. Thanks!