From a5bf080b3a9750749fe238391c29e2a2fec3377b Mon Sep 17 00:00:00 2001 From: ourairquality Date: Wed, 7 Sep 2016 00:21:23 +1000 Subject: [PATCH] Comment the sdk_station_config slots. Note bssid_set should be set to one if the bssid is used otherwise zero. --- include/espressif/esp_sta.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/espressif/esp_sta.h b/include/espressif/esp_sta.h index fdfc1cf..c5f585a 100644 --- a/include/espressif/esp_sta.h +++ b/include/espressif/esp_sta.h @@ -15,10 +15,10 @@ extern "C" { #endif struct sdk_station_config { - uint8_t ssid[32]; - uint8_t password[64]; - uint8_t bssid_set; - uint8_t bssid[6]; + uint8_t ssid[32]; /* Null terminated string */ + uint8_t password[64]; /* Null terminated string */ + uint8_t bssid_set; /* One if bssid is used, otherwise zero. */ + uint8_t bssid[6]; /* The BSSID bytes */ }; bool sdk_wifi_station_get_config(struct sdk_station_config *config);