From 6e2b50bb476507ca70e08d5a08015a4066411174 Mon Sep 17 00:00:00 2001 From: mdelain Date: Sat, 11 Jan 2025 22:02:07 +0100 Subject: [PATCH] Indexing model generation Small update regarding the way the index model name is generated --- src/LiveObjectsBase.cpp | 2 +- src/LiveObjectsBase.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LiveObjectsBase.cpp b/src/LiveObjectsBase.cpp index e0d54d8..393082d 100644 --- a/src/LiveObjectsBase.cpp +++ b/src/LiveObjectsBase.cpp @@ -11,7 +11,7 @@ LiveObjectsBase::LiveObjectsBase() lastKeepAliveNetwork(5000) ,m_sPayload() ,m_sDecoder() - ,m_sModel("Orange") + ,m_sModel(F(SW_MODEL SW_REVISION)) ,m_Security(NONE) ,m_bDebug(false) ,m_bInitialized(false) diff --git a/src/LiveObjectsBase.h b/src/LiveObjectsBase.h index 8404f3b..1aa5080 100644 --- a/src/LiveObjectsBase.h +++ b/src/LiveObjectsBase.h @@ -12,7 +12,8 @@ ******************************************************************************/ #define PAYLOAD_DATA_SIZE 1024 #define KEEP_ALIVE_NETWORK 1000 -#define SW_REVISION "2.1.1" +#define SW_MODEL "LO_SDK_Arduino" +#define SW_REVISION "2.1.2" /****************************************************************************** LiveObjects MQTT constants