摘要 |
A method for controlling a communication port of a computer by an application running on the computer is disclosed. The application interfaces with an external device through a cable connected to the communication port. While interfacing with the external device, the application looks for an identification signal on the communication port. When the identification signal is detected, the application relinquishes control of the communication port so that another application can use the communication port. Such a method does not require user intervention when switching between the applications using the communication port.
|