diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_1_Root.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_1_Root.be index ea65a5c11..6324ce3f5 100644 --- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_1_Root.be +++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_1_Root.be @@ -183,7 +183,7 @@ class Matter_Plugin_Root : Matter_Plugin return tlv_solo.set(TLV.U1, fabric_actice) # number of active fabrics elif attribute == 0x0004 # ---------- TrustedRootCertificates / list[octstr] ---------- # TODO - elif attribute == 0x0005 # ---------- Current­ FabricIndex / u1 ---------- + elif attribute == 0x0005 # ---------- Current FabricIndex / u1 ---------- var fab_index = session._fabric.get_fabric_index() if fab_index == nil fab_index = 0 end # if PASE session, then the fabric index should be zero return tlv_solo.set(TLV.U1, fab_index) # number of active sessions @@ -716,4 +716,4 @@ class Matter_Plugin_Root : Matter_Plugin end end matter.Plugin_Root = Matter_Plugin_Root - \ No newline at end of file +