Hi,

I'm writing an application which needs to do some kind of frequency hoping.
So my code looks something like this:

call AMSend.send(Address, msg, len);
call CC2420Config.setChannel(NewChannel);
call CC2420Config.sync();

Is there a risk that I will send the msg on the NewChannel, or all of the
above will be executed by the scheduler sequentially?
Or I need to move the frequency change to AMSend.SendDone ?

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

Reply via email to