Skip to content

Commit b3acc2f

Browse files
author
poohsen
authored
Handle UnlockConnectorReq if present
1 parent 2df6f37 commit b3acc2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/ocpp1x/remote-transaction.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ if (auth.status == AuthorizationStatus.Accepted) {
3333
}
3434

3535
waitForValidRemoteStop()
36-
36+
// handle UnlockConnectorReq if present
37+
Try(expectIncoming(unlockConnectorReq.respondingWith(UnlockConnectorRes(UnlockStatus.NotSupported))))
38+
3739
statusNotification(status = ChargePointStatus.Occupied(Some(OccupancyKind.Finishing)))
3840
stopTransaction(transactionId = transId, idTag = Some(chargeTokenId))
3941
statusNotification(status = ChargePointStatus.Available())

0 commit comments

Comments
 (0)