Receive the packet length, plans to open a thread has been read serial port, and then to read data on some conditions determine what (byte, word goeldi), if do not conform to the conditions are deleted from the memory, (or the qualified data is copied to another memory line), how should do excuse me? Detailed, bosses