CMSIS-Driver  Version 2.7.1
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WiFi Socket Function return codes

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...
 

Description

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.

Macro Definition Documentation

#define ARM_SOCKET_ERROR   (-1)

Unspecified error.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ESOCK   (-2)

Invalid socket.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EINVAL   (-3)

Invalid argument.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ENOTSUP   (-4)

Operation not supported.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ENOMEM   (-5)

Not enough memory.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EAGAIN   (-6)

Operation would block or timed out.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EINPROGRESS   (-7)

Operation in progress.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ETIMEDOUT   (-8)

Operation timed out.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EISCONN   (-9)

Socket is connected.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ENOTCONN   (-10)

Socket is not connected.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ECONNREFUSED   (-11)

Connection rejected by the peer.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ECONNRESET   (-12)

Connection reset by the peer.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_ECONNABORTED   (-13)

Connection aborted locally.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EALREADY   (-14)

Connection already in progress.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EADDRINUSE   (-15)

Address in use.

See Also
WiFi Socket Function return codes
#define ARM_SOCKET_EHOSTNOTFOUND   (-16)

Host not found.

See Also
WiFi Socket Function return codes