Apps     Components     Interfaces     All Files     Source Tree     source: tos.interfaces.ConsoleInput.nc

Interface: ConsoleInput

Components providing this interface:
tos.chips.hcs08.ConsoleC
tos.lib.ConsoleM

Events

Events - Details

get

result_t get(uint8_t data)

Get data from "stdin". We need this method to be able to use the Uarts and you can connect to it to get any data send remotely to the uart/pipe/whatever.

Parameters:

data - Value received

Returns: Just return SUCCESS