TinyOS 1.x:
configuration CC2420RadioC
{
provides {
...
interface MacControl;
interface MacBackoff;
...
}
}
interface MacBackoff
{
async event int16_t initialBackoff(TOS_MsgPtr m);
async event int16_t congestionBackoff(TOS_MsgPtr m);
}
Connect to MacBackoff, and when you get an initialBackoff(...) or
congestionBackoff(...) event, return 0 or 1. This method wasn't very
friendly for systems that wanted to specify different backoff periods for
different outbound AM types. With extra programming, you can get the event
to set the backoff as you want it for any outbound message.
-David
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Schippling
Sent: Friday, April 20, 2007 1:30 PM
To: Jeong Kwanhee
Cc: tinyos
Subject: Re: [Tinyos-help] backoff & CSMA
I don't think there is an interface for munging up the backoff behavior.
Search for "backoff" in the CC2420RadioM.nc file to see if there's
anything you can modify. Also search this list for different MAC layers
that may be more to your liking.
Just shutting off CSMA will probably only help thruput if you have only
one transmitter. If there is more than one mote sending and they don't
play nice, I'd bet that most messages will be garbaged up and useless.
MS
Jeong Kwanhee wrote:
> Hello all!!
>
>
>
> I want to increase about throughput in micaz's surge application.
>
> So, I'm currently doing to remove backoff and ack.
>
> However, I don't know how to disable backoff. (I found how to disable
ack.)
>
>
>
> I think that I have to use CC2420Radio or CC2420Control. Is right? I
> can't find and do this.
>
> Give me a hint.
>
>
>
> My experiment is using micaz, tinyos 1.x.x.
>
>
>
> Regards.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help