[Tinyos-help] backoff question

cqu_tyj cqu_tyj at 126.com
Mon Jan 14 05:44:09 PST 2008


 
hi all,
 
  In ChannelMon.nc, the backoff number setting like this: "CM_waiting = (call Random.rand() & 0x3f) + 100; ". what the "100" stand for? why 100?
 
 command result_t ChannelMon.macDelay() {
    CM_search[0] = 0xff;
    if(CM_waiting == -1) {
      CM_waiting = (call Random.rand() & 0x3f) + 100; //what the "100" stand for?why 100???????????????
   }
    return SUCCESS;
  }
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080114/663e556a/attachment.html


More information about the Tinyos-help mailing list