Skip to content

Commit 19ac0f6

Browse files
committed
esp32/modsmartconfig: Fixed v2_data length.
Change data length from 32 to 64, to fit the maximum length specified by the EspTouch app. Signed-off-by: Walkline80 <walkline@gmail.com>
1 parent 36ae256 commit 19ac0f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/esp32/modsmartconfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static bool smartconfig_process_done = false;
2626
static uint8_t ssid[33] = {0};
2727
static uint8_t bssid[6] = {0};
2828
static uint8_t password[65] = {0};
29-
static uint8_t v2_data[33] = {0};
29+
static uint8_t v2_data[65] = {0};
3030

3131
// smartconfig settings variables
3232
static int8_t type = SC_TYPE_ESPTOUCH_AIRKISS;
@@ -127,7 +127,7 @@ static void smartconfig_init(void) {
127127
memset(ssid, 0, sizeof(ssid));
128128
memset(bssid, 0, sizeof(bssid));
129129
memset(password, 0, sizeof(password));
130-
memset(v2_data, 0, sizeof(v2_data));
130+
memset(v2_data, 0, sizeof(v2_data));
131131

132132
wifi_event_group = xEventGroupCreate();
133133

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy