OK, now I get it! I didn't realize that you were trying to use your own data format. Just a suggestion. You might want to package your data a bit differently. If you had "notification header", say a short bit string, you could set up your serial recieve to look for port activity, then toss away to header bits, decode the data, and then look for the carraige return, or whatever is your stop bit. I think you are seeing some of the difficulty of using a custom protocol. You have to set up your reciever to look for custom data. It helps a whole lot of you can arrange your total data packet, including header, data, and stop bits to be a known number of data bits. Then you can pre-set you recieve to look for this number of bits, and hopefully not
get a timeout error while waiting for more data.
Anyhow, I wish you luck.
Dave