[Tinyos-help] Fwd: UDPEcho in iris

2010-09-06 Thread nithin k n
hi there UDPEcho is not behaving well, for eg, while pinging the UDPEcho installed motes, the basestation gets too many DUP! packets in reply, on an average, the count of DUP! packets is more than actual ping reply packets. Reason for this? Regards, Nithin

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-15 Thread Stephen Dawson-Haggerty
I believe this is an issue with the iris radio stack when using software acks? I remember that its ack timeout was set to be shorter than the software turnaround time on an epic platform. However, I'm not an iris expert... Steve On Mon, Sep 6, 2010 at 10:16 PM, nithin k n wrote: > > hi there >

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-15 Thread Miklos Maroti
Hi Stephen, I think the stack never duplicates data packets. Do you mean that if an ack packet does not arrive on time, then BLIP will retry, which on a MAC level is a new message, but on the BLIP level it is a duplcate UDPEcho packet? Zsolt and Krisztian, can you increase the SOFTWAREACK_TIMEOUT

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-17 Thread Miklos Maroti
Hi! Read the following files: tos/chips/rf2xx/README tos/chips/rf2xx/rf230/README This can be set in your Makefile by adding the line CFLAGS += -DSOFTWAREACK_TIMEOOUT=2000 By the way, it seem that the problem lies with the serial communication between the PC and the IRIS. We try to find the ex

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-20 Thread Zsolt Szabó
Hi all Found a solution for solving this issue. You should either define the RF230_HARDWARE_ACK flag in both the Makefiles of UDPEcho and IPBaseStation or the SOFTWAREACK_TIMEOUT flag and set it to minimum value of 900. CFLAGS += -DSOFTWAREACK_TIMEOUT=900 Although the predefined value for SOFTWA

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-20 Thread Miklos Maroti
Hi Stephen, We saw some very strange things, that the software ack was transmitted quite late after the data message. (Actually we saw 3500 microseconds between the SDF of the data and ack packets, but the data packet was quite full, probably very close to the 100 byte limit, so transmitting the d

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-09-20 Thread Miklos Maroti
Hi Guys! Ok, I found the bug (after a discussion with Zsolt). In tos/platforms/iris/chips/rf230/RadioConfig.h we set SOFWAREACK_TIMEOUT to 800 (microseconds) if it is undefined. This value should be increased to at least 900 microseconds. In fact, I have increased it to 1000 just to be safe. The

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-10-09 Thread Miklos Maroti
t;> > >> > regards, >> > Nithin >> > ------ Forwarded message -- >> > From: nithin k n >> > Date: Thu, Oct 7, 2010 at 6:47 PM >> > Subject: Fwd: [Tinyos-help] Fwd: UDPEcho in iris >> > To: Miklos Maroti >> >

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-10-09 Thread nithin k n
son ? > > > > regards, > > Nithin > > -- Forwarded message -- > > From: nithin k n > > Date: Thu, Oct 7, 2010 at 6:47 PM > > Subject: Fwd: [Tinyos-help] Fwd: UDPEcho in iris > > To: Miklos Maroti > > > > > > the pinging to iris st

Re: [Tinyos-help] Fwd: UDPEcho in iris

2010-10-09 Thread nithin k n
look at this. Miklos >> >> >> >> On Thu, Oct 7, 2010 at 3:18 PM, nithin k n >> >> wrote: >> >> > hi Miklos, >> >> > the pinging to iris gets stuck every time after 165 pings (on an >> >> > average) . >> >