-
Notifications
You must be signed in to change notification settings - Fork 149
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
processReq() is not implemented for UpdateFirmware Request #334
Comments
Hi @vadhura, this happens when the FW write handlers are not set. To set the FW handlers, see the built-in updater for the ESP32 on Arduino: MicroOcpp/src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp Lines 381 to 451 in 8b1f0fd
Instead of instantiating the FirmwareService like in L382, you should use the FWService returned by this: Lines 344 to 355 in 8b1f0fd
Then you can implement the DownloadFileWriter which is being passed the download chunk by chunk. And the same goes for the other callback functions from the reference implementation above. |
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: [2,"00e7fc4a-059a-477f-99b8-efcaedd164c8","UpdateFirmware",{"location": "anything"}]
[2024-07-10 15:27:42.947] [MO] ERROR (Operation.cpp:38): Unsupported operation: processReq() is not implemented
[2024-07-10 15:27:42.952] [MO] Send: [4,"00e7fc4a-059a-477f-99b8-efcaedd164c8","NotImplemented","",{}]
Can you please help me on this.
Thank you.
The text was updated successfully, but these errors were encountered: