Code Monkey home page Code Monkey logo

Comments (17)

nrwiersma avatar nrwiersma commented on June 18, 2024 1

I have started a branch esp32 that has the correct bindings. Still having a couple build issues. I will work on it.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

Hi,

I actually dont have one, so I have no idea how that would go down. I also havn't done any reading to know that difference, or what would not work.

Happy for some help in this area though.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

Wow, that looks like quiet the device. As soon as I am done with my intercontinental move, I will have to get my hands on one.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

So after looking into this, it seems that a compatible WebServer is missing from the ESP32 library, although there does seem to be a PR #430 to add it in. Once this has been added, it should not be too difficult to adding support.

from configmanager.

naveenneog avatar naveenneog commented on June 18, 2024

They have closed PR#430 and It is available in the build. I tried to compile the ConfigManager for ESP32 using WebServer and Wifi libraries, I hit a wall with ArduinoJson. @nrwiersma you would be the best person to port it. It would be great If you could compile it for ESP32.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@naveenneog according to the docs, it should be compatible.

from configmanager.

naveenneog avatar naveenneog commented on June 18, 2024

I am seeing these errors
/Users/neo-optimus/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/DynamicJsonBuffer.hpp:159:5: note: 'ArduinoJson::Internals::DynamicJsonBuffer'
DynamicJsonBuffer;
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:67:16: error: 'jsonBuffer' was not declared in this scope
return jsonBuffer.createObject();
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:70:23: error: 'jsonBuffer' was not declared in this scope
JsonObject& obj = jsonBuffer.parseObject(jsonString);
^
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp: In member function 'void ESPConfigManager::handleAPGet()':
/Users/neo-optimus/Documents/Arduino/libraries/ESPConfigManager/src/ESPConfigManager.cpp:80:5: error: 'SPIFFS' was not declared in this scope
SPIFFS.begin();
^

ESPConfigManager is where I have modified the libraries to point to WebServer.h @nrwiersma any Idea how to fix these . Any pointers would be hugely helpful

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@naveenneog So it seems you have 2 issues there: ArduinoJson and SPIFFS. Not sure why it cannot find the libraries though, it depends on your setup as well. I will give compiling this a shot soon.

from configmanager.

JonSilver avatar JonSilver commented on June 18, 2024

I'm sorry I've not been available to get involved... in the midst of looming project deadlines. Looks like great progress is being made anyway. Thank you @nrwiersma and @naveenneog.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@JonSilver @naveenneog So the branch is now compiling for me, but I still have no device to test this on. Can either of you confirm this is working?

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@naveenneog I think your compiler cannot find ArduinoJson library. I fixed the SPIFFS not being included issue in my branch.

from configmanager.

naveenneog avatar naveenneog commented on June 18, 2024

@nrwiersma I tried to build it for ESP32 , It builds fine now. I had to roll back the ArduinoJson library to older version(bblanchon/ArduinoJson#756) .
However ConfigManager.reset() is been removed it seems in your new update, my old code is giving error for that.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@naveenneog Sorry, I am confused? There is no reset function, nor has there ever been a reset function. I had to check, but i have never written one. What did it do?

from configmanager.

naveenneog avatar naveenneog commented on June 18, 2024

My mistake , I was referring to the forked library. I successfully compiled and burnt it to my ESP32.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

@naveenneog Awesome, did it work as expected? @JonSilver Could you perhaps confirm this success? Would love to get this merged and tagged.

from configmanager.

bblanchon avatar bblanchon commented on June 18, 2024

You can verify that the right version of ArduinoJson is installed by checking the ARDUINOJSON_VERSION macros.

from configmanager.

nrwiersma avatar nrwiersma commented on June 18, 2024

So if there are no objections, I will merge this change today? @bblanchon this is a great idea, don't know what version we need. Perhaps we can make this a separate pull request?

from configmanager.

Related Issues (20)

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.