A number of points:

1) TinyOS 1 has been deprecated for quite a while now.   years and years.

2) events get signalled and don't return values.

3) you could have figured this out yourself by looking at other pieces of
code that use signals.





On Tue, Aug 13, 2013 at 5:13 AM, Guilherme Politta <
[email protected]> wrote:

> I'm having a compilation error using MacBackoff interface in TinyOS 1.x:
>
> /opt/tinyos-1.x/tos/lib/CC2420Radio/MacBackoff.nc:74: syntax error before
> `m'
> /opt/tinyos-1.x/tos/lib/CC2420Radio/MacBackoff.nc:75: syntax error before
> `m'
>
>
> The MacBackoff code is:
>
> interface MacBackoff
> {
>   async event int16_t initialBackoff(TOS_MsgPtr m); //error in this line
>   async event int16_t congestionBackoff(TOS_MsgPtr m); //error in this line
> }
>
> I can't find what's is wrong with it
> .
> Thank you
> ---
> Guilherme Politta
> Universidade Federal do ParanĂ¡
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to