This function instructs the Comm Engine to connect to the com port. The command format is as follows:
}CONNECT
No data needs to be supplied with the command.
The Comm Engine will return the following data: {XX }command
Where:
XX = 0 if there was no error.
XX = 1 unsupported or illegal command.
XX = 2 connect error. RC will be returned in command.
command = CONNECT (original command as sent out)
or RC if there was an error.
Example: Connect Com Engine to CP290. Command:
rc = CLWritePipe( '}CONNECT' )
Reply:
{0 }CONNECT