Giter Club home page Giter Club logo

suraj151 / esp8266-framework Goto Github PK

View Code? Open in Web Editor NEW
56.0 56.0 13.0 2.28 MB

esp8266 framework stack for easy configurable applications

License: GNU General Public License v3.0

C 73.80% C++ 22.33% Makefile 3.87%
arduino-esp8266 arduino-ide arduino-libraries esp-gpio esp-mail-service esp-manager esp-ota esp8266 esp8266-framework esp8266-stack espressif http-server iot iot-application iot-framework iot-platform mqtt-service sensor-network

esp8266-framework's People

Contributors

suraj151 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266-framework's Issues

Compile issue

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; }
| ^~~~~~~~~~~~~~~~~

Compile error

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();
}

cannot finish the EWstack.INO

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.

Hi, Gpio Control is not possible by Mqtt?

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.

reset loop issue

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.

Compiling error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.