-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapper to fs::FS to use SDfat in ESPAsyncWebserver #471
Comments
I don' know of any use of SdFat with ESPAsyncWebserver. I avoid using ESP32/ESP8266 because SdFat often conflicts with the ESP file system. |
I found a wrapper, will post it next weekend |
Any chance you can post that wrapper? SD.h is unreliable for me (on Arduino Nano ESP32), but SdFat is stable, so I need to use SdFat. |
Hi gimme a chance this weekend |
sd_fat32_fs_wrapper.zip I use it als following
If you want to use it with ESP Async Webserver in a response at server.on... |
Thank you! I missed your post for a few days and came up with the workaround of replacing send(SD, filename . . . ) calls with sendChunked and my own simple function which gets data from the file using SdFat. Your wrapper is probably nicer, so I'll try it out. |
Is there any wrapper to use Sdfat with a ESPAsyncWebserver to convert sdfat to to fs::FS because of ESPAsyncWebserver needs in AsyncWebServerRequest::send a FS object
or how can I do that ?
The text was updated successfully, but these errors were encountered: