[Tinyos-help] Every second (!!!) packet "lost" in serial communication mote -> PC

Oliver Frietsch da-mailing-listen at friets.ch
Fri Jun 13 10:30:52 PDT 2008


Hello list,

I'm currently trying to send packets over a serial connection 
(SerialActiveMessageC and so on) to my PC. As I don't have a real mote, 
and TOSSIM doesn't seem to simulate a serial port at all, I'm using the 
latest version of Avrora (1.7.105), in both mica2 and micaz mode, plus 
TOS 2.0.2 stable.

Now here is the problem: I'm able to send packets to the PC, and all of 
them are received there as expected, however, the simulated mote thinks 
that every second packet is lost! More precisely, the error parameter of 
the sendDone event toggles between TRUE and FALSE every call.

Is this a known bug? Perhaps limited to Avrora? I couldn't find any 
information about that. I could just ignore the error parameter, but I 
feel unhappy with this "solution".

Thanks,
Oliver

P.S.: If it helps, I could also send a short test app that demonstrates 
the problem.


More information about the Tinyos-help mailing list