Supporting Node

From TinyOS Wiki
Revision as of 09:36, 10 January 2008 by Dmoss (talk | contribs) (New page: A Supporting Node is any node in a test run that is not the Driving Node. These nodes are only allowed to run the optional '''SetUpOneTime.run()''' and '''TearDownOneTime.run()''' int...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A Supporting Node is any node in a test run that is not the Driving Node. These nodes are only allowed to run the optional SetUpOneTime.run() and TearDownOneTime.run() interfaces, which are typically responsible for turning the radio on before the test begins, and turning the radio off when the test is complete to avoid interference with future tests.

Although the Driving Node is the only node that gets the command to run() a test, Supporting Nodes may make assertions, supply statistics, and end tests by calling done() on the current test that is being executed.

See Also

Driving Node