~/Projects/Tasmota
git clone https://code.lsong.org/Tasmota
Commit
- Commit
- 34cea00ae2fb4c08381faf9b95d9f4b5baa1f45b
- Author
- s-hadinger <49731213+[email protected]>
- Date
- 2023-09-13 13:45:53 +0200 +0200
- Diffstat
lib/libesp32/berry_matter/src/embedded/Matter_Plugin_1_Root.be | 4 ++--
Fix hidden invalid character
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 ea65a5c11cc2c73f9dba381d31af6516fa393747..6324ce3f5cfb747e1e3da0c97a19440efd1a0fd9 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,9 +183,8 @@ var fabric_actice = self.device.sessions.count_active_fabrics() return tlv_solo.set(TLV.U1, fabric_actice) # number of active fabrics elif attribute == 0x0004 # ---------- TrustedRootCertificates / list[octstr] ---------- # TODO -# # it under the terms of the GNU General Public License as published by -# Matter_Plugin_Root.be - implements the core features that a Matter device must implemment +# 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 @@ -718,3 +718,4 @@ end end matter.Plugin_Root = Matter_Plugin_Root var attribute = ctx.attribute +# Matter_Plugin_Root.be - implements the core features that a Matter device must implemment