From 9b5945a11732dfed5b097dba4ade9f5e94aae05e Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:25:24 +0100 Subject: [PATCH] Add feature10 bitmap --- tasmota/tasmota_support/support_features.ino | 45 +++++++++++++++++--- tools/decode-status.py | 13 +++++- 2 files changed, 51 insertions(+), 7 deletions(-) diff --git a/tasmota/tasmota_support/support_features.ino b/tasmota/tasmota_support/support_features.ino index 8c4ca1448..ad0ec1df3 100644 --- a/tasmota/tasmota_support/support_features.ino +++ b/tasmota/tasmota_support/support_features.ino @@ -902,14 +902,49 @@ constexpr uint32_t feature9 = #ifdef USE_HC8 0x10000000 | // xsns_113_hc8.ino #endif -// 0x20000000 | -// 0x40000000 | -// 0x80000000 | +// 0x20000000 | // +// 0x40000000 | // +// 0x80000000 | // + 0; + +constexpr uint32_t feature10 = +// 0x00000001 | // +// 0x00000002 | // +// 0x00000004 | // +// 0x00000008 | // +// 0x00000010 | // +// 0x00000020 | // +// 0x00000040 | // +// 0x00000080 | // +// 0x00000100 | // +// 0x00000200 | // +// 0x00000400 | // +// 0x00000800 | // +// 0x00001000 | // +// 0x00002000 | // +// 0x00004000 | // +// 0x00008000 | // +// 0x00010000 | // +// 0x00020000 | // +// 0x00040000 | // +// 0x00080000 | // +// 0x00100000 | // +// 0x00200000 | // +// 0x00400000 | // +// 0x00800000 | // +// 0x01000000 | // +// 0x02000000 | // +// 0x04000000 | // +// 0x08000000 | // +// 0x10000000 | // +// 0x20000000 | // +// 0x40000000 | // +// 0x80000000 | // 0; /*********************************************************************************************/ void ResponseAppendFeatures(void) { - ResponseAppend_P(PSTR(",\"" D_JSON_FEATURES "\":[\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\"]"), - LANGUAGE_LCID, feature1, feature2, feature3, feature4, feature5, feature6, feature7, feature8, feature9); + ResponseAppend_P(PSTR(",\"" D_JSON_FEATURES "\":[\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\"]"), + LANGUAGE_LCID, feature1, feature2, feature3, feature4, feature5, feature6, feature7, feature8, feature9, feature10); } diff --git a/tools/decode-status.py b/tools/decode-status.py index 980f09467..116ca97d8 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -212,7 +212,7 @@ a_setoption = [[ "(Berry) Handle berry led using RMT0 as additional WS2812 scheme", "(ZCDimmer) Enable rare falling Edge dimmer instead of leading edge", "(Sen5x) Run in passive mode when there is another I2C master (e.g. Ikea Vindstyrka), i.e. do not set up Sen5x sensor, higher polling interval", - "", + "(NeoPool) Output sensitive data (1)", "","","","", "","","","", "","","","", @@ -301,6 +301,15 @@ a_features = [[ "USE_GDK101","USE_GM861","USE_TC74","USE_PCA9557", "USE_SGP4X","USE_MAX17043","USE_ENS16x","USE_ENS210", "USE_HC8","","","" + ],[ + "","","","", + "","","","", + "","","","", + "","","","", + "","","","", + "","","","", + "","","","", + "","","","" ]] usage = "usage: decode-status {-d | -f} arg" @@ -328,7 +337,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v13.1.0.4 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v13.2.0.2 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))