Difference between revisions of "CC2420 Radio Backoff"

From TinyOS Wiki
Jump to: navigation, search
(New page: A CSMA backoff is a period of time where the radio pauses before attempting to transmit. When the radio needs to backoff, it can choose one of two backoff periods: initialBackoff or conge...)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 23: Line 23:
  
 
= Next =
 
= Next =
* [[CC2420 Acknowledgments]]
+
* [[CC2420 Hardware and Software Acks]]
 +
 
 +
[[Category:CC2420]]

Latest revision as of 20:51, 30 November 2009

A CSMA backoff is a period of time where the radio pauses before attempting to transmit. When the radio needs to backoff, it can choose one of two backoff periods: initialBackoff or congestionBackoff.

These backoff durations are requested through the RadioBackoff interface. Unlike the CsmaBackoff interface, components that are interested in adjusting the backoff can call back using commands in the RadioBackoff interface. This allows multiple components to adjust the backoff period for packets they are specifically listening to adjust, rather than forcing each listener to return a value like the CsmaBackoff interface requires. The lower the backoff period, the faster the transmission, but the more likely the transmitter is to capture the channel. Also, backoff periods should be as random as possible to prevent two transmitters from sampling the channel at the same moment. If you do not catch and modify a backoff request, the default randomized backoff values will be used.

InitialBackoff is the longest backoff period, requested on the first attempt to transmit a packet. The long initial backoff period prevents the node from capturing the channel from other nodes by sending subsequent packet transmissions.

CongestionBackoff is a shorter backoff period used when the channel is found to be in use. A shorter congestion backoff period gives your node a higher priority on the channel if it's been waiting to send the packet.

See Also

Next