Hi,
Is Drip designed so one node changes the variable and the rest listen or is
it designed so that every node in the network can change the shared
variable?

I ask because of the way the sequence number is generated in
DisseminatorP.nc:

    /* Increment the counter and append the local node ID. */
    seqno = seqno >> 16;
    seqno++;
    if ( seqno == DISSEMINATION_SEQNO_UNKNOWN ) { seqno++; }
    seqno = seqno << 16;
    seqno += TOS_NODE_ID;

Doesn't this mean that a node with the highest TOS_NODE_ID will force other
nodes in the network to ignore valid changes made by nodes with smaller IDs
because it will always have the largest seqno?

Thanks,
John
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to