Comments (11)
the latest verion of ESPAsyncWebServer support the ESP32 based proudcta
so it should be possible, i will investigate
from fsbrowserng.
Let me know if there is anything I can do to help
from fsbrowserng.
Accidently closed this.
Hope it can happen.
from fsbrowserng.
i have been working throught a few items, it seem the wifi API uses slightly different event handling names ,
esp32 library has difeerent time / ticker includes,
may take a while
from fsbrowserng.
I did get the ESPAsyncWebServer example working for ESP32 with only a few minor changes,
so hopefully it won't be too bad.
from fsbrowserng.
Are there any news?
from fsbrowserng.
Hello. No news from my side, I'm sorry.
from fsbrowserng.
@dadosch After considerable effort I actually got a version to compile and run on an ESP32.
However it might not be worth it.
I forced a default wifi configuration to eliminate some compiler errors in the wifi sections.
The NTPClientLib used is not compatible with ESP32 so I commented out all NTP or time references.
The OTA update sections have many incompatibilities, so I removed OTA.
There are some signicant differences between ESP8266 SPIFFS and ESP32 SPIFFS so
handleFileRead and handleFileList needed to be modified/rewritten.
At that point it could be compiled and run, but it was easier to start from scratch and
just expand the example in the ESPAsyncWebserver by @me-no-dev.
from fsbrowserng.
For your information. I'm working on new version of NTPClientLib. On https://github.com/gmag11/NtpClient/tree/pre2.5.0 you can find latest development. Now It is compatible with ESP8266, MKR1000 and ESP32.
from fsbrowserng.
@JimPos I agree. I developed this quite long ago, and finally never used it. I learned a lot about C++ in Arduino and ESP8266 but the code is too big. I'd like to turn this into a simpler web server, that publishes what is inside SPIFFS. But currently I occupied with other projects :-)
from fsbrowserng.
@gmag11 the new version of your NtpClientLib https://github.com/gmag11/NtpClient/tree/pre2.5.0 seems to work fine.
There is also now an ESP32 version of Ticker [https://github.com/bertmelis/Ticker-esp32] .
Using these allowed me to put back a lot of lines I had commented out.
WiFi events are still a problem, so I'm currently hard coding my ssid and password.
The "AP Button" code thinks I'm always pressing the button, so that's commented out too.
Many other problems with FileSystem/SPIFFS were solved by globally replacing '_fs->' with 'SPIFFS.'
OTA is still commented out.
Like you, I used your code to better understand how the Async Web server and FS Browser worked,
But I find it a little too large and non-generic as a library.
from fsbrowserng.
Related Issues (20)
- Not connecting to WIFI correctly HOT 1
- Can't get STA to work with "StartHere" example HOT 14
- Why ESPHTTPServer.begin is blocking till wifi connected? HOT 5
- Can't enter AP mode HOT 6
- Force Download from ESP8266
- NTP doesn't work? HOT 3
- SSL support
- Has FSBrowserNG been tested with the new ver 2.4.1 board manager? HOT 10
- IP address is 0.0.0.0 on serial output on Starthere HOT 2
- callback_example upload is fine but it gets a reset after GotIp address HOT 11
- AP fallback if SSID timeout? HOT 2
- Still no connection on first start and show IP 0.0.0.0 on Serial port
- Crashes on saving config new
- Been trying to put this on a ESP32
- Arduino Json V6 library issue 'DynamicJsonBuffer' was not declared in this scope HOT 3
- starthere.ino compiled and uploaded along with the SPIFFS data but not AP is started HOT 1
- change the way to enter AP mode
- Switch to AP Mode without Reset HOT 1
- Unable to edit index.html HOT 2
- List of available networks showing empty if some SSID has an unprintable character
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsbrowserng.