Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: a couple word choice things

You've compiled your shiny new app and installed it on a mote, and it works!  Congratulations. You're not done yet however.  Congratulations!  You still have some work to do...

Stress testing is an important step in making sure that your application behaves reasonable reasonably when the network or the device gets busy.   Most applications have been written so that unexpected events result in an ASSERT(), and thus a mote reset.  This is good for catching problems, but is not always a good strategy in a real setting - rebooting and rejoining is expensive, both in the energy to search for a network, and lost opportunity to send or forward data. Recoverable errors therefore should be handled gracefully. Unusual errors like a task failing to start, or a device failing to open are reasonable things to ASSERT() on.

...