|
The handlers
|
| virtual void | ocpp::v2::ChargePointInterface::on_network_disconnected (OCPPInterfaceEnum ocpp_interface)=0 |
| | Can be called when a network is disconnected, for example when an ethernet cable is removed. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_firmware_update_status_notification (int32_t request_id, const FirmwareStatusEnum &firmware_update_status)=0 |
| | Chargepoint notifies about new firmware update status firmware_update_status. This function should be called during a Firmware Update to indicate the current firmware_update_status. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_session_started (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when a session has started. More...
|
| |
| virtual Get15118EVCertificateResponse | ocpp::v2::ChargePointInterface::on_get_15118_ev_certificate_request (const Get15118EVCertificateRequest &request)=0 |
| | Event handler that should be called when the EV sends a certificate request (for update or installation) More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_transaction_started (const int32_t evse_id, const int32_t connector_id, const std::string &session_id, const DateTime ×tamp, const TriggerReasonEnum trigger_reason, const MeterValue &meter_start, const std::optional< IdToken > &id_token, const std::optional< IdToken > &group_id_token, const std::optional< int32_t > &reservation_id, const std::optional< int32_t > &remote_start_id, const ChargingStateEnum charging_state)=0 |
| | Event handler that should be called when a transaction has started. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_transaction_finished (const int32_t evse_id, const DateTime ×tamp, const MeterValue &meter_stop, const ReasonEnum reason, const TriggerReasonEnum trigger_reason, const std::optional< IdToken > &id_token, const std::optional< std::string > &signed_meter_value, const ChargingStateEnum charging_state)=0 |
| | Event handler that should be called when a transaction has finished. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_session_finished (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when a session has finished. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_authorized (const int32_t evse_id, const int32_t connector_id, const IdToken &id_token)=0 |
| | Event handler that should be called when the given id_token is authorized. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_meter_value (const int32_t evse_id, const MeterValue &meter_value)=0 |
| | Event handler that should be called when a new meter value is present. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_unavailable (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the connector on the given evse_id and connector_id becomes unavailable. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_enabled (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the connector returns from unavailable on the given evse_id and connector_id . More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_faulted (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the connector on the given evse_id and connector_id is faulted. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_fault_cleared (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the fault on the connector on the given evse_id is cleared. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_reserved (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the connector on the given evse_id and connector_id is reserved. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_reservation_cleared (const int32_t evse_id, const int32_t connector_id)=0 |
| | Event handler that should be called when the reservation of the connector is cleared. More...
|
| |
| virtual bool | ocpp::v2::ChargePointInterface::on_charging_state_changed (const uint32_t evse_id, const ChargingStateEnum charging_state, const TriggerReasonEnum trigger_reason=TriggerReasonEnum::ChargingStateChanged)=0 |
| | Event handler that will update the charging state internally when it has been changed. More...
|
| |
| virtual std::optional< std::string > | ocpp::v2::ChargePointInterface::get_evse_transaction_id (int32_t evse_id)=0 |
| | Gets the transaction id for a certain evse_id if there is an active transaction. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_event (const std::vector< EventData > &events)=0 |
| | Event handler that can be called to trigger a NotifyEvent.req with the given events. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_log_status_notification (UploadLogStatusEnum status, int32_t requestId)=0 |
| | Event handler that can be called to notify about the log status. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_security_event (const CiString< 50 > &event_type, const std::optional< CiString< 255 > > &tech_info, const std::optional< bool > &critical=std::nullopt, const std::optional< DateTime > ×tamp=std::nullopt)=0 |
| |
| virtual void | ocpp::v2::ChargePointInterface::on_variable_changed (const SetVariableData &set_variable_data)=0 |
| | Event handler that will update the variable internally when it has been changed on the fly. More...
|
| |
| virtual void | ocpp::v2::ChargePointInterface::on_reservation_status (const int32_t reservation_id, const ReservationUpdateStatusEnum status)=0 |
| | Event handler that will send a ReservationStatusUpdate request. More...
|
| |