I have successfully opened my TCP stack and changed over to UART mode. If I have two modems connected to hyper terminal and transmit data from one to the other, it works perfect. Whatever is typed on one is shown up on the other.
However when I connect one to an RS232 device which needs to receive the data and process it, it doesnot receive it. Instead the modem keeps it in memory until the modem is connected to hyper terminal. As soon as I connect to hyper terminal all the data that is in the buffer is printed.
What am I doing wrong?
The function where I receive my data is as follows
u16 tcpDataHandler(u16 dataLen, u8 * data, TeDHandle ID)
ascii * outputstring;
if (dataLen > 0)
outputstring = adl_memGet(dataLen + 1);
returnCode = asl_fcmSendData(UartHandle, data, dataLen);