change pin code value type and wps API comments.

This commit is contained in:
Xia Xiao Tian 2016-11-09 18:15:10 +08:00
parent 3b96f68afd
commit c441d3630c
2 changed files with 1 additions and 2 deletions

View file

@ -78,7 +78,7 @@ typedef struct {
} system_event_sta_got_ip_t;
typedef struct {
uint8_t pin_code; /**< PIN code of station in enrollee mode */
uint8_t pin_code[8]; /**< PIN code of station in enrollee mode */
}system_event_sta_wps_er_pin_t;
typedef struct {

View file

@ -63,7 +63,6 @@ typedef enum wps_type {
* - ESP_OK : succeed
* - ESP_ERR_WIFI_WPS_TYPE : wps type is invalid
* - ESP_ERR_WIFI_WPS_MODE : wifi is not in station mode or sniffer mode is on
* - ESP_ERR_WIFI_WPS_SM : wps state machine is not initialized
* - ESP_ERR_WIFI_FAIL : wps initialization fails
*/
esp_err_t esp_wifi_wps_enable(wps_type_t wps_type);