Re: [Tinyos-help] uartstream receive timeout

2008-05-15 Thread Sarfraz Nawaz
Uartstream.send returns SUCCESS or FAIL depending on whether the request was accepted or not. Uartstream.sendDone signals whether the bytes were successfully sent or not. You should check these returned values before issuing Uartstream.receive. If you have written your own modules/code for RS485 th

[Tinyos-help] uartstream receive timeout

2008-05-15 Thread vaasu
Hii, does anyone know the timeout for uartstream.receive command.. I send a request to rs485 connector from uartstream.send interface .. and then call uartstream.receive command to receive the response from rs485... the problem is ..sometime due to hardware failure rs485 doesn't always respond t