Which sources are you using?
Boomerang allows you to change the duty cycle via the lowpower parameter of 
make.
The NETSYNC_PERIOD_LOG2 macro allows you to change the time between listening 
periods

by default NETSYNC_PERIOD_LOG2 is 16 i.e. 2**16 ticks of the 32khz clock is 2 
seconds. Default lowpower is 5% .
5% of 2 seconds is 100msecs. So by default you listen for 100msecs every 2 
seconds.
Suppose I want 100sec every 4 seconds, set NETSYNC_PERIOD_LOG2 to 17 ( 4 
seconds) and lowpower to 3 (3% of 4 seconds  = 120msec)

Add the following line to your makefile

 ifeq ($(filter netsync_period_log2,$(MAKECMDGOALS)),netsync_period_log2)

then do

make <platform> lowpower,3 netsync_period_log2,17
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to