Contiki 2.6
|
Many StZNet API functions return an ::StStatus value to indicate the success or failure of the call. More...
Defines | |
#define | DEFINE_ERROR(symbol, value) ST_ ## symbol = value, |
Macro used by error-def.h to define all of the return codes. | |
Enumerations | |
enum | { ST_ERROR_CODE_COUNT } |
Many StZNet API functions return an ::StStatus value to indicate the success or failure of the call.
Return codes are one byte long. This page documents the possible status codes and their meanings.
See error-def.h for source code.
See also error.h for information on how the values for the return codes are built up from these definitions. The file error-def.h is separated from error.h because utilities will use this file to parse the return codes.
#define DEFINE_ERROR | ( | symbol, | |
value | |||
) | ST_ ## symbol = value, |
Macro used by error-def.h to define all of the return codes.
symbol | The name of the constant being defined. All St returns begin with ST_. For example, ::ST_CONNECTION_OPEN. |
value | The value of the return code. For example, 0x61. |