Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

The uC/OS-II library shipped with the

Include Page
_def_ocsdk
_def_ocsdk
has been customized to ensure low-power operation. While the customization does not affect the way your application interacts with it, it does ensure that the
Include Page
_def_chip_eterna
_def_chip_eterna
chip is automatically put into low-power state when no task is executing.

You Your application is not aware of these optimizations. In particular, your application does not have to do anything for the chip to go into low-power state, since this is handled entirely by the uC/OS-II library.

...

Very often, your application will collect small samples from sensors, possibly only a handful of bytes for each sample.

Tip
titleRecommendation

We For applications collecting data frequently, we recommend that you group several sensor readings into a large packet be grouped into larger packets (which you send infrequently) , rather than frequently sending a small packetif at all possible. Sending packets into the network as infrequently as possible will minimize the amount of power used.

For example, if your application collects a 2-byte reading from a flow sensor every second, we recommend you cache those readings, and send a packet with 80 bytes of application payload every 40 seconds, rather than sending one packet with 2 bytes of application payload every second.

...