[Tinyos-help] Radiostress app. in tosthreads

Chieh-Jan (Mike) Liang cliang4 at cs.jhu.edu
Mon Apr 5 12:07:37 PDT 2010


BlockingReceive.receive returns if it receives a packet, or nothing after 5000 msec. In the latter case, it would return with FAIL error code. As you pointed out, RadioStress currently doesn't check for returned error code, and just blinks.

Mike

On Apr 5, 2010, at 2:50 PM, ranal fernando wrote:

> Hi all,
>  
> I’m trying to understand the behavior of radiostress app.
> I found that this app will only receive if the node_id is 0.
> I have the following questions.
>  
> Can blockingreceive.receive(etc.) can return success even without actually getting a packet?
>  
> Because when I ran the app  the leds started to toggle.
>  I was wondering without really receiving a packet how can it start toggling?
>  
> I’ll be really thankful if someone can explain why this is happening?
>  
> Thanks
>  
> ranal
> 
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. Get busy._______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




More information about the Tinyos-help mailing list