MicroOcpp
MicroOcpp copied to clipboard
OCPP 1.6 client for microcontrollers
Hi, I'm pretty new to the world of EV/EVSE and OCPP. As a first step I flashed the MicroOCPP example code to a ESP32. On the other side I used...
Hi Matth-x, Found firmwareService is not initialized in mocpp_initialize(), line 365: ``` if (model.getFirmwareService() && credsJson && credsJson->containsKey("firmwareVersion")) { model.getFirmwareService()->setBuildNumber((*credsJson)["firmwareVersion"]); } ``` If change to ``` if (getFirmwareService() && credsJson...
Hello, I am trying to perform an HTTP request to google.com in a standalone task while running an OCPP loop in another task. However, the OCPP connection disconnects when the...
Hello, I'm testing microocpp stack with only one connector. I don't how to set it: 1. When I change MO_NUMCONNECTORS from 2 to 1, it is booting fast but doesn't...
In C++ version of MicroOCPP there is FirmwareService class with functions such as ```setInstallationStatusInput``` and ```setOnInstall``` for managing installation process. I didn't find anything similar in C version so I'm...
I am hosting this micro simulator on the internet but it does not work as expected. In the background it calls only localhost:8000/api... It is supposed to call the domain...
Hi @matth-x, I'm experiencing an issue where I receive a "Disconnect" message from OCPP during a charging session due to a weak Wi-Fi signal. Specifically, this occurs when the signal...
Hi @matth-x I am trying to Initiate command for UpdateFirmware request from server but I am getting the message as Unsupported operation: processReq() is not implemented. [2024-07-10 15:27:42.936] [MO] Recv:...
## Summary This PR fixes multiple input validation vulnerabilities that could cause crashes or undefined behavior when processing malformed OCPP messages or server responses. ## Vulnerabilities Fixed ### High Severity...
The time retrieval function for [Clock::now()](https://github.com/matth-x/MicroOcpp/blob/0455ec05aabdb3475cbd2dedee430acc51b155c7/src/MicroOcpp/Core/Time.cpp#L358) relies on the platform-defined function [mocpp_tick_ms()](https://github.com/matth-x/MicroOcpp/blob/0455ec05aabdb3475cbd2dedee430acc51b155c7/src/MicroOcpp/Platform.h#L91). For ESP-IDF, this function is defined [as follows](https://github.com/matth-x/MicroOcpp/blob/0455ec05aabdb3475cbd2dedee430acc51b155c7/src/MicroOcpp/Platform.cpp#L57): ``` unsigned long mocpp_tick_ms_espidf() { auto ticks_now = xTaskGetTickCount(); MicroOcpp::mocpp_millis_count...