Closed nehemgr closed 1 year ago
@nehemgr there is a limitation set by the Mongoose Library, MG_PATH_MAX - which is 128 on ESP32, if I am not mistaken. But what you're showing is a weird truncation..
You can check the latest version, which is open source - it might help.
@cpq... I have confirmed that this issue is resolved with release 1.2.16. Just for a sanity check, I tried release 1.2.15 and the same problem came up again.
I would really like to thank you and the team, for making the code open source. However, it does seem like some of the APIs are missing. For example, the declaration of mDashGetState()
is provided in mDash.h
, but there is no definition provided. Is the library still under development, and are the reduced APIs on purpose?
@nehemgr some API where removed because it was dangerous, or useless. The mDashGetState is useful indeed - was deleted by oversight. Added back, and tag moved.
By the way... Since mDash is now open, and mDash.h includes mongoose.h
, the mDash provides all API that is provided by Mongoose Library - and that is a lot, see https://mongoose.ws/documentation/ and https://mongoose.ws/tutorials/
We can expose the mDash's event manager to get full access to the internals.
@cpq Thank you very much for your support. Will definitely check the API in mongoose.h
...
I have noticed that the files loaded onto the SPIFFS partition of the ESP32, do not show their full names in mDash, when using the latest release. Rolling back to release 1.2.14 solves this issue. Below is an example.
Here is what the Files list should show, using release 1.2.14:![mDash_1_2_14](https://user-images.githubusercontent.com/76425952/183399303-9cd35d2a-0d9c-4b3b-b968-0c01e171850f.jpg)
Here is what the Files list shows, using release 1.1.15:![mDash_1_2_15](https://user-images.githubusercontent.com/76425952/183399811-4d0cda2d-42fe-42c9-b949-36a874977f20.jpg)
The first two characters are disappearing in the latest release. Due to this, none of the files can be loaded as they are not found on the ESP32, and it fails every time.
Is there are any limitation on the total filename size across all files? Has anyone else faced this issue?