Skip to content
steve-communityPublic

Latest commit

 

History

96 Commits

Folders and files

Repository files navigation

ocpp-jaxb

Java data model mappings for the following OCPP versions:

  • OCPP 1.2 (targets JSON and SOAP)
  • OCPP 1.5 (targets JSON and SOAP)
  • OCPP 1.6 (targets JSON and SOAP)
  • OCPP 1.6 security whitepaper edition 3 (targets JSON)
  • OCPP 2.0.1 (targets JSON, requires Jackson)
  • OCPP 2.1 (targets JSON, requires 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 1.6 security whitepaper edition 3: ocpp._2022._02.security
  • OCPP 2.0.1: ocpp._2020._03
  • OCPP 2.1: ocpp._2025._01

How to use it?

This package is not pushed to Maven central... yet. But still you can use it via jitpack.io.

Add the jitpack repository to your maven repositories:

<repositories>
   ...
   <repository>
       <id>JitPack</id>
       <url>https://jitpack.io</url>
   </repository>
   ...
</repositories>

Then, add the following to your pom.xml (use any version from github tags page):

<dependency>
   <groupId>com.github.steve-community</groupId>
   <artifactId>ocpp-jaxb</artifactId>
   <version>${ocpp-jaxb.version}</version>
</dependency>

Releases

Packages

Used by

Contributors

Languages