Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added A04 Security Event Notification #199

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

RobertDeLeeuw
Copy link
Contributor

Added security events
Added publishing of events related to (re)boot and firmware update.

@RobertDeLeeuw
Copy link
Contributor Author

Added fixes for TriggerMessage - FirmwareStatusNotification.

// specification of one of the Security Events in this list, for interoperability reasons, the Security Event from this
// list shall be used, instead of adding a new (proprietary) Security Event.

inline const std::string FIRMWARE_UPDATED = "FirmwareUpdated"; // CRITICAL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering why this approach was used for these values instead of using an enum and the conversion functions like we did for the other types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I choose this as it is not a fixed enum. It is a String in OCPP, and there is a given list of values. But this list can be extended. So it is more inline with OCPP.

* Only send critical events to the CSMS
* L01.FR.02, L01.FR.02, L01.FR.31
* Fixed TriggerMessage for FirmwareStatusNotifcation for L01.FR.26

Signed-off-by: Robert de Leeuw, PIONIX <[email protected]>
@Pietfried Pietfried merged commit 0c43464 into main Oct 16, 2023
3 checks passed
@Pietfried Pietfried deleted the rdl-201-security-event branch October 16, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants