mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
change pin code value type and wps API comments.
This commit is contained in:
parent
3b96f68afd
commit
c441d3630c
@ -78,7 +78,7 @@ typedef struct {
|
|||||||
} system_event_sta_got_ip_t;
|
} system_event_sta_got_ip_t;
|
||||||
|
|
||||||
typedef struct {
|
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;
|
}system_event_sta_wps_er_pin_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -63,7 +63,6 @@ typedef enum wps_type {
|
|||||||
* - ESP_OK : succeed
|
* - ESP_OK : succeed
|
||||||
* - ESP_ERR_WIFI_WPS_TYPE : wps type is invalid
|
* - 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_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_WIFI_FAIL : wps initialization fails
|
||||||
*/
|
*/
|
||||||
esp_err_t esp_wifi_wps_enable(wps_type_t wps_type);
|
esp_err_t esp_wifi_wps_enable(wps_type_t wps_type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user