diff --git a/lib/ocpp/v16/charge_point_impl.cpp b/lib/ocpp/v16/charge_point_impl.cpp index 86060bc5b5..c83f45c33f 100644 --- a/lib/ocpp/v16/charge_point_impl.cpp +++ b/lib/ocpp/v16/charge_point_impl.cpp @@ -1666,8 +1666,8 @@ void ChargePointImpl::handleRemoteStartTransactionRequest(ocpp::Call referenced_connectors; if (call.msg.connectorId) { - if (call.msg.connectorId.value() == 0) { - EVLOG_warning << "Received RemoteStartTransactionRequest with connector id 0"; + if (call.msg.connectorId.value() <= 0) { + EVLOG_warning << "Received RemoteStartTransactionRequest with connector id <= 0"; response.status = RemoteStartStopStatus::Rejected; ocpp::CallResult call_result(response, call.uniqueId); this->send(call_result);