User Manual
Constants
The WICED Feather library uses a handful of public constants, enums, typdefs and defines. In some situations, you will
have to use these constants, enums, typedefs or defines in your own sketches, and the most common values are
documented below:
wl_enc_type_t
This typedef (which resolves to an int32_t value) is used to indicate the security encoding mechanism used by your AP
when establishing a connection. You can indicate the following values in the encoding type parameter
of Feather.connect:
ENC_TYPE_AUTO
Attempts to automatically detect the security encoding type. This is the default option if no encoding type is
specified in Feather.connect, but is also the slowest since it has to scan for all APs in range and determine the
security type if the requested AP is found.
ENC_TYPE_OPEN
Open AP (no security or password required)
ENC_TYPE_WEP
WEP security with open authentication
ENC_TYPE_WEP_SHARED
WEP security with shared authentication
ENC_TYPE_WPA_TKIP
WPA security with TKIP
ENC_TYPE_WPA_AES
WPA security with AES
ENC_TYPE_WPA_MIXED
WPA security with AES and TKIP
ENC_TYPE_WPA2_TKIP
WPA2 security with TKIP
ENC_TYPE_WPA2_AES
WPA2 security with AES
ENC_TYPE_WPA2_MIXED
WPA2 security with TKIP and AES
ENC_TYPE_WPA_TKIP_ENT
WPA enterprise security with TKIP
ENC_TYPE_WPA_AES_ENT
WPA enterprise security with AES
ENC_TYPE_WPA_MIXED_ENT
WPA enteprise security with TKIP and AES
ENC_TYPE_WPA2_TKIP_ENT
WPA2 enterprise security with TKIP
ENC_TYPE_WPA2_AES_ENT
WPA2 enterprise security with AES
ENC_TYPE_WPA2_MIXED_ENT
WPA2 enterprise security with TKIP and AES
ENC_TYPE_WPS_OPEN
WPS with open security
ENC_TYPE_WPS_SECURE
WPS with AES security
ENC_TYPE_IBSS_OPEN
BSS with open security
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 158 of 202










