https://github.com/slachiewicz/ocpp-jaxb-fork
Java mappings for OCPP
https://github.com/slachiewicz/ocpp-jaxb-fork
Last synced: 8 months ago
JSON representation
Java mappings for OCPP
- Host: GitHub
- URL: https://github.com/slachiewicz/ocpp-jaxb-fork
- Owner: slachiewicz
- License: gpl-3.0
- Fork: true (steve-community/ocpp-jaxb)
- Created: 2023-08-20T12:51:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-28T15:51:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T09:58:04.611Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ocpp-jaxb
Java data model mappings for the following [OCPP](https://www.openchargealliance.org/protocols/) versions:
* OCPP 1.2 (targets JSON and SOAP)
* OCPP 1.5 (targets JSON and SOAP)
* OCPP 1.6 (targets JSON and SOAP)
* OCPP 2.0.1 (targets JSON, requires [Jackson](https://github.com/FasterXML/jackson))
The Java data model covers all requests and responses between the central system and charge points.
The classes can be found within the following packages:
* OCPP 1.2: `ocpp.cp._2010._08` and `ocpp.cs._2010._08`
* OCPP 1.5: `ocpp.cp._2012._06` and `ocpp.cs._2012._06`
* OCPP 1.6: `ocpp.cp._2015._10` and `ocpp.cs._2015._10`
* OCPP 2.0.1: `ocpp._2020._03`
# How to use it?
This package is not pushed to Maven central... yet. But still you can use it via [jitpack.io](https://jitpack.io/docs/).
Add the jitpack repository to your maven repositories:
```
...
JitPack
https://jitpack.io
...
```
Then, add the following to your pom.xml (use any version from [github tags page](https://github.com/RWTH-i5-IDSG/ocpp-jaxb/tags)):
```
com.github.steve-community
ocpp-jaxb
${ocpp-jaxb.version}
```