Im developing a c# windows service to do some communication via serial port with a usb-connected zibee-network. Now i know, how long an answering package should be, and sniffing the serial port i recognize, that sometimes the packages are just cut off! After that, no messages are coming back any more and some time later the Com-port shuts down (Probably because my service quits)
I can handle this in my code of course, but my question rather points to the Packages: What are reasons for a package not to arrive properly? Is this more likely a problem of the Com-Port or zigbee? Where could I try to improve the data-loss most likely?
Thank you everyone!