eRunStatus PrepareConnection(void)
Prepares a debugging connection. If you are using TCP/IP, this function opens a non-blocking TCP/IP port and listens for a connection. The DebugConnect function then accepts the connection. If you are using a GSM modem to connect to the host computer, this function configures the radio modem, starts the radio modem, and enters the PIN code. The DebugConnect function checks for and accepts pending calls. Return eFail if there is an error. Otherwise, return eFinished.