docs: Add esp_wifi_types.h items to wifi API reference

Previously only items defined esp_wifi.h in esp_wifi_crypto_types.h
were including in documentation reference.
This commit is contained in:
Angus Gratton 2017-09-26 17:02:52 +10:00 committed by Angus Gratton
parent bd9c5d9adc
commit 36692dbac7
3 changed files with 5 additions and 2 deletions

View file

@ -61,7 +61,7 @@ typedef enum {
WIFI_AUTH_MAX
} wifi_auth_mode_t;
enum {
typedef enum {
WIFI_REASON_UNSPECIFIED = 1,
WIFI_REASON_AUTH_EXPIRE = 2,
WIFI_REASON_AUTH_LEAVE = 3,
@ -91,7 +91,7 @@ enum {
WIFI_REASON_AUTH_FAIL = 202,
WIFI_REASON_ASSOC_FAIL = 203,
WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
};
} wifi_err_reason_t;
typedef enum {
WIFI_SECOND_CHAN_NONE = 0, /**< the channel width is HT20 */

View file

@ -25,6 +25,7 @@ INPUT = \
## Wi-Fi - API Reference
##
../components/esp32/include/esp_wifi.h \
../components/esp32/include/esp_wifi_types.h \
../components/esp32/include/esp_wifi_crypto_types.h \
../components/esp32/include/esp_smartconfig.h \
../components/esp32/include/esp_now.h \

View file

@ -22,4 +22,6 @@ API Reference
-------------
.. include:: /_build/inc/esp_wifi.inc
.. include:: /_build/inc/esp_wifi_types.inc