If a port must by 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.

More information

Implementation checklist.