Skip to main content

Crate codetics_ocpp16

Crate codetics_ocpp16 

Source
Expand description

OCPP 1.6 (OCPP-J) protocol messages.

Pure Rust definitions of every OCPP 1.6 message, following the specification (chapter 7 type names) and the 1.6-J errata 2025-04 (both Celcius and Celsius are accepted, StopTransaction.reason is optional).

Re-exports§

pub use actions::*;
pub use datatypes::*;
pub use enums::*;
pub use messages::*;

Modules§

actions
OCPP 1.6 actions: message direction, request/response pairing and typed dispatch.
datatypes
OCPP 1.6 composite datatypes.
enums
OCPP 1.6 enumerations.
messages
OCPP 1.6 request / response payloads.

Constants§

SUBPROTOCOL
WebSocket subprotocol of this version.