This function instructs the Comm Engine to disconnect from the com port. The command format is as follows:
}DISCONNECT
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 = 3 disconnect error. RC will be returned in command.
command = DISCONNECT (original command as sent out)
or RC if there was an error.
Example: Disconnect Com Engine from CP290. Command:
rc = CLWritePipe( '}DISCONNECT' )
Reply:
{0 }DISCONNECT