art-mx / ocpp-embedded-client

Implements OCPP Client based on STM32 Arduino framework and mjson library from cesanta.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCPP Embedded Client

Brief Description

This is an STM32 Arduino implementation of an OCPP-1.6 client. Websocket communication is delegated to a VCON device (https://vcon.io/), which is providing a transparent serial-websocket bridge. JSON RPC handling is done using the mjson library from Cesanta (https://github.com/cesanta/mjson).

This program's architecture is using two well known patterns - "Chain of Responsibility", used for handling requests and "State/Context" for dealing with device states.

This code has been tested on an STM32F091RC with 32K RAM of which 15K are statically allocated. Flash memory occupied is ~64K.

Some C++ STL components are used such as map and vector.

Known Issues


About

Implements OCPP Client based on STM32 Arduino framework and mjson library from cesanta.


Languages

Language:C++ 91.1%Language:Processing 6.6%Language:C 2.3%