Revision history [back]

click to hide/show revision 1
initial version

The reason why timeout is 3500 in ReadLine() in AJTCL

I would like to know the reason why the timeout is set as 3500 in ReadLine() in aj_connect.c of AJTCL.

while ((AJ_IO_BUF_AVAIL(rxBuf) == 0) || (*(rxBuf->writePtr - 1) != '\n')) {
    status = rxBuf->recv(rxBuf, AJ_IO_BUF_SPACE(rxBuf), 3500);

Thin Client is running on our NO OS system and communicating with AllJoyn Router using Serial Line AllJoyn Protocol. The system can't wait for 3.5 sec without any other action so I would like to shorten it (e.g. 100 msec) if no problem.