takashi yamanoue
/
XBee_API_ex3
Xbee API Test 3
> help h or help m <status-in-hex>,. ... Modem status l <cmd>,<val-in-hex>. ... exec <cmd> (AT) at this host. lset fid <val-in-hex>. ... set local frame id. default is 1. lset cmd <val-in-hex>. ... set local command. lset val <val-in-hex>. ... set local command value. q <cmd>,<val-in-hex>. ... set queue parameter value. r <cmd>,<val-in-hex>. ... exec <cmd> (AT)at remote host. rset a16 <val-in-hex>. ... set remote address high. rset a64 <val-in-hex>,<val-in-hex>. ... set remote address low. rset fid <val-in-hex>. ... set remote frame id. default is 1. > l D4,0x05 cmd=D4 val=0x05 apiId=88 object 100008c8:35 01 00 10 88 00 05 FE 04 01 00 FF l OK: > l D4,0x04 cmd=D4 val=0x04 apiId=88 object 100008c8:35 01 00 10 88 00 05 FE 04 01 00 FF l OK: >
LPC1768/lwip/include/lwip/arch.h@0:3edcfa3aba71, 2012-07-21 (annotated)
- Committer:
- takashiyamanoue
- Date:
- Sat Jul 21 04:09:54 2012 +0000
- Revision:
- 0:3edcfa3aba71
xbee test 3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takashiyamanoue | 0:3edcfa3aba71 | 1 | /* |
takashiyamanoue | 0:3edcfa3aba71 | 2 | * Copyright (c) 2001-2004 Swedish Institute of Computer Science. |
takashiyamanoue | 0:3edcfa3aba71 | 3 | * All rights reserved. |
takashiyamanoue | 0:3edcfa3aba71 | 4 | * |
takashiyamanoue | 0:3edcfa3aba71 | 5 | * Redistribution and use in source and binary forms, with or without modification, |
takashiyamanoue | 0:3edcfa3aba71 | 6 | * are permitted provided that the following conditions are met: |
takashiyamanoue | 0:3edcfa3aba71 | 7 | * |
takashiyamanoue | 0:3edcfa3aba71 | 8 | * 1. Redistributions of source code must retain the above copyright notice, |
takashiyamanoue | 0:3edcfa3aba71 | 9 | * this list of conditions and the following disclaimer. |
takashiyamanoue | 0:3edcfa3aba71 | 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
takashiyamanoue | 0:3edcfa3aba71 | 11 | * this list of conditions and the following disclaimer in the documentation |
takashiyamanoue | 0:3edcfa3aba71 | 12 | * and/or other materials provided with the distribution. |
takashiyamanoue | 0:3edcfa3aba71 | 13 | * 3. The name of the author may not be used to endorse or promote products |
takashiyamanoue | 0:3edcfa3aba71 | 14 | * derived from this software without specific prior written permission. |
takashiyamanoue | 0:3edcfa3aba71 | 15 | * |
takashiyamanoue | 0:3edcfa3aba71 | 16 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
takashiyamanoue | 0:3edcfa3aba71 | 17 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
takashiyamanoue | 0:3edcfa3aba71 | 18 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT |
takashiyamanoue | 0:3edcfa3aba71 | 19 | * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
takashiyamanoue | 0:3edcfa3aba71 | 20 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
takashiyamanoue | 0:3edcfa3aba71 | 21 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
takashiyamanoue | 0:3edcfa3aba71 | 22 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
takashiyamanoue | 0:3edcfa3aba71 | 23 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
takashiyamanoue | 0:3edcfa3aba71 | 24 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY |
takashiyamanoue | 0:3edcfa3aba71 | 25 | * OF SUCH DAMAGE. |
takashiyamanoue | 0:3edcfa3aba71 | 26 | * |
takashiyamanoue | 0:3edcfa3aba71 | 27 | * This file is part of the lwIP TCP/IP stack. |
takashiyamanoue | 0:3edcfa3aba71 | 28 | * |
takashiyamanoue | 0:3edcfa3aba71 | 29 | * Author: Adam Dunkels <adam@sics.se> |
takashiyamanoue | 0:3edcfa3aba71 | 30 | * |
takashiyamanoue | 0:3edcfa3aba71 | 31 | */ |
takashiyamanoue | 0:3edcfa3aba71 | 32 | #ifndef __LWIP_ARCH_H__ |
takashiyamanoue | 0:3edcfa3aba71 | 33 | #define __LWIP_ARCH_H__ |
takashiyamanoue | 0:3edcfa3aba71 | 34 | |
takashiyamanoue | 0:3edcfa3aba71 | 35 | #ifndef LITTLE_ENDIAN |
takashiyamanoue | 0:3edcfa3aba71 | 36 | #define LITTLE_ENDIAN 1234 |
takashiyamanoue | 0:3edcfa3aba71 | 37 | #endif |
takashiyamanoue | 0:3edcfa3aba71 | 38 | |
takashiyamanoue | 0:3edcfa3aba71 | 39 | #ifndef BIG_ENDIAN |
takashiyamanoue | 0:3edcfa3aba71 | 40 | #define BIG_ENDIAN 4321 |
takashiyamanoue | 0:3edcfa3aba71 | 41 | #endif |
takashiyamanoue | 0:3edcfa3aba71 | 42 | |
takashiyamanoue | 0:3edcfa3aba71 | 43 | #include "arch/cc.h" |
takashiyamanoue | 0:3edcfa3aba71 | 44 | |
takashiyamanoue | 0:3edcfa3aba71 | 45 | /** Temporary: define format string for size_t if not defined in cc.h */ |
takashiyamanoue | 0:3edcfa3aba71 | 46 | #ifndef SZT_F |
takashiyamanoue | 0:3edcfa3aba71 | 47 | #define SZT_F U32_F |
takashiyamanoue | 0:3edcfa3aba71 | 48 | #endif /* SZT_F */ |
takashiyamanoue | 0:3edcfa3aba71 | 49 | /** Temporary upgrade helper: define format string for u8_t as hex if not |
takashiyamanoue | 0:3edcfa3aba71 | 50 | defined in cc.h */ |
takashiyamanoue | 0:3edcfa3aba71 | 51 | #ifndef X8_F |
takashiyamanoue | 0:3edcfa3aba71 | 52 | #define X8_F "02x" |
takashiyamanoue | 0:3edcfa3aba71 | 53 | #endif /* X8_F */ |
takashiyamanoue | 0:3edcfa3aba71 | 54 | |
takashiyamanoue | 0:3edcfa3aba71 | 55 | #ifdef __cplusplus |
takashiyamanoue | 0:3edcfa3aba71 | 56 | extern "C" { |
takashiyamanoue | 0:3edcfa3aba71 | 57 | #endif |
takashiyamanoue | 0:3edcfa3aba71 | 58 | |
takashiyamanoue | 0:3edcfa3aba71 | 59 | #ifndef PACK_STRUCT_BEGIN |
takashiyamanoue | 0:3edcfa3aba71 | 60 | #define PACK_STRUCT_BEGIN |
takashiyamanoue | 0:3edcfa3aba71 | 61 | #endif /* PACK_STRUCT_BEGIN */ |
takashiyamanoue | 0:3edcfa3aba71 | 62 | |
takashiyamanoue | 0:3edcfa3aba71 | 63 | #ifndef PACK_STRUCT_END |
takashiyamanoue | 0:3edcfa3aba71 | 64 | #define PACK_STRUCT_END |
takashiyamanoue | 0:3edcfa3aba71 | 65 | #endif /* PACK_STRUCT_END */ |
takashiyamanoue | 0:3edcfa3aba71 | 66 | |
takashiyamanoue | 0:3edcfa3aba71 | 67 | #ifndef PACK_STRUCT_FIELD |
takashiyamanoue | 0:3edcfa3aba71 | 68 | #define PACK_STRUCT_FIELD(x) x |
takashiyamanoue | 0:3edcfa3aba71 | 69 | #endif /* PACK_STRUCT_FIELD */ |
takashiyamanoue | 0:3edcfa3aba71 | 70 | |
takashiyamanoue | 0:3edcfa3aba71 | 71 | |
takashiyamanoue | 0:3edcfa3aba71 | 72 | #ifndef LWIP_UNUSED_ARG |
takashiyamanoue | 0:3edcfa3aba71 | 73 | #define LWIP_UNUSED_ARG(x) (void)x |
takashiyamanoue | 0:3edcfa3aba71 | 74 | #endif /* LWIP_UNUSED_ARG */ |
takashiyamanoue | 0:3edcfa3aba71 | 75 | |
takashiyamanoue | 0:3edcfa3aba71 | 76 | |
takashiyamanoue | 0:3edcfa3aba71 | 77 | #ifdef LWIP_PROVIDE_ERRNO |
takashiyamanoue | 0:3edcfa3aba71 | 78 | |
takashiyamanoue | 0:3edcfa3aba71 | 79 | #define EPERM 1 /* Operation not permitted */ |
takashiyamanoue | 0:3edcfa3aba71 | 80 | #define ENOENT 2 /* No such file or directory */ |
takashiyamanoue | 0:3edcfa3aba71 | 81 | #define ESRCH 3 /* No such process */ |
takashiyamanoue | 0:3edcfa3aba71 | 82 | #define EINTR 4 /* Interrupted system call */ |
takashiyamanoue | 0:3edcfa3aba71 | 83 | #define EIO 5 /* I/O error */ |
takashiyamanoue | 0:3edcfa3aba71 | 84 | #define ENXIO 6 /* No such device or address */ |
takashiyamanoue | 0:3edcfa3aba71 | 85 | #define E2BIG 7 /* Arg list too long */ |
takashiyamanoue | 0:3edcfa3aba71 | 86 | #define ENOEXEC 8 /* Exec format error */ |
takashiyamanoue | 0:3edcfa3aba71 | 87 | #define EBADF 9 /* Bad file number */ |
takashiyamanoue | 0:3edcfa3aba71 | 88 | #define ECHILD 10 /* No child processes */ |
takashiyamanoue | 0:3edcfa3aba71 | 89 | #define EAGAIN 11 /* Try again */ |
takashiyamanoue | 0:3edcfa3aba71 | 90 | #define ENOMEM 12 /* Out of memory */ |
takashiyamanoue | 0:3edcfa3aba71 | 91 | #define EACCES 13 /* Permission denied */ |
takashiyamanoue | 0:3edcfa3aba71 | 92 | #define EFAULT 14 /* Bad address */ |
takashiyamanoue | 0:3edcfa3aba71 | 93 | #define ENOTBLK 15 /* Block device required */ |
takashiyamanoue | 0:3edcfa3aba71 | 94 | #define EBUSY 16 /* Device or resource busy */ |
takashiyamanoue | 0:3edcfa3aba71 | 95 | #define EEXIST 17 /* File exists */ |
takashiyamanoue | 0:3edcfa3aba71 | 96 | #define EXDEV 18 /* Cross-device link */ |
takashiyamanoue | 0:3edcfa3aba71 | 97 | #define ENODEV 19 /* No such device */ |
takashiyamanoue | 0:3edcfa3aba71 | 98 | #define ENOTDIR 20 /* Not a directory */ |
takashiyamanoue | 0:3edcfa3aba71 | 99 | #define EISDIR 21 /* Is a directory */ |
takashiyamanoue | 0:3edcfa3aba71 | 100 | #define EINVAL 22 /* Invalid argument */ |
takashiyamanoue | 0:3edcfa3aba71 | 101 | #define ENFILE 23 /* File table overflow */ |
takashiyamanoue | 0:3edcfa3aba71 | 102 | #define EMFILE 24 /* Too many open files */ |
takashiyamanoue | 0:3edcfa3aba71 | 103 | #define ENOTTY 25 /* Not a typewriter */ |
takashiyamanoue | 0:3edcfa3aba71 | 104 | #define ETXTBSY 26 /* Text file busy */ |
takashiyamanoue | 0:3edcfa3aba71 | 105 | #define EFBIG 27 /* File too large */ |
takashiyamanoue | 0:3edcfa3aba71 | 106 | #define ENOSPC 28 /* No space left on device */ |
takashiyamanoue | 0:3edcfa3aba71 | 107 | #define ESPIPE 29 /* Illegal seek */ |
takashiyamanoue | 0:3edcfa3aba71 | 108 | #define EROFS 30 /* Read-only file system */ |
takashiyamanoue | 0:3edcfa3aba71 | 109 | #define EMLINK 31 /* Too many links */ |
takashiyamanoue | 0:3edcfa3aba71 | 110 | #define EPIPE 32 /* Broken pipe */ |
takashiyamanoue | 0:3edcfa3aba71 | 111 | #define EDOM 33 /* Math argument out of domain of func */ |
takashiyamanoue | 0:3edcfa3aba71 | 112 | #define ERANGE 34 /* Math result not representable */ |
takashiyamanoue | 0:3edcfa3aba71 | 113 | #define EDEADLK 35 /* Resource deadlock would occur */ |
takashiyamanoue | 0:3edcfa3aba71 | 114 | #define ENAMETOOLONG 36 /* File name too long */ |
takashiyamanoue | 0:3edcfa3aba71 | 115 | #define ENOLCK 37 /* No record locks available */ |
takashiyamanoue | 0:3edcfa3aba71 | 116 | #define ENOSYS 38 /* Function not implemented */ |
takashiyamanoue | 0:3edcfa3aba71 | 117 | #define ENOTEMPTY 39 /* Directory not empty */ |
takashiyamanoue | 0:3edcfa3aba71 | 118 | #define ELOOP 40 /* Too many symbolic links encountered */ |
takashiyamanoue | 0:3edcfa3aba71 | 119 | #define EWOULDBLOCK EAGAIN /* Operation would block */ |
takashiyamanoue | 0:3edcfa3aba71 | 120 | #define ENOMSG 42 /* No message of desired type */ |
takashiyamanoue | 0:3edcfa3aba71 | 121 | #define EIDRM 43 /* Identifier removed */ |
takashiyamanoue | 0:3edcfa3aba71 | 122 | #define ECHRNG 44 /* Channel number out of range */ |
takashiyamanoue | 0:3edcfa3aba71 | 123 | #define EL2NSYNC 45 /* Level 2 not synchronized */ |
takashiyamanoue | 0:3edcfa3aba71 | 124 | #define EL3HLT 46 /* Level 3 halted */ |
takashiyamanoue | 0:3edcfa3aba71 | 125 | #define EL3RST 47 /* Level 3 reset */ |
takashiyamanoue | 0:3edcfa3aba71 | 126 | #define ELNRNG 48 /* Link number out of range */ |
takashiyamanoue | 0:3edcfa3aba71 | 127 | #define EUNATCH 49 /* Protocol driver not attached */ |
takashiyamanoue | 0:3edcfa3aba71 | 128 | #define ENOCSI 50 /* No CSI structure available */ |
takashiyamanoue | 0:3edcfa3aba71 | 129 | #define EL2HLT 51 /* Level 2 halted */ |
takashiyamanoue | 0:3edcfa3aba71 | 130 | #define EBADE 52 /* Invalid exchange */ |
takashiyamanoue | 0:3edcfa3aba71 | 131 | #define EBADR 53 /* Invalid request descriptor */ |
takashiyamanoue | 0:3edcfa3aba71 | 132 | #define EXFULL 54 /* Exchange full */ |
takashiyamanoue | 0:3edcfa3aba71 | 133 | #define ENOANO 55 /* No anode */ |
takashiyamanoue | 0:3edcfa3aba71 | 134 | #define EBADRQC 56 /* Invalid request code */ |
takashiyamanoue | 0:3edcfa3aba71 | 135 | #define EBADSLT 57 /* Invalid slot */ |
takashiyamanoue | 0:3edcfa3aba71 | 136 | |
takashiyamanoue | 0:3edcfa3aba71 | 137 | #define EDEADLOCK EDEADLK |
takashiyamanoue | 0:3edcfa3aba71 | 138 | |
takashiyamanoue | 0:3edcfa3aba71 | 139 | #define EBFONT 59 /* Bad font file format */ |
takashiyamanoue | 0:3edcfa3aba71 | 140 | #define ENOSTR 60 /* Device not a stream */ |
takashiyamanoue | 0:3edcfa3aba71 | 141 | #define ENODATA 61 /* No data available */ |
takashiyamanoue | 0:3edcfa3aba71 | 142 | #define ETIME 62 /* Timer expired */ |
takashiyamanoue | 0:3edcfa3aba71 | 143 | #define ENOSR 63 /* Out of streams resources */ |
takashiyamanoue | 0:3edcfa3aba71 | 144 | #define ENONET 64 /* Machine is not on the network */ |
takashiyamanoue | 0:3edcfa3aba71 | 145 | #define ENOPKG 65 /* Package not installed */ |
takashiyamanoue | 0:3edcfa3aba71 | 146 | #define EREMOTE 66 /* Object is remote */ |
takashiyamanoue | 0:3edcfa3aba71 | 147 | #define ENOLINK 67 /* Link has been severed */ |
takashiyamanoue | 0:3edcfa3aba71 | 148 | #define EADV 68 /* Advertise error */ |
takashiyamanoue | 0:3edcfa3aba71 | 149 | #define ESRMNT 69 /* Srmount error */ |
takashiyamanoue | 0:3edcfa3aba71 | 150 | #define ECOMM 70 /* Communication error on send */ |
takashiyamanoue | 0:3edcfa3aba71 | 151 | #define EPROTO 71 /* Protocol error */ |
takashiyamanoue | 0:3edcfa3aba71 | 152 | #define EMULTIHOP 72 /* Multihop attempted */ |
takashiyamanoue | 0:3edcfa3aba71 | 153 | #define EDOTDOT 73 /* RFS specific error */ |
takashiyamanoue | 0:3edcfa3aba71 | 154 | #define EBADMSG 74 /* Not a data message */ |
takashiyamanoue | 0:3edcfa3aba71 | 155 | #define EOVERFLOW 75 /* Value too large for defined data type */ |
takashiyamanoue | 0:3edcfa3aba71 | 156 | #define ENOTUNIQ 76 /* Name not unique on network */ |
takashiyamanoue | 0:3edcfa3aba71 | 157 | #define EBADFD 77 /* File descriptor in bad state */ |
takashiyamanoue | 0:3edcfa3aba71 | 158 | #define EREMCHG 78 /* Remote address changed */ |
takashiyamanoue | 0:3edcfa3aba71 | 159 | #define ELIBACC 79 /* Can not access a needed shared library */ |
takashiyamanoue | 0:3edcfa3aba71 | 160 | #define ELIBBAD 80 /* Accessing a corrupted shared library */ |
takashiyamanoue | 0:3edcfa3aba71 | 161 | #define ELIBSCN 81 /* .lib section in a.out corrupted */ |
takashiyamanoue | 0:3edcfa3aba71 | 162 | #define ELIBMAX 82 /* Attempting to link in too many shared libraries */ |
takashiyamanoue | 0:3edcfa3aba71 | 163 | #define ELIBEXEC 83 /* Cannot exec a shared library directly */ |
takashiyamanoue | 0:3edcfa3aba71 | 164 | #define EILSEQ 84 /* Illegal byte sequence */ |
takashiyamanoue | 0:3edcfa3aba71 | 165 | #define ERESTART 85 /* Interrupted system call should be restarted */ |
takashiyamanoue | 0:3edcfa3aba71 | 166 | #define ESTRPIPE 86 /* Streams pipe error */ |
takashiyamanoue | 0:3edcfa3aba71 | 167 | #define EUSERS 87 /* Too many users */ |
takashiyamanoue | 0:3edcfa3aba71 | 168 | #define ENOTSOCK 88 /* Socket operation on non-socket */ |
takashiyamanoue | 0:3edcfa3aba71 | 169 | #define EDESTADDRREQ 89 /* Destination address required */ |
takashiyamanoue | 0:3edcfa3aba71 | 170 | #define EMSGSIZE 90 /* Message too long */ |
takashiyamanoue | 0:3edcfa3aba71 | 171 | #define EPROTOTYPE 91 /* Protocol wrong type for socket */ |
takashiyamanoue | 0:3edcfa3aba71 | 172 | #define ENOPROTOOPT 92 /* Protocol not available */ |
takashiyamanoue | 0:3edcfa3aba71 | 173 | #define EPROTONOSUPPORT 93 /* Protocol not supported */ |
takashiyamanoue | 0:3edcfa3aba71 | 174 | #define ESOCKTNOSUPPORT 94 /* Socket type not supported */ |
takashiyamanoue | 0:3edcfa3aba71 | 175 | #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ |
takashiyamanoue | 0:3edcfa3aba71 | 176 | #define EPFNOSUPPORT 96 /* Protocol family not supported */ |
takashiyamanoue | 0:3edcfa3aba71 | 177 | #define EAFNOSUPPORT 97 /* Address family not supported by protocol */ |
takashiyamanoue | 0:3edcfa3aba71 | 178 | #define EADDRINUSE 98 /* Address already in use */ |
takashiyamanoue | 0:3edcfa3aba71 | 179 | #define EADDRNOTAVAIL 99 /* Cannot assign requested address */ |
takashiyamanoue | 0:3edcfa3aba71 | 180 | #define ENETDOWN 100 /* Network is down */ |
takashiyamanoue | 0:3edcfa3aba71 | 181 | #define ENETUNREACH 101 /* Network is unreachable */ |
takashiyamanoue | 0:3edcfa3aba71 | 182 | #define ENETRESET 102 /* Network dropped connection because of reset */ |
takashiyamanoue | 0:3edcfa3aba71 | 183 | #define ECONNABORTED 103 /* Software caused connection abort */ |
takashiyamanoue | 0:3edcfa3aba71 | 184 | #define ECONNRESET 104 /* Connection reset by peer */ |
takashiyamanoue | 0:3edcfa3aba71 | 185 | #define ENOBUFS 105 /* No buffer space available */ |
takashiyamanoue | 0:3edcfa3aba71 | 186 | #define EISCONN 106 /* Transport endpoint is already connected */ |
takashiyamanoue | 0:3edcfa3aba71 | 187 | #define ENOTCONN 107 /* Transport endpoint is not connected */ |
takashiyamanoue | 0:3edcfa3aba71 | 188 | #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */ |
takashiyamanoue | 0:3edcfa3aba71 | 189 | #define ETOOMANYREFS 109 /* Too many references: cannot splice */ |
takashiyamanoue | 0:3edcfa3aba71 | 190 | #define ETIMEDOUT 110 /* Connection timed out */ |
takashiyamanoue | 0:3edcfa3aba71 | 191 | #define ECONNREFUSED 111 /* Connection refused */ |
takashiyamanoue | 0:3edcfa3aba71 | 192 | #define EHOSTDOWN 112 /* Host is down */ |
takashiyamanoue | 0:3edcfa3aba71 | 193 | #define EHOSTUNREACH 113 /* No route to host */ |
takashiyamanoue | 0:3edcfa3aba71 | 194 | #define EALREADY 114 /* Operation already in progress */ |
takashiyamanoue | 0:3edcfa3aba71 | 195 | #define EINPROGRESS 115 /* Operation now in progress */ |
takashiyamanoue | 0:3edcfa3aba71 | 196 | #define ESTALE 116 /* Stale NFS file handle */ |
takashiyamanoue | 0:3edcfa3aba71 | 197 | #define EUCLEAN 117 /* Structure needs cleaning */ |
takashiyamanoue | 0:3edcfa3aba71 | 198 | #define ENOTNAM 118 /* Not a XENIX named type file */ |
takashiyamanoue | 0:3edcfa3aba71 | 199 | #define ENAVAIL 119 /* No XENIX semaphores available */ |
takashiyamanoue | 0:3edcfa3aba71 | 200 | #define EISNAM 120 /* Is a named type file */ |
takashiyamanoue | 0:3edcfa3aba71 | 201 | #define EREMOTEIO 121 /* Remote I/O error */ |
takashiyamanoue | 0:3edcfa3aba71 | 202 | #define EDQUOT 122 /* Quota exceeded */ |
takashiyamanoue | 0:3edcfa3aba71 | 203 | |
takashiyamanoue | 0:3edcfa3aba71 | 204 | #define ENOMEDIUM 123 /* No medium found */ |
takashiyamanoue | 0:3edcfa3aba71 | 205 | #define EMEDIUMTYPE 124 /* Wrong medium type */ |
takashiyamanoue | 0:3edcfa3aba71 | 206 | |
takashiyamanoue | 0:3edcfa3aba71 | 207 | |
takashiyamanoue | 0:3edcfa3aba71 | 208 | #define ENSROK 0 /* DNS server returned answer with no data */ |
takashiyamanoue | 0:3edcfa3aba71 | 209 | #define ENSRNODATA 160 /* DNS server returned answer with no data */ |
takashiyamanoue | 0:3edcfa3aba71 | 210 | #define ENSRFORMERR 161 /* DNS server claims query was misformatted */ |
takashiyamanoue | 0:3edcfa3aba71 | 211 | #define ENSRSERVFAIL 162 /* DNS server returned general failure */ |
takashiyamanoue | 0:3edcfa3aba71 | 212 | #define ENSRNOTFOUND 163 /* Domain name not found */ |
takashiyamanoue | 0:3edcfa3aba71 | 213 | #define ENSRNOTIMP 164 /* DNS server does not implement requested operation */ |
takashiyamanoue | 0:3edcfa3aba71 | 214 | #define ENSRREFUSED 165 /* DNS server refused query */ |
takashiyamanoue | 0:3edcfa3aba71 | 215 | #define ENSRBADQUERY 166 /* Misformatted DNS query */ |
takashiyamanoue | 0:3edcfa3aba71 | 216 | #define ENSRBADNAME 167 /* Misformatted domain name */ |
takashiyamanoue | 0:3edcfa3aba71 | 217 | #define ENSRBADFAMILY 168 /* Unsupported address family */ |
takashiyamanoue | 0:3edcfa3aba71 | 218 | #define ENSRBADRESP 169 /* Misformatted DNS reply */ |
takashiyamanoue | 0:3edcfa3aba71 | 219 | #define ENSRCONNREFUSED 170 /* Could not contact DNS servers */ |
takashiyamanoue | 0:3edcfa3aba71 | 220 | #define ENSRTIMEOUT 171 /* Timeout while contacting DNS servers */ |
takashiyamanoue | 0:3edcfa3aba71 | 221 | #define ENSROF 172 /* End of file */ |
takashiyamanoue | 0:3edcfa3aba71 | 222 | #define ENSRFILE 173 /* Error reading file */ |
takashiyamanoue | 0:3edcfa3aba71 | 223 | #define ENSRNOMEM 174 /* Out of memory */ |
takashiyamanoue | 0:3edcfa3aba71 | 224 | #define ENSRDESTRUCTION 175 /* Application terminated lookup */ |
takashiyamanoue | 0:3edcfa3aba71 | 225 | #define ENSRQUERYDOMAINTOOLONG 176 /* Domain name is too long */ |
takashiyamanoue | 0:3edcfa3aba71 | 226 | #define ENSRCNAMELOOP 177 /* Domain name is too long */ |
takashiyamanoue | 0:3edcfa3aba71 | 227 | |
takashiyamanoue | 0:3edcfa3aba71 | 228 | #ifndef errno |
takashiyamanoue | 0:3edcfa3aba71 | 229 | extern int errno; |
takashiyamanoue | 0:3edcfa3aba71 | 230 | #endif |
takashiyamanoue | 0:3edcfa3aba71 | 231 | |
takashiyamanoue | 0:3edcfa3aba71 | 232 | #endif /* LWIP_PROVIDE_ERRNO */ |
takashiyamanoue | 0:3edcfa3aba71 | 233 | |
takashiyamanoue | 0:3edcfa3aba71 | 234 | #ifdef __cplusplus |
takashiyamanoue | 0:3edcfa3aba71 | 235 | } |
takashiyamanoue | 0:3edcfa3aba71 | 236 | #endif |
takashiyamanoue | 0:3edcfa3aba71 | 237 | |
takashiyamanoue | 0:3edcfa3aba71 | 238 | #endif /* __LWIP_ARCH_H__ */ |