different test programs related to com port communication using winapi functions and threads