You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome library guys. really is a lifesaver.
Feature request maybe or just missing instructions.
We looking to use CSS format set in Main and PARAMS,
going to /custom presents a blank page with text, is there a method to use all the styles and scripts from index and params ?
I have already added backgrounds and icons to styling but do I need to duplicate the entire page in code again ?
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP32c3
Hardware: Custom ESP32C3 board
Description
Problem description
Settings in IDE
Arduino Release v2.0.14 based on ESP-IDF v4.4.6
Module: esp32c3
Additional libraries:
Sketch
#BEGIN
#include<Arduino.h>
#include"WiFiManager.h"voidsaveWifiCallback(){
Serial.println("[CALLBACK] saveCallback fired");
}
//gets called when WiFiManager enters configuration modevoidconfigModeCallback (WiFiManager *myWiFiManager) {
Serial.println("[CALLBACK] configModeCallback fired");
// myWiFiManager->setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); // Serial.println(WiFi.softAPIP());//if you used auto generated SSID, print it// Serial.println(myWiFiManager->getConfigPortalSSID());//// esp_wifi_set_bandwidth(WIFI_IF_AP, WIFI_BW_HT20);
}
voidhandleRoute(){
Serial.println("[HTTP] handle route");
wm.server->send(200, "text/plain", "hello from user code");
}
voidbindServerCallback(){
wm.server->on("/custom",handleRoute); // this is now crashing esp32 for some reason// wm.server->on("/info",handleRoute); // you can override wm!
}
voidsetup() {
wm.setWebServerCallback(bindServerCallback);
wm.setCustomHeadElement(icon);
wm.setCustomHeadElement(base64img);
constchar* menuhtml = "<form action='/custom' method='get'><button>Advanced</button></form><br/>\n";
wm.setCustomMenuHTML(menuhtml);
std::vector<constchar *> menu = {"wifi", "update", "info", "param", "custom", "sep", "restart", "exit"};
wm.setMenu(menu);
}
voidloop() {
}
#END
Debug Messages
messages here
The text was updated successfully, but these errors were encountered:
Basic Infos
Awesome library guys. really is a lifesaver.
Feature request maybe or just missing instructions.
We looking to use CSS format set in Main and PARAMS,
going to /custom presents a blank page with text, is there a method to use all the styles and scripts from index and params ?
I have already added backgrounds and icons to styling but do I need to duplicate the entire page in code again ?
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP32c3
Hardware: Custom ESP32C3 board
Description
Problem description
Settings in IDE
Arduino Release v2.0.14 based on ESP-IDF v4.4.6
Module: esp32c3
Additional libraries:
Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: