]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
feat(ocpp2): implement GetBaseReport and NotifyReport commands (#1556)
authorCopilot <198982749+Copilot@users.noreply.github.com>
Tue, 21 Oct 2025 14:18:42 +0000 (16:18 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Oct 2025 14:18:42 +0000 (16:18 +0200)
commitb892fed2c4832896332639b3e7a31bc0bc904e3c
tree9515dc92078a007c15bcbefc883aa1c60a376863
parentf93f64a911d6cf868180358eae57c6adeb631a49
feat(ocpp2): implement GetBaseReport and NotifyReport commands (#1556)

* Initial plan

* Add GetBaseReport OCPP 2.0 command implementation

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* fix: correct enum ordering and add NotifyReport handler to mock server

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* feat: add NotifyReport command and trigger from GetBaseReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* feat: populate NotifyReport with device model data based on reportBase

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: improve code quality with typing, validation and constants

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: export types, separate concerns, move constants

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use event emission pattern and static class properties

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use direct method call pattern for NotifyReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use event emission pattern for GetBaseReport/NotifyReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* Update src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
src/charging-station/ocpp/2.0/OCPP20Constants.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/types/index.ts
src/types/ocpp/2.0/Common.ts
src/types/ocpp/2.0/Requests.ts
src/types/ocpp/2.0/Responses.ts
tests/ocpp-server/server.py