User Manual
err_t
The most frequently encountered error codes are defined below:
ERROR_NONE (0)
This means that no error occurred and that execution completed as expected
ERROR_OUT_OF_HEAP_SPACE (3)
This error indicates that you have run out of heap memory in Feather Lib
ERROR_NOT_CONNECTED (20)
You will get this error if you try to perform an operation that requires a connection to an AP or the Internet when
you aren't connected.
ERROR_WWD_INVALID_KEY (1004)
You will get this error if the password you provided for your AP is invalid
ERROR_WWD_AUTHENTICATION_FAILED (1006)
You will get this error if authentication failed trying to connect to the AP
ERROR_WWD_NETWORK_NOT_FOUND (1024)
You will get this error if the requested AP could not be found in an AP scan. A likely cause of this error message
is that you are out of range of the AP.
ERROR_WWD_UNABLE_TO_JOIN (1025)
You will get this error if you are unable to join the requested AP. A likely cause of this error message is that you
are out of range of the AP.
ERROR_WWD_ACCESS_POINT_NOT_FOUND (1066)
This error message indicates that the requested AP could not be found
ERROR_TLS_UNTRUSTED_CERTIFICATE (5035)
Indicates that the certificate from the remote secure server could not be validated against any of the root
certificates available to WICED. You may need to add another root certificate via Feather.addRootCA(...).
ERROR_SDEP_INVALIDPARAMETER (30002)
This error indicates that an invalid parameter was provided to the underlying SDEP command, or a parameter
was rejected by the command handler.
There are hundreds of other possible error codes, and they can't all be documented here, but using the .errno()
and .errstr() functions in AdafruitFeather you can get either the 16-bit error code or a string that provides a basic
description for that error code.
The following code shows how you might use a combination of .errno() and .errstr() to handle common error codes:
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 159 of 202










