Skip to content

Commit

Permalink
Merge branch 'master' into Central-System-documentation-link
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared-Newell-Mobility authored Dec 7, 2023
2 parents 7136cbe + 94e5ea5 commit b7d91cb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change log


- [#266](https://github.com/mobilityhouse/ocpp/issues/266) Central System documentation link
=======
- [#516](https://github.com/mobilityhouse/ocpp/issues/516) OCPP 2.0.1 add additional security events from v1.3
- [#537] (https://github.com/mobilityhouse/ocpp/pull/537) Fix DataTransfer data types


## 0.23.0 (2023-11-30)

Expand Down
2 changes: 1 addition & 1 deletion ocpp/v201/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CustomerInformationPayload:
class DataTransferPayload:
vendor_id: str
message_id: Optional[str] = None
data: Optional[str] = None
data: Optional[Any] = None
custom_data: Optional[Dict[str, Any]] = None


Expand Down
2 changes: 1 addition & 1 deletion ocpp/v201/call_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class CustomerInformationPayload:
class DataTransferPayload:
status: str
status_info: Optional[Dict] = None
data: Optional[Dict] = None
data: Optional[Any] = None
custom_data: Optional[Dict[str, Any]] = None


Expand Down
6 changes: 5 additions & 1 deletion ocpp/v201/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,9 @@ class StatusInfoReasonType(str, Enum):


class SecurityEventType(str, Enum):
"""Security Events as listed in Appendices (Appendix 1. Security Events)"""
"""
Security Events as listed in Appendices (Appendix 1. Security Events) v1.3
"""

firmware_updated = "FirmwareUpdated"
failed_to_authenticate_at_csms = "FailedToAuthenticateAtCsms"
Expand All @@ -1350,3 +1352,5 @@ class SecurityEventType(str, Enum):
invalid_charging_station_certificate = "InvalidChargingStationCertificate"
invalid_tls_version = "InvalidTLSVersion"
invalid_tls_cipher_suite = "InvalidTLSCipherSuite"
maintenance_login_accepted = "MaintenanceLoginAccepted"
maintenance_login_failed = "MaintenanceLoginFailed"

0 comments on commit b7d91cb

Please sign in to comment.