00001 /* 00002 * Copyright Droids Corporation, Microb Technology, Eirbot (2005) 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 * Revision : $Id: general_errors.h,v 1.7 2009-03-15 21:51:18 zer0 Exp $ 00019 * 00020 */ 00021 00022 00027 /* Not module specific */ 00028 00029 /* Operation not permitted */ 00030 #define EPERM_COMMENT "Operation not permitted" 00031 00032 /* No such file or directory */ 00033 #define ENOENT_COMMENT "No such file or directory" 00034 00035 /* I/O error */ 00036 #define EIO_COMMENT "I/O error" 00037 00038 /* No such device or address */ 00039 #define ENXIO_COMMENT "No such device or address" 00040 00041 /* Argument list too long */ 00042 #define E2BIG_COMMENT "Argument list too long" 00043 00044 /* Try again */ 00045 #define EAGAIN_COMMENT "Try again" 00046 00047 /* Out of memory */ 00048 #define ENOMEM_COMMENT "Out of memory" 00049 00050 /* Bad address */ 00051 #define EFAULT_COMMENT "Bad address" 00052 00053 /* Device or resource busy */ 00054 #define EBUSY_COMMENT "Device or resource busy" 00055 00056 /* Invalid argument */ 00057 #define EINVAL_COMMENT "Invalid argument" 00058 00059 /* Unkwow error */ 00060 #define EUNKNOW_COMMENT "Unkwow error" 00061 00062 00063 /* Module specific, from 129 to 192 */ 00064 00065 #define E_UART 129 00066 #define E_ROBOT_SYSTEM 130 00067 #define E_MULTISERVO 131 00068 #define E_TRAJECTORY 132 00069 #define E_I2C 133 00070 #define E_BLOCKING_DETECTION_MANAGER 134 00071 #define E_OA 135 00072 #define E_SPI 136 00073 #define E_CC2420 137 00074 #define E_TIME_EXT 138 00075 00076 /* ... etc TBD */ 00077 00078 /* User specific, from > 192 */ 00079 00080 /* defined in user app */