mirror of https://github.com/arendst/Tasmota.git
Add feature10 bitmap
This commit is contained in:
parent
b04d26a7a3
commit
9b5945a117
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue