The backoffs are implemented in CC2420CsmaP.nc.

You can use the CCA (clear channel assessment) to check for energy on
the air. See the datasheet for more details.

--
Jonathan W. Hui
[EMAIL PROTECTED]
http://www.cs.berkeley.edu/~jwhui/

On 9/12/06, Tie Luo <[EMAIL PROTECTED]> wrote:

This question is w.r.t MAC/PHY in TinyOS 2.0.

By theory, MAC should sense the channel until it becomes idle for some time
(e.g. DIFS) and then sends the packet.  But we did not find how to control
carrier sensing and backoff (the Backoff interface just provides two events
- initial() & congestion() - which seem not relevant).

Or, are these implicitly done in CC2420Transmit.sendCCA()?  (assuming cc2420
transceiver)
Then, how can we control the contention strategy - e.g. modify DIFS, change
backoff interval, etc. ?

--
Regards,
Tie
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



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

Reply via email to