9 Apr
2016
9 Apr
'16
7:07 a.m.
El 08/04/16 a las 17:31, Dan Smith via chirp_devel escribió:
This can be another approach, send the request for the 16 bytes and read
at least 16 (from the 21 it must be) then process it and at the end do a serial flush to get the buffer clean (or a dummy read of the 5 following bytes)
Any time you're doing a flush or throwing away data in the middle of a clone procedure, I'm highly concerned because it means we don't know what all we're reading ...
Yes, further tests showed that is better to read with a lower timeout that use this approach of a short read a then a dump.