EVerest / everest-core

Apache License 2.0
92 stars 68 forks source link

Feature/evsemanager ocpp errorhandling #764

Closed corneliusclaussen closed 1 month ago

corneliusclaussen commented 2 months ago

Describe your changes

Refactored Error Handling in EvseManager The following SessionEventEnums have been removed from the evse_manager interface:

The EvseManager now uses the error handling provided by the everest-framework to raise/report errors. A PermanentFault error raised by the EvseManager indicates that charging is not possible.


Refactored Error Handling in OCPP and OCPP201 modules

The OCPP modules where listening to the removed SessionEvents and were therefore refactored to be able to retrieve the errors raised by the new mechanism from the everest-framework.

Make use of everest-framework error handling feature in OCPP and OCPP201 modules:

Issue ticket number and link

Companion PR in libocpp: https://github.com/EVerest/libocpp/pull/673

Checklist before requesting a review