SERIAL_WaitReply

Waits for a character to appear on the serial port.

Synopsis
#include <serial.h> 
int SERIAL_WaitReply( int port );
Parameters
port Serial port number (0 based). Specify port 0 to redirect the output to the HSM trace log
Return Code
Function Code Qualification
0 There is a character at the serial port.
-1 Timeout occurred and no data appeared.