C# SerialPort - Receiving extra 255 bytes

Hi Hackscribble,

Thank you for your post.

This is my complete C# code. I don't have anything except the Main(). I have simplified my projects to these two to easily demonstrate my problem. These two code snippets are two complete projects that demonstrate my problem in 100%.

Yes, the if condition and the 7 reads are intentional. I totally understand that b/c of that I receive the -1s. It's ok. The issue I'm describing are the 255s at the beginning of the first message.

Regards
Pawel