Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steve-community/ocpp-jaxb
Java mappings for OCPP
https://github.com/steve-community/ocpp-jaxb
Last synced: 3 months ago
JSON representation
Java mappings for OCPP
- Host: GitHub
- URL: https://github.com/steve-community/ocpp-jaxb
- Owner: steve-community
- License: gpl-3.0
- Created: 2018-07-03T18:31:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T12:00:15.000Z (7 months ago)
- Last Synced: 2024-08-02T00:21:11.552Z (6 months ago)
- Language: Java
- Homepage:
- Size: 126 KB
- Stars: 12
- Watchers: 7
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-ev-charging - Java mappings for OCPP
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}```