What mote you are using? You might need to set transmission frequency of 
the mote in the make file.
For example in case you are using mica2 900 MHz then add following two 
lines in the make file.
PFLAGS += -DCC1K_DEF_FREQ=916700000
CFLAGS += -DRADIO_XMIT_POWER=0xFF

best regards,
Faisal


Donde Vas wrote:
> I hope someone can give me hing about this problem I'm having. I want 
> to use a combination of a one-shoot timer and the .done routines to 
> things sequentially. Here is a general algorithm of that:
>
> //initializations
> state=stage1;
> Start timer(one-shot, 100)
>
> timer.fired{
>   switch state{
>
>   stage1:
>    call something1()
>   break
>
>   stage2:
>    call something2()
>   break
>
>   stage3:
>     call radiosend()
>   break
>   }
> }
>
> something1.done(){
>   Start timer(one-shot, 100)
>   state=stage2; 
> }
>
> something2.done(){
>   Start timer(one-shot, 100)
>   state=stage3; 
> }
>
> radiosend.done(){
>   Start timer(one-shot, 100)
>   state=stage1; 
> }
>
> Everything works ok until something2.done calls radiosend. radiosend 
> is successful but never get a radiosend.done call and the program 
> stops there; What can it be my problem?
>
> Thank you beforehand.
>
> Lane
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

Reply via email to