From 97de07f8b2c0323bcb06c4dc45c261e0c332be7a Mon Sep 17 00:00:00 2001 From: Our Air Quality Date: Thu, 15 Sep 2016 16:16:54 +1000 Subject: [PATCH] Comment the sdk_station_config slots. (#217) 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);