From 540d20f50f81863b6463019a8f9a3006e55d8537 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sat, 21 Oct 2023 21:15:05 +0200 Subject: [PATCH] track MO_VERSION on flash --- src/MicroOcpp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MicroOcpp.cpp b/src/MicroOcpp.cpp index 262ffb43..666d7c3f 100644 --- a/src/MicroOcpp.cpp +++ b/src/MicroOcpp.cpp @@ -232,6 +232,8 @@ void mocpp_initialize(Connection& connection, const char *bootNotificationCreden configuration_init(filesystem); //call before each other library call + declareConfiguration("MicroOcppVersion", MO_VERSION, MO_KEYVALUE_FN, false, false, false); + context = new Context(connection, filesystem, bootstats.bootNr); auto& model = context->getModel();