Difference between revisions of "Supporting Node"

From TinyOS Wiki
Jump to: navigation, search
(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...)
 
(See Also)
Line 5: Line 5:
 
== See Also ==
 
== See Also ==
  
[[Driving Node]]
+
* [[Driving Node]]

Revision as of 08:37, 10 January 2008

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