CMSIS-Driver
Version 2.8.0
Peripheral Interface for Middleware and Application Code
|
WiFi Socket Function return codes. More...
Macros | |
#define | ARM_SOCKET_ERROR (-1) |
Unspecified error. More... | |
#define | ARM_SOCKET_ESOCK (-2) |
Invalid socket. More... | |
#define | ARM_SOCKET_EINVAL (-3) |
Invalid argument. More... | |
#define | ARM_SOCKET_ENOTSUP (-4) |
Operation not supported. More... | |
#define | ARM_SOCKET_ENOMEM (-5) |
Not enough memory. More... | |
#define | ARM_SOCKET_EAGAIN (-6) |
Operation would block or timed out. More... | |
#define | ARM_SOCKET_EINPROGRESS (-7) |
Operation in progress. More... | |
#define | ARM_SOCKET_ETIMEDOUT (-8) |
Operation timed out. More... | |
#define | ARM_SOCKET_EISCONN (-9) |
Socket is connected. More... | |
#define | ARM_SOCKET_ENOTCONN (-10) |
Socket is not connected. More... | |
#define | ARM_SOCKET_ECONNREFUSED (-11) |
Connection rejected by the peer. More... | |
#define | ARM_SOCKET_ECONNRESET (-12) |
Connection reset by the peer. More... | |
#define | ARM_SOCKET_ECONNABORTED (-13) |
Connection aborted locally. More... | |
#define | ARM_SOCKET_EALREADY (-14) |
Connection already in progress. More... | |
#define | ARM_SOCKET_EADDRINUSE (-15) |
Address in use. More... | |
#define | ARM_SOCKET_EHOSTNOTFOUND (-16) |
Host not found. More... | |
WiFi Socket Function return codes.
This section lists all the return errors the WiFi socket functions will return. The error codes are negative. This makes it easy to check an error when the return code is less than 0.
#define ARM_SOCKET_ERROR (-1) |
Unspecified error.
#define ARM_SOCKET_ESOCK (-2) |
Invalid socket.
#define ARM_SOCKET_EINVAL (-3) |
Invalid argument.
#define ARM_SOCKET_ENOTSUP (-4) |
Operation not supported.
#define ARM_SOCKET_ENOMEM (-5) |
Not enough memory.
#define ARM_SOCKET_EAGAIN (-6) |
Operation would block or timed out.
#define ARM_SOCKET_EINPROGRESS (-7) |
Operation in progress.
#define ARM_SOCKET_ETIMEDOUT (-8) |
Operation timed out.
#define ARM_SOCKET_EISCONN (-9) |
Socket is connected.
#define ARM_SOCKET_ENOTCONN (-10) |
Socket is not connected.
#define ARM_SOCKET_ECONNREFUSED (-11) |
Connection rejected by the peer.
#define ARM_SOCKET_ECONNRESET (-12) |
Connection reset by the peer.
#define ARM_SOCKET_ECONNABORTED (-13) |
Connection aborted locally.
#define ARM_SOCKET_EALREADY (-14) |
Connection already in progress.
#define ARM_SOCKET_EADDRINUSE (-15) |
Address in use.
#define ARM_SOCKET_EHOSTNOTFOUND (-16) |
Host not found.