MicroOcpp icon indicating copy to clipboard operation
MicroOcpp copied to clipboard

[Firmware Update]How Can We do The Firmware update in ESP-IDF, there is no any document available how to implement it..

Open aditya111222 opened this issue 1 year ago • 2 comments

aditya111222 avatar Jun 10 '24 11:06 aditya111222

Unfortunately, there's no designated C-API for OTA yet. To implement custom Firmware Upgrades in C, you need to write wrappers for the MicroOcpp functions in C++ and give these wrappers C-linkage so that you can access them from C-scope. Actually that's not complicated at all and MicroOcpp_c.h also works that way. See this issue for more information: https://github.com/matth-x/MicroOcpp/issues/253#issuecomment-1908676774

matth-x avatar Jun 15 '24 08:06 matth-x

@aditya111222 did you implement it, can you share the implementation?

Guitton-S avatar Mar 14 '25 15:03 Guitton-S