[Tinyos-help] Urgent: Sequence number

Omprakash Gnawali gnawali at usc.edu
Fri Jul 10 09:48:52 PDT 2009


On Thu, Jul 9, 2009 at 11:27 PM, bharat naik<bharat.2511 at gmail.com> wrote:
> Hi,
>
>     When a node originates a packet, does it keep its sequence number in a
> different field from the pMsg->seqno? It is because I checked the trace file
> for a Surge simulation and apparently the pMsg->seqno is hop specific rather
> than end to end.
>      I'm sure there has to be some way for the base node to uniquely
> identify each packet from a node. So my question is how does it do this
> since it can't use the pMsg->seqno?

Typically this is done by putting such unique number (eg. counter
value) in your payload.

- om_p



More information about the Tinyos-help mailing list