Documentation
Guides and reference for oicp-kit — the ideas behind the crate, a walkthrough of every layer, and what you need to know to talk to Hubject.
oicp-kit implements OICP — the Open InterCharge Protocol, the
roaming protocol of the Hubject brokering system, which connects Charge Point Operators and
e-Mobility Providers across most of Europe.
This guide explains the ideas the crate is built on and how each layer is meant to be used. For item-by-item API detail, see docs.rs/oicp-kit.
New to the protocol? OICP in brief covers the hub-and- spoke shape, the two directions, and the per-service versioning that the rest of this guide assumes.
Where to start
- Building a CPO or EMP integration — Install, then Your first request.
- Wondering why a design is the way it is — the Concepts section.
- Debugging an integration — Errata lists the six places Hubject's own documents disagree, which is where a surprising number of problems come from.
Getting started
Install the crate, learn the shape of the protocol, and make your first request.
Concepts
The ideas the crate is built on, and why each one is the way it is.
Layers
A walkthrough of each layer: transport, client, server, sync, eichrecht and testkit.
Reference
Errata, security, verification and the decisions behind the design.