mirror of https://github.com/arendst/Tasmota.git
Matter improve encoding of attributes to reduce flash size (#21864)
This commit is contained in:
parent
a98399367b
commit
a9a55b3ccd
|
@ -89,20 +89,35 @@ matter.inspect = inspect
|
|||
# from the inheritance hierarchy
|
||||
#@ solidify:matter.consolidate_clusters,weak
|
||||
def consolidate_clusters(cl, m)
|
||||
var cl_parent = super(cl) != nil ? super(cl).CLUSTERS : {}
|
||||
var cl_parent = (super(cl) != nil) ? super(cl).CLUSTERS : {}
|
||||
var ret = {}
|
||||
# clone cl_parent
|
||||
for k: cl_parent.keys()
|
||||
# print(f"{k=} {cl_parent[k]=}")
|
||||
ret[k] = cl_parent[k].copy()
|
||||
# rebuild an actual list
|
||||
var attr_arr = []
|
||||
var attr_bytes = cl_parent[k]
|
||||
var attr_bytes_sz = (attr_bytes != nil) ? size(attr_bytes) / 2 : 0
|
||||
var idx = 0
|
||||
while (idx < attr_bytes_sz)
|
||||
attr_arr.push(attr_bytes.get(idx * 2, -2))
|
||||
idx += 1
|
||||
end
|
||||
ret[k] = attr_arr
|
||||
# ret[k] = cl_parent[k].copy()
|
||||
end
|
||||
# add all keys from m
|
||||
# print("--- step 2")
|
||||
for k: m.keys()
|
||||
# print(f"{k=} {ret.find(k)=} {m[k]=}")
|
||||
var l = ret.find(k)
|
||||
if l == nil l = [] end
|
||||
ret[k] = l + m[k]
|
||||
if !ret.contains(k)
|
||||
ret[k] = []
|
||||
end
|
||||
for v: m[k]
|
||||
if ret[k].find(v) == nil
|
||||
ret[k].push(v)
|
||||
end
|
||||
end
|
||||
end
|
||||
# add all auto-attribbutes to each cluster
|
||||
var AUTO_ATTRIBUTES = [ # pre-defined auto attributes for every cluster
|
||||
|
@ -120,6 +135,23 @@ def consolidate_clusters(cl, m)
|
|||
end
|
||||
end
|
||||
end
|
||||
# sort all lists
|
||||
for k: ret.keys()
|
||||
var attr_list = ret[k]
|
||||
# sort in place
|
||||
ret[k] = matter.sort(attr_list)
|
||||
end
|
||||
# convert back to bytes
|
||||
for k: ret.keys()
|
||||
var attr_arr = ret[k]
|
||||
var attr_bytes = bytes()
|
||||
var idx = 0
|
||||
while (idx < size(attr_arr))
|
||||
attr_bytes.add(attr_arr[idx], -2)
|
||||
idx += 1
|
||||
end
|
||||
ret[k] = attr_bytes
|
||||
end
|
||||
# print(ret)
|
||||
return ret
|
||||
end
|
||||
|
|
|
@ -266,17 +266,32 @@ class Matter_PathGenerator
|
|||
def _next_attribute()
|
||||
if (self.attribute == false) return false end # exhausted all possible values
|
||||
|
||||
var attributes = self.pi.get_attribute_list(self.cluster)
|
||||
var attributes_bytes = self.pi.get_attribute_list_bytes(self.cluster)
|
||||
var attributes_bytes_sz = (attributes_bytes != nil) ? size(attributes_bytes) / 2 : 0
|
||||
var attr_filter = self.path_in_attribute
|
||||
|
||||
var idx = -1
|
||||
if (self.attribute != nil)
|
||||
idx = attributes.find(self.attribute) # find index in current list
|
||||
var i = 0
|
||||
while true
|
||||
if (i < attributes_bytes_sz)
|
||||
if attributes_bytes.get(i * 2, -2) == self.attribute
|
||||
idx = i
|
||||
break
|
||||
end
|
||||
i += 1
|
||||
else
|
||||
idx = nil
|
||||
break
|
||||
end
|
||||
end
|
||||
# idx = attributes.find(self.attribute) # finds index in current list
|
||||
end
|
||||
# safeguard
|
||||
if (idx != nil)
|
||||
while (idx + 1 < size(attributes))
|
||||
while (idx + 1 < attributes_bytes_sz)
|
||||
idx += 1 # move to next item
|
||||
self.attribute = attributes[idx]
|
||||
self.attribute = attributes_bytes.get(idx * 2, -2)
|
||||
if (attr_filter == nil) || (attr_filter == self.attribute)
|
||||
return self.attribute
|
||||
end
|
||||
|
|
|
@ -99,7 +99,6 @@ class Matter_Plugin
|
|||
static var UPDATE_COMMANDS = []
|
||||
var device # reference to the `device` global object
|
||||
var endpoint # current endpoint
|
||||
var clusters # map from cluster to list of attributes, typically constructed from CLUSTERS hierachy
|
||||
var tick # tick value when it was last updated
|
||||
var node_label # name of the endpoint, used only in bridge mode, "" if none
|
||||
|
||||
|
@ -118,7 +117,6 @@ class Matter_Plugin
|
|||
def init(device, endpoint, config)
|
||||
self.device = device
|
||||
self.endpoint = endpoint
|
||||
self.clusters = self.get_clusters()
|
||||
self.parse_configuration(config)
|
||||
self.node_label = config.find("name", "")
|
||||
end
|
||||
|
@ -277,20 +275,26 @@ matter_device.events.dump()
|
|||
return self.endpoint
|
||||
end
|
||||
def get_cluster_list_sorted()
|
||||
return self.device.k2l(self.clusters)
|
||||
return self.device.k2l(self.CLUSTERS)
|
||||
end
|
||||
def contains_cluster(cluster)
|
||||
return self.clusters.contains(cluster)
|
||||
return self.CLUSTERS.contains(cluster)
|
||||
end
|
||||
def get_attribute_list(cluster)
|
||||
return self.clusters.find(cluster, [])
|
||||
# def get_attribute_list(cluster)
|
||||
# return self.clusters.find(cluster, [])
|
||||
# end
|
||||
# returns as a constant bytes of 16-bit ints, big endian
|
||||
def get_attribute_list_bytes(cluster)
|
||||
return self.CLUSTERS.find(cluster, nil)
|
||||
end
|
||||
def contains_attribute(cluster, attribute)
|
||||
var attr_list = self.clusters.find(cluster)
|
||||
var attr_list = self.CLUSTERS.find(cluster)
|
||||
# log(f"MTR: contains_attribute {cluster=} {attribute=} {attr_list=}")
|
||||
if attr_list != nil
|
||||
var idx = 0
|
||||
while idx < size(attr_list)
|
||||
if attr_list[idx] == attribute
|
||||
var attr_sz = size(attr_list) / 2 # group of 16-bit integers, big endian
|
||||
while idx < attr_sz
|
||||
if attr_list.get(idx * 2, -2) == attribute
|
||||
return true
|
||||
end
|
||||
idx += 1
|
||||
|
@ -359,10 +363,11 @@ matter_device.events.dump()
|
|||
return gcl # return empty list
|
||||
elif attribute == 0xFFFB # AttributeList
|
||||
var acli = TLV.Matter_TLV_array()
|
||||
var attr_list = self.get_attribute_list(cluster)
|
||||
var attr_list_bytes = self.get_attribute_list_bytes(cluster)
|
||||
var attr_list_bytes_sz = (attr_list_bytes != nil) ? size(attr_list_bytes) : 0
|
||||
var idx = 0
|
||||
while idx < size(attr_list)
|
||||
acli.add_TLV(nil, TLV.U2, attr_list[idx])
|
||||
while idx < attr_list_bytes_sz
|
||||
acli.add_TLV(nil, TLV.U2, attr_list_bytes.get(idx * 2, -2))
|
||||
idx += 1
|
||||
end
|
||||
return acli # TODO, empty list for now
|
||||
|
|
|
@ -249,7 +249,7 @@ be_local_closure(module_matter_inspect, /* name */
|
|||
********************************************************************/
|
||||
be_local_closure(module_matter_consolidate_clusters, /* name */
|
||||
be_nested_proto(
|
||||
12, /* nstack */
|
||||
16, /* nstack */
|
||||
2, /* argc */
|
||||
0, /* varg */
|
||||
0, /* has upvals */
|
||||
|
@ -257,17 +257,24 @@ be_local_closure(module_matter_consolidate_clusters, /* name */
|
|||
0, /* has sup protos */
|
||||
NULL, /* no sub protos */
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 6]) { /* constants */
|
||||
( &(const bvalue[13]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(CLUSTERS),
|
||||
/* K1 */ be_nested_str_weak(keys),
|
||||
/* K2 */ be_nested_str_weak(copy),
|
||||
/* K3 */ be_nested_str_weak(stop_iteration),
|
||||
/* K4 */ be_nested_str_weak(find),
|
||||
/* K5 */ be_nested_str_weak(push),
|
||||
/* K2 */ be_const_int(2),
|
||||
/* K3 */ be_const_int(0),
|
||||
/* K4 */ be_nested_str_weak(push),
|
||||
/* K5 */ be_nested_str_weak(get),
|
||||
/* K6 */ be_const_int(1),
|
||||
/* K7 */ be_nested_str_weak(stop_iteration),
|
||||
/* K8 */ be_nested_str_weak(contains),
|
||||
/* K9 */ be_nested_str_weak(find),
|
||||
/* K10 */ be_nested_str_weak(matter),
|
||||
/* K11 */ be_nested_str_weak(sort),
|
||||
/* K12 */ be_nested_str_weak(add),
|
||||
}),
|
||||
be_str_weak(consolidate_clusters),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[100]) { /* code */
|
||||
( &(const binstruction[180]) { /* code */
|
||||
0x60080003, // 0000 GETGBL R2 G3
|
||||
0x5C0C0000, // 0001 MOVE R3 R0
|
||||
0x7C080200, // 0002 CALL R2 1
|
||||
|
@ -287,87 +294,167 @@ be_local_closure(module_matter_consolidate_clusters, /* name */
|
|||
0x8C140501, // 0010 GETMET R5 R2 K1
|
||||
0x7C140200, // 0011 CALL R5 1
|
||||
0x7C100200, // 0012 CALL R4 1
|
||||
0xA8020006, // 0013 EXBLK 0 #001B
|
||||
0xA802001A, // 0013 EXBLK 0 #002F
|
||||
0x5C140800, // 0014 MOVE R5 R4
|
||||
0x7C140000, // 0015 CALL R5 0
|
||||
0x94180405, // 0016 GETIDX R6 R2 R5
|
||||
0x8C180D02, // 0017 GETMET R6 R6 K2
|
||||
0x7C180200, // 0018 CALL R6 1
|
||||
0x980C0A06, // 0019 SETIDX R3 R5 R6
|
||||
0x7001FFF8, // 001A JMP #0014
|
||||
0x58100003, // 001B LDCONST R4 K3
|
||||
0xAC100200, // 001C CATCH R4 1 0
|
||||
0xB0080000, // 001D RAISE 2 R0 R0
|
||||
0x60100010, // 001E GETGBL R4 G16
|
||||
0x8C140301, // 001F GETMET R5 R1 K1
|
||||
0x7C140200, // 0020 CALL R5 1
|
||||
0x7C100200, // 0021 CALL R4 1
|
||||
0xA802000E, // 0022 EXBLK 0 #0032
|
||||
0x5C140800, // 0023 MOVE R5 R4
|
||||
0x7C140000, // 0024 CALL R5 0
|
||||
0x8C180704, // 0025 GETMET R6 R3 K4
|
||||
0x5C200A00, // 0026 MOVE R8 R5
|
||||
0x7C180400, // 0027 CALL R6 2
|
||||
0x4C1C0000, // 0028 LDNIL R7
|
||||
0x1C1C0C07, // 0029 EQ R7 R6 R7
|
||||
0x781E0002, // 002A JMPF R7 #002E
|
||||
0x601C0012, // 002B GETGBL R7 G18
|
||||
0x7C1C0000, // 002C CALL R7 0
|
||||
0x5C180E00, // 002D MOVE R6 R7
|
||||
0x941C0205, // 002E GETIDX R7 R1 R5
|
||||
0x001C0C07, // 002F ADD R7 R6 R7
|
||||
0x980C0A07, // 0030 SETIDX R3 R5 R7
|
||||
0x7001FFF0, // 0031 JMP #0023
|
||||
0x58100003, // 0032 LDCONST R4 K3
|
||||
0xAC100200, // 0033 CATCH R4 1 0
|
||||
0xB0080000, // 0034 RAISE 2 R0 R0
|
||||
0x60100012, // 0035 GETGBL R4 G18
|
||||
0x7C100000, // 0036 CALL R4 0
|
||||
0x5416FFF7, // 0037 LDINT R5 65528
|
||||
0x40140805, // 0038 CONNECT R5 R4 R5
|
||||
0x5416FFF8, // 0039 LDINT R5 65529
|
||||
0x40140805, // 003A CONNECT R5 R4 R5
|
||||
0x5416FFF9, // 003B LDINT R5 65530
|
||||
0x40140805, // 003C CONNECT R5 R4 R5
|
||||
0x5416FFFA, // 003D LDINT R5 65531
|
||||
0x40140805, // 003E CONNECT R5 R4 R5
|
||||
0x5416FFFB, // 003F LDINT R5 65532
|
||||
0x40140805, // 0040 CONNECT R5 R4 R5
|
||||
0x5416FFFC, // 0041 LDINT R5 65533
|
||||
0x40140805, // 0042 CONNECT R5 R4 R5
|
||||
0x60140010, // 0043 GETGBL R5 G16
|
||||
0x8C180301, // 0044 GETMET R6 R1 K1
|
||||
0x7C180200, // 0045 CALL R6 1
|
||||
0x7C140200, // 0046 CALL R5 1
|
||||
0xA8020017, // 0047 EXBLK 0 #0060
|
||||
0x5C180A00, // 0048 MOVE R6 R5
|
||||
0x7C180000, // 0049 CALL R6 0
|
||||
0x601C0010, // 004A GETGBL R7 G16
|
||||
0x5C200800, // 004B MOVE R8 R4
|
||||
0x7C1C0200, // 004C CALL R7 1
|
||||
0xA802000D, // 004D EXBLK 0 #005C
|
||||
0x5C200E00, // 004E MOVE R8 R7
|
||||
0x7C200000, // 004F CALL R8 0
|
||||
0x94240606, // 0050 GETIDX R9 R3 R6
|
||||
0x8C241304, // 0051 GETMET R9 R9 K4
|
||||
0x5C2C1000, // 0052 MOVE R11 R8
|
||||
0x7C240400, // 0053 CALL R9 2
|
||||
0x4C280000, // 0054 LDNIL R10
|
||||
0x1C24120A, // 0055 EQ R9 R9 R10
|
||||
0x78260003, // 0056 JMPF R9 #005B
|
||||
0x94240606, // 0057 GETIDX R9 R3 R6
|
||||
0x8C241305, // 0058 GETMET R9 R9 K5
|
||||
0x5C2C1000, // 0059 MOVE R11 R8
|
||||
0x7C240400, // 005A CALL R9 2
|
||||
0x7001FFF1, // 005B JMP #004E
|
||||
0x581C0003, // 005C LDCONST R7 K3
|
||||
0xAC1C0200, // 005D CATCH R7 1 0
|
||||
0xB0080000, // 005E RAISE 2 R0 R0
|
||||
0x7001FFE7, // 005F JMP #0048
|
||||
0x58140003, // 0060 LDCONST R5 K3
|
||||
0xAC140200, // 0061 CATCH R5 1 0
|
||||
0xB0080000, // 0062 RAISE 2 R0 R0
|
||||
0x80040600, // 0063 RET 1 R3
|
||||
0x60180012, // 0016 GETGBL R6 G18
|
||||
0x7C180000, // 0017 CALL R6 0
|
||||
0x941C0405, // 0018 GETIDX R7 R2 R5
|
||||
0x4C200000, // 0019 LDNIL R8
|
||||
0x20200E08, // 001A NE R8 R7 R8
|
||||
0x78220004, // 001B JMPF R8 #0021
|
||||
0x6020000C, // 001C GETGBL R8 G12
|
||||
0x5C240E00, // 001D MOVE R9 R7
|
||||
0x7C200200, // 001E CALL R8 1
|
||||
0x0C201102, // 001F DIV R8 R8 K2
|
||||
0x70020000, // 0020 JMP #0022
|
||||
0x58200003, // 0021 LDCONST R8 K3
|
||||
0x58240003, // 0022 LDCONST R9 K3
|
||||
0x14281208, // 0023 LT R10 R9 R8
|
||||
0x782A0007, // 0024 JMPF R10 #002D
|
||||
0x8C280D04, // 0025 GETMET R10 R6 K4
|
||||
0x8C300F05, // 0026 GETMET R12 R7 K5
|
||||
0x08381302, // 0027 MUL R14 R9 K2
|
||||
0x543DFFFD, // 0028 LDINT R15 -2
|
||||
0x7C300600, // 0029 CALL R12 3
|
||||
0x7C280400, // 002A CALL R10 2
|
||||
0x00241306, // 002B ADD R9 R9 K6
|
||||
0x7001FFF5, // 002C JMP #0023
|
||||
0x980C0A06, // 002D SETIDX R3 R5 R6
|
||||
0x7001FFE4, // 002E JMP #0014
|
||||
0x58100007, // 002F LDCONST R4 K7
|
||||
0xAC100200, // 0030 CATCH R4 1 0
|
||||
0xB0080000, // 0031 RAISE 2 R0 R0
|
||||
0x60100010, // 0032 GETGBL R4 G16
|
||||
0x8C140301, // 0033 GETMET R5 R1 K1
|
||||
0x7C140200, // 0034 CALL R5 1
|
||||
0x7C100200, // 0035 CALL R4 1
|
||||
0xA802001E, // 0036 EXBLK 0 #0056
|
||||
0x5C140800, // 0037 MOVE R5 R4
|
||||
0x7C140000, // 0038 CALL R5 0
|
||||
0x8C180708, // 0039 GETMET R6 R3 K8
|
||||
0x5C200A00, // 003A MOVE R8 R5
|
||||
0x7C180400, // 003B CALL R6 2
|
||||
0x741A0002, // 003C JMPT R6 #0040
|
||||
0x60180012, // 003D GETGBL R6 G18
|
||||
0x7C180000, // 003E CALL R6 0
|
||||
0x980C0A06, // 003F SETIDX R3 R5 R6
|
||||
0x60180010, // 0040 GETGBL R6 G16
|
||||
0x941C0205, // 0041 GETIDX R7 R1 R5
|
||||
0x7C180200, // 0042 CALL R6 1
|
||||
0xA802000D, // 0043 EXBLK 0 #0052
|
||||
0x5C1C0C00, // 0044 MOVE R7 R6
|
||||
0x7C1C0000, // 0045 CALL R7 0
|
||||
0x94200605, // 0046 GETIDX R8 R3 R5
|
||||
0x8C201109, // 0047 GETMET R8 R8 K9
|
||||
0x5C280E00, // 0048 MOVE R10 R7
|
||||
0x7C200400, // 0049 CALL R8 2
|
||||
0x4C240000, // 004A LDNIL R9
|
||||
0x1C201009, // 004B EQ R8 R8 R9
|
||||
0x78220003, // 004C JMPF R8 #0051
|
||||
0x94200605, // 004D GETIDX R8 R3 R5
|
||||
0x8C201104, // 004E GETMET R8 R8 K4
|
||||
0x5C280E00, // 004F MOVE R10 R7
|
||||
0x7C200400, // 0050 CALL R8 2
|
||||
0x7001FFF1, // 0051 JMP #0044
|
||||
0x58180007, // 0052 LDCONST R6 K7
|
||||
0xAC180200, // 0053 CATCH R6 1 0
|
||||
0xB0080000, // 0054 RAISE 2 R0 R0
|
||||
0x7001FFE0, // 0055 JMP #0037
|
||||
0x58100007, // 0056 LDCONST R4 K7
|
||||
0xAC100200, // 0057 CATCH R4 1 0
|
||||
0xB0080000, // 0058 RAISE 2 R0 R0
|
||||
0x60100012, // 0059 GETGBL R4 G18
|
||||
0x7C100000, // 005A CALL R4 0
|
||||
0x5416FFF7, // 005B LDINT R5 65528
|
||||
0x40140805, // 005C CONNECT R5 R4 R5
|
||||
0x5416FFF8, // 005D LDINT R5 65529
|
||||
0x40140805, // 005E CONNECT R5 R4 R5
|
||||
0x5416FFF9, // 005F LDINT R5 65530
|
||||
0x40140805, // 0060 CONNECT R5 R4 R5
|
||||
0x5416FFFA, // 0061 LDINT R5 65531
|
||||
0x40140805, // 0062 CONNECT R5 R4 R5
|
||||
0x5416FFFB, // 0063 LDINT R5 65532
|
||||
0x40140805, // 0064 CONNECT R5 R4 R5
|
||||
0x5416FFFC, // 0065 LDINT R5 65533
|
||||
0x40140805, // 0066 CONNECT R5 R4 R5
|
||||
0x60140010, // 0067 GETGBL R5 G16
|
||||
0x8C180301, // 0068 GETMET R6 R1 K1
|
||||
0x7C180200, // 0069 CALL R6 1
|
||||
0x7C140200, // 006A CALL R5 1
|
||||
0xA8020017, // 006B EXBLK 0 #0084
|
||||
0x5C180A00, // 006C MOVE R6 R5
|
||||
0x7C180000, // 006D CALL R6 0
|
||||
0x601C0010, // 006E GETGBL R7 G16
|
||||
0x5C200800, // 006F MOVE R8 R4
|
||||
0x7C1C0200, // 0070 CALL R7 1
|
||||
0xA802000D, // 0071 EXBLK 0 #0080
|
||||
0x5C200E00, // 0072 MOVE R8 R7
|
||||
0x7C200000, // 0073 CALL R8 0
|
||||
0x94240606, // 0074 GETIDX R9 R3 R6
|
||||
0x8C241309, // 0075 GETMET R9 R9 K9
|
||||
0x5C2C1000, // 0076 MOVE R11 R8
|
||||
0x7C240400, // 0077 CALL R9 2
|
||||
0x4C280000, // 0078 LDNIL R10
|
||||
0x1C24120A, // 0079 EQ R9 R9 R10
|
||||
0x78260003, // 007A JMPF R9 #007F
|
||||
0x94240606, // 007B GETIDX R9 R3 R6
|
||||
0x8C241304, // 007C GETMET R9 R9 K4
|
||||
0x5C2C1000, // 007D MOVE R11 R8
|
||||
0x7C240400, // 007E CALL R9 2
|
||||
0x7001FFF1, // 007F JMP #0072
|
||||
0x581C0007, // 0080 LDCONST R7 K7
|
||||
0xAC1C0200, // 0081 CATCH R7 1 0
|
||||
0xB0080000, // 0082 RAISE 2 R0 R0
|
||||
0x7001FFE7, // 0083 JMP #006C
|
||||
0x58140007, // 0084 LDCONST R5 K7
|
||||
0xAC140200, // 0085 CATCH R5 1 0
|
||||
0xB0080000, // 0086 RAISE 2 R0 R0
|
||||
0x60140010, // 0087 GETGBL R5 G16
|
||||
0x8C180701, // 0088 GETMET R6 R3 K1
|
||||
0x7C180200, // 0089 CALL R6 1
|
||||
0x7C140200, // 008A CALL R5 1
|
||||
0xA8020008, // 008B EXBLK 0 #0095
|
||||
0x5C180A00, // 008C MOVE R6 R5
|
||||
0x7C180000, // 008D CALL R6 0
|
||||
0x941C0606, // 008E GETIDX R7 R3 R6
|
||||
0xB8221400, // 008F GETNGBL R8 K10
|
||||
0x8C20110B, // 0090 GETMET R8 R8 K11
|
||||
0x5C280E00, // 0091 MOVE R10 R7
|
||||
0x7C200400, // 0092 CALL R8 2
|
||||
0x980C0C08, // 0093 SETIDX R3 R6 R8
|
||||
0x7001FFF6, // 0094 JMP #008C
|
||||
0x58140007, // 0095 LDCONST R5 K7
|
||||
0xAC140200, // 0096 CATCH R5 1 0
|
||||
0xB0080000, // 0097 RAISE 2 R0 R0
|
||||
0x60140010, // 0098 GETGBL R5 G16
|
||||
0x8C180701, // 0099 GETMET R6 R3 K1
|
||||
0x7C180200, // 009A CALL R6 1
|
||||
0x7C140200, // 009B CALL R5 1
|
||||
0xA8020012, // 009C EXBLK 0 #00B0
|
||||
0x5C180A00, // 009D MOVE R6 R5
|
||||
0x7C180000, // 009E CALL R6 0
|
||||
0x941C0606, // 009F GETIDX R7 R3 R6
|
||||
0x60200015, // 00A0 GETGBL R8 G21
|
||||
0x7C200000, // 00A1 CALL R8 0
|
||||
0x58240003, // 00A2 LDCONST R9 K3
|
||||
0x6028000C, // 00A3 GETGBL R10 G12
|
||||
0x5C2C0E00, // 00A4 MOVE R11 R7
|
||||
0x7C280200, // 00A5 CALL R10 1
|
||||
0x1428120A, // 00A6 LT R10 R9 R10
|
||||
0x782A0005, // 00A7 JMPF R10 #00AE
|
||||
0x8C28110C, // 00A8 GETMET R10 R8 K12
|
||||
0x94300E09, // 00A9 GETIDX R12 R7 R9
|
||||
0x5435FFFD, // 00AA LDINT R13 -2
|
||||
0x7C280600, // 00AB CALL R10 3
|
||||
0x00241306, // 00AC ADD R9 R9 K6
|
||||
0x7001FFF4, // 00AD JMP #00A3
|
||||
0x980C0C08, // 00AE SETIDX R3 R6 R8
|
||||
0x7001FFEC, // 00AF JMP #009D
|
||||
0x58140007, // 00B0 LDCONST R5 K7
|
||||
0xAC140200, // 00B1 CATCH R5 1 0
|
||||
0xB0080000, // 00B2 RAISE 2 R0 R0
|
||||
0x80040600, // 00B3 RET 1 R3
|
||||
})
|
||||
)
|
||||
);
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* Generated code, don't edit *
|
||||
\********************************************************************/
|
||||
#include "be_constobj.h"
|
||||
// compact class 'Matter_PathGenerator' ktab size: 34, total: 78 (saved 352 bytes)
|
||||
static const bvalue be_ktab_class_Matter_PathGenerator[34] = {
|
||||
// compact class 'Matter_PathGenerator' ktab size: 37, total: 80 (saved 344 bytes)
|
||||
static const bvalue be_ktab_class_Matter_PathGenerator[37] = {
|
||||
/* K0 */ be_nested_str_weak(path_concrete),
|
||||
/* K1 */ be_nested_str_weak(reset),
|
||||
/* K2 */ be_nested_str_weak(pi),
|
||||
|
@ -35,10 +35,13 @@ static const bvalue be_ktab_class_Matter_PathGenerator[34] = {
|
|||
/* K27 */ be_nested_str_weak(UNSUPPORTED_CLUSTER),
|
||||
/* K28 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
|
||||
/* K29 */ be_nested_str_weak(UNREPORTABLE_ATTRIBUTE),
|
||||
/* K30 */ be_nested_str_weak(get_attribute_list),
|
||||
/* K31 */ be_nested_str_weak(plugins),
|
||||
/* K32 */ be_nested_str_weak(get_cluster_list_sorted),
|
||||
/* K33 */ be_nested_str_weak(Path),
|
||||
/* K30 */ be_nested_str_weak(get_attribute_list_bytes),
|
||||
/* K31 */ be_const_int(2),
|
||||
/* K32 */ be_const_int(0),
|
||||
/* K33 */ be_nested_str_weak(get),
|
||||
/* K34 */ be_nested_str_weak(plugins),
|
||||
/* K35 */ be_nested_str_weak(get_cluster_list_sorted),
|
||||
/* K36 */ be_nested_str_weak(Path),
|
||||
};
|
||||
|
||||
|
||||
|
@ -403,7 +406,7 @@ be_local_closure(class_Matter_PathGenerator__default_status_error, /* name */
|
|||
********************************************************************/
|
||||
be_local_closure(class_Matter_PathGenerator__next_attribute, /* name */
|
||||
be_nested_proto(
|
||||
7, /* nstack */
|
||||
10, /* nstack */
|
||||
1, /* argc */
|
||||
10, /* varg */
|
||||
0, /* has upvals */
|
||||
|
@ -414,7 +417,7 @@ be_local_closure(class_Matter_PathGenerator__next_attribute, /* name */
|
|||
&be_ktab_class_Matter_PathGenerator, /* shared constants */
|
||||
be_str_weak(_next_attribute),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[45]) { /* code */
|
||||
( &(const binstruction[69]) { /* code */
|
||||
0x88040104, // 0000 GETMBR R1 R0 K4
|
||||
0x50080000, // 0001 LDBOOL R2 0 0
|
||||
0x1C040202, // 0002 EQ R1 R1 R2
|
||||
|
@ -425,41 +428,65 @@ be_local_closure(class_Matter_PathGenerator__next_attribute, /* name */
|
|||
0x8C04031E, // 0007 GETMET R1 R1 K30
|
||||
0x880C0103, // 0008 GETMBR R3 R0 K3
|
||||
0x7C040400, // 0009 CALL R1 2
|
||||
0x88080109, // 000A GETMBR R2 R0 K9
|
||||
0x540DFFFE, // 000B LDINT R3 -1
|
||||
0x88100104, // 000C GETMBR R4 R0 K4
|
||||
0x4C140000, // 000D LDNIL R5
|
||||
0x20100805, // 000E NE R4 R4 R5
|
||||
0x78120003, // 000F JMPF R4 #0014
|
||||
0x8C100317, // 0010 GETMET R4 R1 K23
|
||||
0x88180104, // 0011 GETMBR R6 R0 K4
|
||||
0x7C100400, // 0012 CALL R4 2
|
||||
0x5C0C0800, // 0013 MOVE R3 R4
|
||||
0x4C100000, // 0014 LDNIL R4
|
||||
0x20100604, // 0015 NE R4 R3 R4
|
||||
0x78120011, // 0016 JMPF R4 #0029
|
||||
0x00100718, // 0017 ADD R4 R3 K24
|
||||
0x6014000C, // 0018 GETGBL R5 G12
|
||||
0x5C180200, // 0019 MOVE R6 R1
|
||||
0x7C140200, // 001A CALL R5 1
|
||||
0x14100805, // 001B LT R4 R4 R5
|
||||
0x7812000B, // 001C JMPF R4 #0029
|
||||
0x000C0718, // 001D ADD R3 R3 K24
|
||||
0x94100203, // 001E GETIDX R4 R1 R3
|
||||
0x90020804, // 001F SETMBR R0 K4 R4
|
||||
0x4C100000, // 0020 LDNIL R4
|
||||
0x1C100404, // 0021 EQ R4 R2 R4
|
||||
0x74120002, // 0022 JMPT R4 #0026
|
||||
0x88100104, // 0023 GETMBR R4 R0 K4
|
||||
0x1C100404, // 0024 EQ R4 R2 R4
|
||||
0x78120001, // 0025 JMPF R4 #0028
|
||||
0x88100104, // 0026 GETMBR R4 R0 K4
|
||||
0x80040800, // 0027 RET 1 R4
|
||||
0x7001FFED, // 0028 JMP #0017
|
||||
0x50100000, // 0029 LDBOOL R4 0 0
|
||||
0x90020804, // 002A SETMBR R0 K4 R4
|
||||
0x50100000, // 002B LDBOOL R4 0 0
|
||||
0x80040800, // 002C RET 1 R4
|
||||
0x4C080000, // 000A LDNIL R2
|
||||
0x20080202, // 000B NE R2 R1 R2
|
||||
0x780A0004, // 000C JMPF R2 #0012
|
||||
0x6008000C, // 000D GETGBL R2 G12
|
||||
0x5C0C0200, // 000E MOVE R3 R1
|
||||
0x7C080200, // 000F CALL R2 1
|
||||
0x0C08051F, // 0010 DIV R2 R2 K31
|
||||
0x70020000, // 0011 JMP #0013
|
||||
0x58080020, // 0012 LDCONST R2 K32
|
||||
0x880C0109, // 0013 GETMBR R3 R0 K9
|
||||
0x5411FFFE, // 0014 LDINT R4 -1
|
||||
0x88140104, // 0015 GETMBR R5 R0 K4
|
||||
0x4C180000, // 0016 LDNIL R6
|
||||
0x20140A06, // 0017 NE R5 R5 R6
|
||||
0x78160012, // 0018 JMPF R5 #002C
|
||||
0x58140020, // 0019 LDCONST R5 K32
|
||||
0x50180200, // 001A LDBOOL R6 1 0
|
||||
0x781A000F, // 001B JMPF R6 #002C
|
||||
0x14180A02, // 001C LT R6 R5 R2
|
||||
0x781A000A, // 001D JMPF R6 #0029
|
||||
0x8C180321, // 001E GETMET R6 R1 K33
|
||||
0x08200B1F, // 001F MUL R8 R5 K31
|
||||
0x5425FFFD, // 0020 LDINT R9 -2
|
||||
0x7C180600, // 0021 CALL R6 3
|
||||
0x881C0104, // 0022 GETMBR R7 R0 K4
|
||||
0x1C180C07, // 0023 EQ R6 R6 R7
|
||||
0x781A0001, // 0024 JMPF R6 #0027
|
||||
0x5C100A00, // 0025 MOVE R4 R5
|
||||
0x70020004, // 0026 JMP #002C
|
||||
0x00140B18, // 0027 ADD R5 R5 K24
|
||||
0x70020001, // 0028 JMP #002B
|
||||
0x4C100000, // 0029 LDNIL R4
|
||||
0x70020000, // 002A JMP #002C
|
||||
0x7001FFED, // 002B JMP #001A
|
||||
0x4C140000, // 002C LDNIL R5
|
||||
0x20140805, // 002D NE R5 R4 R5
|
||||
0x78160011, // 002E JMPF R5 #0041
|
||||
0x00140918, // 002F ADD R5 R4 K24
|
||||
0x14140A02, // 0030 LT R5 R5 R2
|
||||
0x7816000E, // 0031 JMPF R5 #0041
|
||||
0x00100918, // 0032 ADD R4 R4 K24
|
||||
0x8C140321, // 0033 GETMET R5 R1 K33
|
||||
0x081C091F, // 0034 MUL R7 R4 K31
|
||||
0x5421FFFD, // 0035 LDINT R8 -2
|
||||
0x7C140600, // 0036 CALL R5 3
|
||||
0x90020805, // 0037 SETMBR R0 K4 R5
|
||||
0x4C140000, // 0038 LDNIL R5
|
||||
0x1C140605, // 0039 EQ R5 R3 R5
|
||||
0x74160002, // 003A JMPT R5 #003E
|
||||
0x88140104, // 003B GETMBR R5 R0 K4
|
||||
0x1C140605, // 003C EQ R5 R3 R5
|
||||
0x78160001, // 003D JMPF R5 #0040
|
||||
0x88140104, // 003E GETMBR R5 R0 K4
|
||||
0x80040A00, // 003F RET 1 R5
|
||||
0x7001FFED, // 0040 JMP #002F
|
||||
0x50140000, // 0041 LDBOOL R5 0 0
|
||||
0x90020805, // 0042 SETMBR R0 K4 R5
|
||||
0x50140000, // 0043 LDBOOL R5 0 0
|
||||
0x80040A00, // 0044 RET 1 R5
|
||||
})
|
||||
)
|
||||
);
|
||||
|
@ -490,7 +517,7 @@ be_local_closure(class_Matter_PathGenerator__next_endpoint, /* name */
|
|||
0x50040000, // 0004 LDBOOL R1 0 0
|
||||
0x80040200, // 0005 RET 1 R1
|
||||
0x88040106, // 0006 GETMBR R1 R0 K6
|
||||
0x8804031F, // 0007 GETMBR R1 R1 K31
|
||||
0x88040322, // 0007 GETMBR R1 R1 K34
|
||||
0x88080107, // 0008 GETMBR R2 R0 K7
|
||||
0x4C0C0000, // 0009 LDNIL R3
|
||||
0x90020603, // 000A SETMBR R0 K3 R3
|
||||
|
@ -526,7 +553,7 @@ be_local_closure(class_Matter_PathGenerator__next_endpoint, /* name */
|
|||
0x1C100404, // 0028 EQ R4 R2 R4
|
||||
0x78120005, // 0029 JMPF R4 #0030
|
||||
0x88100102, // 002A GETMBR R4 R0 K2
|
||||
0x8C100920, // 002B GETMET R4 R4 K32
|
||||
0x8C100923, // 002B GETMET R4 R4 K35
|
||||
0x7C100200, // 002C CALL R4 1
|
||||
0x90020A04, // 002D SETMBR R0 K5 R4
|
||||
0x88100102, // 002E GETMBR R4 R0 K2
|
||||
|
@ -595,7 +622,7 @@ be_local_closure(class_Matter_PathGenerator_start, /* name */
|
|||
&be_const_str_solidified,
|
||||
( &(const binstruction[22]) { /* code */
|
||||
0xB8163200, // 0000 GETNGBL R5 K25
|
||||
0x8C140B21, // 0001 GETMET R5 R5 K33
|
||||
0x8C140B24, // 0001 GETMET R5 R5 K36
|
||||
0x7C140200, // 0002 CALL R5 1
|
||||
0x90020005, // 0003 SETMBR R0 K0 R5
|
||||
0x8C140101, // 0004 GETMET R5 R0 K1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -209,32 +209,8 @@ be_local_class(Matter_Plugin_Aggregator,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(2,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, -1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 0), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Aggregator_invoke_request_closure) },
|
||||
})),
|
||||
|
|
|
@ -1335,75 +1335,11 @@ be_local_class(Matter_Plugin_Device,
|
|||
{ be_const_key_weak(CLUSTERS, 7), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(5,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, -1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, 1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Device_invoke_request_closure) },
|
||||
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Device_init_closure) },
|
||||
|
|
|
@ -2130,197 +2130,20 @@ be_local_class(Matter_Plugin_Root,
|
|||
{ be_const_key_weak(CLUSTERS, 7), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(14,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(56, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(7),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 11), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(44, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(31, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(60, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(63, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(6,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(62, 13), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(49, 5), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(50, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(6,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(51, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(52, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(6,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(43, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(40, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(21,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(6),
|
||||
be_const_int(7),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(19),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(48, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(56, -1), be_const_bytes_instance(000000010007FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 11), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(44, -1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(31, -1), be_const_bytes_instance(0000000200030004FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(60, -1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(63, -1), be_const_bytes_instance(FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(62, 13), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(49, 5), be_const_bytes_instance(00030004FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(50, -1), be_const_bytes_instance(FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(51, -1), be_const_bytes_instance(0000000100020008FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(52, -1), be_const_bytes_instance(FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(43, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(40, -1), be_const_bytes_instance(0000000100020003000400050006000700080009000A000F001100120013FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(48, -1), be_const_bytes_instance(00000001000200030004FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Root_read_attribute_closure) },
|
||||
})),
|
||||
|
|
|
@ -473,89 +473,12 @@ be_local_class(Matter_Plugin_Fan,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(514, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(514, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(set_fan_mode, 1), be_const_closure(class_Matter_Plugin_Fan_set_fan_mode_closure) },
|
||||
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -615,86 +615,12 @@ be_local_class(Matter_Plugin_Light0,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(6, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(6, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(ARG, -1), be_nested_str_weak(relay) },
|
||||
{ be_const_key_weak(invoke_request, 10), be_const_closure(class_Matter_Plugin_Light0_invoke_request_closure) },
|
||||
|
|
|
@ -718,176 +718,18 @@ be_local_class(Matter_Plugin_Sensor_Air_Quality,
|
|||
{ be_const_key_weak(CLUSTERS, 4), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(12,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(1068, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1069, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1070, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, 8), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1037, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(91, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 6), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1066, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1043, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(8),
|
||||
be_const_int(9),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1068, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1069, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1070, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, 8), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1037, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(91, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 6), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1066, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1043, -1), be_const_bytes_instance(00000001000200080009FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
})),
|
||||
be_str_weak(Matter_Plugin_Sensor_Air_Quality)
|
||||
|
|
|
@ -386,88 +386,12 @@ be_local_class(Matter_Plugin_Sensor_GenericSwitch_Btn,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(59, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, 1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, -1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(59, 0), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
})),
|
||||
be_str_weak(Matter_Plugin_Sensor_GenericSwitch_Btn)
|
||||
|
|
|
@ -613,93 +613,12 @@ be_local_class(Matter_Plugin_Shutter,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(258, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(14,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(5),
|
||||
be_const_int(7),
|
||||
be_const_int(10),
|
||||
be_const_int(11),
|
||||
be_const_int(13),
|
||||
be_const_int(14),
|
||||
be_const_int(23),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(258, -1), be_const_bytes_instance(000000050007000A000B000D000E0017FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(invoke_request, 3), be_const_closure(class_Matter_Plugin_Shutter_invoke_request_closure) },
|
||||
{ be_const_key_weak(read_attribute, 11), be_const_closure(class_Matter_Plugin_Shutter_read_attribute_closure) },
|
||||
|
|
|
@ -804,101 +804,13 @@ be_local_class(Matter_Plugin_Light1,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(7,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(29, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(8, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(6, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 2), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(8, 0), be_const_bytes_instance(000000020003000F0011FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(6, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Light1_web_values_closure) },
|
||||
{ be_const_key_weak(init, 11), be_const_closure(class_Matter_Plugin_Light1_init_closure) },
|
||||
|
|
|
@ -248,86 +248,12 @@ be_local_class(Matter_Plugin_Sensor_Contact,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(69, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, 1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(69, 2), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Sensor_Contact_web_values_closure) },
|
||||
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -211,88 +211,12 @@ be_local_class(Matter_Plugin_Sensor_Flow,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1028, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1028, -1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Flow) },
|
||||
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Flow_pre_value_closure) },
|
||||
|
|
|
@ -219,88 +219,12 @@ be_local_class(Matter_Plugin_Sensor_Humidity,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1029, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, 1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1029, 2), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Humidity) },
|
||||
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Humidity_pre_value_closure) },
|
||||
|
|
|
@ -220,88 +220,12 @@ be_local_class(Matter_Plugin_Sensor_Illuminance,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1024, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1024, 1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Illuminance) },
|
||||
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Illuminance_pre_value_closure) },
|
||||
|
|
|
@ -268,88 +268,12 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1030, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1030, 1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_web_values_closure) },
|
||||
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -141,86 +141,12 @@ be_local_class(Matter_Plugin_Sensor_OnOff,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(6, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(6, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(append_state_json, -1), be_const_closure(class_Matter_Plugin_Sensor_OnOff_append_state_json_closure) },
|
||||
{ be_const_key_weak(TYPES, 6), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -210,88 +210,12 @@ be_local_class(Matter_Plugin_Sensor_Pressure,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1027, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(1027, -1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Pressure) },
|
||||
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Pressure_pre_value_closure) },
|
||||
|
|
|
@ -248,86 +248,12 @@ be_local_class(Matter_Plugin_Sensor_Rain,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(69, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, 1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(69, 2), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Sensor_Rain_web_values_closure) },
|
||||
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -255,88 +255,12 @@ be_local_class(Matter_Plugin_Sensor_Temp,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(1026, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(9,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(1026, -1), be_const_bytes_instance(000000010002FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Temperature) },
|
||||
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Temp_pre_value_closure) },
|
||||
|
|
|
@ -240,86 +240,12 @@ be_local_class(Matter_Plugin_Sensor_Waterleak,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(69, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, 1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(69, 2), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 0), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_web_values_closure) },
|
||||
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
|
|
|
@ -416,96 +416,12 @@ be_local_class(Matter_Plugin_ShutterTilt,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(258, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(17,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(5),
|
||||
be_const_int(7),
|
||||
be_const_int(10),
|
||||
be_const_int(11),
|
||||
be_const_int(13),
|
||||
be_const_int(14),
|
||||
be_const_int(23),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
be_const_int(7),
|
||||
be_const_int(12),
|
||||
be_const_int(15),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(258, -1), be_const_bytes_instance(000000050007000A000B000C000D000E000F0017FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, -1), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, 2), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, 1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(tilt_min, 8), be_const_var(1) },
|
||||
{ be_const_key_weak(parse_sensors, -1), be_const_closure(class_Matter_Plugin_ShutterTilt_parse_sensors_closure) },
|
||||
|
|
|
@ -672,116 +672,14 @@ be_local_class(Matter_Plugin_Light2,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(8,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(8, 7), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(6, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(768, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(7),
|
||||
be_const_int(8),
|
||||
be_const_int(15),
|
||||
be_const_int(16395),
|
||||
be_const_int(16396),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(8, 7), be_const_bytes_instance(000000020003000F0011FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, -1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, 2), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(6, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(768, -1), be_const_bytes_instance(00070008000F400B400CFFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Light2_init_closure) },
|
||||
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Light2_invoke_request_closure) },
|
||||
|
|
|
@ -934,118 +934,14 @@ be_local_class(Matter_Plugin_Light3,
|
|||
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(8,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(8, 7), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(11,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(5, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(6, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(768, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(13,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(7),
|
||||
be_const_int(8),
|
||||
be_const_int(15),
|
||||
be_const_int(16385),
|
||||
be_const_int(16394),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(8, 7), be_const_bytes_instance(000000020003000F0011FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(57, -1), be_const_bytes_instance(00030005000A000F00110012FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(29, -1), be_const_bytes_instance(0000000100020003FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(3, -1), be_const_bytes_instance(00000001FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(4, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(5, 2), be_const_bytes_instance(000000010002000300040005FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(6, -1), be_const_bytes_instance(0000FFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
{ be_const_key_int(768, -1), be_const_bytes_instance(0000000100070008000F4001400AFFF8FFF9FFFAFFFBFFFCFFFD) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Light3_web_values_closure) },
|
||||
{ be_const_key_weak(set_hue_sat, 12), be_const_closure(class_Matter_Plugin_Light3_set_hue_sat_closure) },
|
||||
|
|
Loading…
Reference in New Issue