Avoid filtering on character stream (followup to #110) - #111
Conversation
|
Following up on the discussion on #110 |
|
Suppressing bytes of a data stream is unpleasant to. For me this is an interesting case, because I had this missing byte still at exactly the same position within a specific data transfer. Repeatable. For me it looked like the error signaling is wrong, because looking at the scope this byte had the same timings like the other bytes around. I looked in the erratas of the chip but didn't found a hint in this direction. The case "the first byte when connecting to a live stream" is already handled without skipping, because your code is skipping the byte before the error byte. In this case there is no byte to skip. By discarding a byte we lose more information than needed. The PIC gives the information that it has received a byte and that (it seems) there is an error with that byte. By discarding a byte you throw a valuable information away. Or you might say, at this level you don't know if it is valuable or not. But by throwing it away you decided that it is not valuable. In my opinion it is better to let a higher level make that decision. When you throw a byte away, than for me it doesn't matter which byte. It breaks the communication anyway. |
|
Thanks for taking the time to argue the case. I'm not convinced that your On Wed, Jul 8, 2015 at 11:06 PM, mptei notifications@github.com wrote:
|
retargeted to master from #110