-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocpp.ChargePoint.call() implements flow control as defined in the OCPP specification. It makes sure that no call can be send after an answer on the previous request has been received. A lock is used to implement flow control. If the call `await self._send(call.json())` crashed it the lock wouldn't be released which could lead to a deadlock. Fixes: #46
- Loading branch information
Auke Willem Oosterhoff
committed
Nov 15, 2019
1 parent
75dd91f
commit 7cb1b31
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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