How do I find the beginning of data packet on serial port in C#? -


i receive data serial port, , data packet structure looks this:

[src] [size] [dest] [data] [xor checksum] 

sometime data packet split in half, meaning receive partially. how find when data packet starts since there no data packet delimiter?


Comments

Popular posts from this blog

c# - Attribute value in root node of xml Linq to XML -

ios swift - uiimage array to video disorted and flipped -

c# - Pausing a storyboard on TabItem mouse over -