Ricardo,

It's very easy to have a unique sequence number. Just similar to what you suggested, you can combine the node's ID with the local sequence number. However, I wouldn't suggest adding the two numbers together. If you do, then you lose the uniqueness of the sequence number. Instead keep them as separate fields in the packet. The sequence number is now <K,NodeID>, assuming a node doesn't re-use a K value, it will be globally unique because no two nodes should have the same NodeID.

Having globally unique sequence numbers is easy, totally ordering each sequence number is another matter.

-Paul

Ricardo . wrote:
Please, anyone?

Any suggestions will be welcome....

    Hello everyone,

    I wonder if there is any way to send a message with a sequence
number that is guaranteed to be unique across the network. For example, MacAddress + K, where K is a counter that is incremented
    each time that a message is sent.

    My mote has a RF230 radio.

    This is possible, or something that has a similar behavior?

    Thanks in advance,

    --
    Ricardo


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to