Fix Matter interverted attributes 0xFFF9 and 0xFFFB (#21636)

This commit is contained in:
s-hadinger 2024-06-15 12:20:52 +02:00 committed by GitHub
parent 342ba2bd44
commit 767ac60266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file.
- NeoPool using temperature as only frequently changing value for NPTeleperiod (#21628)
### Fixed
- Matter interverted attributes 0xFFF9 and 0xFFFB
### Removed

View File

@ -315,7 +315,7 @@ class Matter_Plugin
if attribute == 0xFFF8 # GeneratedCommandList
var gcl = TLV.Matter_TLV_array()
return gcl # return empty list
elif attribute == 0xFFF9 # AcceptedCommandList
elif attribute == 0xFFFB # AttributeList
var acli = TLV.Matter_TLV_array()
var attr_list = self.get_attribute_list(cluster)
var idx = 0
@ -327,7 +327,7 @@ class Matter_Plugin
elif attribute == 0xFFFA # EventList
var el = TLV.Matter_TLV_array()
return el # return empty list
elif attribute == 0xFFFB # AttributeList
elif attribute == 0xFFF9 # AcceptedCommandList
var al = TLV.Matter_TLV_array()
return al # TODO
elif attribute == 0xFFFC # FeatureMap

View File

@ -1278,7 +1278,7 @@ be_local_closure(class_Matter_Plugin_read_attribute, /* name */
0x7C1C0200, // 005C CALL R7 1
0x80040E00, // 005D RET 1 R7
0x7002003F, // 005E JMP #009F
0x541EFFF8, // 005F LDINT R7 65529
0x541EFFFA, // 005F LDINT R7 65531
0x1C1C0C07, // 0060 EQ R7 R6 R7
0x781E0013, // 0061 JMPF R7 #0076
0x8C1C0905, // 0062 GETMET R7 R4 K5
@ -1308,7 +1308,7 @@ be_local_closure(class_Matter_Plugin_read_attribute, /* name */
0x7C1C0200, // 007A CALL R7 1
0x80040E00, // 007B RET 1 R7
0x70020021, // 007C JMP #009F
0x541EFFFA, // 007D LDINT R7 65531
0x541EFFF8, // 007D LDINT R7 65529
0x1C1C0C07, // 007E EQ R7 R6 R7
0x781E0003, // 007F JMPF R7 #0084
0x8C1C0905, // 0080 GETMET R7 R4 K5