]> granicus.if.org Git - esp-idf/commitdiff
change pin code value type and wps API comments.
authorXia Xiao Tian <xxt@201608-4.(none)>
Wed, 9 Nov 2016 10:15:10 +0000 (18:15 +0800)
committerXia Xiao Tian <xxt@201608-4.(none)>
Wed, 9 Nov 2016 10:15:10 +0000 (18:15 +0800)
components/esp32/include/esp_event.h
components/esp32/include/esp_wps.h

index 481c5effd5ede511c5a204f987a7782d5cfd056d..3b2b54acca608c01e2b0f6b5eece2698a5567363 100644 (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 {
index 2ea7e194bbd9584b4ac67bf66c695234791d196b..0a413a197892eaec9f2dbec286b8865887e18074 100644 (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);