Hi Ali,

You’re digging too deep. CSMA is automatically used internally in the radio stack when you send a message.

Just wire up your application to the AMSenderC and AMReceiverC components to send and receive messages, and be sure to turn on the radio (ActiveMessageC.SplitControl) before trying to use it. The radio stack will automatically ensure the channel is clear before trying to send.

-David


On Sun, 11 Mar 2007 08:22:47 -0500
 Murtuza <[EMAIL PROTECTED]> wrote:
Hello Friends,

Can anybody tell me how to implement the CSMA on mica2 motes on tinyos-2.xplatform. I am aware of the CSMA interfaces provided in tinyos-2.x but unable to figure out when and how to use them. I have a basic idea about the CSMA protocol. Can anyone please tell me how to proceed.
thanking you
Ali

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

Reply via email to