Skip to content

Commit ccf1985

Browse files
committed
Add missing fields
1 parent d6ef66e commit ccf1985

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/main/java/de/rwth/idsg/steve/ocpp/converter/Server15to16Impl.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ public StatusNotificationRequest convertRequest(ocpp.cs._2012._06.StatusNotifica
8484
return new StatusNotificationRequest()
8585
.withConnectorId(request.getConnectorId())
8686
.withStatus(status)
87-
.withErrorCode(errorCode);
87+
.withErrorCode(errorCode)
88+
.withInfo(request.getInfo())
89+
.withTimestamp(request.getTimestamp())
90+
.withVendorErrorCode(request.getVendorErrorCode())
91+
.withVendorId(request.getVendorId());
8892
}
8993

9094
@Override
@@ -114,7 +118,8 @@ public StartTransactionRequest convertRequest(ocpp.cs._2012._06.StartTransaction
114118
.withConnectorId(request.getConnectorId())
115119
.withIdTag(request.getIdTag())
116120
.withMeterStart(request.getMeterStart())
117-
.withTimestamp(request.getTimestamp());
121+
.withTimestamp(request.getTimestamp())
122+
.withReservationId(request.getReservationId());
118123
}
119124

120125
/**

0 commit comments

Comments
 (0)