[Tinyos-help] Application works fine in tossim but not on motes
Urs Hunkeler
uhu at gmx.ch
Fri Apr 27 06:36:19 PDT 2007
Hi Romain,
Just two wild ideas:
- Maybe the simulator filters packets differently than the real
implementation. You could be sending packets to the wrong mote id and
the simulator would let them pass (the routing packets would pass as
maybe they are sent as broadcast).
- Maybe the payload is too long. The simulator might not care, but the
real implementation probably would just drop the packets. I vaguely
remember that there was once a message on this mailing-list that TinyOS
silently drops overlong packets.
Did you check the error parameter of the sendDone() function?
Cheers,
Urs
Romain Thouvenin schrieb:
> Hi tinyos-help,
>
> I have a strange problem again...
>
> I have an application that works fine in TOSSIM (2.0.1) but not in the
> real world, with telosb motes.
> To be more precise :
>
> The application wants to send a multihop packet. To to so, it
> discovers a route using the DYMO protocol that I implemented, and then
> send the packet on that route.
>
> Using leds, I can see that the application calls the Multihop send,
> that a route request is issued and reaches all the motes, that the
> request gets a reply, the packet is actually sent, and the multihop
> sendDone is signaled. But no node receives the multihop packet, though
> they all have received the DYMO packets...
>
> And I can't really debug the application in TOSSIM, since it works in
> the simulator, that's what surprised me the most.
>
> What can be the causes of such symptoms ?
> The two different protocol use a different AM type, anything that I
> could have forgot related to that ?
>
> Thanks for your help,
> Romain
More information about the Tinyos-help
mailing list