user_open_port()
If a port must be opened to communicate with the device, implement user_open_port() in usrtm_opport.c to perform this function.
Any initialization of the port that must be done through the operating system should be performed in this routine. In addition, the baud rate and parity passed to this routine may be overridden by the routine.