MicroOcpp icon indicating copy to clipboard operation
MicroOcpp copied to clipboard

crash in the file ocpp-config.jsn

Open Aylaa1 opened this issue 2 years ago • 4 comments

Hi @matth-x, I am using ESP-IDF in my project, During the start-up flow, after mocpp_initialise, there are sequence of files opened using the spiffs filesystem ws-conn.jsn, bootstats.jsn, ocpp-config.jsn and so on. However during subsequent restarts I'm having issues in writing content to ocpp-config.jsn. But the same issue is not observed with ws-conn.jsn, bootstats.jsn. When I investigated further, I found that when I try to write the value into the ocpp-config.jsn (like heartbeatInterval configuration), the appication crashes sometime, when json doc of capacity 1459 is passed to the function "storeJson" in 'ConfigurationContainerFlash::save()').

Thanks to support.

Regards, Aylaa

Aylaa1 avatar Dec 22 '23 10:12 Aylaa1