Interface: tos.interfaces.Init

interface Init

Author:
Phil Levis
David Gay Revision: $Revision: 1.5 $ Defines global error codes for error_t in TinyOS.

Commands
command error_t init() Initialize this component.

Commands - Details

init

command error_t init()

Initialize this component. Initialization should not assume that any component is running: init() cannot call any commands besides those that initialize other components.

Returns:
SUCCESS if initialized properly, FAIL otherwise.
See:
TEP 107: Boot Sequence