-
Notifications
You must be signed in to change notification settings - Fork 80
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
Doc/powermeter error handling #834
base: main
Are you sure you want to change the base?
Conversation
} else { | ||
EVLOG_info << "LEM DCBM 400/600: The last known transaction has the id:" << this->current_transaction_id; | ||
} | ||
} catch (json::exception& json_error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
catch const ref, i.e. const json::exception& json_error)
doc/error_case.puml
Outdated
@startuml | ||
actor User | ||
participant Powermeter | ||
participant Error_Manager | ||
participant EVSE_Manager | ||
participant OCPP | ||
|
||
User -> EVSE_Manager: startChargingSession | ||
alt successful case | ||
EVSE_Manager -> Powermeter: startTransaction | ||
Powermeter -> EVSE_Manager: startTransaction Response (OK/ID) | ||
EVSE_Manager -> OCPP: persistTransaction (ID) | ||
else startTransaction failing due to power loss | ||
EVSE_Manager -> Powermeter: startTransaction | ||
Powermeter -> EVSE_Manager: startTransaction Response (FAIL) | ||
EVSE_Manager -> User: stopChargingSession |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really nice that you've created these puml files, maybe we should come up with a guideline, whether rendered versions (jpeg, png) should be created - because it is quite some work to manually create a picture out of it
9ca144a
to
1ecf197
Compare
…entical to init. Subsequent StopTransactions will be handled correctly since we know if a transaction is open or not Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
…er and OCPP covering handling of OCMF/Eichrecht Signed-off-by: pietfried <pietgoempel@gmail.com>
Signed-off-by: pietfried <pietgoempel@gmail.com>
d5def77
to
60c75b5
Compare
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Describe your changes
Issue ticket number and link
Checklist before requesting a review