[riot-notifications] [RIOT] at86rf2xx: implement sleep mode (#3867)

Daniel Krebs notifications at github.com
Thu Sep 17 13:49:30 CEST 2015

I'm not really happy with either solution :/ With this PR `NETOPT_STATE_SLEEP` puts the transceiver to `SLEEP` instead of `TRX_OFF`, which is was a nice power saving state that still permitted setting options (@ 300uA). There was the option to map `NETOPT_STATE_OFF` to transceiver `SLEEP`, but IMO you can't assume, that the device keeps it's configuration, i.e. initializing is required after transition to `NETOPT_STATE_OFF`. Which doesn't map for our `SLEEP` state.

I think the API lacks a state between `SLEEP` and `IDLE` that has communications disabled, but provides device access and low latency transition to `IDLE`.

Automatically waking up and putting to sleep again feels like to much magic somehow. And not that netapi calls are already quite expensive (execution time wise), waking up introduces another 300us at least. That doesn't sound like power saving or transparent APIs to me.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150917/ebcca0a0/attachment.html>

More information about the notifications mailing list