Skip to content

Commit 710fab5

Browse files
committed
Add NSAPI_ERROR_PARAMETER
per @c1728p9
1 parent 943dd71 commit 710fab5

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

NetworkStack.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@
3030
*/
3131
enum nsapi_error_t {
3232
NSAPI_ERROR_WOULD_BLOCK = -3001, /*!< no data is not available but call is non-blocking */
33-
NSAPI_ERROR_UNSUPPORTED = -3002, /*!< unsupported configuration */
34-
NSAPI_ERROR_NO_CONNECTION = -3003, /*!< not connected to a network */
35-
NSAPI_ERROR_NO_SOCKET = -3004, /*!< socket not available for use */
36-
NSAPI_ERROR_NO_ADDRESS = -3005, /*!< IP address is not known */
37-
NSAPI_ERROR_NO_MEMORY = -3006, /*!< memory resource not available */
38-
NSAPI_ERROR_DNS_FAILURE = -3007, /*!< DNS failed to complete successfully */
39-
NSAPI_ERROR_DHCP_FAILURE = -3008, /*!< DHCP failed to complete successfully */
40-
NSAPI_ERROR_AUTH_FAILURE = -3009, /*!< connection to access point faield */
41-
NSAPI_ERROR_DEVICE_ERROR = -3010, /*!< failure interfacing with the network procesor */
33+
NSAPI_ERROR_UNSUPPORTED = -3002, /*!< unsupported functionality */
34+
NSAPI_ERROR_PARAMETER = -3003, /*!< invalid configuration */
35+
NSAPI_ERROR_NO_CONNECTION = -3004, /*!< not connected to a network */
36+
NSAPI_ERROR_NO_SOCKET = -3005, /*!< socket not available for use */
37+
NSAPI_ERROR_NO_ADDRESS = -3006, /*!< IP address is not known */
38+
NSAPI_ERROR_NO_MEMORY = -3007, /*!< memory resource not available */
39+
NSAPI_ERROR_DNS_FAILURE = -3008, /*!< DNS failed to complete successfully */
40+
NSAPI_ERROR_DHCP_FAILURE = -3009, /*!< DHCP failed to complete successfully */
41+
NSAPI_ERROR_AUTH_FAILURE = -3010, /*!< connection to access point faield */
42+
NSAPI_ERROR_DEVICE_ERROR = -3011, /*!< failure interfacing with the network procesor */
4243
};
4344

4445
/** Enum of socket protocols

0 commit comments

Comments
 (0)