mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
esp32: bump ssid and pw fields to 64
This commit is contained in:
parent
948408b36a
commit
9556ad77fb
3 changed files with 6 additions and 4 deletions
|
@ -565,9 +565,9 @@ struct lws_esp32 {
|
|||
char model[16];
|
||||
char group[16];
|
||||
char role[16];
|
||||
char ssid[4][16];
|
||||
char password[4][32];
|
||||
char active_ssid[32];
|
||||
char ssid[4][64];
|
||||
char password[4][64];
|
||||
char active_ssid[64];
|
||||
char access_pw[16];
|
||||
char hostname[32];
|
||||
char mac[20];
|
||||
|
|
|
@ -715,7 +715,9 @@ static TimerHandle_t leds_timer, scan_timer, debounce_timer, association_timer
|
|||
#endif
|
||||
;
|
||||
static enum lws_gapss gapss = LWS_GAPSS_INITIAL;
|
||||
#if !defined(CONFIG_LWS_IS_FACTORY_APPLICATION)
|
||||
static mdns_result_t *mdns_results_head;
|
||||
#endif
|
||||
|
||||
#define GPIO_SW 14
|
||||
|
||||
|
|
|
@ -674,7 +674,7 @@ callback_esplws_scan(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
}
|
||||
|
||||
for (m = 0; m < 4; m++) {
|
||||
char name[10], ssid[32];
|
||||
char name[10], ssid[65];
|
||||
unsigned int pp = 0, use = 0;
|
||||
|
||||
if (m)
|
||||
|
|
Loading…
Add table
Reference in a new issue