khoih-prog / Blynk_WM

Blynk and WiFiManager Library for configuring/auto(re)connecting ESP8266/ESP32 modules to the best or available MultiWiFi APs and MultiBlynk servers at runtime, with or without SSL. Configuration data saved in either SPIFFS or EEPROM.
MIT License
47 stars 8 forks source link

Blynk WM failes while setting the password. #23

Closed abykuruvilla-dev closed 3 years ago

abykuruvilla-dev commented 3 years ago

Network shows failed when setting password. Is there a single POST call for sending the entire request once instead of value by value as GET calls? I was actually developing an android app to configure wifi for my project.

This is the code.

#define BLYNK_PRINT Serial
#define USE_SPIFFS      false
#include <BlynkSimpleEsp32_WM.h>
Blynk_WM_Configuration defaultConfig =
{
  "NonSSL",
  "SSID1", "password1",
  "SSID2", "password2",
  "account.ddns.net",     "token",
  "account.duckdns.org",  "token1",
  //int  blynk_port;
  8080,
  //char board_name     [24];
  "Mail-Manager",
  //int  checkSum, dummy, not used
  0
};
MenuItem myMenuItems [] = {};
uint16_t NUM_MENU_ITEMS = 0;
bool LOAD_DEFAULT_CONFIG_DATA = false;

void setup()
{
  Serial.begin(9600);
  Blynk.setConfigPortal("SmartExtensionBoard", "12345678");
  Blynk.setConfigPortalIP(IPAddress(192, 168, 101, 1));
  Blynk.setConfigPortalChannel(0);
  Blynk.begin("SmartExtensionBoard");
}

image