suraj151 / esp8266-framework Goto Github PK
View Code? Open in Web Editor NEWesp8266 framework stack for easy configurable applications
License: GNU General Public License v3.0
esp8266 framework stack for easy configurable applications
License: GNU General Public License v3.0
hi bro i hope you are well :)
On the "WifiConfigPage.h" page
G:17 = WiFi Configuration
to the bottom line
"WiFi.scanNetworks();" in this link I wanted to add the function, although it is defined on WifiInterface.h, I could not succeed, your functions are really perfect.
Is there any way I can do this?
Hi - your library looks mighty impressive !!! Thank you for your time to release into public for us
I have an error compiling the ewings example: any suggestions?
In file included from C:\Users\xx\Documents\Arduino\libraries\esp8266-framework\src/interface/WiFiClientInterface.h:14,
from C:\Users\xx\Documents\Arduino\libraries\esp8266-framework\src/EwingsEspStack.h:17,
from C:\Users\xx\Documents\Arduino\sketch_jul07a\sketch_jul07a.ino:6:
C:\Users\xx\Documents\Arduino\libraries\esp8266-framework\src/interface/iWiFiClientInterface.h:60:20: error: conflicting return type specified for 'virtual size_t iWiFiClientInterface::availableForWrite()'
60 | virtual size_t availableForWrite() = 0;
| ^~~~~~~~~~~~~~~~~
In file included from C:\Users\xx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/Stream.h:27,
from C:\Users\xx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/HardwareSerial.h:32,
from C:\Users\xx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/Arduino.h:288,
from C:\Users\GARY_M~1\AppData\Local\Temp\arduino_build_645607\sketch\sketch_jul07a.ino.cpp:1:
C:\Users\xx\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/Print.h:80:21: note: overridden function is 'virtual int Print::availableForWrite()'
80 | virtual int availableForWrite() { return 0; }
| ^~~~~~~~~~~~~~~~~
I get the following compiler error:
pio\libdeps\d1_mini\esp8266-framework\src\EwingsEspStack.cpp:121:7: error: 'dhcpSoftAP' was not declared in this scope
My config:
[env:d1_mini]
platform = espressif8266
board = d1_mini
lib_deps = suraj151/esp8266-framework@^1.1.5
Using the simple EWS stack example:
#include <EwingsEspStack.h>
void setup() {
EwStack.initialize();
}
void loop() {
EwStack.serve();
}
hello suraj
i have open the example ewstack.ino,and upload ,but cannot do compile.
there are many warning.the bottom lists some ,can you tell me how to fix it.thank you very much.
C:\Users\lenovo\Documents\Arduino\libraries\esp8266-framework\src/webserver/helpers/HtmlTagsAndAttr.h:83:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
83 | #define HTML_INPUT_CHECKBOX_TAG_TYPE "checkbox"
| ^~~~~~~~~~
C:\Users\lenovo\Documents\Arduino\libraries\esp8266-framework\src/webserver/controllers/EmailConfigController.h:92:121: note: in expansion of macro 'HTML_INPUT_CHECKBOX_TAG_TYPE'
92 | concat_tr_input_html_tags( _page, PSTR("Send Test Mail ?"), PSTR("tstml"), "test", HTML_INPUT_TAG_DEFAULT_MAXLENGTH, HTML_INPUT_CHECKBOX_TAG_TYPE, false );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\lenovo\Documents\Arduino\libraries\esp8266-framework\src\EwingsEspStack.cpp: In member function 'void EwingsEspStack::enable_napt_service()':
C:\Users\lenovo\Documents\Arduino\libraries\esp8266-framework\src\EwingsEspStack.cpp:121:7: error: 'dhcpSoftAP' was not declared in this scope
121 | dhcpSoftAP.dhcps_set_dns(0, this->m_wifi->dnsIP(0));
| ^~~~~~~~~~
Using library esp8266-framework at version 1.1.5 in folder: C:\Users\lenovo\Documents\Arduino\libraries\esp8266-framework
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi
Using library ESP8266HTTPClient at version 1.2 in folder: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266HTTPClient
Using library ESP8266WebServer at version 1.0 in folder: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WebServer
Using library Ticker at version 1.0 in folder: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\Ticker
Using library ESP8266httpUpdate at version 1.3 in folder: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266httpUpdate
exit status 1
Error compiling for board Generic ESP8266 Module.
ino file
void subscribe_callback( uint32_t args, const char topic, uint32_t topic_len, const char *data, uint32_t data_len ){
I really messed with it, but when I turned on the led with mqtt, I was not able to send the status information to the broker.
hi,
i used your library and flashed "Nodemcu v1.0" board using Arduino IDE 1.8.12.
the flash is success but the module keeps on restarting and AP WiFi is not showing in wifi scan.
please let me know what is the issue and please provide any documentation.
In file included
from \Arduino\libraries\esp8266-framework\src/config/Config.h:13:0,
from \Arduino\libraries\esp8266-framework\src\utility\FactoryReset.h:15,
from \Arduino\libraries\esp8266-framework\src\utility\FactoryReset.cpp:10:
\Arduino\libraries\esp8266-framework\src\utility\FactoryReset.cpp: In member function 'void DeviceFactoryReset::handleFlashKeyPress()':
\Arduino\libraries\esp8266-framework\src/config/Common.h:79:35: error: 'D3' was not declared in this scope
#define FLASH_KEY_PIN D3
^
\Arduino\libraries\esp8266-framework\src\utility\FactoryReset.cpp:64:19: note: in expansion of macro 'FLASH_KEY_PIN'
if( digitalRead(FLASH_KEY_PIN) == LOW ){
^
exit status 1
Error compiling for board Generic ESP8266 Module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.