Skip to content

Commit

Permalink
initiate DEAUTHORIZED event in OCPP201 in case reason is StoppedByEv (#…
Browse files Browse the repository at this point in the history
…748)

Signed-off-by: pietfried <[email protected]>
Co-authored-by: Kai Hermann <[email protected]>
  • Loading branch information
Pietfried and hikinggrass authored Jun 28, 2024
1 parent 35bc83d commit da9c1cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/OCPP201/OCPP201.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ TxEvent get_tx_event(const ocpp::v201::ReasonEnum reason) {
case ocpp::v201::ReasonEnum::Remote:
case ocpp::v201::ReasonEnum::Local:
case ocpp::v201::ReasonEnum::MasterPass:
case ocpp::v201::ReasonEnum::StoppedByEV:
return TxEvent::DEAUTHORIZED;
case ocpp::v201::ReasonEnum::EVDisconnected:
return TxEvent::EV_DISCONNECTED;
Expand Down

0 comments on commit da9c1cb

Please sign in to comment.