Skip to content

Commit

Permalink
Usage comment
Browse files Browse the repository at this point in the history
Signed-off-by: AssemblyJohn <[email protected]>
  • Loading branch information
AssemblyJohn committed Nov 27, 2024
1 parent 55278f2 commit 7ff6365
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ def _set_value_in_v201_config(ocpp_config: dict, identifier: OCPP201ConfigVariab

class _OCPP201NetworkConnectionProfileAdjustment(OCPPConfigAdjustmentStrategy):
""" Adjusts the OCPP 2.0.1 Network Connection Profile by injecting the right host, port and chargepoint id.
Usage in conjunction with other strategies:
@pytest.mark.ocpp_config_adaptions(GenericOCPP201ConfigAdjustment([(OCPP201ConfigVariableIdentifier("OCPPCommCtrlr", "VariableA", "Actual"), 10),
(OCPP201ConfigVariableIdentifier("OCPPCommCtrlr", "VariableB", "Actual"), 10)]),
_OCPP201NetworkConnectionProfileAdjustment(80, "localhost", 1))
This is utilized by the `LibOCPP201ConfigurationHelper`.
Expand Down

0 comments on commit 7ff6365

Please sign in to comment.