- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
1.5 KiB
1.5 KiB
Tests
Building tests:
$ cd EVerest
$ mkdir build
$ cd build
$ cmake -GNinja -DEVEREST_CORE_BUILD_TESTING=ON ..
$ ninja install
touch release.json may be needed if it hasn't been created
(then re-run ninja install).
Run EVerest in SIL
- start MQTT broker
- from
build/run-scriptsrun./run-sil-dc-tls.sh - from
build/run-scriptsrun./nodered-sil-dc.sh - open web browser EVerest Node-RED dashboard
Unit tests
./v2g_openssl_test- automatically runs
pki.sh - run from the directory containing the executable
Standalone V2G TLS server
Tests the Server class via the functions in connection.cpp and tls_connection.cpp.
./v2g_server -i <interface name>- connects to IPv6 only with a link local address
- requires
boostlibrary so LD_LIBRARY_PATH may need to be set - displays the address it is listening on. e.g.
[fe80::ae91:a1ff:fec9:a947%3]:64109 - supports multiple connections
- gracefully terminates after 80 seconds
valgrindcan be used to check memory allocations (has some leaks - possibly in v2g_ctx_start_events thread)- requires client certificate
- s_client echos back what is typed with a delay since V2G has a long timeout
The connect argument must match what was displayed by v2g_server
openssl s_client -connect [fe80::ae91:a1ff:fec9:a947%3]:64109 -verify 2 -CAfile server_root_cert.pem -cert client_cert.pem -cert_chain client_chain.pem -key client_priv.pem -verify_return_error -verify_hostname evse.pionix.de -status