Last active
March 18, 2026 21:57
-
-
Save huntc/eb3ff8baacfe169eabcc92cdae256ff8 to your computer and use it in GitHub Desktop.
Two scenarios for OCPP CS authenticating through an LC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @startuml | |
| CS -> LC : Connect HTTP with credentials | |
| LC -> CSMS : Connect HTTP with credentials | |
| alt Success | |
| CSMS -> LC : HTTP OK | |
| LC -> CS : HTTP OK | |
| par | |
| LC <-> CSMS : Upgrade WS | |
| else | |
| CS <-> LC : Upgrade WS | |
| end | |
| CS -> LC : BootNotificationRequest | |
| LC -> CSMS : BootNotificationRequest | |
| CSMS -> LC : BootNotificationResponse(Accepted) | |
| LC -> CS : BootNotificationResponse(Accepted) | |
| else Connection authentication failure | |
| CSMS -> LC : HTTP Unauthorized/Disconnect | |
| LC -> CS : HTTP Unauthorized/Disconnect | |
| end | |
| @enduml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @startuml | |
| CS -> LC : Connect HTTP with credentials | |
| LC -> CS : HTTP OK | |
| CS <-> LC : Upgrade WS | |
| par | |
| CS -> LC : BootNotificationRequest | |
| LC -> CS : BootNotificationResponse(Pending) | |
| else | |
| LC -> CSMS : Connect HTTP with credentials | |
| alt Auth Success | |
| CSMS -> LC : HTTP OK | |
| LC <-> CSMS : Upgrade WS | |
| else Connection authentication failure | |
| CSMS -> LC : HTTP Unauthorized/Disconnect | |
| LC -> CS : Disconnect WS | |
| end | |
| end | |
| alt Auth Success | |
| LC -> CSMS : BootNotificationRequest | |
| CSMS -> LC : BootNotificationResponse(Accepted) | |
| LC -> CS : TriggerMessage(BootNotification) | |
| CS -> LC : BootNotificationRequest | |
| LC -> CS : BootNotificationResponse(Accepted) | |
| end | |
| @enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment