OCPP v1.6 Messages
List of OCPP 1.6 Messages, Data Types and Enumerations which are implemented in this library
how to implement a message
- Add Request and Response structs to
/lib/ocpp_model/v16/messages.ex
- Add any new DataTypes to
/lib/ocpp_model/v16/datatypes.ex
- Add any new EnumTypes to
/lib/ocpp_model/v16/enumtypes.ex
- Add property generators to the correct
/test/generators/*
modules and the property tests totest/ocpp_model_messages_test.ex
- Add a callback and handle clause to the right
/lib/ocpp_model/v16/behaviours/*
- Implement the behaviour in either the test Charger or ChargeSystem and write a test for it in either
test/ocpp_charger_test.ex
ortest/ocpp_chargesystem_test.ex
- run
MIX_ENV=test mix all
for any test, coverage or linting issues
Messages
Ch = Chargestation, CS = ChargerSystem, CO = Controller