Hello wasif, Thanks for to reply. This code have to put it in Radiobackoff.nc. The code that give me is to enable or disable the backoff isn't it? ( http://www.tinyos.net/tinyos-2.x/doc/nesdoc/micaz/ihtml/tos.chips.cc2420.interfaces.RadioBackoff.html )
But do you know if it is possible to configure the backoff to make a transmission time like I want it? Thanks in advance. Juan 2012/9/18 wasif masood <rwmas...@gmail.com> > > add these to one of your components: > > > async event void RadioBackoff.requestCongestionBackoff(message_t *msg){ > call RadioSend.cancel(msg); > call RadioBackoff.setCongestionBackoff(desiredtime); > } > > async event void RadioBackoff.requestInitialBackoff(message_t *msg){ > call RadioBackoff.setInitialBackoff(desiredtime); > } > > async event void RadioBackoff.requestCca(message_t *msg) { > call RadioBackoff.setCca(TRUE); > } > > > > > On Tue, Sep 18, 2012 at 3:49 PM, Juan Martinez < > juan.jose.martinez.ro...@gmail.com> wrote: > >> Hello everybody, >> >> I am reading about how to change the backoff with tinyos and I do not get >> clear how to do it. >> >> I am going to CC2420 --> interfaces --> Radiobackoff.nc but I don't know >> if i have to modificate here the code or not. >> My intention is to modificate, if it is possible, the initialbackoff and >> the congestionbackoff to change the transmition time. >> >> Any help?thank in advance! >> >> Juan >> >> _______________________________________________ >> Tinyos-help mailing list >> Tinyos-help@millennium.berkeley.edu >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > Wasif Masood > >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help