A device is streaming binary data to PC by COM port. Sometimes Windows mistakenly recognize such device as a mouse. So mouse pointer starts crazy jumping over the screen, pressing buttons and like. This can happen with real COM port as well as with USB to serial converter. I encounter this problem once in a while. The standard solution is disable serial mouse in the registry; however I would prefer to modify binary protocol to avoid detection. How does Windows recognize a serial mouse? In the other words, what sequences should be avoided in the binary protocol ?
Vladimir Vassilevsky DSP and Mixed Signal Consultant