Interface: tos.interfaces.ADCError
interface ADCErrorCommands
command result_t disable()
command result_t enable()
Events
event result_t error(uint8_t token)
Commands - Details
disable
command result_t disable()
- Returns:
-
SUCCESS if error reporting has been disabled
enable
command result_t enable()
- Returns:
-
SUCCESS if error reporting has been enabled
Events - Details
error
event result_t error(uint8_t token)
- Parameters:
-
token
- an error code that describes the error that occurred
- Returns:
-
SUCCESS to continue error reporting, FAIL to disable error
reporting