Hi,

we have a battery powered application that will spend most time in Deep 
Sleep, so a wake-up will trigger a CPU reset with some backup memory 
retained.

To conserve energy, the radio interface should only be activated if 
there is data to send. In the common case the sensor would just wake up, 
take a measurement and decide nothing has changed since the last time, 
and go back to sleep without ever activating the radio.

Now setting NETOPT_STATE to NETOPT_STATE_SLEEP in the main thread might 
be too late, the radio is already powered up at this point and 6lo will 
have send an advertisement.

So how could we configure the default radio state at compile time - and 
seamlessly start networking if the application requests it?

Best,

Benjamin

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to