Developing with ZBOSS
|
Enumerations | |
enum | zb_ret_e { RET_OK = 0, RET_ERROR = ERROR_CODE(ERROR_CATEGORY_GENERIC, 1), RET_BLOCKED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 2), RET_EXIT = ERROR_CODE(ERROR_CATEGORY_GENERIC, 3), RET_BUSY = ERROR_CODE(ERROR_CATEGORY_GENERIC, 4), RET_EOF = ERROR_CODE(ERROR_CATEGORY_GENERIC, 5), RET_OUT_OF_RANGE = ERROR_CODE(ERROR_CATEGORY_GENERIC, 6), RET_EMPTY = ERROR_CODE(ERROR_CATEGORY_GENERIC, 7), RET_CANCELLED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 8), RET_INVALID_PARAMETER_1 = ERROR_CODE(ERROR_CATEGORY_GENERIC, 10), RET_INVALID_PARAMETER_2 = ERROR_CODE(ERROR_CATEGORY_GENERIC, 11), RET_INVALID_PARAMETER_3 = ERROR_CODE(ERROR_CATEGORY_GENERIC, 12), RET_INVALID_PARAMETER_4 = ERROR_CODE(ERROR_CATEGORY_GENERIC, 13), RET_INVALID_PARAMETER_6 = ERROR_CODE(ERROR_CATEGORY_GENERIC, 15), RET_PENDING = ERROR_CODE(ERROR_CATEGORY_GENERIC, 21), RET_NO_MEMORY = ERROR_CODE(ERROR_CATEGORY_GENERIC, 22), RET_INVALID_PARAMETER = ERROR_CODE(ERROR_CATEGORY_GENERIC, 23), RET_OPERATION_FAILED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 24), RET_BUFFER_TOO_SMALL = ERROR_CODE(ERROR_CATEGORY_GENERIC, 25), RET_END_OF_LIST = ERROR_CODE(ERROR_CATEGORY_GENERIC, 26), RET_ALREADY_EXISTS = ERROR_CODE(ERROR_CATEGORY_GENERIC, 27), RET_NOT_FOUND = ERROR_CODE(ERROR_CATEGORY_GENERIC, 28), RET_OVERFLOW = ERROR_CODE(ERROR_CATEGORY_GENERIC, 29), RET_TIMEOUT = ERROR_CODE(ERROR_CATEGORY_GENERIC, 30), RET_NOT_IMPLEMENTED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 31), RET_NO_RESOURCES = ERROR_CODE(ERROR_CATEGORY_GENERIC, 32), RET_UNINITIALIZED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 33), RET_INVALID_STATE = ERROR_CODE(ERROR_CATEGORY_GENERIC, 35), RET_CONNECTION_FAILED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 37), RET_CONNECTION_LOST = ERROR_CODE(ERROR_CATEGORY_GENERIC, 38), RET_UNAUTHORIZED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 40), RET_CONFLICT = ERROR_CODE(ERROR_CATEGORY_GENERIC, 41), RET_INVALID_FORMAT = ERROR_CODE(ERROR_CATEGORY_GENERIC, 42), RET_NO_MATCH = ERROR_CODE(ERROR_CATEGORY_GENERIC, 43), RET_PROTOCOL_ERROR = ERROR_CODE(ERROR_CATEGORY_GENERIC, 44), RET_VERSION = ERROR_CODE(ERROR_CATEGORY_GENERIC, 45), RET_FILE_NOT_FOUND = ERROR_CODE(ERROR_CATEGORY_GENERIC, 48), RET_CONVERSION_ERROR = ERROR_CODE(ERROR_CATEGORY_GENERIC, 50), RET_FILE_CORRUPTED = ERROR_CODE(ERROR_CATEGORY_GENERIC, 56), RET_PAGE_NOT_FOUND = ERROR_CODE(ERROR_CATEGORY_GENERIC, 57), RET_ILLEGAL_REQUEST = ERROR_CODE(ERROR_CATEGORY_GENERIC, 62), RET_INVALID_GROUP = ERROR_CODE(ERROR_CATEGORY_GENERIC, 64), RET_TABLE_FULL = ERROR_CODE(ERROR_CATEGORY_GENERIC, 65), RET_IGNORE = ERROR_CODE(ERROR_CATEGORY_GENERIC, 69), RET_AGAIN = ERROR_CODE(ERROR_CATEGORY_GENERIC, 70), RET_DEVICE_NOT_FOUND = ERROR_CODE(ERROR_CATEGORY_GENERIC, 71), RET_OBSOLETE = ERROR_CODE(ERROR_CATEGORY_GENERIC, 72) } |
Error codes for non-void stack functions. In general, function can return OK, BLOCKED or some error. Errors are negative. More... | |
enum zb_ret_e |
Error codes for non-void stack functions. In general, function can return OK, BLOCKED or some error. Errors are negative.
Error can be "generic" or some additional error code.