diff --git a/lib/libesp32/berry_matter/src/be_matter_module.c b/lib/libesp32/berry_matter/src/be_matter_module.c
index 8e8f5d36c..25b6cd0ff 100644
--- a/lib/libesp32/berry_matter/src/be_matter_module.c
+++ b/lib/libesp32/berry_matter/src/be_matter_module.c
@@ -216,6 +216,7 @@ extern const bclass be_class_Matter_TLV; // need to declare it upfront because
#include "solidify/solidified_Matter_IM_Message.h"
#include "solidify/solidified_Matter_IM_Subscription.h"
#include "solidify/solidified_Matter_IM.h"
+#include "solidify/solidified_Matter_EventHandler.h"
#include "solidify/solidified_Matter_Control_Message.h"
#include "solidify/solidified_Matter_Plugin_0.h"
#include "solidify/solidified_Matter_Base38.h"
@@ -259,6 +260,7 @@ extern const bclass be_class_Matter_TLV; // need to declare it upfront because
#include "solidify/solidified_Matter_Plugin_3_Sensor_Rain.h"
#include "solidify/solidified_Matter_Plugin_3_Sensor_Waterleak.h"
#include "solidify/solidified_Matter_Plugin_2_Fan.h"
+#include "solidify/solidified_Matter_Plugin_2_Sensor_GenericSwitch.h"
#include "solidify/solidified_Matter_Plugin_9_Virt_Fan.h"
#include "solidify/solidified_Matter_Plugin_9_Virt_Sensor_Contact.h"
#include "solidify/solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h"
@@ -337,6 +339,11 @@ module matter (scope: global, strings: weak) {
UC_LIST, closure(module_matter_UC_LIST_closure)
Profiler, class(be_class_Matter_Profiler)
+ // EVents priority levels
+ EVENT_DEBUG, int(0)
+ EVENT_INFO, int(1)
+ EVENT_CRITICAL, int(2)
+
// Status codes
SUCCESS, int(0x00)
FAILURE, int(0x01)
@@ -429,6 +436,10 @@ module matter (scope: global, strings: weak) {
Frame, class(be_class_Matter_Frame)
MessageHandler, class(be_class_Matter_MessageHandler)
+ // Event Handler
+ EventHandler, class(be_class_Matter_EventHandler)
+ EventQueued, class(be_class_Matter_EventQueued)
+
// Interation Model
Path, class(be_class_Matter_Path)
PathGenerator, class(be_class_Matter_PathGenerator)
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_EventHandler.be b/lib/libesp32/berry_matter/src/embedded/Matter_EventHandler.be
new file mode 100644
index 000000000..12145524f
--- /dev/null
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_EventHandler.be
@@ -0,0 +1,220 @@
+#
+# Matter_EventHandler.be - suppport for Matter Events
+#
+# Copyright (C) 2023 Stephan Hadinger & Theo Arends
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+
+import matter
+
+#@ solidify:Matter_EventHandler,weak
+#@ solidify:Matter_EventQueued,weak
+
+#################################################################################
+# Matter_Event_Queued class
+#
+# This class encapsulates any element within teh event queue
+# Takes a `Matter_EventDataIB`
+#
+# Invariants:
+# `priority` is guaranteed to be in range 0..2
+#################################################################################
+class Matter_EventQueued
+ # common elements
+ var endpoint
+ var cluster
+ var event_id
+ var is_urgent
+ var priority
+ var event_no
+ var raw_tlv # content encoded as full TLV
+
+ def init(event_ib)
+ self.endpoint = event_ib.path.endpoint
+ self.cluster = event_ib.path.cluster
+ self.event_id = event_ib.path.event
+ self.is_urgent = event_ib.path.is_urgent
+ self.priority = event_ib.priority
+ if (self.priority < 0) self.priority = 0 end
+ if (self.priority > matter.EVENT_CRITICAL) self.priority = matter.EVENT_CRITICAL end
+ self.event_no = int64.toint64(event_ib.event_number) # int64
+ self.raw_tlv = event_ib.to_TLV().tlv2raw() # bytes()
+ end
+end
+matter.EventQueued = Matter_EventQueued
+
+# elements are made of `Matter_EventDataIB`
+# var path #
+ # var node # u64 as bytes
+ # var endpoint # u16
+ # var cluster # u32
+ # var event # u32
+ # var is_urgent # bool
+# var event_number # u64 as bytes
+# var priority # u8
+# # one of
+# var epoch_timestamp # u64
+# var system_timestamp # u64
+# var delta_epoch_timestamp # u64
+# var delta_system_timestamp # u64
+# # data
+# var data # any TLV
+
+# EVENT_DEBUG=0
+# EVENT_INFO=1
+# EVENT_CRITICAL=2
+
+#################################################################################
+# Matter_IM class
+#################################################################################
+class Matter_EventHandler
+ static var EVENT_NO_INCR = 1000 # counter increased when persisting
+ static var EVENT_NO_FILENAME = "_matter_event_no"
+ static var EVENT_QUEUE_SIZE_MAX = 10 # each queue is 10 elements depth
+
+ # circular buffers
+ var queue_debug # queue of events for level DEBUG
+ var queue_info # queue of events for level INFO
+ var queue_critical # queue of events for level CRITICAL
+
+ var device # link back to matter_device top object
+ # Events
+ var counter_event_no # event number, monotonically increasing even after restarts
+ var counter_event_no_persisted # the nest number persisted for after the restart
+
+ def init(device)
+ self.device = device
+ self.queue_debug = []
+ self.queue_info = []
+ self.queue_critical = []
+ self.load_event_no_persisted() # initializes self.counter_event_no and self.counter_event_no_persisted
+ end
+
+ #####################################################################
+ # load_event_no_persisted
+ #
+ # Load the next acceptable event_no from `persist` and persist it
+ # with a predefined gap `self.EVENT_NO_INCR` (default 1000)
+ def load_event_no_persisted()
+ import persist
+ var event_no_str = str(persist.find(self.EVENT_NO_FILENAME, "0"))
+ self.counter_event_no = int64.fromstring(event_no_str)
+ self.counter_event_no_persisted = self.counter_event_no.add(self.EVENT_NO_INCR)
+ # save back next slot
+ persist.setmember(self.EVENT_NO_FILENAME, self.counter_event_no_persisted.tostring())
+ persist.save()
+ end
+
+ #####################################################################
+ # Enqueue event
+ #
+ # Takes `Matter_EventDataIB`
+ #####################################################################
+ def queue_event(ev_ib)
+ var ev_queued = matter.EventQueued(ev_ib)
+
+ var cur_prio = ev_queued.priority
+
+ # we reuse the same logic as connectedhomeip
+ # https://github.com/project-chip/connectedhomeip/blob/master/src/app/EventManagement.h
+ #
+ # Here is a copy of the original comment:
+
+ #---------------------------------------------------------------------------------
+ * A newly generated event will be placed in the lowest-priority (in practice
+ * DEBUG) buffer, the one associated with the first LogStorageResource. If
+ * there is no space in that buffer, space will be created by evicting the
+ * oldest event currently in that buffer, until enough space is available.
+ *
+ * When an event is evicted from a buffer, there are two possibilities:
+ *
+ * 1) If the next LogStorageResource has a priority that is no higher than the
+ * event's priority, the event will be moved to that LogStorageResource's
+ * buffer. This may in turn require events to be evicted from that buffer.
+ * 2) If the next LogStorageResource has a priority that is higher than the
+ * event's priority, then the event is just dropped.
+ *
+ * This means that LogStorageResources at a given priority level are reserved
+ * for events of that priority level or higher priority.
+ *
+ * As a simple example, assume there are only two priority levels, DEBUG and
+ * CRITICAL, and two LogStorageResources with those priorities. In that case,
+ * old CRITICAL events will not start getting dropped until both buffers are
+ * full, while old DEBUG events will start getting dropped once the DEBUG
+ * LogStorageResource buffer is full.
+ ---------------------------------------------------------------------------------#
+
+ # first step, always add to DEBUG queue
+ self.queue_debug.push(ev_queued)
+ # if DEBUG queue is full
+ if size(self.queue_debug) > self.EVENT_QUEUE_SIZE_MAX
+ # remove first (oldest element)
+ var ev_debug_removed = self.queue_debug.pop(0)
+ if ev_debug_removed.priority > matter.EVENT_DEBUG
+ # if removed item is higher than DEBUG, push to INFO queue
+ self.queue_info.push(ev_debug_removed)
+ # if INFO queue is full
+ if size(self.queue_info) > self.EVENT_QUEUE_SIZE_MAX
+ # remove first (oldest element)
+ var ev_info_removed = self.queue_info.pop(0)
+ if ev_info_removed.priority > matter.EVENT_INFO
+ # if removed item is higher than INFO, push to CRITICAL queue
+ self.queue_critical.push(ev_info_removed)
+ # if CRITICAL queue is full
+ if size(self.queue_critical) > self.EVENT_QUEUE_SIZE_MAX
+ # remove first (oldest element)
+ var ev_critical_removed = self.queue_critical.pop(0)
+ end
+ end
+ end
+ end
+ end
+ end
+
+ #####################################################################
+ # Events handling
+ #####################################################################
+ # Get next event number
+ def get_next_event_no()
+ self.counter_event_no = self.counter_event_no.add(1)
+ if self.counter_event_no >= self.counter_event_no_persisted
+ self.load_event_no_persisted() # force an increment like done during boot
+ end
+ return self.counter_event_no
+ end
+
+
+ #####################################################################
+ # Dump events for debugging
+ #####################################################################
+ def dump()
+ tasmota.log(f"MTR: Events queues sizes: critical {size(self.queue_critical)}, info {size(self.queue_info)}, debug {size(self.queue_debug)}", 2)
+ var cnt = [0, 0, 0] # counters
+ for ev: self.queue_debug cnt[ev.priority] += 1 end
+ for ev: self.queue_info cnt[ev.priority] += 1 end
+ for ev: self.queue_critical cnt[ev.priority] += 1 end
+ tasmota.log(f"MTR: Events by types: critical {cnt[2]}, info {cnt[1]}, debug {cnt[0]}", 2)
+ end
+
+end
+matter.EventHandler = Matter_EventHandler
+
+#-
+
+# Unit tests
+
+
+-#
+
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_IM.be b/lib/libesp32/berry_matter/src/embedded/Matter_IM.be
index 32c19152d..007f68ad5 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_IM.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_IM.be
@@ -237,8 +237,11 @@ class Matter_IM
# should return true if answered, false if passing to next handler
def read_single_attribute(ret, pi, ctx, direct)
var TLV = matter.TLV
- var attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
- attr_name = attr_name ? " (" + attr_name + ")" : ""
+ var attr_name
+ if tasmota.loglevel(3)
+ attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
+ attr_name = attr_name ? " (" + attr_name + ")" : ""
+ end
# Special case to report unsupported item, if pi==nil
ctx.status = nil # reset status, just in case
@@ -277,7 +280,7 @@ class Matter_IM
self.attributedata2raw(a1_raw_or_list, ctx, res)
end
- if !no_log
+ if tasmota.loglevel(3) && !no_log
log(f"MTR: >Read_Attr ({session.local_session_id:6i}) {ctx}{attr_name} - {res_str}", 3)
end
elif ctx.status != nil
@@ -291,7 +294,7 @@ class Matter_IM
end
end
else
- if !no_log
+ if tasmota.loglevel(3) && !no_log
log(format("MTR: >Read_Attr (%6i) %s%s - IGNORED", session.local_session_id, str(ctx), attr_name), 3)
end
# ignore if content is nil and status is undefined
@@ -349,6 +352,7 @@ class Matter_IM
# structure is `ReadRequestMessage` 10.6.2 p.558
var ctx = matter.Path()
ctx.msg = msg
+ var node_id = (msg != nil) ? msg.get_node_id() : nil
# prepare the response
var ret = matter.ReportDataMessage()
@@ -366,11 +370,13 @@ class Matter_IM
# expand endpoint
if ctx.endpoint == nil || ctx.cluster == nil || ctx.attribute == nil
# we need expansion, log first
- if ctx.cluster != nil && ctx.attribute != nil
- var attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
- log(format("MTR: >Read_Attr (%6i) %s", session.local_session_id, str(ctx) + (attr_name ? " (" + attr_name + ")" : "")), 3)
- else
- log(format("MTR: >Read_Attr (%6i) %s", session.local_session_id, str(ctx)), 3)
+ if tasmota.loglevel(3)
+ if ctx.cluster != nil && ctx.attribute != nil
+ var attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
+ log(format("MTR: >Read_Attr (%6i) %s", session.local_session_id, str(ctx) + (attr_name ? " (" + attr_name + ")" : "")), 3)
+ else
+ log(format("MTR: >Read_Attr (%6i) %s", session.local_session_id, str(ctx)), 3)
+ end
end
end
@@ -381,8 +387,43 @@ class Matter_IM
)
end
- # log("MTR: ReportDataMessage=" + str(ret), 3)
- # log("MTR: ReportDataMessageTLV=" + str(ret.to_TLV()), 3)
+ # tasmota.log(f">>>: event_1")
+ var event_requests = query.event_requests
+ var event_filters = query.event_filters
+ var event_no_min = nil # do we have a filter for minimum event_no (int64 or nil)
+ if event_requests # if not `nil` and not empty list
+ # read event minimum
+ if event_filters
+ for filter: event_filters # filter is an instance of `EventFilterIB`
+ tasmota.log(f"MTR: EventFilter {filter=} {node_id=}", 3)
+ var filter_node = int64.toint64(filter.node) # nil or int64
+ if filter_node # there is a filter on node-id
+ if filter.node.tobytes() != node_id # the node id doesn't match
+ tasmota.log(f"MTR: node_id filter {filter_node.tobytes().tohex()} doesn't match {node_id.tohex()}")
+ continue
+ end
+ # specified minimum value
+ var new_event_no_min = int64.toint64(filter.event_min)
+ if (event_no_min != nil) || (event_no_min < new_event_no_min)
+ event_no_min = new_event_no_min
+ end
+ end
+ end
+ end
+ # event_no_min is either `nil` or has an `int64` value
+
+ ret.event_reports = []
+ for q: event_requests
+ # need to do expansion here
+ ctx.endpoint = q.endpoint
+ ctx.cluster = q.cluster
+ ctx.attribute = q.event
+ #TODO
+ tasmota.log(f"MTR: >Read_Event({session.local_session_id:%6i}) {ctx}", 3)
+ end
+ end
+ # tasmota.log("MTR: ReportDataMessage=" + str(ret), 3)
+ # tasmota.log("MTR: ReportDataMessageTLV=" + str(ret.to_TLV()), 3)
return ret
end
@@ -675,25 +716,24 @@ class Matter_IM
# process IM 0x02 Read Request
#
# val is the TLV structure
+ #
# returns `true` if processed, `false` if silently ignored,
# or raises an exception
def process_read_request(msg, val)
matter.profiler.log("read_request_start")
- # matter.profiler.log(str(val))
var query = matter.ReadRequestMessage().from_TLV(val)
- # matter.profiler.log(str(query))
if query.attributes_requests != nil
var ret = self._inner_process_read_request(msg.session, query, msg)
self.send_report_data(msg, ret)
end
-
- return true
+ return true # always consider succesful even if empty
end
#############################################################
- # process IM 0x02 Read Request
+ # process IM 0x02 Read Request - solo attribute
+ #
+ # ctx is the decoded context (cluster/attribute)
#
- # val is the TLV structure
# returns `true` if processed, `false` if silently ignored,
# or raises an exception
def process_read_request_solo(msg, ctx)
@@ -702,10 +742,8 @@ class Matter_IM
ctx.msg = msg
# find pi for this endpoint/cluster/attribute
- var pi = self.device.process_attribute_read_solo(ctx)
+ var pi = self.device.resolve_attribute_read_solo(ctx)
var res = nil
- # matter.profiler.log("read_request_solo pi ok")
- # log(f"MTR: process_read_request_solo {pi=}")
var raw # this is the bytes() block we need to add to response (or nil)
if pi != nil
@@ -717,7 +755,7 @@ class Matter_IM
if res != nil
# check if the payload is a complex structure and too long to fit in a single response packet
- if (res.is_list || res.is_array) && res.encode_len() > matter.IM_ReportData.MAX_MESSAGE
+ if (res.is_list || res.is_array) && (res.encode_len() > matter.IM_ReportData.MAX_MESSAGE)
# revert to standard
# the attribute will be read again, but it's hard to avoid it
res = nil # indicated to GC that we don't need it again
@@ -773,8 +811,11 @@ class Matter_IM
# postpone lengthy operations after sending back response
matter.profiler.log("RESPONSE SENT")
- var attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
- attr_name = attr_name ? " (" + attr_name + ")" : ""
+ var attr_name
+ if tasmota.loglevel(3)
+ attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
+ attr_name = attr_name ? " (" + attr_name + ")" : ""
+ end
if res != nil
if tasmota.loglevel(3)
@@ -799,8 +840,7 @@ class Matter_IM
end
end
- # matter.profiler.log("read_request_solo end")
- return true
+ return true # always consider succesful even if empty
end
#############################################################
@@ -827,11 +867,11 @@ class Matter_IM
ctx.attribute = q.attribute
attr_req.push(str(ctx))
end
- log(format("MTR: >Subscribe (%6i) %s (min=%i, max=%i, keep=%i) sub=%i fabric_filtered=%s",
- msg.session.local_session_id, attr_req.concat(" "), sub.min_interval, sub.max_interval, query.keep_subscriptions ? 1 : 0, sub.subscription_id, query.fabric_filtered), 3)
- if query.event_requests != nil && size(query.event_requests) > 0
- log(f"MTR: >Subscribe ({msg.session.local_session_id:6i}) event_requests_size={size(query.event_requests)}", 3)
- end
+ log(format("MTR: >Subscribe (%6i) %s (min=%i, max=%i, keep=%i) sub=%i fabric_filtered=%s attr_req=%s event_req=%s",
+ msg.session.local_session_id, attr_req.concat(" "), sub.min_interval, sub.max_interval, query.keep_subscriptions ? 1 : 0,
+ sub.subscription_id, query.fabric_filtered,
+ query.attributes_requests != nil ? size(query.attributes_requests) : "-",
+ query.event_requests != nil ? size(query.event_requests) : "-"), 3)
var ret = self._inner_process_read_request(msg.session, query, msg, !self.device.debug #-log only if debug enabled-#)
# ret is of type `Matter_ReportDataMessage`
@@ -1084,7 +1124,7 @@ class Matter_IM
end
# expand endpoint
- if ctx.endpoint == nil
+ if tasmota.loglevel(3) && (ctx.endpoint == nil)
# we need expansion, log first
var attr_name = matter.get_attribute_name(ctx.cluster, ctx.attribute)
log("MTR: Write_Attr " + str(ctx) + (attr_name ? " (" + attr_name + ")" : ""), 3)
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Message.be b/lib/libesp32/berry_matter/src/embedded/Matter_Message.be
index 5a45b779f..38653625a 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Message.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Message.be
@@ -444,6 +444,14 @@ class Matter_Frame
end
+ #############################################################
+ # compute the node_id for this message, via session and fabric
+ #
+ # returns bytes(8)
+ def get_node_id()
+ return self.session ? self.session.get_node_id() : nil
+ end
+
#############################################################
# Decode a message we are about to send, to ease debug
def debug(raw)
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_0.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_0.be
index 42e436513..9d54b769c 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_0.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_0.be
@@ -69,6 +69,7 @@ class Matter_Plugin
# 0x0033: 1, # Initial Release
# 0x0034: 1, # Initial Release
0x0038: 2, #
+ # 0x003B: 1, # Initial Release
# 0x003C: 1, # Initial Release
# 0x003E: 1, # Initial Release
0x003F: 2, # Clarify KeySetWrite validation and behavior on invalid epoch key lengths
@@ -180,7 +181,59 @@ class Matter_Plugin
end
#############################################################
- # get_clusters
+ # generate a new event
+ #
+ def publish_event(cluster, event, priority, data)
+ var event_ib = matter.EventDataIB()
+ var event_path = matter.EventPathIB()
+ event_path.endpoint = self.endpoint
+ event_path.cluster = cluster
+ event_path.event = event
+ event_ib.path = event_path
+ event_ib.priority = priority
+ event_ib.event_number = self.device.events.get_next_event_no()
+ event_ib.epoch_timestamp = tasmota.rtc('utc')
+ if (event_ib.epoch_timestamp < 1700000000) event_ib.epoch_timestamp = nil end # no valid time
+ event_ib.data = data
+ var priority_str = (priority == 2) ? "CRIT " : (priority == 1) ? "INFO " : "DEBUG "
+ log(f"MTR: +Add_Event ({priority_str}) [{event_path.endpoint:02X}]{event_path.cluster:04X}/{event_path.event:04X} ({event_ib.event_number:5i}) - {event_ib.data}", 2)
+ log(f"MTR: Publishing event {event_ib}", 4)
+
+ self.device.events.queue_event(event_ib)
+ end
+#- testing
+
+var root = matter_device.plugins[0]
+var tlv_solo = matter.TLV.Matter_TLV_item()
+tlv_solo.set(matter.TLV.U4, 42)
+root.publish_event(0x001D, 0, matter.EVENT_CRITICAL, tlv_solo)
+matter_device.events.dump()
+
+-#
+
+# elements are made of `Matter_EventDataIB`
+# var path #
+ # var node # u64 as bytes
+ # var endpoint # u16
+ # var cluster # u32
+ # var event # u32
+ # var is_urgent # bool
+# var event_number # u64 as bytes
+# var priority # u8
+# # one of
+# var epoch_timestamp # u64
+# var system_timestamp # u64
+# var delta_epoch_timestamp # u64
+# var delta_system_timestamp # u64
+# # data
+# var data # any TLV
+
+# EVENT_DEBUG=0
+# EVENT_INFO=1
+# EVENT_CRITICAL=2
+
+ #############################################################
+ # consolidate_clusters
#
# Build a consolidated map of all the `CLUSTERS` static vars
# from the inheritance hierarchy
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 c6abb638b..a01e7bcd2 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
@@ -47,9 +47,12 @@ class Matter_Plugin_Root : Matter_Plugin
#############################################################
# Constructor
- # def init(device, endpoint, config)
- # super(self).init(device, endpoint, config)
- # end
+ def init(device, endpoint, config)
+ super(self).init(device, endpoint, config)
+
+ self.publish_event(0x0028, 0x00, matter.EVENT_CRITICAL, matter.TLV.Matter_TLV_item().set(matter.TLV.U4, tasmota.version())) # Event StartUp - Software Version
+ self.publish_event(0x0033, 0x03, matter.EVENT_CRITICAL, matter.TLV.Matter_TLV_item().set(matter.TLV.U1, 1)) # Event BootReason - PowerOnReboot - TODO if we need to refine
+ end
#############################################################
# read an attribute
@@ -233,7 +236,7 @@ class Matter_Plugin_Root : Matter_Plugin
elif attribute == 0x0008 # ---------- HardwareVersionString / string ----------
return tlv_solo.set(TLV.UTF1, tasmota.cmd("Status 2", true)['StatusFWR']['Hardware'])
elif attribute == 0x0009 # ---------- SoftwareVersion / u32 ----------
- return tlv_solo.set(TLV.U2, 1)
+ return tlv_solo.set(TLV.U4, tasmota.version())
elif attribute == 0x000A # ---------- SoftwareVersionString / string ----------
var version_full = tasmota.cmd("Status 2", true)['StatusFWR']['Version']
var version_end = string.find(version_full, '(')
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_2_Sensor_GenericSwitch.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_2_Sensor_GenericSwitch.be
new file mode 100644
index 000000000..4b7a9300b
--- /dev/null
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_2_Sensor_GenericSwitch.be
@@ -0,0 +1,100 @@
+#
+# Matter_Plugin_Sensor_GenericSwitch.be - implements the behavior for a Generic Switch
+#
+# Copyright (C) 2023-2024 Stephan Hadinger & Theo Arends
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+
+# Matter plug-in for core behavior
+
+#@ solidify:Matter_Plugin_Sensor_GenericSwitch,weak
+
+class Matter_Plugin_Sensor_GenericSwitch : Matter_Plugin_Device
+ static var TYPE = "gensw" # name of the plug-in in json
+ static var DISPLAY_NAME = "Generic Switch" # display name of the plug-in
+ static var ARG = "switch" # additional argument name (or empty if none)
+ static var ARG_HINT = "Switch number"
+ static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
+ static var UPDATE_TIME = 750 # update every 750ms - TODO still necessary?
+ static var CLUSTERS = matter.consolidate_clusters(_class, {
+ # 0x001D: inherited # Descriptor Cluster 9.5 p.453
+ # 0x0039: [3,5,0x0A,0x0F,0x11,0x12], # Bridged Device Basic Information 9.13 p.485
+ # 0x0003: [0,1], # Identify 1.2 p.16
+ # 0x0004: [0], # Groups 1.3 p.21
+ # 0x0005: [0,1,2,3,4,5], # Scenes 1.4 p.30 - no writable
+ 0x003B: [0, 1, 2], # Switch 1.12
+ })
+ static var TYPES = { 0x000F: 2 } # Generic Switch, rev 2
+
+ var tasmota_switch_index # Switch number in Tasmota (one based)
+ var shadow_value
+
+ #############################################################
+ # parse_configuration
+ #
+ # Parse configuration map
+ def parse_configuration(config)
+ self.tasmota_switch_index = int(config.find(self.ARG #-'relay'-#, 1))
+ if self.tasmota_switch_index <= 0 self.tasmota_switch_index = 1 end
+ end
+
+ #############################################################
+ # Update shadow
+ #
+ def update_shadow()
+ super(self).update_shadow()
+ self.shadow_value = false
+ # TODO
+ end
+
+ #############################################################
+ # read an attribute
+ #
+ def read_attribute(session, ctx, tlv_solo)
+ var TLV = matter.TLV
+ var cluster = ctx.cluster
+ var attribute = ctx.attribute
+
+ # ====================================================================================================
+ if cluster == 0x003B # ========== Generic Switch, 1.12 ==========
+ # self.update_shadow_lazy()
+ if attribute == 0x0000 # ---------- NumberOfPositions / uint8 ----------
+ return tlv_solo.set(TLV.U1, 2) # default to 2 positions
+ elif attribute == 0x0001 # ---------- CurrentPosition / uint8 ----------
+ return tlv_solo.set(TLV.U1, 0) # TODO read value
+ elif attribute == 0x0002 # ---------- MultiPressMax / uint8 ----------
+ return tlv_solo.set(TLV.U1, 2) # up to double press
+
+ elif attribute == 0xFFFC # ---------- FeatureMap / map32 ----------
+ return tlv_solo.set(TLV.U4, 0x02 + 0x04 + 0x08) # MomentarySwitch + MomentarySwitchRelease + MomentarySwitchLongPress
+ end
+
+ end
+ return super(self).read_attribute(session, ctx, tlv_solo)
+ end
+
+ #############################################################
+ # append_state_json
+ #
+ # Output the current state in JSON
+ # New values need to be appended with `,"key":value` (including prefix comma)
+ #
+ # Override the default behavior to use the key `OnOff` instead of `Power`
+ def append_state_json()
+ return f',"Switch":{int(self.shadow_onoff)}'
+ end
+
+end
+matter.Plugin_Sensor_GenericSwitch = Matter_Plugin_Sensor_GenericSwitch
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Session.be b/lib/libesp32/berry_matter/src/embedded/Matter_Session.be
index db2d700e3..117c02eb6 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Session.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Session.be
@@ -260,6 +260,7 @@ class Matter_Session : Matter_Expirable
def get_fabric_label() return self._fabric ? self._fabric.fabric_label : nil end
def get_admin_subject() return self._fabric ? self._fabric.admin_subject : nil end
def get_admin_vendor() return self._fabric ? self._fabric.admin_vendor : nil end
+ def get_node_id() return self._fabric ? self._fabric.device_id : nil end
#############################################################
# Get operational key pair (private key)
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_zz_Device.be b/lib/libesp32/berry_matter/src/embedded/Matter_zz_Device.be
index 5f0c2fe04..7c3e44357 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_zz_Device.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_zz_Device.be
@@ -40,6 +40,8 @@ class Matter_Device
var sessions # `matter.Session_Store()` objet
var ui
var tick # increment at each tick, avoids to repeat too frequently some actions
+ # Events
+ var events # Event handler
# Commissioning open
var commissioning_open # timestamp for timeout of commissioning (millis()) or `nil` if closed
var commissioning_iterations # current PBKDF number of iterations
@@ -105,6 +107,7 @@ class Matter_Device
self.sessions = matter.Session_Store(self)
self.sessions.load_fabrics()
self.message_handler = matter.MessageHandler(self)
+ self.events = matter.EventHandler(self)
self.ui = matter.UI(self)
if tasmota.wifi()['up'] || tasmota.eth()['up']
@@ -561,7 +564,7 @@ class Matter_Device
# Optimized version for a single endpoint/cluster/attribute
#
# Retrieve the plugin for a read
- def process_attribute_read_solo(ctx)
+ def resolve_attribute_read_solo(ctx)
var endpoint = ctx.endpoint
# var endpoint_found = false # did any endpoint match
var cluster = ctx.cluster
@@ -768,11 +771,10 @@ class Matter_Device
# {'32': {'filter': 'AXP192#Temperature', 'type': 'temperature'}, '40': {'filter': 'BMP280#Pressure', 'type': 'pressure'}, '34': {'filter': 'SHT3X#Temperature', 'type': 'temperature'}, '33': {'filter': 'BMP280#Temperature', 'type': 'temperature'}, '1': {'relay': 0, 'type': 'relay'}, '56': {'filter': 'SHT3X#Humidity', 'type': 'humidity'}, '0': {'type': 'root'}}
def _instantiate_plugins_from_config(config)
var endpoints = self.k2l_num(config)
- # log("MTR: endpoints to be configured "+str(endpoints), 4)
- log("MTR: Configuring endpoints", 2)
# start with mandatory endpoint 0 for root node
self.plugins.push(matter.Plugin_Root(self, 0, {}))
+ log("MTR: Configuring endpoints", 2)
log(format("MTR: endpoint = %5i type:%s%s", 0, 'root', ''), 2)
# always include an aggregator for dynamic endpoints
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_EventHandler.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_EventHandler.h
new file mode 100644
index 000000000..e5659f35c
--- /dev/null
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_EventHandler.h
@@ -0,0 +1,492 @@
+/* Solidification of Matter_EventHandler.h */
+/********************************************************************\
+* Generated code, don't edit *
+\********************************************************************/
+#include "be_constobj.h"
+
+extern const bclass be_class_Matter_EventHandler;
+
+/********************************************************************
+** Solidified function: queue_event
+********************************************************************/
+extern const bclass be_class_Matter_EventHandler;
+be_local_closure(class_Matter_EventHandler_queue_event, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventHandler,
+ 1, /* has constants */
+ ( &(const bvalue[12]) { /* constants */
+ /* K0 */ be_nested_str_weak(matter),
+ /* K1 */ be_nested_str_weak(EventQueued),
+ /* K2 */ be_nested_str_weak(priority),
+ /* K3 */ be_nested_str_weak(queue_debug),
+ /* K4 */ be_nested_str_weak(push),
+ /* K5 */ be_nested_str_weak(EVENT_QUEUE_SIZE_MAX),
+ /* K6 */ be_nested_str_weak(pop),
+ /* K7 */ be_const_int(0),
+ /* K8 */ be_nested_str_weak(EVENT_DEBUG),
+ /* K9 */ be_nested_str_weak(queue_info),
+ /* K10 */ be_nested_str_weak(EVENT_INFO),
+ /* K11 */ be_nested_str_weak(queue_critical),
+ }),
+ be_str_weak(queue_event),
+ &be_const_str_solidified,
+ ( &(const binstruction[58]) { /* code */
+ 0xB80A0000, // 0000 GETNGBL R2 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x7C080400, // 0003 CALL R2 2
+ 0x880C0502, // 0004 GETMBR R3 R2 K2
+ 0x88100103, // 0005 GETMBR R4 R0 K3
+ 0x8C100904, // 0006 GETMET R4 R4 K4
+ 0x5C180400, // 0007 MOVE R6 R2
+ 0x7C100400, // 0008 CALL R4 2
+ 0x6010000C, // 0009 GETGBL R4 G12
+ 0x88140103, // 000A GETMBR R5 R0 K3
+ 0x7C100200, // 000B CALL R4 1
+ 0x88140105, // 000C GETMBR R5 R0 K5
+ 0x24100805, // 000D GT R4 R4 R5
+ 0x78120029, // 000E JMPF R4 #0039
+ 0x88100103, // 000F GETMBR R4 R0 K3
+ 0x8C100906, // 0010 GETMET R4 R4 K6
+ 0x58180007, // 0011 LDCONST R6 K7
+ 0x7C100400, // 0012 CALL R4 2
+ 0x88140902, // 0013 GETMBR R5 R4 K2
+ 0xB81A0000, // 0014 GETNGBL R6 K0
+ 0x88180D08, // 0015 GETMBR R6 R6 K8
+ 0x24140A06, // 0016 GT R5 R5 R6
+ 0x78160020, // 0017 JMPF R5 #0039
+ 0x88140109, // 0018 GETMBR R5 R0 K9
+ 0x8C140B04, // 0019 GETMET R5 R5 K4
+ 0x5C1C0800, // 001A MOVE R7 R4
+ 0x7C140400, // 001B CALL R5 2
+ 0x6014000C, // 001C GETGBL R5 G12
+ 0x88180109, // 001D GETMBR R6 R0 K9
+ 0x7C140200, // 001E CALL R5 1
+ 0x88180105, // 001F GETMBR R6 R0 K5
+ 0x24140A06, // 0020 GT R5 R5 R6
+ 0x78160016, // 0021 JMPF R5 #0039
+ 0x88140109, // 0022 GETMBR R5 R0 K9
+ 0x8C140B06, // 0023 GETMET R5 R5 K6
+ 0x581C0007, // 0024 LDCONST R7 K7
+ 0x7C140400, // 0025 CALL R5 2
+ 0x88180B02, // 0026 GETMBR R6 R5 K2
+ 0xB81E0000, // 0027 GETNGBL R7 K0
+ 0x881C0F0A, // 0028 GETMBR R7 R7 K10
+ 0x24180C07, // 0029 GT R6 R6 R7
+ 0x781A000D, // 002A JMPF R6 #0039
+ 0x8818010B, // 002B GETMBR R6 R0 K11
+ 0x8C180D04, // 002C GETMET R6 R6 K4
+ 0x5C200A00, // 002D MOVE R8 R5
+ 0x7C180400, // 002E CALL R6 2
+ 0x6018000C, // 002F GETGBL R6 G12
+ 0x881C010B, // 0030 GETMBR R7 R0 K11
+ 0x7C180200, // 0031 CALL R6 1
+ 0x881C0105, // 0032 GETMBR R7 R0 K5
+ 0x24180C07, // 0033 GT R6 R6 R7
+ 0x781A0003, // 0034 JMPF R6 #0039
+ 0x8818010B, // 0035 GETMBR R6 R0 K11
+ 0x8C180D06, // 0036 GETMET R6 R6 K6
+ 0x58200007, // 0037 LDCONST R8 K7
+ 0x7C180400, // 0038 CALL R6 2
+ 0x80000000, // 0039 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_EventHandler;
+be_local_closure(class_Matter_EventHandler_init, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventHandler,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(queue_debug),
+ /* K2 */ be_nested_str_weak(queue_info),
+ /* K3 */ be_nested_str_weak(queue_critical),
+ /* K4 */ be_nested_str_weak(load_event_no_persisted),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x60080012, // 0001 GETGBL R2 G18
+ 0x7C080000, // 0002 CALL R2 0
+ 0x90020202, // 0003 SETMBR R0 K1 R2
+ 0x60080012, // 0004 GETGBL R2 G18
+ 0x7C080000, // 0005 CALL R2 0
+ 0x90020402, // 0006 SETMBR R0 K2 R2
+ 0x60080012, // 0007 GETGBL R2 G18
+ 0x7C080000, // 0008 CALL R2 0
+ 0x90020602, // 0009 SETMBR R0 K3 R2
+ 0x8C080104, // 000A GETMET R2 R0 K4
+ 0x7C080200, // 000B CALL R2 1
+ 0x80000000, // 000C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_next_event_no
+********************************************************************/
+extern const bclass be_class_Matter_EventHandler;
+be_local_closure(class_Matter_EventHandler_get_next_event_no, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventHandler,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(counter_event_no),
+ /* K1 */ be_nested_str_weak(add),
+ /* K2 */ be_const_int(1),
+ /* K3 */ be_nested_str_weak(counter_event_no_persisted),
+ /* K4 */ be_nested_str_weak(load_event_no_persisted),
+ }),
+ be_str_weak(get_next_event_no),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x580C0002, // 0002 LDCONST R3 K2
+ 0x7C040400, // 0003 CALL R1 2
+ 0x90020001, // 0004 SETMBR R0 K0 R1
+ 0x88040100, // 0005 GETMBR R1 R0 K0
+ 0x88080103, // 0006 GETMBR R2 R0 K3
+ 0x28040202, // 0007 GE R1 R1 R2
+ 0x78060001, // 0008 JMPF R1 #000B
+ 0x8C040104, // 0009 GETMET R1 R0 K4
+ 0x7C040200, // 000A CALL R1 1
+ 0x88040100, // 000B GETMBR R1 R0 K0
+ 0x80040200, // 000C RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: dump
+********************************************************************/
+extern const bclass be_class_Matter_EventHandler;
+be_local_closure(class_Matter_EventHandler_dump, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventHandler,
+ 1, /* has constants */
+ ( &(const bvalue[12]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(log),
+ /* K2 */ be_nested_str_weak(MTR_X3A_X20Events_X20queues_X20sizes_X3A_X20critical_X20_X25s_X2C_X20info_X20_X25s_X2C_X20debug_X20_X25s),
+ /* K3 */ be_nested_str_weak(queue_critical),
+ /* K4 */ be_nested_str_weak(queue_info),
+ /* K5 */ be_nested_str_weak(queue_debug),
+ /* K6 */ be_const_int(2),
+ /* K7 */ be_const_int(0),
+ /* K8 */ be_nested_str_weak(priority),
+ /* K9 */ be_const_int(1),
+ /* K10 */ be_nested_str_weak(stop_iteration),
+ /* K11 */ be_nested_str_weak(MTR_X3A_X20Events_X20by_X20types_X3A_X20critical_X20_X25s_X2C_X20info_X20_X25s_X2C_X20debug_X20_X25s),
+ }),
+ be_str_weak(dump),
+ &be_const_str_solidified,
+ ( &(const binstruction[74]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x600C0018, // 0002 GETGBL R3 G24
+ 0x58100002, // 0003 LDCONST R4 K2
+ 0x6014000C, // 0004 GETGBL R5 G12
+ 0x88180103, // 0005 GETMBR R6 R0 K3
+ 0x7C140200, // 0006 CALL R5 1
+ 0x6018000C, // 0007 GETGBL R6 G12
+ 0x881C0104, // 0008 GETMBR R7 R0 K4
+ 0x7C180200, // 0009 CALL R6 1
+ 0x601C000C, // 000A GETGBL R7 G12
+ 0x88200105, // 000B GETMBR R8 R0 K5
+ 0x7C1C0200, // 000C CALL R7 1
+ 0x7C0C0800, // 000D CALL R3 4
+ 0x58100006, // 000E LDCONST R4 K6
+ 0x7C040600, // 000F CALL R1 3
+ 0x60040012, // 0010 GETGBL R1 G18
+ 0x7C040000, // 0011 CALL R1 0
+ 0x40080307, // 0012 CONNECT R2 R1 K7
+ 0x40080307, // 0013 CONNECT R2 R1 K7
+ 0x40080307, // 0014 CONNECT R2 R1 K7
+ 0x60080010, // 0015 GETGBL R2 G16
+ 0x880C0105, // 0016 GETMBR R3 R0 K5
+ 0x7C080200, // 0017 CALL R2 1
+ 0xA8020006, // 0018 EXBLK 0 #0020
+ 0x5C0C0400, // 0019 MOVE R3 R2
+ 0x7C0C0000, // 001A CALL R3 0
+ 0x88100708, // 001B GETMBR R4 R3 K8
+ 0x94140204, // 001C GETIDX R5 R1 R4
+ 0x00140B09, // 001D ADD R5 R5 K9
+ 0x98040805, // 001E SETIDX R1 R4 R5
+ 0x7001FFF8, // 001F JMP #0019
+ 0x5808000A, // 0020 LDCONST R2 K10
+ 0xAC080200, // 0021 CATCH R2 1 0
+ 0xB0080000, // 0022 RAISE 2 R0 R0
+ 0x60080010, // 0023 GETGBL R2 G16
+ 0x880C0104, // 0024 GETMBR R3 R0 K4
+ 0x7C080200, // 0025 CALL R2 1
+ 0xA8020006, // 0026 EXBLK 0 #002E
+ 0x5C0C0400, // 0027 MOVE R3 R2
+ 0x7C0C0000, // 0028 CALL R3 0
+ 0x88100708, // 0029 GETMBR R4 R3 K8
+ 0x94140204, // 002A GETIDX R5 R1 R4
+ 0x00140B09, // 002B ADD R5 R5 K9
+ 0x98040805, // 002C SETIDX R1 R4 R5
+ 0x7001FFF8, // 002D JMP #0027
+ 0x5808000A, // 002E LDCONST R2 K10
+ 0xAC080200, // 002F CATCH R2 1 0
+ 0xB0080000, // 0030 RAISE 2 R0 R0
+ 0x60080010, // 0031 GETGBL R2 G16
+ 0x880C0103, // 0032 GETMBR R3 R0 K3
+ 0x7C080200, // 0033 CALL R2 1
+ 0xA8020006, // 0034 EXBLK 0 #003C
+ 0x5C0C0400, // 0035 MOVE R3 R2
+ 0x7C0C0000, // 0036 CALL R3 0
+ 0x88100708, // 0037 GETMBR R4 R3 K8
+ 0x94140204, // 0038 GETIDX R5 R1 R4
+ 0x00140B09, // 0039 ADD R5 R5 K9
+ 0x98040805, // 003A SETIDX R1 R4 R5
+ 0x7001FFF8, // 003B JMP #0035
+ 0x5808000A, // 003C LDCONST R2 K10
+ 0xAC080200, // 003D CATCH R2 1 0
+ 0xB0080000, // 003E RAISE 2 R0 R0
+ 0xB80A0000, // 003F GETNGBL R2 K0
+ 0x8C080501, // 0040 GETMET R2 R2 K1
+ 0x60100018, // 0041 GETGBL R4 G24
+ 0x5814000B, // 0042 LDCONST R5 K11
+ 0x94180306, // 0043 GETIDX R6 R1 K6
+ 0x941C0309, // 0044 GETIDX R7 R1 K9
+ 0x94200307, // 0045 GETIDX R8 R1 K7
+ 0x7C100800, // 0046 CALL R4 4
+ 0x58140006, // 0047 LDCONST R5 K6
+ 0x7C080600, // 0048 CALL R2 3
+ 0x80000000, // 0049 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: load_event_no_persisted
+********************************************************************/
+extern const bclass be_class_Matter_EventHandler;
+be_local_closure(class_Matter_EventHandler_load_event_no_persisted, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventHandler,
+ 1, /* has constants */
+ ( &(const bvalue[13]) { /* constants */
+ /* K0 */ be_nested_str_weak(persist),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(EVENT_NO_FILENAME),
+ /* K3 */ be_nested_str_weak(0),
+ /* K4 */ be_nested_str_weak(counter_event_no),
+ /* K5 */ be_nested_str_weak(int64),
+ /* K6 */ be_nested_str_weak(fromstring),
+ /* K7 */ be_nested_str_weak(counter_event_no_persisted),
+ /* K8 */ be_nested_str_weak(add),
+ /* K9 */ be_nested_str_weak(EVENT_NO_INCR),
+ /* K10 */ be_nested_str_weak(setmember),
+ /* K11 */ be_nested_str_weak(tostring),
+ /* K12 */ be_nested_str_weak(save),
+ }),
+ be_str_weak(load_event_no_persisted),
+ &be_const_str_solidified,
+ ( &(const binstruction[26]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x60080008, // 0001 GETGBL R2 G8
+ 0x8C0C0301, // 0002 GETMET R3 R1 K1
+ 0x88140102, // 0003 GETMBR R5 R0 K2
+ 0x58180003, // 0004 LDCONST R6 K3
+ 0x7C0C0600, // 0005 CALL R3 3
+ 0x7C080200, // 0006 CALL R2 1
+ 0xB80E0A00, // 0007 GETNGBL R3 K5
+ 0x8C0C0706, // 0008 GETMET R3 R3 K6
+ 0x5C140400, // 0009 MOVE R5 R2
+ 0x7C0C0400, // 000A CALL R3 2
+ 0x90020803, // 000B SETMBR R0 K4 R3
+ 0x880C0104, // 000C GETMBR R3 R0 K4
+ 0x8C0C0708, // 000D GETMET R3 R3 K8
+ 0x88140109, // 000E GETMBR R5 R0 K9
+ 0x7C0C0400, // 000F CALL R3 2
+ 0x90020E03, // 0010 SETMBR R0 K7 R3
+ 0x8C0C030A, // 0011 GETMET R3 R1 K10
+ 0x88140102, // 0012 GETMBR R5 R0 K2
+ 0x88180107, // 0013 GETMBR R6 R0 K7
+ 0x8C180D0B, // 0014 GETMET R6 R6 K11
+ 0x7C180200, // 0015 CALL R6 1
+ 0x7C0C0600, // 0016 CALL R3 3
+ 0x8C0C030C, // 0017 GETMET R3 R1 K12
+ 0x7C0C0200, // 0018 CALL R3 1
+ 0x80000000, // 0019 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified class: Matter_EventHandler
+********************************************************************/
+be_local_class(Matter_EventHandler,
+ 6,
+ NULL,
+ be_nested_map(14,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_weak(EVENT_NO_INCR, -1), be_const_int(1000) },
+ { be_const_key_weak(queue_info, -1), be_const_var(1) },
+ { be_const_key_weak(queue_critical, 11), be_const_var(2) },
+ { be_const_key_weak(queue_event, -1), be_const_closure(class_Matter_EventHandler_queue_event_closure) },
+ { be_const_key_weak(counter_event_no_persisted, 6), be_const_var(5) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_EventHandler_init_closure) },
+ { be_const_key_weak(get_next_event_no, -1), be_const_closure(class_Matter_EventHandler_get_next_event_no_closure) },
+ { be_const_key_weak(dump, -1), be_const_closure(class_Matter_EventHandler_dump_closure) },
+ { be_const_key_weak(queue_debug, 10), be_const_var(0) },
+ { be_const_key_weak(EVENT_NO_FILENAME, -1), be_nested_str_weak(_matter_event_no) },
+ { be_const_key_weak(counter_event_no, -1), be_const_var(4) },
+ { be_const_key_weak(EVENT_QUEUE_SIZE_MAX, -1), be_const_int(10) },
+ { be_const_key_weak(load_event_no_persisted, -1), be_const_closure(class_Matter_EventHandler_load_event_no_persisted_closure) },
+ { be_const_key_weak(device, -1), be_const_var(3) },
+ })),
+ be_str_weak(Matter_EventHandler)
+);
+
+extern const bclass be_class_Matter_EventQueued;
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_EventQueued;
+be_local_closure(class_Matter_EventQueued_init, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_EventQueued,
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_nested_str_weak(endpoint),
+ /* K1 */ be_nested_str_weak(path),
+ /* K2 */ be_nested_str_weak(cluster),
+ /* K3 */ be_nested_str_weak(event_id),
+ /* K4 */ be_nested_str_weak(event),
+ /* K5 */ be_nested_str_weak(is_urgent),
+ /* K6 */ be_nested_str_weak(priority),
+ /* K7 */ be_const_int(0),
+ /* K8 */ be_nested_str_weak(matter),
+ /* K9 */ be_nested_str_weak(EVENT_CRITICAL),
+ /* K10 */ be_nested_str_weak(event_no),
+ /* K11 */ be_nested_str_weak(int64),
+ /* K12 */ be_nested_str_weak(toint64),
+ /* K13 */ be_nested_str_weak(event_number),
+ /* K14 */ be_nested_str_weak(raw_tlv),
+ /* K15 */ be_nested_str_weak(to_TLV),
+ /* K16 */ be_nested_str_weak(tlv2raw),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[37]) { /* code */
+ 0x88080301, // 0000 GETMBR R2 R1 K1
+ 0x88080500, // 0001 GETMBR R2 R2 K0
+ 0x90020002, // 0002 SETMBR R0 K0 R2
+ 0x88080301, // 0003 GETMBR R2 R1 K1
+ 0x88080502, // 0004 GETMBR R2 R2 K2
+ 0x90020402, // 0005 SETMBR R0 K2 R2
+ 0x88080301, // 0006 GETMBR R2 R1 K1
+ 0x88080504, // 0007 GETMBR R2 R2 K4
+ 0x90020602, // 0008 SETMBR R0 K3 R2
+ 0x88080301, // 0009 GETMBR R2 R1 K1
+ 0x88080505, // 000A GETMBR R2 R2 K5
+ 0x90020A02, // 000B SETMBR R0 K5 R2
+ 0x88080306, // 000C GETMBR R2 R1 K6
+ 0x90020C02, // 000D SETMBR R0 K6 R2
+ 0x88080106, // 000E GETMBR R2 R0 K6
+ 0x14080507, // 000F LT R2 R2 K7
+ 0x780A0000, // 0010 JMPF R2 #0012
+ 0x90020D07, // 0011 SETMBR R0 K6 K7
+ 0x88080106, // 0012 GETMBR R2 R0 K6
+ 0xB80E1000, // 0013 GETNGBL R3 K8
+ 0x880C0709, // 0014 GETMBR R3 R3 K9
+ 0x24080403, // 0015 GT R2 R2 R3
+ 0x780A0002, // 0016 JMPF R2 #001A
+ 0xB80A1000, // 0017 GETNGBL R2 K8
+ 0x88080509, // 0018 GETMBR R2 R2 K9
+ 0x90020C02, // 0019 SETMBR R0 K6 R2
+ 0xB80A1600, // 001A GETNGBL R2 K11
+ 0x8C08050C, // 001B GETMET R2 R2 K12
+ 0x8810030D, // 001C GETMBR R4 R1 K13
+ 0x7C080400, // 001D CALL R2 2
+ 0x90021402, // 001E SETMBR R0 K10 R2
+ 0x8C08030F, // 001F GETMET R2 R1 K15
+ 0x7C080200, // 0020 CALL R2 1
+ 0x8C080510, // 0021 GETMET R2 R2 K16
+ 0x7C080200, // 0022 CALL R2 1
+ 0x90021C02, // 0023 SETMBR R0 K14 R2
+ 0x80000000, // 0024 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified class: Matter_EventQueued
+********************************************************************/
+be_local_class(Matter_EventQueued,
+ 7,
+ NULL,
+ be_nested_map(8,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_weak(is_urgent, -1), be_const_var(3) },
+ { be_const_key_weak(priority, -1), be_const_var(4) },
+ { be_const_key_weak(endpoint, -1), be_const_var(0) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_EventQueued_init_closure) },
+ { be_const_key_weak(raw_tlv, 2), be_const_var(6) },
+ { be_const_key_weak(event_id, 6), be_const_var(2) },
+ { be_const_key_weak(cluster, -1), be_const_var(1) },
+ { be_const_key_weak(event_no, 0), be_const_var(5) },
+ })),
+ be_str_weak(Matter_EventQueued)
+);
+/********************************************************************/
+/* End of solidification */
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_IM.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_IM.h
index 1df1d46ab..52c50b066 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_IM.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_IM.h
@@ -1454,7 +1454,7 @@ be_local_closure(class_Matter_IM_process_write_request, /* name */
&be_class_Matter_IM,
}),
1, /* has constants */
- ( &(const bvalue[29]) { /* constants */
+ ( &(const bvalue[31]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
/* K1 */ be_nested_str_weak(WriteRequestMessage),
/* K2 */ be_nested_str_weak(from_TLV),
@@ -1474,20 +1474,22 @@ be_local_closure(class_Matter_IM_process_write_request, /* name */
/* K16 */ be_nested_str_weak(status),
/* K17 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
/* K18 */ be_nested_str_weak(INVALID_ACTION),
- /* K19 */ be_nested_str_weak(get_attribute_name),
- /* K20 */ be_nested_str_weak(log),
- /* K21 */ be_nested_str_weak(MTR_X3A_X20Write_Attr_X20),
- /* K22 */ be_nested_str_weak(_X20_X28),
- /* K23 */ be_nested_str_weak(_X29),
- /* K24 */ be_nested_str_weak(),
- /* K25 */ be_const_int(3),
- /* K26 */ be_nested_str_weak(process_attribute_expansion),
- /* K27 */ be_nested_str_weak(stop_iteration),
- /* K28 */ be_nested_str_weak(send_write_response),
+ /* K19 */ be_nested_str_weak(tasmota),
+ /* K20 */ be_nested_str_weak(loglevel),
+ /* K21 */ be_const_int(3),
+ /* K22 */ be_nested_str_weak(get_attribute_name),
+ /* K23 */ be_nested_str_weak(log),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20Write_Attr_X20),
+ /* K25 */ be_nested_str_weak(_X20_X28),
+ /* K26 */ be_nested_str_weak(_X29),
+ /* K27 */ be_nested_str_weak(),
+ /* K28 */ be_nested_str_weak(process_attribute_expansion),
+ /* K29 */ be_nested_str_weak(stop_iteration),
+ /* K30 */ be_nested_str_weak(send_write_response),
}),
be_str_weak(process_write_request),
&be_const_str_solidified,
- ( &(const binstruction[103]) { /* code */
+ ( &(const binstruction[108]) { /* code */
0xB80E0000, // 0000 GETNGBL R3 K0
0x8C0C0701, // 0001 GETMET R3 R3 K1
0x7C0C0200, // 0002 CALL R3 1
@@ -1506,7 +1508,7 @@ be_local_closure(class_Matter_IM_process_write_request, /* name */
0x88200708, // 000F GETMBR R8 R3 K8
0x4C240000, // 0010 LDNIL R9
0x20201009, // 0011 NE R8 R8 R9
- 0x78220050, // 0012 JMPF R8 #0064
+ 0x78220055, // 0012 JMPF R8 #0069
0xB8220000, // 0013 GETNGBL R8 K0
0x8C201109, // 0014 GETMET R8 R8 K9
0x7C200200, // 0015 CALL R8 1
@@ -1516,7 +1518,7 @@ be_local_closure(class_Matter_IM_process_write_request, /* name */
0x60240010, // 0019 GETGBL R9 G16
0x88280708, // 001A GETMBR R10 R3 K8
0x7C240200, // 001B CALL R9 1
- 0xA802003C, // 001C EXBLK 0 #005A
+ 0xA8020041, // 001C EXBLK 0 #005F
0x5C281200, // 001D MOVE R10 R9
0x7C280000, // 001E CALL R10 0
0x882C150B, // 001F GETMBR R11 R10 K11
@@ -1549,48 +1551,53 @@ be_local_closure(class_Matter_IM_process_write_request, /* name */
0x50480200, // 003A LDBOOL R18 1 0
0x7C340A00, // 003B CALL R13 5
0x7001FFDF, // 003C JMP #001D
- 0x88340F0D, // 003D GETMBR R13 R7 K13
- 0x4C380000, // 003E LDNIL R14
- 0x1C341A0E, // 003F EQ R13 R13 R14
- 0x78360011, // 0040 JMPF R13 #0053
- 0xB8360000, // 0041 GETNGBL R13 K0
- 0x8C341B13, // 0042 GETMET R13 R13 K19
- 0x883C0F0E, // 0043 GETMBR R15 R7 K14
- 0x88400F0F, // 0044 GETMBR R16 R7 K15
- 0x7C340600, // 0045 CALL R13 3
- 0xB83A2800, // 0046 GETNGBL R14 K20
- 0x603C0008, // 0047 GETGBL R15 G8
- 0x5C400E00, // 0048 MOVE R16 R7
- 0x7C3C0200, // 0049 CALL R15 1
- 0x003E2A0F, // 004A ADD R15 K21 R15
- 0x78360002, // 004B JMPF R13 #004F
- 0x00422C0D, // 004C ADD R16 K22 R13
- 0x00402117, // 004D ADD R16 R16 K23
- 0x70020000, // 004E JMP #0050
- 0x58400018, // 004F LDCONST R16 K24
- 0x003C1E10, // 0050 ADD R15 R15 R16
- 0x58400019, // 0051 LDCONST R16 K25
- 0x7C380400, // 0052 CALL R14 2
- 0x88340104, // 0053 GETMBR R13 R0 K4
- 0x8C341B1A, // 0054 GETMET R13 R13 K26
- 0x5C3C0E00, // 0055 MOVE R15 R7
- 0x84400001, // 0056 CLOSURE R16 P1
- 0x7C340600, // 0057 CALL R13 3
- 0xA0240000, // 0058 CLOSE R9
- 0x7001FFC2, // 0059 JMP #001D
- 0x5824001B, // 005A LDCONST R9 K27
- 0xAC240200, // 005B CATCH R9 1 0
- 0xB0080000, // 005C RAISE 2 R0 R0
- 0x5C240800, // 005D MOVE R9 R4
- 0x74260003, // 005E JMPT R9 #0063
- 0x8C24011C, // 005F GETMET R9 R0 K28
- 0x5C2C0200, // 0060 MOVE R11 R1
- 0x5C301000, // 0061 MOVE R12 R8
- 0x7C240600, // 0062 CALL R9 3
- 0xA0200000, // 0063 CLOSE R8
- 0x50200200, // 0064 LDBOOL R8 1 0
- 0xA0000000, // 0065 CLOSE R0
- 0x80041000, // 0066 RET 1 R8
+ 0xB8362600, // 003D GETNGBL R13 K19
+ 0x8C341B14, // 003E GETMET R13 R13 K20
+ 0x583C0015, // 003F LDCONST R15 K21
+ 0x7C340400, // 0040 CALL R13 2
+ 0x78360015, // 0041 JMPF R13 #0058
+ 0x88340F0D, // 0042 GETMBR R13 R7 K13
+ 0x4C380000, // 0043 LDNIL R14
+ 0x1C341A0E, // 0044 EQ R13 R13 R14
+ 0x78360011, // 0045 JMPF R13 #0058
+ 0xB8360000, // 0046 GETNGBL R13 K0
+ 0x8C341B16, // 0047 GETMET R13 R13 K22
+ 0x883C0F0E, // 0048 GETMBR R15 R7 K14
+ 0x88400F0F, // 0049 GETMBR R16 R7 K15
+ 0x7C340600, // 004A CALL R13 3
+ 0xB83A2E00, // 004B GETNGBL R14 K23
+ 0x603C0008, // 004C GETGBL R15 G8
+ 0x5C400E00, // 004D MOVE R16 R7
+ 0x7C3C0200, // 004E CALL R15 1
+ 0x003E300F, // 004F ADD R15 K24 R15
+ 0x78360002, // 0050 JMPF R13 #0054
+ 0x0042320D, // 0051 ADD R16 K25 R13
+ 0x0040211A, // 0052 ADD R16 R16 K26
+ 0x70020000, // 0053 JMP #0055
+ 0x5840001B, // 0054 LDCONST R16 K27
+ 0x003C1E10, // 0055 ADD R15 R15 R16
+ 0x58400015, // 0056 LDCONST R16 K21
+ 0x7C380400, // 0057 CALL R14 2
+ 0x88340104, // 0058 GETMBR R13 R0 K4
+ 0x8C341B1C, // 0059 GETMET R13 R13 K28
+ 0x5C3C0E00, // 005A MOVE R15 R7
+ 0x84400001, // 005B CLOSURE R16 P1
+ 0x7C340600, // 005C CALL R13 3
+ 0xA0240000, // 005D CLOSE R9
+ 0x7001FFBD, // 005E JMP #001D
+ 0x5824001D, // 005F LDCONST R9 K29
+ 0xAC240200, // 0060 CATCH R9 1 0
+ 0xB0080000, // 0061 RAISE 2 R0 R0
+ 0x5C240800, // 0062 MOVE R9 R4
+ 0x74260003, // 0063 JMPT R9 #0068
+ 0x8C24011E, // 0064 GETMET R9 R0 K30
+ 0x5C2C0200, // 0065 MOVE R11 R1
+ 0x5C301000, // 0066 MOVE R12 R8
+ 0x7C240600, // 0067 CALL R9 3
+ 0xA0200000, // 0068 CLOSE R8
+ 0x50200200, // 0069 LDBOOL R8 1 0
+ 0xA0000000, // 006A CLOSE R0
+ 0x80041000, // 006B RET 1 R8
})
)
);
@@ -2196,7 +2203,7 @@ be_local_closure(class_Matter_IM_send_status, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
be_nested_proto(
- 18, /* nstack */
+ 23, /* nstack */
5, /* argc */
2, /* varg */
0, /* has upvals */
@@ -2219,33 +2226,33 @@ be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
( &(const bvalue[35]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
/* K1 */ be_nested_str_weak(TLV),
- /* K2 */ be_nested_str_weak(get_attribute_name),
- /* K3 */ be_nested_str_weak(cluster),
- /* K4 */ be_nested_str_weak(attribute),
- /* K5 */ be_nested_str_weak(_X20_X28),
- /* K6 */ be_nested_str_weak(_X29),
- /* K7 */ be_nested_str_weak(),
- /* K8 */ be_nested_str_weak(status),
- /* K9 */ be_nested_str_weak(read_attribute),
- /* K10 */ be_nested_str_weak(tlv_solo),
- /* K11 */ be_nested_str_weak(to_str_val),
- /* K12 */ be_nested_str_weak(is_list),
- /* K13 */ be_nested_str_weak(is_array),
- /* K14 */ be_nested_str_weak(encode_len),
- /* K15 */ be_nested_str_weak(IM_ReportData),
- /* K16 */ be_nested_str_weak(MAX_MESSAGE),
- /* K17 */ be_nested_str_weak(Matter_TLV_array),
- /* K18 */ be_nested_str_weak(attributedata2raw),
- /* K19 */ be_nested_str_weak(push),
- /* K20 */ be_nested_str_weak(val),
- /* K21 */ be_nested_str_weak(stop_iteration),
- /* K22 */ be_nested_str_weak(log),
- /* K23 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s_X25s_X20_X2D_X20_X25s),
- /* K24 */ be_nested_str_weak(local_session_id),
- /* K25 */ be_const_int(3),
- /* K26 */ be_nested_str_weak(attributestatus2raw),
- /* K27 */ be_nested_str_weak(tasmota),
- /* K28 */ be_nested_str_weak(loglevel),
+ /* K2 */ be_nested_str_weak(tasmota),
+ /* K3 */ be_nested_str_weak(loglevel),
+ /* K4 */ be_const_int(3),
+ /* K5 */ be_nested_str_weak(get_attribute_name),
+ /* K6 */ be_nested_str_weak(cluster),
+ /* K7 */ be_nested_str_weak(attribute),
+ /* K8 */ be_nested_str_weak(_X20_X28),
+ /* K9 */ be_nested_str_weak(_X29),
+ /* K10 */ be_nested_str_weak(),
+ /* K11 */ be_nested_str_weak(status),
+ /* K12 */ be_nested_str_weak(read_attribute),
+ /* K13 */ be_nested_str_weak(tlv_solo),
+ /* K14 */ be_nested_str_weak(to_str_val),
+ /* K15 */ be_nested_str_weak(is_list),
+ /* K16 */ be_nested_str_weak(is_array),
+ /* K17 */ be_nested_str_weak(encode_len),
+ /* K18 */ be_nested_str_weak(IM_ReportData),
+ /* K19 */ be_nested_str_weak(MAX_MESSAGE),
+ /* K20 */ be_nested_str_weak(Matter_TLV_array),
+ /* K21 */ be_nested_str_weak(attributedata2raw),
+ /* K22 */ be_nested_str_weak(push),
+ /* K23 */ be_nested_str_weak(val),
+ /* K24 */ be_nested_str_weak(stop_iteration),
+ /* K25 */ be_nested_str_weak(log),
+ /* K26 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s_X25s_X20_X2D_X20_X25s),
+ /* K27 */ be_nested_str_weak(local_session_id),
+ /* K28 */ be_nested_str_weak(attributestatus2raw),
/* K29 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s_X25s_X20_X2D_X20STATUS_X3A_X200x_X2502X_X20_X25s),
/* K30 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
/* K31 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s_X25s_X20_X2D_X20IGNORED),
@@ -2255,242 +2262,259 @@ be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
}),
be_str_weak(read_single_attribute),
&be_const_str_solidified,
- ( &(const binstruction[235]) { /* code */
+ ( &(const binstruction[252]) { /* code */
0xB8120000, // 0000 GETNGBL R4 K0
0x88100901, // 0001 GETMBR R4 R4 K1
- 0xB8160000, // 0002 GETNGBL R5 K0
- 0x8C140B02, // 0003 GETMET R5 R5 K2
- 0x881C0503, // 0004 GETMBR R7 R2 K3
- 0x88200504, // 0005 GETMBR R8 R2 K4
- 0x7C140600, // 0006 CALL R5 3
- 0x78160002, // 0007 JMPF R5 #000B
- 0x001A0A05, // 0008 ADD R6 K5 R5
- 0x00180D06, // 0009 ADD R6 R6 K6
- 0x70020000, // 000A JMP #000C
- 0x58180007, // 000B LDCONST R6 K7
- 0x5C140C00, // 000C MOVE R5 R6
- 0x4C180000, // 000D LDNIL R6
- 0x900A1006, // 000E SETMBR R2 K8 R6
- 0x4C180000, // 000F LDNIL R6
- 0x20180206, // 0010 NE R6 R1 R6
- 0x781A0006, // 0011 JMPF R6 #0019
- 0x8C180309, // 0012 GETMET R6 R1 K9
- 0x68200000, // 0013 GETUPV R8 U0
- 0x5C240400, // 0014 MOVE R9 R2
- 0x68280001, // 0015 GETUPV R10 U1
- 0x8828150A, // 0016 GETMBR R10 R10 K10
- 0x7C180800, // 0017 CALL R6 4
- 0x70020000, // 0018 JMP #001A
- 0x4C180000, // 0019 LDNIL R6
- 0x501C0200, // 001A LDBOOL R7 1 0
- 0x4C200000, // 001B LDNIL R8
- 0x4C240000, // 001C LDNIL R9
- 0x20240C09, // 001D NE R9 R6 R9
- 0x78260053, // 001E JMPF R9 #0073
- 0x58240007, // 001F LDCONST R9 K7
- 0x68280002, // 0020 GETUPV R10 U2
- 0x742A0002, // 0021 JMPT R10 #0025
- 0x8C280D0B, // 0022 GETMET R10 R6 K11
- 0x7C280200, // 0023 CALL R10 1
- 0x5C241400, // 0024 MOVE R9 R10
- 0x88280D0C, // 0025 GETMBR R10 R6 K12
- 0x742A0001, // 0026 JMPT R10 #0029
- 0x88280D0D, // 0027 GETMBR R10 R6 K13
- 0x782A0031, // 0028 JMPF R10 #005B
+ 0x4C140000, // 0002 LDNIL R5
+ 0xB81A0400, // 0003 GETNGBL R6 K2
+ 0x8C180D03, // 0004 GETMET R6 R6 K3
+ 0x58200004, // 0005 LDCONST R8 K4
+ 0x7C180400, // 0006 CALL R6 2
+ 0x781A000B, // 0007 JMPF R6 #0014
+ 0xB81A0000, // 0008 GETNGBL R6 K0
+ 0x8C180D05, // 0009 GETMET R6 R6 K5
+ 0x88200506, // 000A GETMBR R8 R2 K6
+ 0x88240507, // 000B GETMBR R9 R2 K7
+ 0x7C180600, // 000C CALL R6 3
+ 0x5C140C00, // 000D MOVE R5 R6
+ 0x78160002, // 000E JMPF R5 #0012
+ 0x001A1005, // 000F ADD R6 K8 R5
+ 0x00180D09, // 0010 ADD R6 R6 K9
+ 0x70020000, // 0011 JMP #0013
+ 0x5818000A, // 0012 LDCONST R6 K10
+ 0x5C140C00, // 0013 MOVE R5 R6
+ 0x4C180000, // 0014 LDNIL R6
+ 0x900A1606, // 0015 SETMBR R2 K11 R6
+ 0x4C180000, // 0016 LDNIL R6
+ 0x20180206, // 0017 NE R6 R1 R6
+ 0x781A0006, // 0018 JMPF R6 #0020
+ 0x8C18030C, // 0019 GETMET R6 R1 K12
+ 0x68200000, // 001A GETUPV R8 U0
+ 0x5C240400, // 001B MOVE R9 R2
+ 0x68280001, // 001C GETUPV R10 U1
+ 0x8828150D, // 001D GETMBR R10 R10 K13
+ 0x7C180800, // 001E CALL R6 4
+ 0x70020000, // 001F JMP #0021
+ 0x4C180000, // 0020 LDNIL R6
+ 0x501C0200, // 0021 LDBOOL R7 1 0
+ 0x4C200000, // 0022 LDNIL R8
+ 0x4C240000, // 0023 LDNIL R9
+ 0x20240C09, // 0024 NE R9 R6 R9
+ 0x78260058, // 0025 JMPF R9 #007F
+ 0x5824000A, // 0026 LDCONST R9 K10
+ 0x68280002, // 0027 GETUPV R10 U2
+ 0x742A0002, // 0028 JMPT R10 #002C
0x8C280D0E, // 0029 GETMET R10 R6 K14
0x7C280200, // 002A CALL R10 1
- 0xB82E0000, // 002B GETNGBL R11 K0
- 0x882C170F, // 002C GETMBR R11 R11 K15
- 0x882C1710, // 002D GETMBR R11 R11 K16
- 0x2428140B, // 002E GT R10 R10 R11
- 0x782A002A, // 002F JMPF R10 #005B
- 0x60280012, // 0030 GETGBL R10 G18
- 0x7C280000, // 0031 CALL R10 0
- 0x5C201400, // 0032 MOVE R8 R10
- 0x60280015, // 0033 GETGBL R10 G21
- 0x542E002F, // 0034 LDINT R11 48
- 0x7C280200, // 0035 CALL R10 1
- 0x8C2C0911, // 0036 GETMET R11 R4 K17
- 0x7C2C0200, // 0037 CALL R11 1
- 0x68300001, // 0038 GETUPV R12 U1
- 0x8C301912, // 0039 GETMET R12 R12 K18
- 0x5C381400, // 003A MOVE R14 R10
- 0x5C3C0400, // 003B MOVE R15 R2
- 0x5C401600, // 003C MOVE R16 R11
- 0x50440000, // 003D LDBOOL R17 0 0
- 0x7C300A00, // 003E CALL R12 5
- 0x8C301113, // 003F GETMET R12 R8 K19
- 0x5C381400, // 0040 MOVE R14 R10
- 0x7C300400, // 0041 CALL R12 2
- 0x60300010, // 0042 GETGBL R12 G16
- 0x88340D14, // 0043 GETMBR R13 R6 K20
- 0x7C300200, // 0044 CALL R12 1
- 0xA8020010, // 0045 EXBLK 0 #0057
- 0x5C341800, // 0046 MOVE R13 R12
- 0x7C340000, // 0047 CALL R13 0
- 0x60380015, // 0048 GETGBL R14 G21
- 0x543E002F, // 0049 LDINT R15 48
- 0x7C380200, // 004A CALL R14 1
- 0x5C281C00, // 004B MOVE R10 R14
- 0x68380001, // 004C GETUPV R14 U1
- 0x8C381D12, // 004D GETMET R14 R14 K18
- 0x5C401400, // 004E MOVE R16 R10
- 0x5C440400, // 004F MOVE R17 R2
- 0x5C481A00, // 0050 MOVE R18 R13
- 0x504C0200, // 0051 LDBOOL R19 1 0
- 0x7C380A00, // 0052 CALL R14 5
- 0x8C381113, // 0053 GETMET R14 R8 K19
- 0x5C401400, // 0054 MOVE R16 R10
- 0x7C380400, // 0055 CALL R14 2
- 0x7001FFEE, // 0056 JMP #0046
- 0x58300015, // 0057 LDCONST R12 K21
- 0xAC300200, // 0058 CATCH R12 1 0
- 0xB0080000, // 0059 RAISE 2 R0 R0
- 0x70020009, // 005A JMP #0065
- 0x60280015, // 005B GETGBL R10 G21
- 0x542E002F, // 005C LDINT R11 48
- 0x7C280200, // 005D CALL R10 1
- 0x5C201400, // 005E MOVE R8 R10
- 0x68280001, // 005F GETUPV R10 U1
- 0x8C281512, // 0060 GETMET R10 R10 K18
- 0x5C301000, // 0061 MOVE R12 R8
- 0x5C340400, // 0062 MOVE R13 R2
- 0x5C380C00, // 0063 MOVE R14 R6
- 0x7C280800, // 0064 CALL R10 4
- 0x68280002, // 0065 GETUPV R10 U2
- 0x742A000A, // 0066 JMPT R10 #0072
- 0xB82A2C00, // 0067 GETNGBL R10 K22
- 0x602C0018, // 0068 GETGBL R11 G24
- 0x58300017, // 0069 LDCONST R12 K23
- 0x68340000, // 006A GETUPV R13 U0
- 0x88341B18, // 006B GETMBR R13 R13 K24
- 0x5C380400, // 006C MOVE R14 R2
- 0x5C3C0A00, // 006D MOVE R15 R5
- 0x5C401200, // 006E MOVE R16 R9
- 0x7C2C0A00, // 006F CALL R11 5
- 0x58300019, // 0070 LDCONST R12 K25
- 0x7C280400, // 0071 CALL R10 2
- 0x70020039, // 0072 JMP #00AD
- 0x88240508, // 0073 GETMBR R9 R2 K8
- 0x4C280000, // 0074 LDNIL R10
- 0x2024120A, // 0075 NE R9 R9 R10
- 0x78260025, // 0076 JMPF R9 #009D
- 0x780E0023, // 0077 JMPF R3 #009C
- 0x60240015, // 0078 GETGBL R9 G21
- 0x542A002F, // 0079 LDINT R10 48
- 0x7C240200, // 007A CALL R9 1
- 0x5C201200, // 007B MOVE R8 R9
- 0x68240001, // 007C GETUPV R9 U1
- 0x8C24131A, // 007D GETMET R9 R9 K26
- 0x5C2C1000, // 007E MOVE R11 R8
- 0x5C300400, // 007F MOVE R12 R2
- 0x88340508, // 0080 GETMBR R13 R2 K8
- 0x7C240800, // 0081 CALL R9 4
- 0xB8263600, // 0082 GETNGBL R9 K27
- 0x8C24131C, // 0083 GETMET R9 R9 K28
- 0x582C0019, // 0084 LDCONST R11 K25
- 0x7C240400, // 0085 CALL R9 2
- 0x78260014, // 0086 JMPF R9 #009C
- 0xB8262C00, // 0087 GETNGBL R9 K22
- 0x60280018, // 0088 GETGBL R10 G24
- 0x582C001D, // 0089 LDCONST R11 K29
- 0x68300000, // 008A GETUPV R12 U0
- 0x88301918, // 008B GETMBR R12 R12 K24
- 0x60340008, // 008C GETGBL R13 G8
- 0x5C380400, // 008D MOVE R14 R2
- 0x7C340200, // 008E CALL R13 1
- 0x5C380A00, // 008F MOVE R14 R5
- 0x883C0508, // 0090 GETMBR R15 R2 K8
- 0x88400508, // 0091 GETMBR R16 R2 K8
- 0xB8460000, // 0092 GETNGBL R17 K0
- 0x8844231E, // 0093 GETMBR R17 R17 K30
- 0x1C402011, // 0094 EQ R16 R16 R17
- 0x78420001, // 0095 JMPF R16 #0098
- 0x5840001E, // 0096 LDCONST R16 K30
- 0x70020000, // 0097 JMP #0099
- 0x58400007, // 0098 LDCONST R16 K7
- 0x7C280C00, // 0099 CALL R10 6
- 0x582C0019, // 009A LDCONST R11 K25
- 0x7C240400, // 009B CALL R9 2
- 0x7002000F, // 009C JMP #00AD
- 0x68240002, // 009D GETUPV R9 U2
- 0x7426000B, // 009E JMPT R9 #00AB
- 0xB8262C00, // 009F GETNGBL R9 K22
- 0x60280018, // 00A0 GETGBL R10 G24
- 0x582C001F, // 00A1 LDCONST R11 K31
- 0x68300000, // 00A2 GETUPV R12 U0
- 0x88301918, // 00A3 GETMBR R12 R12 K24
- 0x60340008, // 00A4 GETGBL R13 G8
- 0x5C380400, // 00A5 MOVE R14 R2
- 0x7C340200, // 00A6 CALL R13 1
- 0x5C380A00, // 00A7 MOVE R14 R5
- 0x7C280800, // 00A8 CALL R10 4
- 0x582C0019, // 00A9 LDCONST R11 K25
- 0x7C240400, // 00AA CALL R9 2
- 0x780E0000, // 00AB JMPF R3 #00AD
- 0x501C0000, // 00AC LDBOOL R7 0 0
- 0x6024000F, // 00AD GETGBL R9 G15
- 0x5C281000, // 00AE MOVE R10 R8
- 0x602C0012, // 00AF GETGBL R11 G18
- 0x7C240400, // 00B0 CALL R9 2
- 0x78260001, // 00B1 JMPF R9 #00B4
- 0x58240020, // 00B2 LDCONST R9 K32
- 0x70020000, // 00B3 JMP #00B5
- 0x4C240000, // 00B4 LDNIL R9
- 0x4C280000, // 00B5 LDNIL R10
- 0x2028100A, // 00B6 NE R10 R8 R10
- 0x782A0031, // 00B7 JMPF R10 #00EA
- 0x4C280000, // 00B8 LDNIL R10
- 0x1C28120A, // 00B9 EQ R10 R9 R10
- 0x782A0001, // 00BA JMPF R10 #00BD
- 0x5C281000, // 00BB MOVE R10 R8
- 0x70020000, // 00BC JMP #00BE
- 0x94281009, // 00BD GETIDX R10 R8 R9
- 0x602C000C, // 00BE GETGBL R11 G12
- 0x88300121, // 00BF GETMBR R12 R0 K33
- 0x7C2C0200, // 00C0 CALL R11 1
- 0x1C2C1720, // 00C1 EQ R11 R11 K32
- 0x782E0004, // 00C2 JMPF R11 #00C8
- 0x882C0121, // 00C3 GETMBR R11 R0 K33
- 0x8C2C1713, // 00C4 GETMET R11 R11 K19
- 0x5C341400, // 00C5 MOVE R13 R10
- 0x7C2C0400, // 00C6 CALL R11 2
- 0x70020014, // 00C7 JMP #00DD
- 0x882C0121, // 00C8 GETMBR R11 R0 K33
- 0x5431FFFE, // 00C9 LDINT R12 -1
- 0x942C160C, // 00CA GETIDX R11 R11 R12
- 0x6030000C, // 00CB GETGBL R12 G12
- 0x5C341600, // 00CC MOVE R13 R11
- 0x7C300200, // 00CD CALL R12 1
- 0x6034000C, // 00CE GETGBL R13 G12
- 0x5C381400, // 00CF MOVE R14 R10
- 0x7C340200, // 00D0 CALL R13 1
- 0x0030180D, // 00D1 ADD R12 R12 R13
- 0xB8360000, // 00D2 GETNGBL R13 K0
- 0x88341B0F, // 00D3 GETMBR R13 R13 K15
- 0x88341B10, // 00D4 GETMBR R13 R13 K16
- 0x1830180D, // 00D5 LE R12 R12 R13
- 0x78320001, // 00D6 JMPF R12 #00D9
- 0x4030160A, // 00D7 CONNECT R12 R11 R10
- 0x70020003, // 00D8 JMP #00DD
- 0x88300121, // 00D9 GETMBR R12 R0 K33
- 0x8C301913, // 00DA GETMET R12 R12 K19
- 0x5C381400, // 00DB MOVE R14 R10
- 0x7C300400, // 00DC CALL R12 2
- 0x4C2C0000, // 00DD LDNIL R11
- 0x1C2C120B, // 00DE EQ R11 R9 R11
- 0x782E0001, // 00DF JMPF R11 #00E2
- 0x4C200000, // 00E0 LDNIL R8
- 0x70020006, // 00E1 JMP #00E9
- 0x00241322, // 00E2 ADD R9 R9 K34
- 0x602C000C, // 00E3 GETGBL R11 G12
- 0x5C301000, // 00E4 MOVE R12 R8
- 0x7C2C0200, // 00E5 CALL R11 1
- 0x282C120B, // 00E6 GE R11 R9 R11
- 0x782E0000, // 00E7 JMPF R11 #00E9
- 0x4C200000, // 00E8 LDNIL R8
- 0x7001FFCA, // 00E9 JMP #00B5
- 0x80040E00, // 00EA RET 1 R7
+ 0x5C241400, // 002B MOVE R9 R10
+ 0x88280D0F, // 002C GETMBR R10 R6 K15
+ 0x742A0001, // 002D JMPT R10 #0030
+ 0x88280D10, // 002E GETMBR R10 R6 K16
+ 0x782A0031, // 002F JMPF R10 #0062
+ 0x8C280D11, // 0030 GETMET R10 R6 K17
+ 0x7C280200, // 0031 CALL R10 1
+ 0xB82E0000, // 0032 GETNGBL R11 K0
+ 0x882C1712, // 0033 GETMBR R11 R11 K18
+ 0x882C1713, // 0034 GETMBR R11 R11 K19
+ 0x2428140B, // 0035 GT R10 R10 R11
+ 0x782A002A, // 0036 JMPF R10 #0062
+ 0x60280012, // 0037 GETGBL R10 G18
+ 0x7C280000, // 0038 CALL R10 0
+ 0x5C201400, // 0039 MOVE R8 R10
+ 0x60280015, // 003A GETGBL R10 G21
+ 0x542E002F, // 003B LDINT R11 48
+ 0x7C280200, // 003C CALL R10 1
+ 0x8C2C0914, // 003D GETMET R11 R4 K20
+ 0x7C2C0200, // 003E CALL R11 1
+ 0x68300001, // 003F GETUPV R12 U1
+ 0x8C301915, // 0040 GETMET R12 R12 K21
+ 0x5C381400, // 0041 MOVE R14 R10
+ 0x5C3C0400, // 0042 MOVE R15 R2
+ 0x5C401600, // 0043 MOVE R16 R11
+ 0x50440000, // 0044 LDBOOL R17 0 0
+ 0x7C300A00, // 0045 CALL R12 5
+ 0x8C301116, // 0046 GETMET R12 R8 K22
+ 0x5C381400, // 0047 MOVE R14 R10
+ 0x7C300400, // 0048 CALL R12 2
+ 0x60300010, // 0049 GETGBL R12 G16
+ 0x88340D17, // 004A GETMBR R13 R6 K23
+ 0x7C300200, // 004B CALL R12 1
+ 0xA8020010, // 004C EXBLK 0 #005E
+ 0x5C341800, // 004D MOVE R13 R12
+ 0x7C340000, // 004E CALL R13 0
+ 0x60380015, // 004F GETGBL R14 G21
+ 0x543E002F, // 0050 LDINT R15 48
+ 0x7C380200, // 0051 CALL R14 1
+ 0x5C281C00, // 0052 MOVE R10 R14
+ 0x68380001, // 0053 GETUPV R14 U1
+ 0x8C381D15, // 0054 GETMET R14 R14 K21
+ 0x5C401400, // 0055 MOVE R16 R10
+ 0x5C440400, // 0056 MOVE R17 R2
+ 0x5C481A00, // 0057 MOVE R18 R13
+ 0x504C0200, // 0058 LDBOOL R19 1 0
+ 0x7C380A00, // 0059 CALL R14 5
+ 0x8C381116, // 005A GETMET R14 R8 K22
+ 0x5C401400, // 005B MOVE R16 R10
+ 0x7C380400, // 005C CALL R14 2
+ 0x7001FFEE, // 005D JMP #004D
+ 0x58300018, // 005E LDCONST R12 K24
+ 0xAC300200, // 005F CATCH R12 1 0
+ 0xB0080000, // 0060 RAISE 2 R0 R0
+ 0x70020009, // 0061 JMP #006C
+ 0x60280015, // 0062 GETGBL R10 G21
+ 0x542E002F, // 0063 LDINT R11 48
+ 0x7C280200, // 0064 CALL R10 1
+ 0x5C201400, // 0065 MOVE R8 R10
+ 0x68280001, // 0066 GETUPV R10 U1
+ 0x8C281515, // 0067 GETMET R10 R10 K21
+ 0x5C301000, // 0068 MOVE R12 R8
+ 0x5C340400, // 0069 MOVE R13 R2
+ 0x5C380C00, // 006A MOVE R14 R6
+ 0x7C280800, // 006B CALL R10 4
+ 0xB82A0400, // 006C GETNGBL R10 K2
+ 0x8C281503, // 006D GETMET R10 R10 K3
+ 0x58300004, // 006E LDCONST R12 K4
+ 0x7C280400, // 006F CALL R10 2
+ 0x782A000C, // 0070 JMPF R10 #007E
+ 0x68280002, // 0071 GETUPV R10 U2
+ 0x742A000A, // 0072 JMPT R10 #007E
+ 0xB82A3200, // 0073 GETNGBL R10 K25
+ 0x602C0018, // 0074 GETGBL R11 G24
+ 0x5830001A, // 0075 LDCONST R12 K26
+ 0x68340000, // 0076 GETUPV R13 U0
+ 0x88341B1B, // 0077 GETMBR R13 R13 K27
+ 0x5C380400, // 0078 MOVE R14 R2
+ 0x5C3C0A00, // 0079 MOVE R15 R5
+ 0x5C401200, // 007A MOVE R16 R9
+ 0x7C2C0A00, // 007B CALL R11 5
+ 0x58300004, // 007C LDCONST R12 K4
+ 0x7C280400, // 007D CALL R10 2
+ 0x7002003E, // 007E JMP #00BE
+ 0x8824050B, // 007F GETMBR R9 R2 K11
+ 0x4C280000, // 0080 LDNIL R10
+ 0x2024120A, // 0081 NE R9 R9 R10
+ 0x78260025, // 0082 JMPF R9 #00A9
+ 0x780E0023, // 0083 JMPF R3 #00A8
+ 0x60240015, // 0084 GETGBL R9 G21
+ 0x542A002F, // 0085 LDINT R10 48
+ 0x7C240200, // 0086 CALL R9 1
+ 0x5C201200, // 0087 MOVE R8 R9
+ 0x68240001, // 0088 GETUPV R9 U1
+ 0x8C24131C, // 0089 GETMET R9 R9 K28
+ 0x5C2C1000, // 008A MOVE R11 R8
+ 0x5C300400, // 008B MOVE R12 R2
+ 0x8834050B, // 008C GETMBR R13 R2 K11
+ 0x7C240800, // 008D CALL R9 4
+ 0xB8260400, // 008E GETNGBL R9 K2
+ 0x8C241303, // 008F GETMET R9 R9 K3
+ 0x582C0004, // 0090 LDCONST R11 K4
+ 0x7C240400, // 0091 CALL R9 2
+ 0x78260014, // 0092 JMPF R9 #00A8
+ 0xB8263200, // 0093 GETNGBL R9 K25
+ 0x60280018, // 0094 GETGBL R10 G24
+ 0x582C001D, // 0095 LDCONST R11 K29
+ 0x68300000, // 0096 GETUPV R12 U0
+ 0x8830191B, // 0097 GETMBR R12 R12 K27
+ 0x60340008, // 0098 GETGBL R13 G8
+ 0x5C380400, // 0099 MOVE R14 R2
+ 0x7C340200, // 009A CALL R13 1
+ 0x5C380A00, // 009B MOVE R14 R5
+ 0x883C050B, // 009C GETMBR R15 R2 K11
+ 0x8840050B, // 009D GETMBR R16 R2 K11
+ 0xB8460000, // 009E GETNGBL R17 K0
+ 0x8844231E, // 009F GETMBR R17 R17 K30
+ 0x1C402011, // 00A0 EQ R16 R16 R17
+ 0x78420001, // 00A1 JMPF R16 #00A4
+ 0x5840001E, // 00A2 LDCONST R16 K30
+ 0x70020000, // 00A3 JMP #00A5
+ 0x5840000A, // 00A4 LDCONST R16 K10
+ 0x7C280C00, // 00A5 CALL R10 6
+ 0x582C0004, // 00A6 LDCONST R11 K4
+ 0x7C240400, // 00A7 CALL R9 2
+ 0x70020014, // 00A8 JMP #00BE
+ 0xB8260400, // 00A9 GETNGBL R9 K2
+ 0x8C241303, // 00AA GETMET R9 R9 K3
+ 0x582C0004, // 00AB LDCONST R11 K4
+ 0x7C240400, // 00AC CALL R9 2
+ 0x7826000D, // 00AD JMPF R9 #00BC
+ 0x68240002, // 00AE GETUPV R9 U2
+ 0x7426000B, // 00AF JMPT R9 #00BC
+ 0xB8263200, // 00B0 GETNGBL R9 K25
+ 0x60280018, // 00B1 GETGBL R10 G24
+ 0x582C001F, // 00B2 LDCONST R11 K31
+ 0x68300000, // 00B3 GETUPV R12 U0
+ 0x8830191B, // 00B4 GETMBR R12 R12 K27
+ 0x60340008, // 00B5 GETGBL R13 G8
+ 0x5C380400, // 00B6 MOVE R14 R2
+ 0x7C340200, // 00B7 CALL R13 1
+ 0x5C380A00, // 00B8 MOVE R14 R5
+ 0x7C280800, // 00B9 CALL R10 4
+ 0x582C0004, // 00BA LDCONST R11 K4
+ 0x7C240400, // 00BB CALL R9 2
+ 0x780E0000, // 00BC JMPF R3 #00BE
+ 0x501C0000, // 00BD LDBOOL R7 0 0
+ 0x6024000F, // 00BE GETGBL R9 G15
+ 0x5C281000, // 00BF MOVE R10 R8
+ 0x602C0012, // 00C0 GETGBL R11 G18
+ 0x7C240400, // 00C1 CALL R9 2
+ 0x78260001, // 00C2 JMPF R9 #00C5
+ 0x58240020, // 00C3 LDCONST R9 K32
+ 0x70020000, // 00C4 JMP #00C6
+ 0x4C240000, // 00C5 LDNIL R9
+ 0x4C280000, // 00C6 LDNIL R10
+ 0x2028100A, // 00C7 NE R10 R8 R10
+ 0x782A0031, // 00C8 JMPF R10 #00FB
+ 0x4C280000, // 00C9 LDNIL R10
+ 0x1C28120A, // 00CA EQ R10 R9 R10
+ 0x782A0001, // 00CB JMPF R10 #00CE
+ 0x5C281000, // 00CC MOVE R10 R8
+ 0x70020000, // 00CD JMP #00CF
+ 0x94281009, // 00CE GETIDX R10 R8 R9
+ 0x602C000C, // 00CF GETGBL R11 G12
+ 0x88300121, // 00D0 GETMBR R12 R0 K33
+ 0x7C2C0200, // 00D1 CALL R11 1
+ 0x1C2C1720, // 00D2 EQ R11 R11 K32
+ 0x782E0004, // 00D3 JMPF R11 #00D9
+ 0x882C0121, // 00D4 GETMBR R11 R0 K33
+ 0x8C2C1716, // 00D5 GETMET R11 R11 K22
+ 0x5C341400, // 00D6 MOVE R13 R10
+ 0x7C2C0400, // 00D7 CALL R11 2
+ 0x70020014, // 00D8 JMP #00EE
+ 0x882C0121, // 00D9 GETMBR R11 R0 K33
+ 0x5431FFFE, // 00DA LDINT R12 -1
+ 0x942C160C, // 00DB GETIDX R11 R11 R12
+ 0x6030000C, // 00DC GETGBL R12 G12
+ 0x5C341600, // 00DD MOVE R13 R11
+ 0x7C300200, // 00DE CALL R12 1
+ 0x6034000C, // 00DF GETGBL R13 G12
+ 0x5C381400, // 00E0 MOVE R14 R10
+ 0x7C340200, // 00E1 CALL R13 1
+ 0x0030180D, // 00E2 ADD R12 R12 R13
+ 0xB8360000, // 00E3 GETNGBL R13 K0
+ 0x88341B12, // 00E4 GETMBR R13 R13 K18
+ 0x88341B13, // 00E5 GETMBR R13 R13 K19
+ 0x1830180D, // 00E6 LE R12 R12 R13
+ 0x78320001, // 00E7 JMPF R12 #00EA
+ 0x4030160A, // 00E8 CONNECT R12 R11 R10
+ 0x70020003, // 00E9 JMP #00EE
+ 0x88300121, // 00EA GETMBR R12 R0 K33
+ 0x8C301916, // 00EB GETMET R12 R12 K22
+ 0x5C381400, // 00EC MOVE R14 R10
+ 0x7C300400, // 00ED CALL R12 2
+ 0x4C2C0000, // 00EE LDNIL R11
+ 0x1C2C120B, // 00EF EQ R11 R9 R11
+ 0x782E0001, // 00F0 JMPF R11 #00F3
+ 0x4C200000, // 00F1 LDNIL R8
+ 0x70020006, // 00F2 JMP #00FA
+ 0x00241322, // 00F3 ADD R9 R9 K34
+ 0x602C000C, // 00F4 GETGBL R11 G12
+ 0x5C301000, // 00F5 MOVE R12 R8
+ 0x7C2C0200, // 00F6 CALL R11 1
+ 0x282C120B, // 00F7 GE R11 R9 R11
+ 0x782E0000, // 00F8 JMPF R11 #00FA
+ 0x4C200000, // 00F9 LDNIL R8
+ 0x7001FFCA, // 00FA JMP #00C6
+ 0x80040E00, // 00FB RET 1 R7
})
),
be_nested_proto(
@@ -2500,7 +2524,7 @@ be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
1, /* has upvals */
( &(const bupvaldesc[ 2]) { /* upvals */
be_local_const_upval(1, 5),
- be_local_const_upval(1, 8),
+ be_local_const_upval(1, 9),
}),
0, /* has sup protos */
NULL,
@@ -2521,35 +2545,51 @@ be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
&be_class_Matter_IM,
}),
1, /* has constants */
- ( &(const bvalue[24]) { /* constants */
+ ( &(const bvalue[40]) { /* constants */
/* K0 */ be_nested_str_weak(device),
/* K1 */ be_nested_str_weak(get_active_endpoints),
/* K2 */ be_nested_str_weak(matter),
/* K3 */ be_nested_str_weak(Path),
/* K4 */ be_nested_str_weak(msg),
- /* K5 */ be_nested_str_weak(ReportDataMessage),
- /* K6 */ be_nested_str_weak(attribute_reports),
- /* K7 */ be_nested_str_weak(attributes_requests),
- /* K8 */ be_nested_str_weak(endpoint),
- /* K9 */ be_nested_str_weak(cluster),
- /* K10 */ be_nested_str_weak(attribute),
- /* K11 */ be_nested_str_weak(fabric_filtered),
- /* K12 */ be_nested_str_weak(status),
- /* K13 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
- /* K14 */ be_nested_str_weak(get_attribute_name),
- /* K15 */ be_nested_str_weak(log),
- /* K16 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s),
- /* K17 */ be_nested_str_weak(local_session_id),
- /* K18 */ be_nested_str_weak(_X20_X28),
- /* K19 */ be_nested_str_weak(_X29),
- /* K20 */ be_nested_str_weak(),
- /* K21 */ be_const_int(3),
- /* K22 */ be_nested_str_weak(process_attribute_expansion),
- /* K23 */ be_nested_str_weak(stop_iteration),
+ /* K5 */ be_nested_str_weak(get_node_id),
+ /* K6 */ be_nested_str_weak(ReportDataMessage),
+ /* K7 */ be_nested_str_weak(attribute_reports),
+ /* K8 */ be_nested_str_weak(attributes_requests),
+ /* K9 */ be_nested_str_weak(endpoint),
+ /* K10 */ be_nested_str_weak(cluster),
+ /* K11 */ be_nested_str_weak(attribute),
+ /* K12 */ be_nested_str_weak(fabric_filtered),
+ /* K13 */ be_nested_str_weak(status),
+ /* K14 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
+ /* K15 */ be_nested_str_weak(tasmota),
+ /* K16 */ be_nested_str_weak(loglevel),
+ /* K17 */ be_const_int(3),
+ /* K18 */ be_nested_str_weak(get_attribute_name),
+ /* K19 */ be_nested_str_weak(log),
+ /* K20 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Attr_X20_X28_X256i_X29_X20_X25s),
+ /* K21 */ be_nested_str_weak(local_session_id),
+ /* K22 */ be_nested_str_weak(_X20_X28),
+ /* K23 */ be_nested_str_weak(_X29),
+ /* K24 */ be_nested_str_weak(),
+ /* K25 */ be_nested_str_weak(process_attribute_expansion),
+ /* K26 */ be_nested_str_weak(stop_iteration),
+ /* K27 */ be_nested_str_weak(event_requests),
+ /* K28 */ be_nested_str_weak(event_filters),
+ /* K29 */ be_nested_str_weak(MTR_X3A_X20EventFilter_X20filter_X3D_X25s_X20node_id_X3D_X25s),
+ /* K30 */ be_nested_str_weak(int64),
+ /* K31 */ be_nested_str_weak(toint64),
+ /* K32 */ be_nested_str_weak(node),
+ /* K33 */ be_nested_str_weak(tobytes),
+ /* K34 */ be_nested_str_weak(MTR_X3A_X20node_id_X20filter_X20_X25s_X20doesn_X27t_X20match_X20_X25s),
+ /* K35 */ be_nested_str_weak(tohex),
+ /* K36 */ be_nested_str_weak(event_min),
+ /* K37 */ be_nested_str_weak(event_reports),
+ /* K38 */ be_nested_str_weak(event),
+ /* K39 */ be_nested_str_weak(MTR_X3A_X20_X3ERead_Event_X28_X256i_X29_X20_X25s),
}),
be_str_weak(_inner_process_read_request),
&be_const_str_solidified,
- ( &(const binstruction[94]) { /* code */
+ ( &(const binstruction[191]) { /* code */
0x84140000, // 0000 CLOSURE R5 P0
0x88180100, // 0001 GETMBR R6 R0 K0
0x8C180D01, // 0002 GETMET R6 R6 K1
@@ -2558,92 +2598,189 @@ be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
0x8C1C0F03, // 0005 GETMET R7 R7 K3
0x7C1C0200, // 0006 CALL R7 1
0x901E0803, // 0007 SETMBR R7 K4 R3
- 0xB8220400, // 0008 GETNGBL R8 K2
- 0x8C201105, // 0009 GETMET R8 R8 K5
- 0x7C200200, // 000A CALL R8 1
- 0x60240012, // 000B GETGBL R9 G18
- 0x7C240000, // 000C CALL R9 0
- 0x90220C09, // 000D SETMBR R8 K6 R9
- 0x60240010, // 000E GETGBL R9 G16
- 0x88280507, // 000F GETMBR R10 R2 K7
- 0x7C240200, // 0010 CALL R9 1
- 0xA8020046, // 0011 EXBLK 0 #0059
- 0x5C281200, // 0012 MOVE R10 R9
+ 0x4C200000, // 0008 LDNIL R8
+ 0x20200608, // 0009 NE R8 R3 R8
+ 0x78220002, // 000A JMPF R8 #000E
+ 0x8C200705, // 000B GETMET R8 R3 K5
+ 0x7C200200, // 000C CALL R8 1
+ 0x70020000, // 000D JMP #000F
+ 0x4C200000, // 000E LDNIL R8
+ 0xB8260400, // 000F GETNGBL R9 K2
+ 0x8C241306, // 0010 GETMET R9 R9 K6
+ 0x7C240200, // 0011 CALL R9 1
+ 0x60280012, // 0012 GETGBL R10 G18
0x7C280000, // 0013 CALL R10 0
- 0x882C1508, // 0014 GETMBR R11 R10 K8
- 0x901E100B, // 0015 SETMBR R7 K8 R11
- 0x882C1509, // 0016 GETMBR R11 R10 K9
- 0x901E120B, // 0017 SETMBR R7 K9 R11
- 0x882C150A, // 0018 GETMBR R11 R10 K10
- 0x901E140B, // 0019 SETMBR R7 K10 R11
- 0x882C050B, // 001A GETMBR R11 R2 K11
- 0x901E160B, // 001B SETMBR R7 K11 R11
- 0xB82E0400, // 001C GETNGBL R11 K2
- 0x882C170D, // 001D GETMBR R11 R11 K13
- 0x901E180B, // 001E SETMBR R7 K12 R11
- 0x882C0F08, // 001F GETMBR R11 R7 K8
- 0x4C300000, // 0020 LDNIL R12
- 0x1C2C160C, // 0021 EQ R11 R11 R12
- 0x742E0007, // 0022 JMPT R11 #002B
- 0x882C0F09, // 0023 GETMBR R11 R7 K9
- 0x4C300000, // 0024 LDNIL R12
- 0x1C2C160C, // 0025 EQ R11 R11 R12
- 0x742E0003, // 0026 JMPT R11 #002B
- 0x882C0F0A, // 0027 GETMBR R11 R7 K10
- 0x4C300000, // 0028 LDNIL R12
- 0x1C2C160C, // 0029 EQ R11 R11 R12
- 0x782E0027, // 002A JMPF R11 #0053
- 0x882C0F09, // 002B GETMBR R11 R7 K9
- 0x4C300000, // 002C LDNIL R12
- 0x202C160C, // 002D NE R11 R11 R12
- 0x782E0019, // 002E JMPF R11 #0049
- 0x882C0F0A, // 002F GETMBR R11 R7 K10
- 0x4C300000, // 0030 LDNIL R12
- 0x202C160C, // 0031 NE R11 R11 R12
- 0x782E0015, // 0032 JMPF R11 #0049
- 0xB82E0400, // 0033 GETNGBL R11 K2
- 0x8C2C170E, // 0034 GETMET R11 R11 K14
- 0x88340F09, // 0035 GETMBR R13 R7 K9
- 0x88380F0A, // 0036 GETMBR R14 R7 K10
- 0x7C2C0600, // 0037 CALL R11 3
- 0xB8321E00, // 0038 GETNGBL R12 K15
- 0x60340018, // 0039 GETGBL R13 G24
- 0x58380010, // 003A LDCONST R14 K16
- 0x883C0311, // 003B GETMBR R15 R1 K17
- 0x60400008, // 003C GETGBL R16 G8
- 0x5C440E00, // 003D MOVE R17 R7
- 0x7C400200, // 003E CALL R16 1
- 0x782E0002, // 003F JMPF R11 #0043
- 0x0046240B, // 0040 ADD R17 K18 R11
- 0x00442313, // 0041 ADD R17 R17 K19
- 0x70020000, // 0042 JMP #0044
- 0x58440014, // 0043 LDCONST R17 K20
- 0x00402011, // 0044 ADD R16 R16 R17
- 0x7C340600, // 0045 CALL R13 3
- 0x58380015, // 0046 LDCONST R14 K21
- 0x7C300400, // 0047 CALL R12 2
- 0x70020009, // 0048 JMP #0053
- 0xB82E1E00, // 0049 GETNGBL R11 K15
- 0x60300018, // 004A GETGBL R12 G24
- 0x58340010, // 004B LDCONST R13 K16
- 0x88380311, // 004C GETMBR R14 R1 K17
- 0x603C0008, // 004D GETGBL R15 G8
- 0x5C400E00, // 004E MOVE R16 R7
- 0x7C3C0200, // 004F CALL R15 1
- 0x7C300600, // 0050 CALL R12 3
- 0x58340015, // 0051 LDCONST R13 K21
- 0x7C2C0400, // 0052 CALL R11 2
- 0x882C0100, // 0053 GETMBR R11 R0 K0
- 0x8C2C1716, // 0054 GETMET R11 R11 K22
- 0x5C340E00, // 0055 MOVE R13 R7
- 0x84380001, // 0056 CLOSURE R14 P1
- 0x7C2C0600, // 0057 CALL R11 3
- 0x7001FFB8, // 0058 JMP #0012
- 0x58240017, // 0059 LDCONST R9 K23
- 0xAC240200, // 005A CATCH R9 1 0
- 0xB0080000, // 005B RAISE 2 R0 R0
- 0xA0000000, // 005C CLOSE R0
- 0x80041000, // 005D RET 1 R8
+ 0x90260E0A, // 0014 SETMBR R9 K7 R10
+ 0x60280010, // 0015 GETGBL R10 G16
+ 0x882C0508, // 0016 GETMBR R11 R2 K8
+ 0x7C280200, // 0017 CALL R10 1
+ 0xA802004B, // 0018 EXBLK 0 #0065
+ 0x5C2C1400, // 0019 MOVE R11 R10
+ 0x7C2C0000, // 001A CALL R11 0
+ 0x88301709, // 001B GETMBR R12 R11 K9
+ 0x901E120C, // 001C SETMBR R7 K9 R12
+ 0x8830170A, // 001D GETMBR R12 R11 K10
+ 0x901E140C, // 001E SETMBR R7 K10 R12
+ 0x8830170B, // 001F GETMBR R12 R11 K11
+ 0x901E160C, // 0020 SETMBR R7 K11 R12
+ 0x8830050C, // 0021 GETMBR R12 R2 K12
+ 0x901E180C, // 0022 SETMBR R7 K12 R12
+ 0xB8320400, // 0023 GETNGBL R12 K2
+ 0x8830190E, // 0024 GETMBR R12 R12 K14
+ 0x901E1A0C, // 0025 SETMBR R7 K13 R12
+ 0x88300F09, // 0026 GETMBR R12 R7 K9
+ 0x4C340000, // 0027 LDNIL R13
+ 0x1C30180D, // 0028 EQ R12 R12 R13
+ 0x74320007, // 0029 JMPT R12 #0032
+ 0x88300F0A, // 002A GETMBR R12 R7 K10
+ 0x4C340000, // 002B LDNIL R13
+ 0x1C30180D, // 002C EQ R12 R12 R13
+ 0x74320003, // 002D JMPT R12 #0032
+ 0x88300F0B, // 002E GETMBR R12 R7 K11
+ 0x4C340000, // 002F LDNIL R13
+ 0x1C30180D, // 0030 EQ R12 R12 R13
+ 0x7832002C, // 0031 JMPF R12 #005F
+ 0xB8321E00, // 0032 GETNGBL R12 K15
+ 0x8C301910, // 0033 GETMET R12 R12 K16
+ 0x58380011, // 0034 LDCONST R14 K17
+ 0x7C300400, // 0035 CALL R12 2
+ 0x78320027, // 0036 JMPF R12 #005F
+ 0x88300F0A, // 0037 GETMBR R12 R7 K10
+ 0x4C340000, // 0038 LDNIL R13
+ 0x2030180D, // 0039 NE R12 R12 R13
+ 0x78320019, // 003A JMPF R12 #0055
+ 0x88300F0B, // 003B GETMBR R12 R7 K11
+ 0x4C340000, // 003C LDNIL R13
+ 0x2030180D, // 003D NE R12 R12 R13
+ 0x78320015, // 003E JMPF R12 #0055
+ 0xB8320400, // 003F GETNGBL R12 K2
+ 0x8C301912, // 0040 GETMET R12 R12 K18
+ 0x88380F0A, // 0041 GETMBR R14 R7 K10
+ 0x883C0F0B, // 0042 GETMBR R15 R7 K11
+ 0x7C300600, // 0043 CALL R12 3
+ 0xB8362600, // 0044 GETNGBL R13 K19
+ 0x60380018, // 0045 GETGBL R14 G24
+ 0x583C0014, // 0046 LDCONST R15 K20
+ 0x88400315, // 0047 GETMBR R16 R1 K21
+ 0x60440008, // 0048 GETGBL R17 G8
+ 0x5C480E00, // 0049 MOVE R18 R7
+ 0x7C440200, // 004A CALL R17 1
+ 0x78320002, // 004B JMPF R12 #004F
+ 0x004A2C0C, // 004C ADD R18 K22 R12
+ 0x00482517, // 004D ADD R18 R18 K23
+ 0x70020000, // 004E JMP #0050
+ 0x58480018, // 004F LDCONST R18 K24
+ 0x00442212, // 0050 ADD R17 R17 R18
+ 0x7C380600, // 0051 CALL R14 3
+ 0x583C0011, // 0052 LDCONST R15 K17
+ 0x7C340400, // 0053 CALL R13 2
+ 0x70020009, // 0054 JMP #005F
+ 0xB8322600, // 0055 GETNGBL R12 K19
+ 0x60340018, // 0056 GETGBL R13 G24
+ 0x58380014, // 0057 LDCONST R14 K20
+ 0x883C0315, // 0058 GETMBR R15 R1 K21
+ 0x60400008, // 0059 GETGBL R16 G8
+ 0x5C440E00, // 005A MOVE R17 R7
+ 0x7C400200, // 005B CALL R16 1
+ 0x7C340600, // 005C CALL R13 3
+ 0x58380011, // 005D LDCONST R14 K17
+ 0x7C300400, // 005E CALL R12 2
+ 0x88300100, // 005F GETMBR R12 R0 K0
+ 0x8C301919, // 0060 GETMET R12 R12 K25
+ 0x5C380E00, // 0061 MOVE R14 R7
+ 0x843C0001, // 0062 CLOSURE R15 P1
+ 0x7C300600, // 0063 CALL R12 3
+ 0x7001FFB3, // 0064 JMP #0019
+ 0x5828001A, // 0065 LDCONST R10 K26
+ 0xAC280200, // 0066 CATCH R10 1 0
+ 0xB0080000, // 0067 RAISE 2 R0 R0
+ 0x8828051B, // 0068 GETMBR R10 R2 K27
+ 0x882C051C, // 0069 GETMBR R11 R2 K28
+ 0x4C300000, // 006A LDNIL R12
+ 0x782A0050, // 006B JMPF R10 #00BD
+ 0x782E0033, // 006C JMPF R11 #00A1
+ 0x60340010, // 006D GETGBL R13 G16
+ 0x5C381600, // 006E MOVE R14 R11
+ 0x7C340200, // 006F CALL R13 1
+ 0xA802002C, // 0070 EXBLK 0 #009E
+ 0x5C381A00, // 0071 MOVE R14 R13
+ 0x7C380000, // 0072 CALL R14 0
+ 0xB83E1E00, // 0073 GETNGBL R15 K15
+ 0x8C3C1F13, // 0074 GETMET R15 R15 K19
+ 0x60440018, // 0075 GETGBL R17 G24
+ 0x5848001D, // 0076 LDCONST R18 K29
+ 0x5C4C1C00, // 0077 MOVE R19 R14
+ 0x5C501000, // 0078 MOVE R20 R8
+ 0x7C440600, // 0079 CALL R17 3
+ 0x58480011, // 007A LDCONST R18 K17
+ 0x7C3C0600, // 007B CALL R15 3
+ 0xB83E3C00, // 007C GETNGBL R15 K30
+ 0x8C3C1F1F, // 007D GETMET R15 R15 K31
+ 0x88441D20, // 007E GETMBR R17 R14 K32
+ 0x7C3C0400, // 007F CALL R15 2
+ 0x783E001B, // 0080 JMPF R15 #009D
+ 0x88401D20, // 0081 GETMBR R16 R14 K32
+ 0x8C402121, // 0082 GETMET R16 R16 K33
+ 0x7C400200, // 0083 CALL R16 1
+ 0x20402008, // 0084 NE R16 R16 R8
+ 0x7842000C, // 0085 JMPF R16 #0093
+ 0xB8421E00, // 0086 GETNGBL R16 K15
+ 0x8C402113, // 0087 GETMET R16 R16 K19
+ 0x60480018, // 0088 GETGBL R18 G24
+ 0x584C0022, // 0089 LDCONST R19 K34
+ 0x8C501F21, // 008A GETMET R20 R15 K33
+ 0x7C500200, // 008B CALL R20 1
+ 0x8C502923, // 008C GETMET R20 R20 K35
+ 0x7C500200, // 008D CALL R20 1
+ 0x8C541123, // 008E GETMET R21 R8 K35
+ 0x7C540200, // 008F CALL R21 1
+ 0x7C480600, // 0090 CALL R18 3
+ 0x7C400400, // 0091 CALL R16 2
+ 0x7001FFDD, // 0092 JMP #0071
+ 0xB8423C00, // 0093 GETNGBL R16 K30
+ 0x8C40211F, // 0094 GETMET R16 R16 K31
+ 0x88481D24, // 0095 GETMBR R18 R14 K36
+ 0x7C400400, // 0096 CALL R16 2
+ 0x4C440000, // 0097 LDNIL R17
+ 0x20441811, // 0098 NE R17 R12 R17
+ 0x74460001, // 0099 JMPT R17 #009C
+ 0x14441810, // 009A LT R17 R12 R16
+ 0x78460000, // 009B JMPF R17 #009D
+ 0x5C302000, // 009C MOVE R12 R16
+ 0x7001FFD2, // 009D JMP #0071
+ 0x5834001A, // 009E LDCONST R13 K26
+ 0xAC340200, // 009F CATCH R13 1 0
+ 0xB0080000, // 00A0 RAISE 2 R0 R0
+ 0x60340012, // 00A1 GETGBL R13 G18
+ 0x7C340000, // 00A2 CALL R13 0
+ 0x90264A0D, // 00A3 SETMBR R9 K37 R13
+ 0x60340010, // 00A4 GETGBL R13 G16
+ 0x5C381400, // 00A5 MOVE R14 R10
+ 0x7C340200, // 00A6 CALL R13 1
+ 0xA8020011, // 00A7 EXBLK 0 #00BA
+ 0x5C381A00, // 00A8 MOVE R14 R13
+ 0x7C380000, // 00A9 CALL R14 0
+ 0x883C1D09, // 00AA GETMBR R15 R14 K9
+ 0x901E120F, // 00AB SETMBR R7 K9 R15
+ 0x883C1D0A, // 00AC GETMBR R15 R14 K10
+ 0x901E140F, // 00AD SETMBR R7 K10 R15
+ 0x883C1D26, // 00AE GETMBR R15 R14 K38
+ 0x901E160F, // 00AF SETMBR R7 K11 R15
+ 0xB83E1E00, // 00B0 GETNGBL R15 K15
+ 0x8C3C1F13, // 00B1 GETMET R15 R15 K19
+ 0x60440018, // 00B2 GETGBL R17 G24
+ 0x58480027, // 00B3 LDCONST R18 K39
+ 0x884C0315, // 00B4 GETMBR R19 R1 K21
+ 0x5C500E00, // 00B5 MOVE R20 R7
+ 0x7C440600, // 00B6 CALL R17 3
+ 0x58480011, // 00B7 LDCONST R18 K17
+ 0x7C3C0600, // 00B8 CALL R15 3
+ 0x7001FFED, // 00B9 JMP #00A8
+ 0x5834001A, // 00BA LDCONST R13 K26
+ 0xAC340200, // 00BB CATCH R13 1 0
+ 0xB0080000, // 00BC RAISE 2 R0 R0
+ 0xA0000000, // 00BD CLOSE R0
+ 0x80041200, // 00BE RET 1 R9
})
)
);
@@ -2912,7 +3049,7 @@ be_local_closure(class_Matter_IM_process_read_request_solo, /* name */
/* K2 */ be_nested_str_weak(INVALID_ACTION),
/* K3 */ be_nested_str_weak(msg),
/* K4 */ be_nested_str_weak(device),
- /* K5 */ be_nested_str_weak(process_attribute_read_solo),
+ /* K5 */ be_nested_str_weak(resolve_attribute_read_solo),
/* K6 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
/* K7 */ be_nested_str_weak(read_attribute),
/* K8 */ be_nested_str_weak(session),
@@ -2965,7 +3102,7 @@ be_local_closure(class_Matter_IM_process_read_request_solo, /* name */
}),
be_str_weak(process_read_request_solo),
&be_const_str_solidified,
- ( &(const binstruction[245]) { /* code */
+ ( &(const binstruction[252]) { /* code */
0xB80E0200, // 0000 GETNGBL R3 K1
0x880C0702, // 0001 GETMBR R3 R3 K2
0x900A0003, // 0002 SETMBR R2 K0 R3
@@ -3131,86 +3268,93 @@ be_local_closure(class_Matter_IM_process_read_request_solo, /* name */
0x8C24130B, // 00A2 GETMET R9 R9 K11
0x582C002C, // 00A3 LDCONST R11 K44
0x7C240400, // 00A4 CALL R9 2
- 0xB8260200, // 00A5 GETNGBL R9 K1
- 0x8C24132D, // 00A6 GETMET R9 R9 K45
- 0x882C052E, // 00A7 GETMBR R11 R2 K46
- 0x8830052F, // 00A8 GETMBR R12 R2 K47
- 0x7C240600, // 00A9 CALL R9 3
- 0x78260002, // 00AA JMPF R9 #00AE
- 0x002A6009, // 00AB ADD R10 K48 R9
- 0x00281531, // 00AC ADD R10 R10 K49
- 0x70020000, // 00AD JMP #00AF
- 0x58280032, // 00AE LDCONST R10 K50
- 0x5C241400, // 00AF MOVE R9 R10
- 0x4C280000, // 00B0 LDNIL R10
- 0x2028080A, // 00B1 NE R10 R4 R10
- 0x782A0012, // 00B2 JMPF R10 #00C6
- 0xB82A4A00, // 00B3 GETNGBL R10 K37
- 0x8C281526, // 00B4 GETMET R10 R10 K38
- 0x58300013, // 00B5 LDCONST R12 K19
- 0x7C280400, // 00B6 CALL R10 2
- 0x782A000C, // 00B7 JMPF R10 #00C5
- 0x8C280933, // 00B8 GETMET R10 R4 K51
- 0x7C280200, // 00B9 CALL R10 1
- 0xB82E1600, // 00BA GETNGBL R11 K11
- 0x60300018, // 00BB GETGBL R12 G24
- 0x58340034, // 00BC LDCONST R13 K52
- 0x88380308, // 00BD GETMBR R14 R1 K8
- 0x88381D1F, // 00BE GETMBR R14 R14 K31
- 0x5C3C0400, // 00BF MOVE R15 R2
- 0x5C401200, // 00C0 MOVE R16 R9
- 0x5C441400, // 00C1 MOVE R17 R10
- 0x7C300A00, // 00C2 CALL R12 5
- 0x58340013, // 00C3 LDCONST R13 K19
- 0x7C2C0400, // 00C4 CALL R11 2
- 0x7002002C, // 00C5 JMP #00F3
- 0x88280500, // 00C6 GETMBR R10 R2 K0
- 0x4C2C0000, // 00C7 LDNIL R11
- 0x2028140B, // 00C8 NE R10 R10 R11
- 0x782A0019, // 00C9 JMPF R10 #00E4
- 0x88280500, // 00CA GETMBR R10 R2 K0
- 0xB82E0200, // 00CB GETNGBL R11 K1
- 0x882C1706, // 00CC GETMBR R11 R11 K6
- 0x1C28140B, // 00CD EQ R10 R10 R11
- 0x782A0001, // 00CE JMPF R10 #00D1
- 0x58280006, // 00CF LDCONST R10 K6
- 0x70020000, // 00D0 JMP #00D2
- 0x58280032, // 00D1 LDCONST R10 K50
- 0xB82E4A00, // 00D2 GETNGBL R11 K37
- 0x8C2C1726, // 00D3 GETMET R11 R11 K38
- 0x58340013, // 00D4 LDCONST R13 K19
- 0x7C2C0400, // 00D5 CALL R11 2
- 0x782E000B, // 00D6 JMPF R11 #00E3
- 0xB82E1600, // 00D7 GETNGBL R11 K11
- 0x60300018, // 00D8 GETGBL R12 G24
- 0x58340035, // 00D9 LDCONST R13 K53
- 0x88380308, // 00DA GETMBR R14 R1 K8
- 0x88381D1F, // 00DB GETMBR R14 R14 K31
- 0x5C3C0400, // 00DC MOVE R15 R2
- 0x5C401200, // 00DD MOVE R16 R9
- 0x88440500, // 00DE GETMBR R17 R2 K0
- 0x5C481400, // 00DF MOVE R18 R10
- 0x7C300C00, // 00E0 CALL R12 6
- 0x58340013, // 00E1 LDCONST R13 K19
- 0x7C2C0400, // 00E2 CALL R11 2
- 0x7002000E, // 00E3 JMP #00F3
- 0xB82A4A00, // 00E4 GETNGBL R10 K37
- 0x8C281526, // 00E5 GETMET R10 R10 K38
- 0x58300013, // 00E6 LDCONST R12 K19
- 0x7C280400, // 00E7 CALL R10 2
- 0x782A0009, // 00E8 JMPF R10 #00F3
- 0xB82A1600, // 00E9 GETNGBL R10 K11
- 0x602C0018, // 00EA GETGBL R11 G24
- 0x58300036, // 00EB LDCONST R12 K54
- 0x88340308, // 00EC GETMBR R13 R1 K8
- 0x88341B1F, // 00ED GETMBR R13 R13 K31
- 0x5C380400, // 00EE MOVE R14 R2
- 0x5C3C1200, // 00EF MOVE R15 R9
- 0x7C2C0800, // 00F0 CALL R11 4
- 0x58300013, // 00F1 LDCONST R12 K19
- 0x7C280400, // 00F2 CALL R10 2
- 0x50280200, // 00F3 LDBOOL R10 1 0
- 0x80041400, // 00F4 RET 1 R10
+ 0x4C240000, // 00A5 LDNIL R9
+ 0xB82A4A00, // 00A6 GETNGBL R10 K37
+ 0x8C281526, // 00A7 GETMET R10 R10 K38
+ 0x58300013, // 00A8 LDCONST R12 K19
+ 0x7C280400, // 00A9 CALL R10 2
+ 0x782A000B, // 00AA JMPF R10 #00B7
+ 0xB82A0200, // 00AB GETNGBL R10 K1
+ 0x8C28152D, // 00AC GETMET R10 R10 K45
+ 0x8830052E, // 00AD GETMBR R12 R2 K46
+ 0x8834052F, // 00AE GETMBR R13 R2 K47
+ 0x7C280600, // 00AF CALL R10 3
+ 0x5C241400, // 00B0 MOVE R9 R10
+ 0x78260002, // 00B1 JMPF R9 #00B5
+ 0x002A6009, // 00B2 ADD R10 K48 R9
+ 0x00281531, // 00B3 ADD R10 R10 K49
+ 0x70020000, // 00B4 JMP #00B6
+ 0x58280032, // 00B5 LDCONST R10 K50
+ 0x5C241400, // 00B6 MOVE R9 R10
+ 0x4C280000, // 00B7 LDNIL R10
+ 0x2028080A, // 00B8 NE R10 R4 R10
+ 0x782A0012, // 00B9 JMPF R10 #00CD
+ 0xB82A4A00, // 00BA GETNGBL R10 K37
+ 0x8C281526, // 00BB GETMET R10 R10 K38
+ 0x58300013, // 00BC LDCONST R12 K19
+ 0x7C280400, // 00BD CALL R10 2
+ 0x782A000C, // 00BE JMPF R10 #00CC
+ 0x8C280933, // 00BF GETMET R10 R4 K51
+ 0x7C280200, // 00C0 CALL R10 1
+ 0xB82E1600, // 00C1 GETNGBL R11 K11
+ 0x60300018, // 00C2 GETGBL R12 G24
+ 0x58340034, // 00C3 LDCONST R13 K52
+ 0x88380308, // 00C4 GETMBR R14 R1 K8
+ 0x88381D1F, // 00C5 GETMBR R14 R14 K31
+ 0x5C3C0400, // 00C6 MOVE R15 R2
+ 0x5C401200, // 00C7 MOVE R16 R9
+ 0x5C441400, // 00C8 MOVE R17 R10
+ 0x7C300A00, // 00C9 CALL R12 5
+ 0x58340013, // 00CA LDCONST R13 K19
+ 0x7C2C0400, // 00CB CALL R11 2
+ 0x7002002C, // 00CC JMP #00FA
+ 0x88280500, // 00CD GETMBR R10 R2 K0
+ 0x4C2C0000, // 00CE LDNIL R11
+ 0x2028140B, // 00CF NE R10 R10 R11
+ 0x782A0019, // 00D0 JMPF R10 #00EB
+ 0x88280500, // 00D1 GETMBR R10 R2 K0
+ 0xB82E0200, // 00D2 GETNGBL R11 K1
+ 0x882C1706, // 00D3 GETMBR R11 R11 K6
+ 0x1C28140B, // 00D4 EQ R10 R10 R11
+ 0x782A0001, // 00D5 JMPF R10 #00D8
+ 0x58280006, // 00D6 LDCONST R10 K6
+ 0x70020000, // 00D7 JMP #00D9
+ 0x58280032, // 00D8 LDCONST R10 K50
+ 0xB82E4A00, // 00D9 GETNGBL R11 K37
+ 0x8C2C1726, // 00DA GETMET R11 R11 K38
+ 0x58340013, // 00DB LDCONST R13 K19
+ 0x7C2C0400, // 00DC CALL R11 2
+ 0x782E000B, // 00DD JMPF R11 #00EA
+ 0xB82E1600, // 00DE GETNGBL R11 K11
+ 0x60300018, // 00DF GETGBL R12 G24
+ 0x58340035, // 00E0 LDCONST R13 K53
+ 0x88380308, // 00E1 GETMBR R14 R1 K8
+ 0x88381D1F, // 00E2 GETMBR R14 R14 K31
+ 0x5C3C0400, // 00E3 MOVE R15 R2
+ 0x5C401200, // 00E4 MOVE R16 R9
+ 0x88440500, // 00E5 GETMBR R17 R2 K0
+ 0x5C481400, // 00E6 MOVE R18 R10
+ 0x7C300C00, // 00E7 CALL R12 6
+ 0x58340013, // 00E8 LDCONST R13 K19
+ 0x7C2C0400, // 00E9 CALL R11 2
+ 0x7002000E, // 00EA JMP #00FA
+ 0xB82A4A00, // 00EB GETNGBL R10 K37
+ 0x8C281526, // 00EC GETMET R10 R10 K38
+ 0x58300013, // 00ED LDCONST R12 K19
+ 0x7C280400, // 00EE CALL R10 2
+ 0x782A0009, // 00EF JMPF R10 #00FA
+ 0xB82A1600, // 00F0 GETNGBL R10 K11
+ 0x602C0018, // 00F1 GETGBL R11 G24
+ 0x58300036, // 00F2 LDCONST R12 K54
+ 0x88340308, // 00F3 GETMBR R13 R1 K8
+ 0x88341B1F, // 00F4 GETMBR R13 R13 K31
+ 0x5C380400, // 00F5 MOVE R14 R2
+ 0x5C3C1200, // 00F6 MOVE R15 R9
+ 0x7C2C0800, // 00F7 CALL R11 4
+ 0x58300013, // 00F8 LDCONST R12 K19
+ 0x7C280400, // 00F9 CALL R10 2
+ 0x50280200, // 00FA LDBOOL R10 1 0
+ 0x80041400, // 00FB RET 1 R10
})
)
);
@@ -3409,7 +3553,7 @@ be_local_closure(class_Matter_IM_expire_sendqueue, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_subscribe_request, /* name */
be_nested_proto(
- 17, /* nstack */
+ 20, /* nstack */
3, /* argc */
2, /* varg */
0, /* has upvals */
@@ -3435,7 +3579,7 @@ be_local_closure(class_Matter_IM_subscribe_request, /* name */
/* K14 */ be_nested_str_weak(push),
/* K15 */ be_nested_str_weak(stop_iteration),
/* K16 */ be_nested_str_weak(log),
- /* K17 */ be_nested_str_weak(MTR_X3A_X20_X3ESubscribe_X20_X28_X256i_X29_X20_X25s_X20_X28min_X3D_X25i_X2C_X20max_X3D_X25i_X2C_X20keep_X3D_X25i_X29_X20sub_X3D_X25i_X20fabric_filtered_X3D_X25s),
+ /* K17 */ be_nested_str_weak(MTR_X3A_X20_X3ESubscribe_X20_X28_X256i_X29_X20_X25s_X20_X28min_X3D_X25i_X2C_X20max_X3D_X25i_X2C_X20keep_X3D_X25i_X29_X20sub_X3D_X25i_X20fabric_filtered_X3D_X25s_X20attr_req_X3D_X25s_X20event_req_X3D_X25s),
/* K18 */ be_nested_str_weak(local_session_id),
/* K19 */ be_nested_str_weak(concat),
/* K20 */ be_nested_str_weak(_X20),
@@ -3445,9 +3589,9 @@ be_local_closure(class_Matter_IM_subscribe_request, /* name */
/* K24 */ be_const_int(0),
/* K25 */ be_nested_str_weak(subscription_id),
/* K26 */ be_nested_str_weak(fabric_filtered),
- /* K27 */ be_const_int(3),
+ /* K27 */ be_nested_str_weak(_X2D),
/* K28 */ be_nested_str_weak(event_requests),
- /* K29 */ be_nested_str_weak(MTR_X3A_X20_X3ESubscribe_X20_X28_X256i_X29_X20event_requests_size_X3D_X25s),
+ /* K29 */ be_const_int(3),
/* K30 */ be_nested_str_weak(_inner_process_read_request),
/* K31 */ be_nested_str_weak(device),
/* K32 */ be_nested_str_weak(debug),
@@ -3455,7 +3599,7 @@ be_local_closure(class_Matter_IM_subscribe_request, /* name */
}),
be_str_weak(subscribe_request),
&be_const_str_solidified,
- ( &(const binstruction[103]) { /* code */
+ ( &(const binstruction[101]) { /* code */
0xB80E0000, // 0000 GETNGBL R3 K0
0x8C0C0701, // 0001 GETMET R3 R3 K1
0x7C0C0200, // 0002 CALL R3 1
@@ -3517,48 +3661,46 @@ be_local_closure(class_Matter_IM_subscribe_request, /* name */
0x58380018, // 003A LDCONST R14 K24
0x883C0919, // 003B GETMBR R15 R4 K25
0x8840071A, // 003C GETMBR R16 R3 K26
- 0x7C201000, // 003D CALL R8 8
- 0x5824001B, // 003E LDCONST R9 K27
- 0x7C1C0400, // 003F CALL R7 2
- 0x881C071C, // 0040 GETMBR R7 R3 K28
- 0x4C200000, // 0041 LDNIL R8
- 0x201C0E08, // 0042 NE R7 R7 R8
- 0x781E000F, // 0043 JMPF R7 #0054
- 0x601C000C, // 0044 GETGBL R7 G12
- 0x8820071C, // 0045 GETMBR R8 R3 K28
- 0x7C1C0200, // 0046 CALL R7 1
- 0x241C0F18, // 0047 GT R7 R7 K24
- 0x781E000A, // 0048 JMPF R7 #0054
- 0xB81E2000, // 0049 GETNGBL R7 K16
- 0x60200018, // 004A GETGBL R8 G24
- 0x5824001D, // 004B LDCONST R9 K29
- 0x88280306, // 004C GETMBR R10 R1 K6
- 0x88281512, // 004D GETMBR R10 R10 K18
- 0x602C000C, // 004E GETGBL R11 G12
- 0x8830071C, // 004F GETMBR R12 R3 K28
- 0x7C2C0200, // 0050 CALL R11 1
- 0x7C200600, // 0051 CALL R8 3
- 0x5824001B, // 0052 LDCONST R9 K27
- 0x7C1C0400, // 0053 CALL R7 2
- 0x8C1C011E, // 0054 GETMET R7 R0 K30
- 0x88240306, // 0055 GETMBR R9 R1 K6
- 0x5C280600, // 0056 MOVE R10 R3
- 0x5C2C0200, // 0057 MOVE R11 R1
- 0x8830011F, // 0058 GETMBR R12 R0 K31
- 0x88301920, // 0059 GETMBR R12 R12 K32
- 0x78320000, // 005A JMPF R12 #005C
- 0x50300001, // 005B LDBOOL R12 0 1
- 0x50300200, // 005C LDBOOL R12 1 0
- 0x7C1C0A00, // 005D CALL R7 5
- 0x88200919, // 005E GETMBR R8 R4 K25
- 0x901E3208, // 005F SETMBR R7 K25 R8
- 0x8C200121, // 0060 GETMET R8 R0 K33
- 0x5C280200, // 0061 MOVE R10 R1
- 0x5C2C0E00, // 0062 MOVE R11 R7
- 0x5C300800, // 0063 MOVE R12 R4
- 0x7C200800, // 0064 CALL R8 4
- 0x50200200, // 0065 LDBOOL R8 1 0
- 0x80041000, // 0066 RET 1 R8
+ 0x8844070A, // 003D GETMBR R17 R3 K10
+ 0x4C480000, // 003E LDNIL R18
+ 0x20442212, // 003F NE R17 R17 R18
+ 0x78460003, // 0040 JMPF R17 #0045
+ 0x6044000C, // 0041 GETGBL R17 G12
+ 0x8848070A, // 0042 GETMBR R18 R3 K10
+ 0x7C440200, // 0043 CALL R17 1
+ 0x70020000, // 0044 JMP #0046
+ 0x5844001B, // 0045 LDCONST R17 K27
+ 0x8848071C, // 0046 GETMBR R18 R3 K28
+ 0x4C4C0000, // 0047 LDNIL R19
+ 0x20482413, // 0048 NE R18 R18 R19
+ 0x784A0003, // 0049 JMPF R18 #004E
+ 0x6048000C, // 004A GETGBL R18 G12
+ 0x884C071C, // 004B GETMBR R19 R3 K28
+ 0x7C480200, // 004C CALL R18 1
+ 0x70020000, // 004D JMP #004F
+ 0x5848001B, // 004E LDCONST R18 K27
+ 0x7C201400, // 004F CALL R8 10
+ 0x5824001D, // 0050 LDCONST R9 K29
+ 0x7C1C0400, // 0051 CALL R7 2
+ 0x8C1C011E, // 0052 GETMET R7 R0 K30
+ 0x88240306, // 0053 GETMBR R9 R1 K6
+ 0x5C280600, // 0054 MOVE R10 R3
+ 0x5C2C0200, // 0055 MOVE R11 R1
+ 0x8830011F, // 0056 GETMBR R12 R0 K31
+ 0x88301920, // 0057 GETMBR R12 R12 K32
+ 0x78320000, // 0058 JMPF R12 #005A
+ 0x50300001, // 0059 LDBOOL R12 0 1
+ 0x50300200, // 005A LDBOOL R12 1 0
+ 0x7C1C0A00, // 005B CALL R7 5
+ 0x88200919, // 005C GETMBR R8 R4 K25
+ 0x901E3208, // 005D SETMBR R7 K25 R8
+ 0x8C200121, // 005E GETMET R8 R0 K33
+ 0x5C280200, // 005F MOVE R10 R1
+ 0x5C2C0E00, // 0060 MOVE R11 R7
+ 0x5C300800, // 0061 MOVE R12 R4
+ 0x7C200800, // 0062 CALL R8 4
+ 0x50200200, // 0063 LDBOOL R8 1 0
+ 0x80041000, // 0064 RET 1 R8
})
)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Message.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Message.h
index 22bb7bc99..793cca7da 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Message.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Message.h
@@ -6,6 +6,181 @@
extern const bclass be_class_Matter_Frame;
+/********************************************************************
+** Solidified function: get_node_id
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_get_node_id, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(session),
+ /* K1 */ be_nested_str_weak(get_node_id),
+ }),
+ be_str_weak(get_node_id),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060003, // 0001 JMPF R1 #0006
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x8C040301, // 0003 GETMET R1 R1 K1
+ 0x7C040200, // 0004 CALL R1 1
+ 0x70020000, // 0005 JMP #0007
+ 0x4C040000, // 0006 LDNIL R1
+ 0x80040200, // 0007 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: encrypt
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_encrypt, /* name */
+ be_nested_proto(
+ 23, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[18]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(raw),
+ /* K2 */ be_nested_str_weak(session),
+ /* K3 */ be_nested_str_weak(payload_idx),
+ /* K4 */ be_nested_str_weak(get_r2i),
+ /* K5 */ be_nested_str_weak(message_handler),
+ /* K6 */ be_nested_str_weak(_n_bytes),
+ /* K7 */ be_nested_str_weak(clear),
+ /* K8 */ be_nested_str_weak(add),
+ /* K9 */ be_nested_str_weak(flags),
+ /* K10 */ be_const_int(1),
+ /* K11 */ be_nested_str_weak(message_counter),
+ /* K12 */ be_nested_str_weak(is_CASE),
+ /* K13 */ be_nested_str_weak(get_device_id),
+ /* K14 */ be_nested_str_weak(resize),
+ /* K15 */ be_nested_str_weak(AES_CCM),
+ /* K16 */ be_nested_str_weak(encrypt1),
+ /* K17 */ be_const_int(0),
+ }),
+ be_str_weak(encrypt),
+ &be_const_str_solidified,
+ ( &(const binstruction[63]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x88100103, // 0003 GETMBR R4 R0 K3
+ 0x5416000F, // 0004 LDINT R5 16
+ 0x8C180704, // 0005 GETMET R6 R3 K4
+ 0x7C180200, // 0006 CALL R6 1
+ 0x881C0105, // 0007 GETMBR R7 R0 K5
+ 0x881C0F06, // 0008 GETMBR R7 R7 K6
+ 0x8C200F07, // 0009 GETMET R8 R7 K7
+ 0x7C200200, // 000A CALL R8 1
+ 0x8C200F08, // 000B GETMET R8 R7 K8
+ 0x88280109, // 000C GETMBR R10 R0 K9
+ 0x582C000A, // 000D LDCONST R11 K10
+ 0x7C200600, // 000E CALL R8 3
+ 0x8C200F08, // 000F GETMET R8 R7 K8
+ 0x8828010B, // 0010 GETMBR R10 R0 K11
+ 0x542E0003, // 0011 LDINT R11 4
+ 0x7C200600, // 0012 CALL R8 3
+ 0x8C20070C, // 0013 GETMET R8 R3 K12
+ 0x7C200200, // 0014 CALL R8 1
+ 0x78220005, // 0015 JMPF R8 #001C
+ 0x8C20070D, // 0016 GETMET R8 R3 K13
+ 0x7C200200, // 0017 CALL R8 1
+ 0x78220002, // 0018 JMPF R8 #001C
+ 0x8C20070D, // 0019 GETMET R8 R3 K13
+ 0x7C200200, // 001A CALL R8 1
+ 0x40200E08, // 001B CONNECT R8 R7 R8
+ 0x8C200F0E, // 001C GETMET R8 R7 K14
+ 0x542A000C, // 001D LDINT R10 13
+ 0x7C200400, // 001E CALL R8 2
+ 0x8C20050E, // 001F GETMET R8 R2 K14
+ 0x6028000C, // 0020 GETGBL R10 G12
+ 0x5C2C0400, // 0021 MOVE R11 R2
+ 0x7C280200, // 0022 CALL R10 1
+ 0x00281405, // 0023 ADD R10 R10 R5
+ 0x7C200400, // 0024 CALL R8 2
+ 0x8820030F, // 0025 GETMBR R8 R1 K15
+ 0x8C201110, // 0026 GETMET R8 R8 K16
+ 0x5C280C00, // 0027 MOVE R10 R6
+ 0x5C2C0E00, // 0028 MOVE R11 R7
+ 0x58300011, // 0029 LDCONST R12 K17
+ 0x6034000C, // 002A GETGBL R13 G12
+ 0x5C380E00, // 002B MOVE R14 R7
+ 0x7C340200, // 002C CALL R13 1
+ 0x5C380400, // 002D MOVE R14 R2
+ 0x583C0011, // 002E LDCONST R15 K17
+ 0x5C400800, // 002F MOVE R16 R4
+ 0x5C440400, // 0030 MOVE R17 R2
+ 0x5C480800, // 0031 MOVE R18 R4
+ 0x604C000C, // 0032 GETGBL R19 G12
+ 0x5C500400, // 0033 MOVE R20 R2
+ 0x7C4C0200, // 0034 CALL R19 1
+ 0x044C2604, // 0035 SUB R19 R19 R4
+ 0x044C2605, // 0036 SUB R19 R19 R5
+ 0x5C500400, // 0037 MOVE R20 R2
+ 0x6054000C, // 0038 GETGBL R21 G12
+ 0x5C580400, // 0039 MOVE R22 R2
+ 0x7C540200, // 003A CALL R21 1
+ 0x04542A05, // 003B SUB R21 R21 R5
+ 0x5C580A00, // 003C MOVE R22 R5
+ 0x7C201C00, // 003D CALL R8 14
+ 0x80000000, // 003E RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_init, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(raw),
+ /* K2 */ be_nested_str_weak(remote_ip),
+ /* K3 */ be_nested_str_weak(remote_port),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x90020202, // 0001 SETMBR R0 K1 R2
+ 0x90020403, // 0002 SETMBR R0 K2 R3
+ 0x90020604, // 0003 SETMBR R0 K3 R4
+ 0x80000000, // 0004 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: encode_frame
********************************************************************/
@@ -215,481 +390,6 @@ be_local_closure(class_Matter_Frame_encode_frame, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: encrypt
-********************************************************************/
-extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_encrypt, /* name */
- be_nested_proto(
- 23, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Frame,
- 1, /* has constants */
- ( &(const bvalue[18]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(raw),
- /* K2 */ be_nested_str_weak(session),
- /* K3 */ be_nested_str_weak(payload_idx),
- /* K4 */ be_nested_str_weak(get_r2i),
- /* K5 */ be_nested_str_weak(message_handler),
- /* K6 */ be_nested_str_weak(_n_bytes),
- /* K7 */ be_nested_str_weak(clear),
- /* K8 */ be_nested_str_weak(add),
- /* K9 */ be_nested_str_weak(flags),
- /* K10 */ be_const_int(1),
- /* K11 */ be_nested_str_weak(message_counter),
- /* K12 */ be_nested_str_weak(is_CASE),
- /* K13 */ be_nested_str_weak(get_device_id),
- /* K14 */ be_nested_str_weak(resize),
- /* K15 */ be_nested_str_weak(AES_CCM),
- /* K16 */ be_nested_str_weak(encrypt1),
- /* K17 */ be_const_int(0),
- }),
- be_str_weak(encrypt),
- &be_const_str_solidified,
- ( &(const binstruction[63]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x88100103, // 0003 GETMBR R4 R0 K3
- 0x5416000F, // 0004 LDINT R5 16
- 0x8C180704, // 0005 GETMET R6 R3 K4
- 0x7C180200, // 0006 CALL R6 1
- 0x881C0105, // 0007 GETMBR R7 R0 K5
- 0x881C0F06, // 0008 GETMBR R7 R7 K6
- 0x8C200F07, // 0009 GETMET R8 R7 K7
- 0x7C200200, // 000A CALL R8 1
- 0x8C200F08, // 000B GETMET R8 R7 K8
- 0x88280109, // 000C GETMBR R10 R0 K9
- 0x582C000A, // 000D LDCONST R11 K10
- 0x7C200600, // 000E CALL R8 3
- 0x8C200F08, // 000F GETMET R8 R7 K8
- 0x8828010B, // 0010 GETMBR R10 R0 K11
- 0x542E0003, // 0011 LDINT R11 4
- 0x7C200600, // 0012 CALL R8 3
- 0x8C20070C, // 0013 GETMET R8 R3 K12
- 0x7C200200, // 0014 CALL R8 1
- 0x78220005, // 0015 JMPF R8 #001C
- 0x8C20070D, // 0016 GETMET R8 R3 K13
- 0x7C200200, // 0017 CALL R8 1
- 0x78220002, // 0018 JMPF R8 #001C
- 0x8C20070D, // 0019 GETMET R8 R3 K13
- 0x7C200200, // 001A CALL R8 1
- 0x40200E08, // 001B CONNECT R8 R7 R8
- 0x8C200F0E, // 001C GETMET R8 R7 K14
- 0x542A000C, // 001D LDINT R10 13
- 0x7C200400, // 001E CALL R8 2
- 0x8C20050E, // 001F GETMET R8 R2 K14
- 0x6028000C, // 0020 GETGBL R10 G12
- 0x5C2C0400, // 0021 MOVE R11 R2
- 0x7C280200, // 0022 CALL R10 1
- 0x00281405, // 0023 ADD R10 R10 R5
- 0x7C200400, // 0024 CALL R8 2
- 0x8820030F, // 0025 GETMBR R8 R1 K15
- 0x8C201110, // 0026 GETMET R8 R8 K16
- 0x5C280C00, // 0027 MOVE R10 R6
- 0x5C2C0E00, // 0028 MOVE R11 R7
- 0x58300011, // 0029 LDCONST R12 K17
- 0x6034000C, // 002A GETGBL R13 G12
- 0x5C380E00, // 002B MOVE R14 R7
- 0x7C340200, // 002C CALL R13 1
- 0x5C380400, // 002D MOVE R14 R2
- 0x583C0011, // 002E LDCONST R15 K17
- 0x5C400800, // 002F MOVE R16 R4
- 0x5C440400, // 0030 MOVE R17 R2
- 0x5C480800, // 0031 MOVE R18 R4
- 0x604C000C, // 0032 GETGBL R19 G12
- 0x5C500400, // 0033 MOVE R20 R2
- 0x7C4C0200, // 0034 CALL R19 1
- 0x044C2604, // 0035 SUB R19 R19 R4
- 0x044C2605, // 0036 SUB R19 R19 R5
- 0x5C500400, // 0037 MOVE R20 R2
- 0x6054000C, // 0038 GETGBL R21 G12
- 0x5C580400, // 0039 MOVE R22 R2
- 0x7C540200, // 003A CALL R21 1
- 0x04542A05, // 003B SUB R21 R21 R5
- 0x5C580A00, // 003C MOVE R22 R5
- 0x7C201C00, // 003D CALL R8 14
- 0x80000000, // 003E RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: debug
-********************************************************************/
-extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_debug, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Frame,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(matter),
- /* K1 */ be_nested_str_weak(Frame),
- /* K2 */ be_nested_str_weak(message_handler),
- /* K3 */ be_nested_str_weak(decode_header),
- /* K4 */ be_nested_str_weak(decode_payload),
- }),
- be_str_weak(debug),
- &be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0x80000400, // 0000 RET 0
- 0xB80A0000, // 0001 GETNGBL R2 K0
- 0x8C080501, // 0002 GETMET R2 R2 K1
- 0x88100102, // 0003 GETMBR R4 R0 K2
- 0x5C140200, // 0004 MOVE R5 R1
- 0x7C080600, // 0005 CALL R2 3
- 0x8C0C0503, // 0006 GETMET R3 R2 K3
- 0x7C0C0200, // 0007 CALL R3 1
- 0x8C0C0504, // 0008 GETMET R3 R2 K4
- 0x7C0C0200, // 0009 CALL R3 1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: build_standalone_ack
-********************************************************************/
-extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_build_standalone_ack, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Frame,
- 1, /* has constants */
- ( &(const bvalue[21]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(remote_ip),
- /* K2 */ be_nested_str_weak(remote_port),
- /* K3 */ be_nested_str_weak(flag_s),
- /* K4 */ be_nested_str_weak(flag_dsiz),
- /* K5 */ be_const_int(1),
- /* K6 */ be_nested_str_weak(dest_node_id_8),
- /* K7 */ be_nested_str_weak(source_node_id),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(session),
- /* K10 */ be_nested_str_weak(message_counter),
- /* K11 */ be_nested_str_weak(counter_snd_next),
- /* K12 */ be_nested_str_weak(local_session_id),
- /* K13 */ be_nested_str_weak(initiator_session_id),
- /* K14 */ be_nested_str_weak(x_flag_i),
- /* K15 */ be_nested_str_weak(opcode),
- /* K16 */ be_nested_str_weak(exchange_id),
- /* K17 */ be_nested_str_weak(protocol_id),
- /* K18 */ be_nested_str_weak(x_flag_a),
- /* K19 */ be_nested_str_weak(ack_message_counter),
- /* K20 */ be_nested_str_weak(x_flag_r),
- }),
- be_str_weak(build_standalone_ack),
- &be_const_str_solidified,
- ( &(const binstruction[45]) { /* code */
- 0x60080006, // 0000 GETGBL R2 G6
- 0x5C0C0000, // 0001 MOVE R3 R0
- 0x7C080200, // 0002 CALL R2 1
- 0x880C0100, // 0003 GETMBR R3 R0 K0
- 0x7C080200, // 0004 CALL R2 1
- 0x880C0101, // 0005 GETMBR R3 R0 K1
- 0x900A0203, // 0006 SETMBR R2 K1 R3
- 0x880C0102, // 0007 GETMBR R3 R0 K2
- 0x900A0403, // 0008 SETMBR R2 K2 R3
- 0x880C0103, // 0009 GETMBR R3 R0 K3
- 0x780E0003, // 000A JMPF R3 #000F
- 0x900A0905, // 000B SETMBR R2 K4 K5
- 0x880C0107, // 000C GETMBR R3 R0 K7
- 0x900A0C03, // 000D SETMBR R2 K6 R3
- 0x70020000, // 000E JMP #0010
- 0x900A0908, // 000F SETMBR R2 K4 K8
- 0x880C0109, // 0010 GETMBR R3 R0 K9
- 0x900A1203, // 0011 SETMBR R2 K9 R3
- 0x880C0109, // 0012 GETMBR R3 R0 K9
- 0x8C0C070B, // 0013 GETMET R3 R3 K11
- 0x7C0C0200, // 0014 CALL R3 1
- 0x900A1403, // 0015 SETMBR R2 K10 R3
- 0x880C0109, // 0016 GETMBR R3 R0 K9
- 0x880C070D, // 0017 GETMBR R3 R3 K13
- 0x900A1803, // 0018 SETMBR R2 K12 R3
- 0x880C010E, // 0019 GETMBR R3 R0 K14
- 0x780E0001, // 001A JMPF R3 #001D
- 0x580C0008, // 001B LDCONST R3 K8
- 0x70020000, // 001C JMP #001E
- 0x580C0005, // 001D LDCONST R3 K5
- 0x900A1C03, // 001E SETMBR R2 K14 R3
- 0x540E000F, // 001F LDINT R3 16
- 0x900A1E03, // 0020 SETMBR R2 K15 R3
- 0x880C0110, // 0021 GETMBR R3 R0 K16
- 0x900A2003, // 0022 SETMBR R2 K16 R3
- 0x900A2308, // 0023 SETMBR R2 K17 K8
- 0x900A2505, // 0024 SETMBR R2 K18 K5
- 0x880C010A, // 0025 GETMBR R3 R0 K10
- 0x900A2603, // 0026 SETMBR R2 K19 R3
- 0x78060001, // 0027 JMPF R1 #002A
- 0x580C0005, // 0028 LDCONST R3 K5
- 0x70020000, // 0029 JMP #002B
- 0x580C0008, // 002A LDCONST R3 K8
- 0x900A2803, // 002B SETMBR R2 K20 R3
- 0x80040400, // 002C RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: build_response
-********************************************************************/
-extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_build_response, /* name */
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Frame,
- 1, /* has constants */
- ( &(const bvalue[29]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(remote_ip),
- /* K2 */ be_nested_str_weak(remote_port),
- /* K3 */ be_nested_str_weak(flag_s),
- /* K4 */ be_nested_str_weak(flag_dsiz),
- /* K5 */ be_const_int(1),
- /* K6 */ be_nested_str_weak(dest_node_id_8),
- /* K7 */ be_nested_str_weak(source_node_id),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(session),
- /* K10 */ be_nested_str_weak(local_session_id),
- /* K11 */ be_nested_str_weak(initiator_session_id),
- /* K12 */ be_nested_str_weak(message_counter),
- /* K13 */ be_nested_str_weak(counter_snd_next),
- /* K14 */ be_nested_str_weak(_counter_insecure_snd),
- /* K15 */ be_nested_str_weak(next),
- /* K16 */ be_nested_str_weak(x_flag_i),
- /* K17 */ be_nested_str_weak(opcode),
- /* K18 */ be_nested_str_weak(exchange_id),
- /* K19 */ be_nested_str_weak(protocol_id),
- /* K20 */ be_nested_str_weak(x_flag_r),
- /* K21 */ be_nested_str_weak(x_flag_a),
- /* K22 */ be_nested_str_weak(ack_message_counter),
- /* K23 */ be_nested_str_weak(matter),
- /* K24 */ be_nested_str_weak(get_opcode_name),
- /* K25 */ be_nested_str_weak(0x_X2502X),
- /* K26 */ be_nested_str_weak(log),
- /* K27 */ be_nested_str_weak(MTR_X3A_X20_X3CReplied_X20_X20_X20_X28_X256i_X29_X20_X25s),
- /* K28 */ be_const_int(3),
- }),
- be_str_weak(build_response),
- &be_const_str_solidified,
- ( &(const binstruction[90]) { /* code */
- 0x4C100000, // 0000 LDNIL R4
- 0x1C100604, // 0001 EQ R4 R3 R4
- 0x78120005, // 0002 JMPF R4 #0009
- 0x60100006, // 0003 GETGBL R4 G6
- 0x5C140000, // 0004 MOVE R5 R0
- 0x7C100200, // 0005 CALL R4 1
- 0x88140100, // 0006 GETMBR R5 R0 K0
- 0x7C100200, // 0007 CALL R4 1
- 0x5C0C0800, // 0008 MOVE R3 R4
- 0x88100101, // 0009 GETMBR R4 R0 K1
- 0x900E0204, // 000A SETMBR R3 K1 R4
- 0x88100102, // 000B GETMBR R4 R0 K2
- 0x900E0404, // 000C SETMBR R3 K2 R4
- 0x88100103, // 000D GETMBR R4 R0 K3
- 0x78120003, // 000E JMPF R4 #0013
- 0x900E0905, // 000F SETMBR R3 K4 K5
- 0x88100107, // 0010 GETMBR R4 R0 K7
- 0x900E0C04, // 0011 SETMBR R3 K6 R4
- 0x70020000, // 0012 JMP #0014
- 0x900E0908, // 0013 SETMBR R3 K4 K8
- 0x88100109, // 0014 GETMBR R4 R0 K9
- 0x900E1204, // 0015 SETMBR R3 K9 R4
- 0x8810010A, // 0016 GETMBR R4 R0 K10
- 0x20100908, // 0017 NE R4 R4 K8
- 0x7812000D, // 0018 JMPF R4 #0027
- 0x88100109, // 0019 GETMBR R4 R0 K9
- 0x7812000B, // 001A JMPF R4 #0027
- 0x88100109, // 001B GETMBR R4 R0 K9
- 0x8810090B, // 001C GETMBR R4 R4 K11
- 0x20100908, // 001D NE R4 R4 K8
- 0x78120007, // 001E JMPF R4 #0027
- 0x88100109, // 001F GETMBR R4 R0 K9
- 0x8C10090D, // 0020 GETMET R4 R4 K13
- 0x7C100200, // 0021 CALL R4 1
- 0x900E1804, // 0022 SETMBR R3 K12 R4
- 0x88100109, // 0023 GETMBR R4 R0 K9
- 0x8810090B, // 0024 GETMBR R4 R4 K11
- 0x900E1404, // 0025 SETMBR R3 K10 R4
- 0x70020005, // 0026 JMP #002D
- 0x88100109, // 0027 GETMBR R4 R0 K9
- 0x8810090E, // 0028 GETMBR R4 R4 K14
- 0x8C10090F, // 0029 GETMET R4 R4 K15
- 0x7C100200, // 002A CALL R4 1
- 0x900E1804, // 002B SETMBR R3 K12 R4
- 0x900E1508, // 002C SETMBR R3 K10 K8
- 0x88100110, // 002D GETMBR R4 R0 K16
- 0x78120001, // 002E JMPF R4 #0031
- 0x58100008, // 002F LDCONST R4 K8
- 0x70020000, // 0030 JMP #0032
- 0x58100005, // 0031 LDCONST R4 K5
- 0x900E2004, // 0032 SETMBR R3 K16 R4
- 0x900E2201, // 0033 SETMBR R3 K17 R1
- 0x88100112, // 0034 GETMBR R4 R0 K18
- 0x900E2404, // 0035 SETMBR R3 K18 R4
- 0x88100113, // 0036 GETMBR R4 R0 K19
- 0x900E2604, // 0037 SETMBR R3 K19 R4
- 0x88100114, // 0038 GETMBR R4 R0 K20
- 0x78120002, // 0039 JMPF R4 #003D
- 0x900E2B05, // 003A SETMBR R3 K21 K5
- 0x8810010C, // 003B GETMBR R4 R0 K12
- 0x900E2C04, // 003C SETMBR R3 K22 R4
- 0x780A0001, // 003D JMPF R2 #0040
- 0x58100005, // 003E LDCONST R4 K5
- 0x70020000, // 003F JMP #0041
- 0x58100008, // 0040 LDCONST R4 K8
- 0x900E2804, // 0041 SETMBR R3 K20 R4
- 0x8810070A, // 0042 GETMBR R4 R3 K10
- 0x1C100908, // 0043 EQ R4 R4 K8
- 0x78120013, // 0044 JMPF R4 #0059
- 0xB8122E00, // 0045 GETNGBL R4 K23
- 0x8C100918, // 0046 GETMET R4 R4 K24
- 0x88180711, // 0047 GETMBR R6 R3 K17
- 0x7C100400, // 0048 CALL R4 2
- 0x5C140800, // 0049 MOVE R5 R4
- 0x74160004, // 004A JMPT R5 #0050
- 0x60140018, // 004B GETGBL R5 G24
- 0x58180019, // 004C LDCONST R6 K25
- 0x881C0711, // 004D GETMBR R7 R3 K17
- 0x7C140400, // 004E CALL R5 2
- 0x5C100A00, // 004F MOVE R4 R5
- 0xB8163400, // 0050 GETNGBL R5 K26
- 0x60180018, // 0051 GETGBL R6 G24
- 0x581C001B, // 0052 LDCONST R7 K27
- 0x88200709, // 0053 GETMBR R8 R3 K9
- 0x8820110A, // 0054 GETMBR R8 R8 K10
- 0x5C240800, // 0055 MOVE R9 R4
- 0x7C180600, // 0056 CALL R6 3
- 0x581C001C, // 0057 LDCONST R7 K28
- 0x7C140400, // 0058 CALL R5 2
- 0x80040600, // 0059 RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: initiate_response
-********************************************************************/
-extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_initiate_response, /* name */
- be_nested_proto(
- 9, /* nstack */
- 5, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Frame,
- 1, /* has constants */
- ( &(const bvalue[23]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Frame),
- /* K1 */ be_nested_str_weak(matter),
- /* K2 */ be_nested_str_weak(Frame),
- /* K3 */ be_nested_str_weak(remote_ip),
- /* K4 */ be_nested_str_weak(_ip),
- /* K5 */ be_nested_str_weak(remote_port),
- /* K6 */ be_nested_str_weak(_port),
- /* K7 */ be_nested_str_weak(flag_dsiz),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(session),
- /* K10 */ be_nested_str_weak(initiator_session_id),
- /* K11 */ be_nested_str_weak(message_counter),
- /* K12 */ be_nested_str_weak(counter_snd_next),
- /* K13 */ be_nested_str_weak(local_session_id),
- /* K14 */ be_nested_str_weak(_counter_insecure_snd),
- /* K15 */ be_nested_str_weak(next),
- /* K16 */ be_nested_str_weak(x_flag_i),
- /* K17 */ be_const_int(1),
- /* K18 */ be_nested_str_weak(opcode),
- /* K19 */ be_nested_str_weak(_exchange_id),
- /* K20 */ be_nested_str_weak(exchange_id),
- /* K21 */ be_nested_str_weak(protocol_id),
- /* K22 */ be_nested_str_weak(x_flag_r),
- }),
- be_str_weak(initiate_response),
- &be_const_str_solidified,
- ( &(const binstruction[46]) { /* code */
- 0x58140000, // 0000 LDCONST R5 K0
- 0x4C180000, // 0001 LDNIL R6
- 0x1C180806, // 0002 EQ R6 R4 R6
- 0x781A0004, // 0003 JMPF R6 #0009
- 0xB81A0200, // 0004 GETNGBL R6 K1
- 0x8C180D02, // 0005 GETMET R6 R6 K2
- 0x5C200000, // 0006 MOVE R8 R0
- 0x7C180400, // 0007 CALL R6 2
- 0x5C100C00, // 0008 MOVE R4 R6
- 0x88180304, // 0009 GETMBR R6 R1 K4
- 0x90120606, // 000A SETMBR R4 K3 R6
- 0x88180306, // 000B GETMBR R6 R1 K6
- 0x90120A06, // 000C SETMBR R4 K5 R6
- 0x90120F08, // 000D SETMBR R4 K7 K8
- 0x90121201, // 000E SETMBR R4 K9 R1
- 0x78060008, // 000F JMPF R1 #0019
- 0x8818030A, // 0010 GETMBR R6 R1 K10
- 0x20180D08, // 0011 NE R6 R6 K8
- 0x781A0005, // 0012 JMPF R6 #0019
- 0x8C18030C, // 0013 GETMET R6 R1 K12
- 0x7C180200, // 0014 CALL R6 1
- 0x90121606, // 0015 SETMBR R4 K11 R6
- 0x8818030A, // 0016 GETMBR R6 R1 K10
- 0x90121A06, // 0017 SETMBR R4 K13 R6
- 0x70020004, // 0018 JMP #001E
- 0x8818030E, // 0019 GETMBR R6 R1 K14
- 0x8C180D0F, // 001A GETMET R6 R6 K15
- 0x7C180200, // 001B CALL R6 1
- 0x90121606, // 001C SETMBR R4 K11 R6
- 0x90121B08, // 001D SETMBR R4 K13 K8
- 0x90122111, // 001E SETMBR R4 K16 K17
- 0x90122402, // 001F SETMBR R4 K18 R2
- 0x88180313, // 0020 GETMBR R6 R1 K19
- 0x00180D11, // 0021 ADD R6 R6 K17
- 0x90062606, // 0022 SETMBR R1 K19 R6
- 0x88180313, // 0023 GETMBR R6 R1 K19
- 0x541EFFFF, // 0024 LDINT R7 65536
- 0x30180C07, // 0025 OR R6 R6 R7
- 0x90122806, // 0026 SETMBR R4 K20 R6
- 0x90122B11, // 0027 SETMBR R4 K21 K17
- 0x780E0001, // 0028 JMPF R3 #002B
- 0x58180011, // 0029 LDCONST R6 K17
- 0x70020000, // 002A JMP #002C
- 0x58180008, // 002B LDCONST R6 K8
- 0x90122C06, // 002C SETMBR R4 K22 R6
- 0x80040800, // 002D RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: decode_header
********************************************************************/
@@ -858,33 +558,39 @@ be_local_closure(class_Matter_Frame_decode_header, /* name */
/********************************************************************
-** Solidified function: init
+** Solidified function: debug
********************************************************************/
extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_init, /* name */
+be_local_closure(class_Matter_Frame_debug, /* name */
be_nested_proto(
- 5, /* nstack */
- 5, /* argc */
+ 6, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Frame,
1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(raw),
- /* K2 */ be_nested_str_weak(remote_ip),
- /* K3 */ be_nested_str_weak(remote_port),
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(matter),
+ /* K1 */ be_nested_str_weak(Frame),
+ /* K2 */ be_nested_str_weak(message_handler),
+ /* K3 */ be_nested_str_weak(decode_header),
+ /* K4 */ be_nested_str_weak(decode_payload),
}),
- be_str_weak(init),
+ be_str_weak(debug),
&be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0x90020202, // 0001 SETMBR R0 K1 R2
- 0x90020403, // 0002 SETMBR R0 K2 R3
- 0x90020604, // 0003 SETMBR R0 K3 R4
- 0x80000000, // 0004 RET 0
+ ( &(const binstruction[10]) { /* code */
+ 0x80000400, // 0000 RET 0
+ 0xB80A0000, // 0001 GETNGBL R2 K0
+ 0x8C080501, // 0002 GETMET R2 R2 K1
+ 0x88100102, // 0003 GETMBR R4 R0 K2
+ 0x5C140200, // 0004 MOVE R5 R1
+ 0x7C080600, // 0005 CALL R2 3
+ 0x8C0C0503, // 0006 GETMET R3 R2 K3
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0x8C0C0504, // 0008 GETMET R3 R2 K4
+ 0x7C0C0200, // 0009 CALL R3 1
})
)
);
@@ -892,136 +598,143 @@ be_local_closure(class_Matter_Frame_init, /* name */
/********************************************************************
-** Solidified function: decode_payload
+** Solidified function: build_response
********************************************************************/
extern const bclass be_class_Matter_Frame;
-be_local_closure(class_Matter_Frame_decode_payload, /* name */
+be_local_closure(class_Matter_Frame_build_response, /* name */
be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
+ 10, /* nstack */
+ 4, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Frame,
1, /* has constants */
- ( &(const bvalue[19]) { /* constants */
- /* K0 */ be_nested_str_weak(payload_idx),
- /* K1 */ be_nested_str_weak(raw),
- /* K2 */ be_nested_str_weak(x_flags),
- /* K3 */ be_nested_str_weak(get),
- /* K4 */ be_const_int(1),
- /* K5 */ be_nested_str_weak(x_flag_v),
- /* K6 */ be_nested_str_weak(getbits),
- /* K7 */ be_nested_str_weak(x_flag_sx),
- /* K8 */ be_const_int(3),
- /* K9 */ be_nested_str_weak(x_flag_r),
- /* K10 */ be_const_int(2),
- /* K11 */ be_nested_str_weak(x_flag_a),
- /* K12 */ be_nested_str_weak(x_flag_i),
- /* K13 */ be_nested_str_weak(opcode),
- /* K14 */ be_nested_str_weak(exchange_id),
- /* K15 */ be_nested_str_weak(protocol_id),
- /* K16 */ be_nested_str_weak(vendor_id),
- /* K17 */ be_nested_str_weak(ack_message_counter),
- /* K18 */ be_nested_str_weak(app_payload_idx),
+ ( &(const bvalue[29]) { /* constants */
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(remote_ip),
+ /* K2 */ be_nested_str_weak(remote_port),
+ /* K3 */ be_nested_str_weak(flag_s),
+ /* K4 */ be_nested_str_weak(flag_dsiz),
+ /* K5 */ be_const_int(1),
+ /* K6 */ be_nested_str_weak(dest_node_id_8),
+ /* K7 */ be_nested_str_weak(source_node_id),
+ /* K8 */ be_const_int(0),
+ /* K9 */ be_nested_str_weak(session),
+ /* K10 */ be_nested_str_weak(local_session_id),
+ /* K11 */ be_nested_str_weak(initiator_session_id),
+ /* K12 */ be_nested_str_weak(message_counter),
+ /* K13 */ be_nested_str_weak(counter_snd_next),
+ /* K14 */ be_nested_str_weak(_counter_insecure_snd),
+ /* K15 */ be_nested_str_weak(next),
+ /* K16 */ be_nested_str_weak(x_flag_i),
+ /* K17 */ be_nested_str_weak(opcode),
+ /* K18 */ be_nested_str_weak(exchange_id),
+ /* K19 */ be_nested_str_weak(protocol_id),
+ /* K20 */ be_nested_str_weak(x_flag_r),
+ /* K21 */ be_nested_str_weak(x_flag_a),
+ /* K22 */ be_nested_str_weak(ack_message_counter),
+ /* K23 */ be_nested_str_weak(matter),
+ /* K24 */ be_nested_str_weak(get_opcode_name),
+ /* K25 */ be_nested_str_weak(0x_X2502X),
+ /* K26 */ be_nested_str_weak(log),
+ /* K27 */ be_nested_str_weak(MTR_X3A_X20_X3CReplied_X20_X20_X20_X28_X256i_X29_X20_X25s),
+ /* K28 */ be_const_int(3),
}),
- be_str_weak(decode_payload),
+ be_str_weak(build_response),
&be_const_str_solidified,
- ( &(const binstruction[93]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x8C0C0503, // 0002 GETMET R3 R2 K3
- 0x5C140200, // 0003 MOVE R5 R1
- 0x58180004, // 0004 LDCONST R6 K4
- 0x7C0C0600, // 0005 CALL R3 3
- 0x90020403, // 0006 SETMBR R0 K2 R3
- 0x8C0C0506, // 0007 GETMET R3 R2 K6
- 0x54160007, // 0008 LDINT R5 8
- 0x08140205, // 0009 MUL R5 R1 R5
- 0x541A0003, // 000A LDINT R6 4
- 0x00140A06, // 000B ADD R5 R5 R6
- 0x58180004, // 000C LDCONST R6 K4
- 0x7C0C0600, // 000D CALL R3 3
- 0x90020A03, // 000E SETMBR R0 K5 R3
- 0x8C0C0506, // 000F GETMET R3 R2 K6
- 0x54160007, // 0010 LDINT R5 8
- 0x08140205, // 0011 MUL R5 R1 R5
- 0x00140B08, // 0012 ADD R5 R5 K8
- 0x58180004, // 0013 LDCONST R6 K4
- 0x7C0C0600, // 0014 CALL R3 3
- 0x90020E03, // 0015 SETMBR R0 K7 R3
- 0x8C0C0506, // 0016 GETMET R3 R2 K6
- 0x54160007, // 0017 LDINT R5 8
- 0x08140205, // 0018 MUL R5 R1 R5
- 0x00140B0A, // 0019 ADD R5 R5 K10
- 0x58180004, // 001A LDCONST R6 K4
- 0x7C0C0600, // 001B CALL R3 3
- 0x90021203, // 001C SETMBR R0 K9 R3
- 0x8C0C0506, // 001D GETMET R3 R2 K6
- 0x54160007, // 001E LDINT R5 8
- 0x08140205, // 001F MUL R5 R1 R5
- 0x00140B04, // 0020 ADD R5 R5 K4
- 0x58180004, // 0021 LDCONST R6 K4
- 0x7C0C0600, // 0022 CALL R3 3
- 0x90021603, // 0023 SETMBR R0 K11 R3
- 0x8C0C0506, // 0024 GETMET R3 R2 K6
- 0x54160007, // 0025 LDINT R5 8
- 0x08140205, // 0026 MUL R5 R1 R5
- 0x58180004, // 0027 LDCONST R6 K4
- 0x7C0C0600, // 0028 CALL R3 3
- 0x90021803, // 0029 SETMBR R0 K12 R3
- 0x8C0C0503, // 002A GETMET R3 R2 K3
- 0x00140304, // 002B ADD R5 R1 K4
- 0x58180004, // 002C LDCONST R6 K4
- 0x7C0C0600, // 002D CALL R3 3
- 0x90021A03, // 002E SETMBR R0 K13 R3
- 0x8C0C0503, // 002F GETMET R3 R2 K3
- 0x0014030A, // 0030 ADD R5 R1 K10
- 0x5818000A, // 0031 LDCONST R6 K10
- 0x7C0C0600, // 0032 CALL R3 3
- 0x90021C03, // 0033 SETMBR R0 K14 R3
- 0x880C010C, // 0034 GETMBR R3 R0 K12
- 0x740E0003, // 0035 JMPT R3 #003A
- 0x880C010E, // 0036 GETMBR R3 R0 K14
- 0x5412FFFF, // 0037 LDINT R4 65536
- 0x300C0604, // 0038 OR R3 R3 R4
- 0x90021C03, // 0039 SETMBR R0 K14 R3
- 0x8C0C0503, // 003A GETMET R3 R2 K3
- 0x54160003, // 003B LDINT R5 4
- 0x00140205, // 003C ADD R5 R1 R5
- 0x5818000A, // 003D LDCONST R6 K10
- 0x7C0C0600, // 003E CALL R3 3
- 0x90021E03, // 003F SETMBR R0 K15 R3
- 0x540E0005, // 0040 LDINT R3 6
- 0x00040203, // 0041 ADD R1 R1 R3
- 0x880C0105, // 0042 GETMBR R3 R0 K5
- 0x780E0005, // 0043 JMPF R3 #004A
- 0x8C0C0503, // 0044 GETMET R3 R2 K3
- 0x5C140200, // 0045 MOVE R5 R1
- 0x5818000A, // 0046 LDCONST R6 K10
- 0x7C0C0600, // 0047 CALL R3 3
- 0x90022003, // 0048 SETMBR R0 K16 R3
- 0x0004030A, // 0049 ADD R1 R1 K10
- 0x880C010B, // 004A GETMBR R3 R0 K11
- 0x780E0006, // 004B JMPF R3 #0053
- 0x8C0C0503, // 004C GETMET R3 R2 K3
- 0x5C140200, // 004D MOVE R5 R1
- 0x541A0003, // 004E LDINT R6 4
- 0x7C0C0600, // 004F CALL R3 3
- 0x90022203, // 0050 SETMBR R0 K17 R3
- 0x540E0003, // 0051 LDINT R3 4
- 0x00040203, // 0052 ADD R1 R1 R3
- 0x880C0107, // 0053 GETMBR R3 R0 K7
- 0x780E0005, // 0054 JMPF R3 #005B
- 0x8C0C0503, // 0055 GETMET R3 R2 K3
- 0x5C140200, // 0056 MOVE R5 R1
- 0x5818000A, // 0057 LDCONST R6 K10
- 0x7C0C0600, // 0058 CALL R3 3
- 0x0010070A, // 0059 ADD R4 R3 K10
- 0x00040204, // 005A ADD R1 R1 R4
- 0x90022401, // 005B SETMBR R0 K18 R1
- 0x80040000, // 005C RET 1 R0
+ ( &(const binstruction[90]) { /* code */
+ 0x4C100000, // 0000 LDNIL R4
+ 0x1C100604, // 0001 EQ R4 R3 R4
+ 0x78120005, // 0002 JMPF R4 #0009
+ 0x60100006, // 0003 GETGBL R4 G6
+ 0x5C140000, // 0004 MOVE R5 R0
+ 0x7C100200, // 0005 CALL R4 1
+ 0x88140100, // 0006 GETMBR R5 R0 K0
+ 0x7C100200, // 0007 CALL R4 1
+ 0x5C0C0800, // 0008 MOVE R3 R4
+ 0x88100101, // 0009 GETMBR R4 R0 K1
+ 0x900E0204, // 000A SETMBR R3 K1 R4
+ 0x88100102, // 000B GETMBR R4 R0 K2
+ 0x900E0404, // 000C SETMBR R3 K2 R4
+ 0x88100103, // 000D GETMBR R4 R0 K3
+ 0x78120003, // 000E JMPF R4 #0013
+ 0x900E0905, // 000F SETMBR R3 K4 K5
+ 0x88100107, // 0010 GETMBR R4 R0 K7
+ 0x900E0C04, // 0011 SETMBR R3 K6 R4
+ 0x70020000, // 0012 JMP #0014
+ 0x900E0908, // 0013 SETMBR R3 K4 K8
+ 0x88100109, // 0014 GETMBR R4 R0 K9
+ 0x900E1204, // 0015 SETMBR R3 K9 R4
+ 0x8810010A, // 0016 GETMBR R4 R0 K10
+ 0x20100908, // 0017 NE R4 R4 K8
+ 0x7812000D, // 0018 JMPF R4 #0027
+ 0x88100109, // 0019 GETMBR R4 R0 K9
+ 0x7812000B, // 001A JMPF R4 #0027
+ 0x88100109, // 001B GETMBR R4 R0 K9
+ 0x8810090B, // 001C GETMBR R4 R4 K11
+ 0x20100908, // 001D NE R4 R4 K8
+ 0x78120007, // 001E JMPF R4 #0027
+ 0x88100109, // 001F GETMBR R4 R0 K9
+ 0x8C10090D, // 0020 GETMET R4 R4 K13
+ 0x7C100200, // 0021 CALL R4 1
+ 0x900E1804, // 0022 SETMBR R3 K12 R4
+ 0x88100109, // 0023 GETMBR R4 R0 K9
+ 0x8810090B, // 0024 GETMBR R4 R4 K11
+ 0x900E1404, // 0025 SETMBR R3 K10 R4
+ 0x70020005, // 0026 JMP #002D
+ 0x88100109, // 0027 GETMBR R4 R0 K9
+ 0x8810090E, // 0028 GETMBR R4 R4 K14
+ 0x8C10090F, // 0029 GETMET R4 R4 K15
+ 0x7C100200, // 002A CALL R4 1
+ 0x900E1804, // 002B SETMBR R3 K12 R4
+ 0x900E1508, // 002C SETMBR R3 K10 K8
+ 0x88100110, // 002D GETMBR R4 R0 K16
+ 0x78120001, // 002E JMPF R4 #0031
+ 0x58100008, // 002F LDCONST R4 K8
+ 0x70020000, // 0030 JMP #0032
+ 0x58100005, // 0031 LDCONST R4 K5
+ 0x900E2004, // 0032 SETMBR R3 K16 R4
+ 0x900E2201, // 0033 SETMBR R3 K17 R1
+ 0x88100112, // 0034 GETMBR R4 R0 K18
+ 0x900E2404, // 0035 SETMBR R3 K18 R4
+ 0x88100113, // 0036 GETMBR R4 R0 K19
+ 0x900E2604, // 0037 SETMBR R3 K19 R4
+ 0x88100114, // 0038 GETMBR R4 R0 K20
+ 0x78120002, // 0039 JMPF R4 #003D
+ 0x900E2B05, // 003A SETMBR R3 K21 K5
+ 0x8810010C, // 003B GETMBR R4 R0 K12
+ 0x900E2C04, // 003C SETMBR R3 K22 R4
+ 0x780A0001, // 003D JMPF R2 #0040
+ 0x58100005, // 003E LDCONST R4 K5
+ 0x70020000, // 003F JMP #0041
+ 0x58100008, // 0040 LDCONST R4 K8
+ 0x900E2804, // 0041 SETMBR R3 K20 R4
+ 0x8810070A, // 0042 GETMBR R4 R3 K10
+ 0x1C100908, // 0043 EQ R4 R4 K8
+ 0x78120013, // 0044 JMPF R4 #0059
+ 0xB8122E00, // 0045 GETNGBL R4 K23
+ 0x8C100918, // 0046 GETMET R4 R4 K24
+ 0x88180711, // 0047 GETMBR R6 R3 K17
+ 0x7C100400, // 0048 CALL R4 2
+ 0x5C140800, // 0049 MOVE R5 R4
+ 0x74160004, // 004A JMPT R5 #0050
+ 0x60140018, // 004B GETGBL R5 G24
+ 0x58180019, // 004C LDCONST R6 K25
+ 0x881C0711, // 004D GETMBR R7 R3 K17
+ 0x7C140400, // 004E CALL R5 2
+ 0x5C100A00, // 004F MOVE R4 R5
+ 0xB8163400, // 0050 GETNGBL R5 K26
+ 0x60180018, // 0051 GETGBL R6 G24
+ 0x581C001B, // 0052 LDCONST R7 K27
+ 0x88200709, // 0053 GETMBR R8 R3 K9
+ 0x8820110A, // 0054 GETMBR R8 R8 K10
+ 0x5C240800, // 0055 MOVE R9 R4
+ 0x7C180600, // 0056 CALL R6 3
+ 0x581C001C, // 0057 LDCONST R7 K28
+ 0x7C140400, // 0058 CALL R5 2
+ 0x80040600, // 0059 RET 1 R3
})
)
);
@@ -1197,56 +910,379 @@ be_local_closure(class_Matter_Frame_decrypt, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: build_standalone_ack
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_build_standalone_ack, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[21]) { /* constants */
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(remote_ip),
+ /* K2 */ be_nested_str_weak(remote_port),
+ /* K3 */ be_nested_str_weak(flag_s),
+ /* K4 */ be_nested_str_weak(flag_dsiz),
+ /* K5 */ be_const_int(1),
+ /* K6 */ be_nested_str_weak(dest_node_id_8),
+ /* K7 */ be_nested_str_weak(source_node_id),
+ /* K8 */ be_const_int(0),
+ /* K9 */ be_nested_str_weak(session),
+ /* K10 */ be_nested_str_weak(message_counter),
+ /* K11 */ be_nested_str_weak(counter_snd_next),
+ /* K12 */ be_nested_str_weak(local_session_id),
+ /* K13 */ be_nested_str_weak(initiator_session_id),
+ /* K14 */ be_nested_str_weak(x_flag_i),
+ /* K15 */ be_nested_str_weak(opcode),
+ /* K16 */ be_nested_str_weak(exchange_id),
+ /* K17 */ be_nested_str_weak(protocol_id),
+ /* K18 */ be_nested_str_weak(x_flag_a),
+ /* K19 */ be_nested_str_weak(ack_message_counter),
+ /* K20 */ be_nested_str_weak(x_flag_r),
+ }),
+ be_str_weak(build_standalone_ack),
+ &be_const_str_solidified,
+ ( &(const binstruction[45]) { /* code */
+ 0x60080006, // 0000 GETGBL R2 G6
+ 0x5C0C0000, // 0001 MOVE R3 R0
+ 0x7C080200, // 0002 CALL R2 1
+ 0x880C0100, // 0003 GETMBR R3 R0 K0
+ 0x7C080200, // 0004 CALL R2 1
+ 0x880C0101, // 0005 GETMBR R3 R0 K1
+ 0x900A0203, // 0006 SETMBR R2 K1 R3
+ 0x880C0102, // 0007 GETMBR R3 R0 K2
+ 0x900A0403, // 0008 SETMBR R2 K2 R3
+ 0x880C0103, // 0009 GETMBR R3 R0 K3
+ 0x780E0003, // 000A JMPF R3 #000F
+ 0x900A0905, // 000B SETMBR R2 K4 K5
+ 0x880C0107, // 000C GETMBR R3 R0 K7
+ 0x900A0C03, // 000D SETMBR R2 K6 R3
+ 0x70020000, // 000E JMP #0010
+ 0x900A0908, // 000F SETMBR R2 K4 K8
+ 0x880C0109, // 0010 GETMBR R3 R0 K9
+ 0x900A1203, // 0011 SETMBR R2 K9 R3
+ 0x880C0109, // 0012 GETMBR R3 R0 K9
+ 0x8C0C070B, // 0013 GETMET R3 R3 K11
+ 0x7C0C0200, // 0014 CALL R3 1
+ 0x900A1403, // 0015 SETMBR R2 K10 R3
+ 0x880C0109, // 0016 GETMBR R3 R0 K9
+ 0x880C070D, // 0017 GETMBR R3 R3 K13
+ 0x900A1803, // 0018 SETMBR R2 K12 R3
+ 0x880C010E, // 0019 GETMBR R3 R0 K14
+ 0x780E0001, // 001A JMPF R3 #001D
+ 0x580C0008, // 001B LDCONST R3 K8
+ 0x70020000, // 001C JMP #001E
+ 0x580C0005, // 001D LDCONST R3 K5
+ 0x900A1C03, // 001E SETMBR R2 K14 R3
+ 0x540E000F, // 001F LDINT R3 16
+ 0x900A1E03, // 0020 SETMBR R2 K15 R3
+ 0x880C0110, // 0021 GETMBR R3 R0 K16
+ 0x900A2003, // 0022 SETMBR R2 K16 R3
+ 0x900A2308, // 0023 SETMBR R2 K17 K8
+ 0x900A2505, // 0024 SETMBR R2 K18 K5
+ 0x880C010A, // 0025 GETMBR R3 R0 K10
+ 0x900A2603, // 0026 SETMBR R2 K19 R3
+ 0x78060001, // 0027 JMPF R1 #002A
+ 0x580C0005, // 0028 LDCONST R3 K5
+ 0x70020000, // 0029 JMP #002B
+ 0x580C0008, // 002A LDCONST R3 K8
+ 0x900A2803, // 002B SETMBR R2 K20 R3
+ 0x80040400, // 002C RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: initiate_response
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_initiate_response, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 5, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[23]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Frame),
+ /* K1 */ be_nested_str_weak(matter),
+ /* K2 */ be_nested_str_weak(Frame),
+ /* K3 */ be_nested_str_weak(remote_ip),
+ /* K4 */ be_nested_str_weak(_ip),
+ /* K5 */ be_nested_str_weak(remote_port),
+ /* K6 */ be_nested_str_weak(_port),
+ /* K7 */ be_nested_str_weak(flag_dsiz),
+ /* K8 */ be_const_int(0),
+ /* K9 */ be_nested_str_weak(session),
+ /* K10 */ be_nested_str_weak(initiator_session_id),
+ /* K11 */ be_nested_str_weak(message_counter),
+ /* K12 */ be_nested_str_weak(counter_snd_next),
+ /* K13 */ be_nested_str_weak(local_session_id),
+ /* K14 */ be_nested_str_weak(_counter_insecure_snd),
+ /* K15 */ be_nested_str_weak(next),
+ /* K16 */ be_nested_str_weak(x_flag_i),
+ /* K17 */ be_const_int(1),
+ /* K18 */ be_nested_str_weak(opcode),
+ /* K19 */ be_nested_str_weak(_exchange_id),
+ /* K20 */ be_nested_str_weak(exchange_id),
+ /* K21 */ be_nested_str_weak(protocol_id),
+ /* K22 */ be_nested_str_weak(x_flag_r),
+ }),
+ be_str_weak(initiate_response),
+ &be_const_str_solidified,
+ ( &(const binstruction[46]) { /* code */
+ 0x58140000, // 0000 LDCONST R5 K0
+ 0x4C180000, // 0001 LDNIL R6
+ 0x1C180806, // 0002 EQ R6 R4 R6
+ 0x781A0004, // 0003 JMPF R6 #0009
+ 0xB81A0200, // 0004 GETNGBL R6 K1
+ 0x8C180D02, // 0005 GETMET R6 R6 K2
+ 0x5C200000, // 0006 MOVE R8 R0
+ 0x7C180400, // 0007 CALL R6 2
+ 0x5C100C00, // 0008 MOVE R4 R6
+ 0x88180304, // 0009 GETMBR R6 R1 K4
+ 0x90120606, // 000A SETMBR R4 K3 R6
+ 0x88180306, // 000B GETMBR R6 R1 K6
+ 0x90120A06, // 000C SETMBR R4 K5 R6
+ 0x90120F08, // 000D SETMBR R4 K7 K8
+ 0x90121201, // 000E SETMBR R4 K9 R1
+ 0x78060008, // 000F JMPF R1 #0019
+ 0x8818030A, // 0010 GETMBR R6 R1 K10
+ 0x20180D08, // 0011 NE R6 R6 K8
+ 0x781A0005, // 0012 JMPF R6 #0019
+ 0x8C18030C, // 0013 GETMET R6 R1 K12
+ 0x7C180200, // 0014 CALL R6 1
+ 0x90121606, // 0015 SETMBR R4 K11 R6
+ 0x8818030A, // 0016 GETMBR R6 R1 K10
+ 0x90121A06, // 0017 SETMBR R4 K13 R6
+ 0x70020004, // 0018 JMP #001E
+ 0x8818030E, // 0019 GETMBR R6 R1 K14
+ 0x8C180D0F, // 001A GETMET R6 R6 K15
+ 0x7C180200, // 001B CALL R6 1
+ 0x90121606, // 001C SETMBR R4 K11 R6
+ 0x90121B08, // 001D SETMBR R4 K13 K8
+ 0x90122111, // 001E SETMBR R4 K16 K17
+ 0x90122402, // 001F SETMBR R4 K18 R2
+ 0x88180313, // 0020 GETMBR R6 R1 K19
+ 0x00180D11, // 0021 ADD R6 R6 K17
+ 0x90062606, // 0022 SETMBR R1 K19 R6
+ 0x88180313, // 0023 GETMBR R6 R1 K19
+ 0x541EFFFF, // 0024 LDINT R7 65536
+ 0x30180C07, // 0025 OR R6 R6 R7
+ 0x90122806, // 0026 SETMBR R4 K20 R6
+ 0x90122B11, // 0027 SETMBR R4 K21 K17
+ 0x780E0001, // 0028 JMPF R3 #002B
+ 0x58180011, // 0029 LDCONST R6 K17
+ 0x70020000, // 002A JMP #002C
+ 0x58180008, // 002B LDCONST R6 K8
+ 0x90122C06, // 002C SETMBR R4 K22 R6
+ 0x80040800, // 002D RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: decode_payload
+********************************************************************/
+extern const bclass be_class_Matter_Frame;
+be_local_closure(class_Matter_Frame_decode_payload, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Frame,
+ 1, /* has constants */
+ ( &(const bvalue[19]) { /* constants */
+ /* K0 */ be_nested_str_weak(payload_idx),
+ /* K1 */ be_nested_str_weak(raw),
+ /* K2 */ be_nested_str_weak(x_flags),
+ /* K3 */ be_nested_str_weak(get),
+ /* K4 */ be_const_int(1),
+ /* K5 */ be_nested_str_weak(x_flag_v),
+ /* K6 */ be_nested_str_weak(getbits),
+ /* K7 */ be_nested_str_weak(x_flag_sx),
+ /* K8 */ be_const_int(3),
+ /* K9 */ be_nested_str_weak(x_flag_r),
+ /* K10 */ be_const_int(2),
+ /* K11 */ be_nested_str_weak(x_flag_a),
+ /* K12 */ be_nested_str_weak(x_flag_i),
+ /* K13 */ be_nested_str_weak(opcode),
+ /* K14 */ be_nested_str_weak(exchange_id),
+ /* K15 */ be_nested_str_weak(protocol_id),
+ /* K16 */ be_nested_str_weak(vendor_id),
+ /* K17 */ be_nested_str_weak(ack_message_counter),
+ /* K18 */ be_nested_str_weak(app_payload_idx),
+ }),
+ be_str_weak(decode_payload),
+ &be_const_str_solidified,
+ ( &(const binstruction[93]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x8C0C0503, // 0002 GETMET R3 R2 K3
+ 0x5C140200, // 0003 MOVE R5 R1
+ 0x58180004, // 0004 LDCONST R6 K4
+ 0x7C0C0600, // 0005 CALL R3 3
+ 0x90020403, // 0006 SETMBR R0 K2 R3
+ 0x8C0C0506, // 0007 GETMET R3 R2 K6
+ 0x54160007, // 0008 LDINT R5 8
+ 0x08140205, // 0009 MUL R5 R1 R5
+ 0x541A0003, // 000A LDINT R6 4
+ 0x00140A06, // 000B ADD R5 R5 R6
+ 0x58180004, // 000C LDCONST R6 K4
+ 0x7C0C0600, // 000D CALL R3 3
+ 0x90020A03, // 000E SETMBR R0 K5 R3
+ 0x8C0C0506, // 000F GETMET R3 R2 K6
+ 0x54160007, // 0010 LDINT R5 8
+ 0x08140205, // 0011 MUL R5 R1 R5
+ 0x00140B08, // 0012 ADD R5 R5 K8
+ 0x58180004, // 0013 LDCONST R6 K4
+ 0x7C0C0600, // 0014 CALL R3 3
+ 0x90020E03, // 0015 SETMBR R0 K7 R3
+ 0x8C0C0506, // 0016 GETMET R3 R2 K6
+ 0x54160007, // 0017 LDINT R5 8
+ 0x08140205, // 0018 MUL R5 R1 R5
+ 0x00140B0A, // 0019 ADD R5 R5 K10
+ 0x58180004, // 001A LDCONST R6 K4
+ 0x7C0C0600, // 001B CALL R3 3
+ 0x90021203, // 001C SETMBR R0 K9 R3
+ 0x8C0C0506, // 001D GETMET R3 R2 K6
+ 0x54160007, // 001E LDINT R5 8
+ 0x08140205, // 001F MUL R5 R1 R5
+ 0x00140B04, // 0020 ADD R5 R5 K4
+ 0x58180004, // 0021 LDCONST R6 K4
+ 0x7C0C0600, // 0022 CALL R3 3
+ 0x90021603, // 0023 SETMBR R0 K11 R3
+ 0x8C0C0506, // 0024 GETMET R3 R2 K6
+ 0x54160007, // 0025 LDINT R5 8
+ 0x08140205, // 0026 MUL R5 R1 R5
+ 0x58180004, // 0027 LDCONST R6 K4
+ 0x7C0C0600, // 0028 CALL R3 3
+ 0x90021803, // 0029 SETMBR R0 K12 R3
+ 0x8C0C0503, // 002A GETMET R3 R2 K3
+ 0x00140304, // 002B ADD R5 R1 K4
+ 0x58180004, // 002C LDCONST R6 K4
+ 0x7C0C0600, // 002D CALL R3 3
+ 0x90021A03, // 002E SETMBR R0 K13 R3
+ 0x8C0C0503, // 002F GETMET R3 R2 K3
+ 0x0014030A, // 0030 ADD R5 R1 K10
+ 0x5818000A, // 0031 LDCONST R6 K10
+ 0x7C0C0600, // 0032 CALL R3 3
+ 0x90021C03, // 0033 SETMBR R0 K14 R3
+ 0x880C010C, // 0034 GETMBR R3 R0 K12
+ 0x740E0003, // 0035 JMPT R3 #003A
+ 0x880C010E, // 0036 GETMBR R3 R0 K14
+ 0x5412FFFF, // 0037 LDINT R4 65536
+ 0x300C0604, // 0038 OR R3 R3 R4
+ 0x90021C03, // 0039 SETMBR R0 K14 R3
+ 0x8C0C0503, // 003A GETMET R3 R2 K3
+ 0x54160003, // 003B LDINT R5 4
+ 0x00140205, // 003C ADD R5 R1 R5
+ 0x5818000A, // 003D LDCONST R6 K10
+ 0x7C0C0600, // 003E CALL R3 3
+ 0x90021E03, // 003F SETMBR R0 K15 R3
+ 0x540E0005, // 0040 LDINT R3 6
+ 0x00040203, // 0041 ADD R1 R1 R3
+ 0x880C0105, // 0042 GETMBR R3 R0 K5
+ 0x780E0005, // 0043 JMPF R3 #004A
+ 0x8C0C0503, // 0044 GETMET R3 R2 K3
+ 0x5C140200, // 0045 MOVE R5 R1
+ 0x5818000A, // 0046 LDCONST R6 K10
+ 0x7C0C0600, // 0047 CALL R3 3
+ 0x90022003, // 0048 SETMBR R0 K16 R3
+ 0x0004030A, // 0049 ADD R1 R1 K10
+ 0x880C010B, // 004A GETMBR R3 R0 K11
+ 0x780E0006, // 004B JMPF R3 #0053
+ 0x8C0C0503, // 004C GETMET R3 R2 K3
+ 0x5C140200, // 004D MOVE R5 R1
+ 0x541A0003, // 004E LDINT R6 4
+ 0x7C0C0600, // 004F CALL R3 3
+ 0x90022203, // 0050 SETMBR R0 K17 R3
+ 0x540E0003, // 0051 LDINT R3 4
+ 0x00040203, // 0052 ADD R1 R1 R3
+ 0x880C0107, // 0053 GETMBR R3 R0 K7
+ 0x780E0005, // 0054 JMPF R3 #005B
+ 0x8C0C0503, // 0055 GETMET R3 R2 K3
+ 0x5C140200, // 0056 MOVE R5 R1
+ 0x5818000A, // 0057 LDCONST R6 K10
+ 0x7C0C0600, // 0058 CALL R3 3
+ 0x0010070A, // 0059 ADD R4 R3 K10
+ 0x00040204, // 005A ADD R1 R1 R4
+ 0x90022401, // 005B SETMBR R0 K18 R1
+ 0x80040000, // 005C RET 1 R0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified class: Matter_Frame
********************************************************************/
be_local_class(Matter_Frame,
32,
NULL,
- be_nested_map(42,
+ be_nested_map(43,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(x_flag_i, -1), be_const_var(22) },
- { be_const_key_weak(dest_node_id_8, 7), be_const_var(16) },
- { be_const_key_weak(x_flags, -1), be_const_var(17) },
- { be_const_key_weak(x_flag_a, -1), be_const_var(21) },
- { be_const_key_weak(exchange_id, -1), be_const_var(24) },
- { be_const_key_weak(opcode, -1), be_const_var(23) },
- { be_const_key_weak(encode_frame, -1), be_const_closure(class_Matter_Frame_encode_frame_closure) },
- { be_const_key_weak(app_payload_idx, -1), be_const_var(29) },
- { be_const_key_weak(payload_idx, -1), be_const_var(3) },
- { be_const_key_weak(ack_message_counter, 24), be_const_var(27) },
- { be_const_key_weak(build_standalone_ack, -1), be_const_closure(class_Matter_Frame_build_standalone_ack_closure) },
- { be_const_key_weak(x_flag_v, 6), be_const_var(18) },
- { be_const_key_weak(sec_c, -1), be_const_var(10) },
- { be_const_key_weak(vendor_id, 32), be_const_var(26) },
- { be_const_key_weak(local_session_id, -1), be_const_var(7) },
- { be_const_key_weak(flag_s, -1), be_const_var(5) },
- { be_const_key_weak(debug, -1), be_const_closure(class_Matter_Frame_debug_closure) },
- { be_const_key_weak(message_handler, 10), be_const_var(0) },
- { be_const_key_weak(encrypt, 34), be_const_closure(class_Matter_Frame_encrypt_closure) },
- { be_const_key_weak(session, -1), be_const_var(1) },
- { be_const_key_weak(sec_flags, -1), be_const_var(8) },
- { be_const_key_weak(build_response, -1), be_const_closure(class_Matter_Frame_build_response_closure) },
- { be_const_key_weak(initiate_response, -1), be_const_static_closure(class_Matter_Frame_initiate_response_closure) },
- { be_const_key_weak(remote_port, -1), be_const_var(31) },
- { be_const_key_weak(sec_sesstype, -1), be_const_var(12) },
- { be_const_key_weak(decode_header, 23), be_const_closure(class_Matter_Frame_decode_header_closure) },
- { be_const_key_weak(flags, -1), be_const_var(4) },
- { be_const_key_weak(protocol_id, 13), be_const_var(25) },
+ { be_const_key_weak(decode_payload, 35), be_const_closure(class_Matter_Frame_decode_payload_closure) },
{ be_const_key_weak(raw, -1), be_const_var(2) },
- { be_const_key_weak(source_node_id, 28), be_const_var(14) },
+ { be_const_key_weak(sec_c, 30), be_const_var(10) },
+ { be_const_key_weak(message_counter, 11), be_const_var(13) },
+ { be_const_key_weak(message_handler, -1), be_const_var(0) },
+ { be_const_key_weak(remote_ip, 4), be_const_var(30) },
+ { be_const_key_weak(x_flag_sx, -1), be_const_var(19) },
+ { be_const_key_weak(get_node_id, -1), be_const_closure(class_Matter_Frame_get_node_id_closure) },
+ { be_const_key_weak(sec_mx, -1), be_const_var(11) },
{ be_const_key_weak(flag_dsiz, -1), be_const_var(6) },
- { be_const_key_weak(x_flag_r, -1), be_const_var(20) },
- { be_const_key_weak(message_counter, -1), be_const_var(13) },
- { be_const_key_weak(init, 14), be_const_closure(class_Matter_Frame_init_closure) },
- { be_const_key_weak(x_flag_sx, 12), be_const_var(19) },
- { be_const_key_weak(dest_node_id_2, -1), be_const_var(15) },
- { be_const_key_weak(decode_payload, -1), be_const_closure(class_Matter_Frame_decode_payload_closure) },
- { be_const_key_weak(sec_p, 8), be_const_var(9) },
- { be_const_key_weak(decrypt, -1), be_const_closure(class_Matter_Frame_decrypt_closure) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_Frame_init_closure) },
+ { be_const_key_weak(x_flag_r, 9), be_const_var(20) },
+ { be_const_key_weak(encode_frame, 36), be_const_closure(class_Matter_Frame_encode_frame_closure) },
+ { be_const_key_weak(exchange_id, -1), be_const_var(24) },
+ { be_const_key_weak(x_flag_v, -1), be_const_var(18) },
{ be_const_key_weak(sec_extensions, -1), be_const_var(28) },
- { be_const_key_weak(sec_mx, 3), be_const_var(11) },
- { be_const_key_weak(remote_ip, 2), be_const_var(30) },
+ { be_const_key_weak(opcode, -1), be_const_var(23) },
+ { be_const_key_weak(local_session_id, -1), be_const_var(7) },
+ { be_const_key_weak(decode_header, -1), be_const_closure(class_Matter_Frame_decode_header_closure) },
+ { be_const_key_weak(debug, 22), be_const_closure(class_Matter_Frame_debug_closure) },
+ { be_const_key_weak(dest_node_id_8, -1), be_const_var(16) },
+ { be_const_key_weak(vendor_id, 32), be_const_var(26) },
+ { be_const_key_weak(initiate_response, -1), be_const_static_closure(class_Matter_Frame_initiate_response_closure) },
+ { be_const_key_weak(build_response, -1), be_const_closure(class_Matter_Frame_build_response_closure) },
+ { be_const_key_weak(payload_idx, -1), be_const_var(3) },
+ { be_const_key_weak(encrypt, 23), be_const_closure(class_Matter_Frame_encrypt_closure) },
+ { be_const_key_weak(dest_node_id_2, 21), be_const_var(15) },
+ { be_const_key_weak(sec_p, -1), be_const_var(9) },
+ { be_const_key_weak(sec_sesstype, 16), be_const_var(12) },
+ { be_const_key_weak(protocol_id, -1), be_const_var(25) },
+ { be_const_key_weak(build_standalone_ack, 38), be_const_closure(class_Matter_Frame_build_standalone_ack_closure) },
+ { be_const_key_weak(remote_port, -1), be_const_var(31) },
+ { be_const_key_weak(decrypt, -1), be_const_closure(class_Matter_Frame_decrypt_closure) },
+ { be_const_key_weak(session, 24), be_const_var(1) },
+ { be_const_key_weak(x_flag_i, -1), be_const_var(22) },
+ { be_const_key_weak(flag_s, -1), be_const_var(5) },
+ { be_const_key_weak(sec_flags, 37), be_const_var(8) },
+ { be_const_key_weak(x_flag_a, -1), be_const_var(21) },
+ { be_const_key_weak(app_payload_idx, -1), be_const_var(29) },
+ { be_const_key_weak(flags, -1), be_const_var(4) },
+ { be_const_key_weak(ack_message_counter, 8), be_const_var(27) },
+ { be_const_key_weak(source_node_id, -1), be_const_var(14) },
+ { be_const_key_weak(x_flags, 0), be_const_var(17) },
})),
be_str_weak(Matter_Frame)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_0.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_0.h
index 401fd4429..8c3e21abe 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_0.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_0.h
@@ -7,38 +7,12 @@
extern const bclass be_class_Matter_Plugin;
/********************************************************************
-** Solidified function: write_attribute
+** Solidified function: update_shadow
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_write_attribute, /* name */
+be_local_closure(class_Matter_Plugin_update_shadow, /* name */
be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(write_attribute),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C100000, // 0000 LDNIL R4
- 0x80040800, // 0001 RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: append_state_json
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_append_state_json, /* name */
- be_nested_proto(
- 1, /* nstack */
+ 2, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -46,13 +20,17 @@ be_local_closure(class_Matter_Plugin_append_state_json, /* name */
0, /* has sup protos */
&be_class_Matter_Plugin,
1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(tick),
+ /* K1 */ be_nested_str_weak(device),
}),
- be_str_weak(append_state_json),
+ be_str_weak(update_shadow),
&be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80060000, // 0000 RET 1 K0
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040101, // 0000 GETMBR R1 R0 K1
+ 0x88040300, // 0001 GETMBR R1 R1 K0
+ 0x90020001, // 0002 SETMBR R0 K0 R1
+ 0x80000000, // 0003 RET 0
})
)
);
@@ -117,176 +95,6 @@ be_local_closure(class_Matter_Plugin_state_json, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: timed_request
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_timed_request, /* name */
- be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(timed_request),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C100000, // 0000 LDNIL R4
- 0x80040800, // 0001 RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: parse_sensors
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_parse_sensors, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(parse_sensors),
- &be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80000000, // 0000 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_endpoint
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_get_endpoint, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(endpoint),
- }),
- be_str_weak(get_endpoint),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: update_virtual
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_update_virtual, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(update_virtual),
- &be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80000000, // 0000 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: ui_conf_to_string
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_ui_conf_to_string, /* name */
- be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Plugin),
- /* K1 */ be_nested_str_weak(ARG),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(),
- }),
- be_str_weak(ui_conf_to_string),
- &be_const_str_solidified,
- ( &(const binstruction[12]) { /* code */
- 0x58080000, // 0000 LDCONST R2 K0
- 0x880C0101, // 0001 GETMBR R3 R0 K1
- 0x780E0006, // 0002 JMPF R3 #000A
- 0x60100008, // 0003 GETGBL R4 G8
- 0x8C140302, // 0004 GETMET R5 R1 K2
- 0x5C1C0600, // 0005 MOVE R7 R3
- 0x58200003, // 0006 LDCONST R8 K3
- 0x7C140600, // 0007 CALL R5 3
- 0x7C100200, // 0008 CALL R4 1
- 0x70020000, // 0009 JMP #000B
- 0x58100003, // 000A LDCONST R4 K3
- 0x80040800, // 000B RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: parse_configuration
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_parse_configuration, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(parse_configuration),
- &be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80000000, // 0000 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: ack_request
********************************************************************/
@@ -331,12 +139,64 @@ be_local_closure(class_Matter_Plugin_ack_request, /* name */
/********************************************************************
-** Solidified function: get_cluster_list_sorted
+** Solidified function: write_attribute
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_get_cluster_list_sorted, /* name */
+be_local_closure(class_Matter_Plugin_write_attribute, /* name */
be_nested_proto(
- 4, /* nstack */
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(write_attribute),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C100000, // 0000 LDNIL R4
+ 0x80040800, // 0001 RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: invoke_request
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_invoke_request, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(invoke_request),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C100000, // 0000 LDNIL R4
+ 0x80040800, // 0001 RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: append_state_json
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_append_state_json, /* name */
+ be_nested_proto(
+ 1, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -344,137 +204,13 @@ be_local_closure(class_Matter_Plugin_get_cluster_list_sorted, /* name */
0, /* has sup protos */
&be_class_Matter_Plugin,
1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(device),
- /* K1 */ be_nested_str_weak(k2l),
- /* K2 */ be_nested_str_weak(clusters),
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(),
}),
- be_str_weak(get_cluster_list_sorted),
+ be_str_weak(append_state_json),
&be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x7C040400, // 0003 CALL R1 2
- 0x80040200, // 0004 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: contains_cluster
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_contains_cluster, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(clusters),
- /* K1 */ be_nested_str_weak(contains),
- }),
- be_str_weak(contains_cluster),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x7C080400, // 0003 CALL R2 2
- 0x80040400, // 0004 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_init, /* name */
- be_nested_proto(
- 8, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(device),
- /* K1 */ be_nested_str_weak(endpoint),
- /* K2 */ be_nested_str_weak(clusters),
- /* K3 */ be_nested_str_weak(get_clusters),
- /* K4 */ be_nested_str_weak(parse_configuration),
- /* K5 */ be_nested_str_weak(node_label),
- /* K6 */ be_nested_str_weak(find),
- /* K7 */ be_nested_str_weak(name),
- /* K8 */ be_nested_str_weak(),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[14]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0x90020202, // 0001 SETMBR R0 K1 R2
- 0x8C100103, // 0002 GETMET R4 R0 K3
- 0x7C100200, // 0003 CALL R4 1
- 0x90020404, // 0004 SETMBR R0 K2 R4
- 0x8C100104, // 0005 GETMET R4 R0 K4
- 0x5C180600, // 0006 MOVE R6 R3
- 0x7C100400, // 0007 CALL R4 2
- 0x8C100706, // 0008 GETMET R4 R3 K6
- 0x58180007, // 0009 LDCONST R6 K7
- 0x581C0008, // 000A LDCONST R7 K8
- 0x7C100600, // 000B CALL R4 3
- 0x90020A04, // 000C SETMBR R0 K5 R4
- 0x80000000, // 000D RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: ui_string_to_conf
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_ui_string_to_conf, /* name */
- be_nested_proto(
- 8, /* nstack */
- 3, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Plugin),
- /* K1 */ be_nested_str_weak(ARG),
- /* K2 */ be_nested_str_weak(ARG_TYPE),
- }),
- be_str_weak(ui_string_to_conf),
- &be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0x580C0000, // 0000 LDCONST R3 K0
- 0x88100101, // 0001 GETMBR R4 R0 K1
- 0x88140102, // 0002 GETMBR R5 R0 K2
- 0x780A0004, // 0003 JMPF R2 #0009
- 0x78120003, // 0004 JMPF R4 #0009
- 0x5C180A00, // 0005 MOVE R6 R5
- 0x5C1C0400, // 0006 MOVE R7 R2
- 0x7C180200, // 0007 CALL R6 1
- 0x98040806, // 0008 SETIDX R1 R4 R6
- 0x80040200, // 0009 RET 1 R1
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80060000, // 0000 RET 1 K0
})
)
);
@@ -545,25 +281,113 @@ be_local_closure(class_Matter_Plugin_every_250ms, /* name */
/********************************************************************
-** Solidified function: subscribe_event
+** Solidified function: publish_event
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_subscribe_event, /* name */
+be_local_closure(class_Matter_Plugin_publish_event, /* name */
be_nested_proto(
- 6, /* nstack */
+ 17, /* nstack */
5, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(subscribe_event),
+ 1, /* has constants */
+ ( &(const bvalue[27]) { /* constants */
+ /* K0 */ be_nested_str_weak(matter),
+ /* K1 */ be_nested_str_weak(EventDataIB),
+ /* K2 */ be_nested_str_weak(EventPathIB),
+ /* K3 */ be_nested_str_weak(endpoint),
+ /* K4 */ be_nested_str_weak(cluster),
+ /* K5 */ be_nested_str_weak(event),
+ /* K6 */ be_nested_str_weak(path),
+ /* K7 */ be_nested_str_weak(priority),
+ /* K8 */ be_nested_str_weak(event_number),
+ /* K9 */ be_nested_str_weak(device),
+ /* K10 */ be_nested_str_weak(events),
+ /* K11 */ be_nested_str_weak(get_next_event_no),
+ /* K12 */ be_nested_str_weak(epoch_timestamp),
+ /* K13 */ be_nested_str_weak(tasmota),
+ /* K14 */ be_nested_str_weak(rtc),
+ /* K15 */ be_nested_str_weak(utc),
+ /* K16 */ be_const_int(1700000000),
+ /* K17 */ be_nested_str_weak(data),
+ /* K18 */ be_const_int(2),
+ /* K19 */ be_nested_str_weak(CRIT_X20_X20),
+ /* K20 */ be_const_int(1),
+ /* K21 */ be_nested_str_weak(INFO_X20_X20),
+ /* K22 */ be_nested_str_weak(DEBUG_X20),
+ /* K23 */ be_nested_str_weak(log),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20_X2BAdd_Event_X20_X28_X25s_X29_X20_X5B_X2502X_X5D_X2504X_X2F_X2504X_X20_X28_X255i_X29_X20_X2D_X20_X25s),
+ /* K25 */ be_nested_str_weak(MTR_X3A_X20Publishing_X20event_X20_X25s),
+ /* K26 */ be_nested_str_weak(queue_event),
+ }),
+ be_str_weak(publish_event),
&be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x80040A00, // 0001 RET 1 R5
+ ( &(const binstruction[62]) { /* code */
+ 0xB8160000, // 0000 GETNGBL R5 K0
+ 0x8C140B01, // 0001 GETMET R5 R5 K1
+ 0x7C140200, // 0002 CALL R5 1
+ 0xB81A0000, // 0003 GETNGBL R6 K0
+ 0x8C180D02, // 0004 GETMET R6 R6 K2
+ 0x7C180200, // 0005 CALL R6 1
+ 0x881C0103, // 0006 GETMBR R7 R0 K3
+ 0x901A0607, // 0007 SETMBR R6 K3 R7
+ 0x901A0801, // 0008 SETMBR R6 K4 R1
+ 0x901A0A02, // 0009 SETMBR R6 K5 R2
+ 0x90160C06, // 000A SETMBR R5 K6 R6
+ 0x90160E03, // 000B SETMBR R5 K7 R3
+ 0x881C0109, // 000C GETMBR R7 R0 K9
+ 0x881C0F0A, // 000D GETMBR R7 R7 K10
+ 0x8C1C0F0B, // 000E GETMET R7 R7 K11
+ 0x7C1C0200, // 000F CALL R7 1
+ 0x90161007, // 0010 SETMBR R5 K8 R7
+ 0xB81E1A00, // 0011 GETNGBL R7 K13
+ 0x8C1C0F0E, // 0012 GETMET R7 R7 K14
+ 0x5824000F, // 0013 LDCONST R9 K15
+ 0x7C1C0400, // 0014 CALL R7 2
+ 0x90161807, // 0015 SETMBR R5 K12 R7
+ 0x881C0B0C, // 0016 GETMBR R7 R5 K12
+ 0x141C0F10, // 0017 LT R7 R7 K16
+ 0x781E0001, // 0018 JMPF R7 #001B
+ 0x4C1C0000, // 0019 LDNIL R7
+ 0x90161807, // 001A SETMBR R5 K12 R7
+ 0x90162204, // 001B SETMBR R5 K17 R4
+ 0x1C1C0712, // 001C EQ R7 R3 K18
+ 0x781E0001, // 001D JMPF R7 #0020
+ 0x581C0013, // 001E LDCONST R7 K19
+ 0x70020004, // 001F JMP #0025
+ 0x1C1C0714, // 0020 EQ R7 R3 K20
+ 0x781E0001, // 0021 JMPF R7 #0024
+ 0x581C0015, // 0022 LDCONST R7 K21
+ 0x70020000, // 0023 JMP #0025
+ 0x581C0016, // 0024 LDCONST R7 K22
+ 0xB8222E00, // 0025 GETNGBL R8 K23
+ 0x60240018, // 0026 GETGBL R9 G24
+ 0x58280018, // 0027 LDCONST R10 K24
+ 0x5C2C0E00, // 0028 MOVE R11 R7
+ 0x88300D03, // 0029 GETMBR R12 R6 K3
+ 0x88340D04, // 002A GETMBR R13 R6 K4
+ 0x88380D05, // 002B GETMBR R14 R6 K5
+ 0x883C0B08, // 002C GETMBR R15 R5 K8
+ 0x88400B11, // 002D GETMBR R16 R5 K17
+ 0x7C240E00, // 002E CALL R9 7
+ 0x58280012, // 002F LDCONST R10 K18
+ 0x7C200400, // 0030 CALL R8 2
+ 0xB8222E00, // 0031 GETNGBL R8 K23
+ 0x60240018, // 0032 GETGBL R9 G24
+ 0x58280019, // 0033 LDCONST R10 K25
+ 0x5C2C0A00, // 0034 MOVE R11 R5
+ 0x7C240400, // 0035 CALL R9 2
+ 0x542A0003, // 0036 LDINT R10 4
+ 0x7C200400, // 0037 CALL R8 2
+ 0x88200109, // 0038 GETMBR R8 R0 K9
+ 0x8820110A, // 0039 GETMBR R8 R8 K10
+ 0x8C20111A, // 003A GETMET R8 R8 K26
+ 0x5C280A00, // 003B MOVE R10 R5
+ 0x7C200400, // 003C CALL R8 2
+ 0x80000000, // 003D RET 0
})
)
);
@@ -571,10 +395,10 @@ be_local_closure(class_Matter_Plugin_subscribe_event, /* name */
/********************************************************************
-** Solidified function: get_attribute_list
+** Solidified function: set_name
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_get_attribute_list, /* name */
+be_local_closure(class_Matter_Plugin_set_name, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@@ -585,19 +409,393 @@ be_local_closure(class_Matter_Plugin_get_attribute_list, /* name */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(clusters),
- /* K1 */ be_nested_str_weak(find),
+ /* K0 */ be_nested_str_weak(node_label),
+ /* K1 */ be_nested_str_weak(attribute_updated),
}),
- be_str_weak(get_attribute_list),
+ be_str_weak(set_name),
&be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
+ ( &(const binstruction[ 9]) { /* code */
0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x60140012, // 0003 GETGBL R5 G18
- 0x7C140000, // 0004 CALL R5 0
- 0x7C080600, // 0005 CALL R2 3
- 0x80040400, // 0006 RET 1 R2
+ 0x20080202, // 0001 NE R2 R1 R2
+ 0x780A0003, // 0002 JMPF R2 #0007
+ 0x8C080101, // 0003 GETMET R2 R0 K1
+ 0x54120038, // 0004 LDINT R4 57
+ 0x54160004, // 0005 LDINT R5 5
+ 0x7C080600, // 0006 CALL R2 3
+ 0x90020001, // 0007 SETMBR R0 K0 R1
+ 0x80000000, // 0008 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function:
+********************************************************************/
+be_local_closure(class_Matter_Plugin__X3Clambda_X3E, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 0, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x60040008, // 0000 GETGBL R1 G8
+ 0x5C080000, // 0001 MOVE R2 R0
+ 0x7C040200, // 0002 CALL R1 1
+ 0x80040200, // 0003 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: ui_string_to_conf
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_ui_string_to_conf, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 3, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Plugin),
+ /* K1 */ be_nested_str_weak(ARG),
+ /* K2 */ be_nested_str_weak(ARG_TYPE),
+ }),
+ be_str_weak(ui_string_to_conf),
+ &be_const_str_solidified,
+ ( &(const binstruction[10]) { /* code */
+ 0x580C0000, // 0000 LDCONST R3 K0
+ 0x88100101, // 0001 GETMBR R4 R0 K1
+ 0x88140102, // 0002 GETMBR R5 R0 K2
+ 0x780A0004, // 0003 JMPF R2 #0009
+ 0x78120003, // 0004 JMPF R4 #0009
+ 0x5C180A00, // 0005 MOVE R6 R5
+ 0x5C1C0400, // 0006 MOVE R7 R2
+ 0x7C180200, // 0007 CALL R6 1
+ 0x98040806, // 0008 SETIDX R1 R4 R6
+ 0x80040200, // 0009 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: timed_request
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_timed_request, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(timed_request),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C100000, // 0000 LDNIL R4
+ 0x80040800, // 0001 RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_init, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(endpoint),
+ /* K2 */ be_nested_str_weak(clusters),
+ /* K3 */ be_nested_str_weak(get_clusters),
+ /* K4 */ be_nested_str_weak(parse_configuration),
+ /* K5 */ be_nested_str_weak(node_label),
+ /* K6 */ be_nested_str_weak(find),
+ /* K7 */ be_nested_str_weak(name),
+ /* K8 */ be_nested_str_weak(),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[14]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x90020202, // 0001 SETMBR R0 K1 R2
+ 0x8C100103, // 0002 GETMET R4 R0 K3
+ 0x7C100200, // 0003 CALL R4 1
+ 0x90020404, // 0004 SETMBR R0 K2 R4
+ 0x8C100104, // 0005 GETMET R4 R0 K4
+ 0x5C180600, // 0006 MOVE R6 R3
+ 0x7C100400, // 0007 CALL R4 2
+ 0x8C100706, // 0008 GETMET R4 R3 K6
+ 0x58180007, // 0009 LDCONST R6 K7
+ 0x581C0008, // 000A LDCONST R7 K8
+ 0x7C100600, // 000B CALL R4 3
+ 0x90020A04, // 000C SETMBR R0 K5 R4
+ 0x80000000, // 000D RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: is_local_device
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_is_local_device, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(BRIDGE),
+ }),
+ be_str_weak(is_local_device),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060000, // 0001 JMPF R1 #0003
+ 0x50040001, // 0002 LDBOOL R1 0 1
+ 0x50040200, // 0003 LDBOOL R1 1 0
+ 0x80040200, // 0004 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: consolidate_update_commands
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_consolidate_update_commands, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(UPDATE_COMMANDS),
+ }),
+ be_str_weak(consolidate_update_commands),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: update_shadow_lazy
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_update_shadow_lazy, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(tick),
+ /* K1 */ be_nested_str_weak(device),
+ /* K2 */ be_nested_str_weak(update_shadow),
+ }),
+ be_str_weak(update_shadow_lazy),
+ &be_const_str_solidified,
+ ( &(const binstruction[11]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x88080500, // 0002 GETMBR R2 R2 K0
+ 0x20040202, // 0003 NE R1 R1 R2
+ 0x78060004, // 0004 JMPF R1 #000A
+ 0x8C040102, // 0005 GETMET R1 R0 K2
+ 0x7C040200, // 0006 CALL R1 1
+ 0x88040101, // 0007 GETMBR R1 R0 K1
+ 0x88040300, // 0008 GETMBR R1 R1 K0
+ 0x90020001, // 0009 SETMBR R0 K0 R1
+ 0x80000000, // 000A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_cluster_list_sorted
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_get_cluster_list_sorted, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(k2l),
+ /* K2 */ be_nested_str_weak(clusters),
+ }),
+ be_str_weak(get_cluster_list_sorted),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x7C040400, // 0003 CALL R1 2
+ 0x80040200, // 0004 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: ui_conf_to_string
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_ui_conf_to_string, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 2, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Plugin),
+ /* K1 */ be_nested_str_weak(ARG),
+ /* K2 */ be_nested_str_weak(find),
+ /* K3 */ be_nested_str_weak(),
+ }),
+ be_str_weak(ui_conf_to_string),
+ &be_const_str_solidified,
+ ( &(const binstruction[12]) { /* code */
+ 0x58080000, // 0000 LDCONST R2 K0
+ 0x880C0101, // 0001 GETMBR R3 R0 K1
+ 0x780E0006, // 0002 JMPF R3 #000A
+ 0x60100008, // 0003 GETGBL R4 G8
+ 0x8C140302, // 0004 GETMET R5 R1 K2
+ 0x5C1C0600, // 0005 MOVE R7 R3
+ 0x58200003, // 0006 LDCONST R8 K3
+ 0x7C140600, // 0007 CALL R5 3
+ 0x7C100200, // 0008 CALL R4 1
+ 0x70020000, // 0009 JMP #000B
+ 0x58100003, // 000A LDCONST R4 K3
+ 0x80040800, // 000B RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: attribute_updated
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_attribute_updated, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(attribute_updated),
+ /* K2 */ be_nested_str_weak(endpoint),
+ }),
+ be_str_weak(attribute_updated),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x88100100, // 0000 GETMBR R4 R0 K0
+ 0x8C100901, // 0001 GETMET R4 R4 K1
+ 0x88180102, // 0002 GETMBR R6 R0 K2
+ 0x5C1C0200, // 0003 MOVE R7 R1
+ 0x5C200400, // 0004 MOVE R8 R2
+ 0x5C240600, // 0005 MOVE R9 R3
+ 0x7C100A00, // 0006 CALL R4 5
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: update_virtual
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_update_virtual, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(update_virtual),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80000000, // 0000 RET 0
})
)
);
@@ -650,10 +848,35 @@ be_local_closure(class_Matter_Plugin__parse_update_virtual, /* name */
/********************************************************************
-** Solidified function: consolidate_update_commands
+** Solidified function: parse_configuration
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_consolidate_update_commands, /* name */
+be_local_closure(class_Matter_Plugin_parse_configuration, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(parse_configuration),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80000000, // 0000 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_name
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_get_name, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@@ -664,9 +887,9 @@ be_local_closure(class_Matter_Plugin_consolidate_update_commands, /* name */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(UPDATE_COMMANDS),
+ /* K0 */ be_nested_str_weak(node_label),
}),
- be_str_weak(consolidate_update_commands),
+ be_str_weak(get_name),
&be_const_str_solidified,
( &(const binstruction[ 2]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
@@ -678,25 +901,27 @@ be_local_closure(class_Matter_Plugin_consolidate_update_commands, /* name */
/********************************************************************
-** Solidified function: subscribe_attribute
+** Solidified function: get_endpoint
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_subscribe_attribute, /* name */
+be_local_closure(class_Matter_Plugin_get_endpoint, /* name */
be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
+ 2, /* nstack */
+ 1, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(subscribe_attribute),
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(endpoint),
+ }),
+ be_str_weak(get_endpoint),
&be_const_str_solidified,
( &(const binstruction[ 2]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x80040A00, // 0001 RET 1 R5
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
})
)
);
@@ -755,54 +980,25 @@ be_local_closure(class_Matter_Plugin_contains_attribute, /* name */
/********************************************************************
-** Solidified function: get_clusters
+** Solidified function: subscribe_event
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_get_clusters, /* name */
+be_local_closure(class_Matter_Plugin_subscribe_event, /* name */
be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
+ 6, /* nstack */
+ 5, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(CLUSTERS),
- }),
- be_str_weak(get_clusters),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function:
-********************************************************************/
-be_local_closure(class_Matter_Plugin__X3Clambda_X3E, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 0, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL,
0, /* has constants */
NULL, /* no const */
- be_str_weak(_X3Clambda_X3E),
+ be_str_weak(subscribe_event),
&be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x60040008, // 0000 GETGBL R1 G8
- 0x5C080000, // 0001 MOVE R2 R0
- 0x7C040200, // 0002 CALL R1 1
- 0x80040200, // 0003 RET 1 R1
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x80040A00, // 0001 RET 1 R5
})
)
);
@@ -810,27 +1006,84 @@ be_local_closure(class_Matter_Plugin__X3Clambda_X3E, /* name */
/********************************************************************
-** Solidified function: get_name
+** Solidified function: read_event
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_get_name, /* name */
+be_local_closure(class_Matter_Plugin_read_event, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(read_event),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x80040A00, // 0001 RET 1 R5
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: parse_sensors
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_parse_sensors, /* name */
be_nested_proto(
2, /* nstack */
- 1, /* argc */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(parse_sensors),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80000000, // 0000 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_attribute_list
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_get_attribute_list, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Plugin,
1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(node_label),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(clusters),
+ /* K1 */ be_nested_str_weak(find),
}),
- be_str_weak(get_name),
+ be_str_weak(get_attribute_list),
&be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x60140012, // 0003 GETGBL R5 G18
+ 0x7C140000, // 0004 CALL R5 0
+ 0x7C080600, // 0005 CALL R2 3
+ 0x80040400, // 0006 RET 1 R2
})
)
);
@@ -918,204 +1171,10 @@ be_local_closure(class_Matter_Plugin_publish_command, /* name */
/********************************************************************
-** Solidified function: set_name
+** Solidified function: get_clusters
********************************************************************/
extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_set_name, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(node_label),
- /* K1 */ be_nested_str_weak(attribute_updated),
- }),
- be_str_weak(set_name),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x20080202, // 0001 NE R2 R1 R2
- 0x780A0003, // 0002 JMPF R2 #0007
- 0x8C080101, // 0003 GETMET R2 R0 K1
- 0x54120038, // 0004 LDINT R4 57
- 0x54160004, // 0005 LDINT R5 5
- 0x7C080600, // 0006 CALL R2 3
- 0x90020001, // 0007 SETMBR R0 K0 R1
- 0x80000000, // 0008 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: update_shadow_lazy
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_update_shadow_lazy, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(tick),
- /* K1 */ be_nested_str_weak(device),
- /* K2 */ be_nested_str_weak(update_shadow),
- }),
- be_str_weak(update_shadow_lazy),
- &be_const_str_solidified,
- ( &(const binstruction[11]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x88080500, // 0002 GETMBR R2 R2 K0
- 0x20040202, // 0003 NE R1 R1 R2
- 0x78060004, // 0004 JMPF R1 #000A
- 0x8C040102, // 0005 GETMET R1 R0 K2
- 0x7C040200, // 0006 CALL R1 1
- 0x88040101, // 0007 GETMBR R1 R0 K1
- 0x88040300, // 0008 GETMBR R1 R1 K0
- 0x90020001, // 0009 SETMBR R0 K0 R1
- 0x80000000, // 000A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: read_event
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_read_event, /* name */
- be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(read_event),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x80040A00, // 0001 RET 1 R5
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: update_shadow
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_update_shadow, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(tick),
- /* K1 */ be_nested_str_weak(device),
- }),
- be_str_weak(update_shadow),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040101, // 0000 GETMBR R1 R0 K1
- 0x88040300, // 0001 GETMBR R1 R1 K0
- 0x90020001, // 0002 SETMBR R0 K0 R1
- 0x80000000, // 0003 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: invoke_request
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_invoke_request, /* name */
- be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(invoke_request),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C100000, // 0000 LDNIL R4
- 0x80040800, // 0001 RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: attribute_updated
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_attribute_updated, /* name */
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Plugin,
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(device),
- /* K1 */ be_nested_str_weak(attribute_updated),
- /* K2 */ be_nested_str_weak(endpoint),
- }),
- be_str_weak(attribute_updated),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x88100100, // 0000 GETMBR R4 R0 K0
- 0x8C100901, // 0001 GETMET R4 R4 K1
- 0x88180102, // 0002 GETMBR R6 R0 K2
- 0x5C1C0200, // 0003 MOVE R7 R1
- 0x5C200400, // 0004 MOVE R8 R2
- 0x5C240600, // 0005 MOVE R9 R3
- 0x7C100A00, // 0006 CALL R4 5
- 0x80000000, // 0007 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: is_local_device
-********************************************************************/
-extern const bclass be_class_Matter_Plugin;
-be_local_closure(class_Matter_Plugin_is_local_device, /* name */
+be_local_closure(class_Matter_Plugin_get_clusters, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@@ -1126,16 +1185,45 @@ be_local_closure(class_Matter_Plugin_is_local_device, /* name */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(BRIDGE),
+ /* K0 */ be_nested_str_weak(CLUSTERS),
}),
- be_str_weak(is_local_device),
+ be_str_weak(get_clusters),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: contains_cluster
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_contains_cluster, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(clusters),
+ /* K1 */ be_nested_str_weak(contains),
+ }),
+ be_str_weak(contains_cluster),
&be_const_str_solidified,
( &(const binstruction[ 5]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060000, // 0001 JMPF R1 #0003
- 0x50040001, // 0002 LDBOOL R1 0 1
- 0x50040200, // 0003 LDBOOL R1 1 0
- 0x80040200, // 0004 RET 1 R1
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x7C080400, // 0003 CALL R2 2
+ 0x80040400, // 0004 RET 1 R2
})
)
);
@@ -1350,57 +1438,89 @@ be_local_closure(class_Matter_Plugin_read_attribute, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: subscribe_attribute
+********************************************************************/
+extern const bclass be_class_Matter_Plugin;
+be_local_closure(class_Matter_Plugin_subscribe_attribute, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(subscribe_attribute),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x80040A00, // 0001 RET 1 R5
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified class: Matter_Plugin
********************************************************************/
be_local_class(Matter_Plugin,
6,
NULL,
- be_nested_map(51,
+ be_nested_map(52,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(FEATURE_MAPS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
- be_const_map( * be_nested_map(3,
- ( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_int(258, -1), be_const_int(5) },
- { be_const_key_int(49, 2), be_const_int(4) },
- { be_const_key_int(514, -1), be_const_int(2) },
- })) ) } )) },
- { be_const_key_weak(append_state_json, -1), be_const_closure(class_Matter_Plugin_append_state_json_closure) },
- { be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_parse_configuration_closure) },
- { be_const_key_weak(state_json, -1), be_const_closure(class_Matter_Plugin_state_json_closure) },
- { be_const_key_weak(read_attribute, 9), be_const_closure(class_Matter_Plugin_read_attribute_closure) },
- { be_const_key_weak(timed_request, -1), be_const_closure(class_Matter_Plugin_timed_request_closure) },
- { be_const_key_weak(clusters, -1), be_const_var(3) },
- { be_const_key_weak(is_local_device, -1), be_const_closure(class_Matter_Plugin_is_local_device_closure) },
- { be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_update_virtual_closure) },
- { be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
- { be_const_key_weak(_parse_update_virtual, 2), be_const_closure(class_Matter_Plugin__parse_update_virtual_closure) },
+ { be_const_key_weak(subscribe_attribute, -1), be_const_closure(class_Matter_Plugin_subscribe_attribute_closure) },
+ { be_const_key_weak(state_json, 38), be_const_closure(class_Matter_Plugin_state_json_closure) },
+ { be_const_key_weak(update_shadow_lazy, -1), be_const_closure(class_Matter_Plugin_update_shadow_lazy_closure) },
+ { be_const_key_weak(device, -1), be_const_var(1) },
{ be_const_key_weak(ack_request, -1), be_const_closure(class_Matter_Plugin_ack_request_closure) },
- { be_const_key_weak(attribute_updated, -1), be_const_closure(class_Matter_Plugin_attribute_updated_closure) },
- { be_const_key_weak(get_endpoint, 19), be_const_closure(class_Matter_Plugin_get_endpoint_closure) },
- { be_const_key_weak(ARG, -1), be_nested_str_weak() },
- { be_const_key_weak(UPDATE_COMMANDS, 47), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
+ { be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
+ { be_const_key_weak(get_cluster_list_sorted, -1), be_const_closure(class_Matter_Plugin_get_cluster_list_sorted_closure) },
+ { be_const_key_weak(write_attribute, -1), be_const_closure(class_Matter_Plugin_write_attribute_closure) },
+ { be_const_key_weak(BRIDGE, -1), be_const_bool(0) },
+ { be_const_key_weak(get_clusters, -1), be_const_closure(class_Matter_Plugin_get_clusters_closure) },
+ { be_const_key_weak(CLUSTERS, 51), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ be_const_map( * be_nested_map(1,
+ ( (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_weak(UPDATE_COMMANDS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
be_const_list( * be_nested_list(0,
( (struct bvalue*) &(const bvalue[]) {
})) ) } )) },
- { be_const_key_weak(ui_string_to_conf, -1), be_const_static_closure(class_Matter_Plugin_ui_string_to_conf_closure) },
- { be_const_key_weak(every_250ms, 34), be_const_closure(class_Matter_Plugin_every_250ms_closure) },
- { be_const_key_weak(device, -1), be_const_var(1) },
- { be_const_key_weak(consolidate_update_commands, 48), be_const_closure(class_Matter_Plugin_consolidate_update_commands_closure) },
- { be_const_key_weak(subscribe_event, -1), be_const_closure(class_Matter_Plugin_subscribe_event_closure) },
+ { be_const_key_weak(every_250ms, 0), be_const_closure(class_Matter_Plugin_every_250ms_closure) },
+ { be_const_key_weak(publish_command, -1), be_const_closure(class_Matter_Plugin_publish_command_closure) },
{ be_const_key_weak(get_attribute_list, -1), be_const_closure(class_Matter_Plugin_get_attribute_list_closure) },
- { be_const_key_weak(write_attribute, 10), be_const_closure(class_Matter_Plugin_write_attribute_closure) },
- { be_const_key_weak(contains_attribute, -1), be_const_closure(class_Matter_Plugin_contains_attribute_closure) },
- { be_const_key_weak(read_event, 38), be_const_closure(class_Matter_Plugin_read_event_closure) },
- { be_const_key_weak(subscribe_attribute, -1), be_const_closure(class_Matter_Plugin_subscribe_attribute_closure) },
- { be_const_key_weak(contains_cluster, 23), be_const_closure(class_Matter_Plugin_contains_cluster_closure) },
- { be_const_key_weak(get_clusters, -1), be_const_closure(class_Matter_Plugin_get_clusters_closure) },
+ { be_const_key_weak(set_name, -1), be_const_closure(class_Matter_Plugin_set_name_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin__X3Clambda_X3E_closure) },
- { be_const_key_weak(get_name, 30), be_const_closure(class_Matter_Plugin_get_name_closure) },
- { be_const_key_weak(update_shadow_lazy, -1), be_const_closure(class_Matter_Plugin_update_shadow_lazy_closure) },
- { be_const_key_weak(TYPE, 6), be_nested_str_weak() },
- { be_const_key_weak(tick, -1), be_const_var(4) },
- { be_const_key_weak(CLUSTER_REVISIONS, 24), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_update_virtual_closure) },
+ { be_const_key_weak(timed_request, -1), be_const_closure(class_Matter_Plugin_timed_request_closure) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_init_closure) },
+ { be_const_key_weak(is_local_device, 34), be_const_closure(class_Matter_Plugin_is_local_device_closure) },
+ { be_const_key_weak(COMMANDS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ be_const_map( * be_nested_map(1,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_int(29, -1), be_const_nil() },
+ })) ) } )) },
+ { be_const_key_weak(clusters, -1), be_const_var(3) },
+ { be_const_key_weak(VIRTUAL, 5), be_const_bool(0) },
+ { be_const_key_weak(CLUSTER_REVISIONS, 23), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(25,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(8, -1), be_const_int(5) },
@@ -1429,44 +1549,39 @@ be_local_class(Matter_Plugin,
{ be_const_key_int(6, -1), be_const_int(5) },
{ be_const_key_int(1024, -1), be_const_int(3) },
})) ) } )) },
- { be_const_key_weak(update_next, -1), be_const_var(0) },
- { be_const_key_weak(COMMANDS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
- be_const_map( * be_nested_map(1,
- ( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_int(29, -1), be_const_nil() },
- })) ) } )) },
- { be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(_Not_X20used_) },
- { be_const_key_weak(set_name, -1), be_const_closure(class_Matter_Plugin_set_name_closure) },
- { be_const_key_weak(publish_command, -1), be_const_closure(class_Matter_Plugin_publish_command_closure) },
+ { be_const_key_weak(consolidate_update_commands, 6), be_const_closure(class_Matter_Plugin_consolidate_update_commands_closure) },
{ be_const_key_weak(ui_conf_to_string, -1), be_const_static_closure(class_Matter_Plugin_ui_conf_to_string_closure) },
- { be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_update_shadow_closure) },
- { be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_invoke_request_closure) },
- { be_const_key_weak(parse_sensors, 14), be_const_closure(class_Matter_Plugin_parse_sensors_closure) },
- { be_const_key_weak(CLUSTERS, 12), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
- be_const_map( * be_nested_map(1,
+ { be_const_key_weak(_parse_update_virtual, 36), be_const_closure(class_Matter_Plugin__parse_update_virtual_closure) },
+ { be_const_key_weak(update_next, 17), be_const_var(0) },
+ { be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(_Not_X20used_) },
+ { be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_parse_configuration_closure) },
+ { be_const_key_weak(invoke_request, 27), be_const_closure(class_Matter_Plugin_invoke_request_closure) },
+ { be_const_key_weak(node_label, -1), be_const_var(5) },
+ { be_const_key_weak(update_shadow, 30), be_const_closure(class_Matter_Plugin_update_shadow_closure) },
+ { be_const_key_weak(endpoint, 2), be_const_var(2) },
+ { be_const_key_weak(get_name, -1), be_const_closure(class_Matter_Plugin_get_name_closure) },
+ { be_const_key_weak(attribute_updated, -1), be_const_closure(class_Matter_Plugin_attribute_updated_closure) },
+ { be_const_key_weak(get_endpoint, -1), be_const_closure(class_Matter_Plugin_get_endpoint_closure) },
+ { be_const_key_weak(FEATURE_MAPS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ be_const_map( * be_nested_map(3,
( (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(258, -1), be_const_int(5) },
+ { be_const_key_int(49, 2), be_const_int(4) },
+ { be_const_key_int(514, -1), be_const_int(2) },
})) ) } )) },
- })) ) } )) },
- { be_const_key_weak(VIRTUAL, -1), be_const_bool(0) },
- { be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak() },
- { be_const_key_weak(node_label, 7), be_const_var(5) },
- { be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_init_closure) },
- { be_const_key_weak(get_cluster_list_sorted, 39), be_const_closure(class_Matter_Plugin_get_cluster_list_sorted_closure) },
- { be_const_key_weak(endpoint, -1), be_const_var(2) },
- { be_const_key_weak(BRIDGE, 0), be_const_bool(0) },
+ { be_const_key_weak(ARG, -1), be_nested_str_weak() },
+ { be_const_key_weak(subscribe_event, -1), be_const_closure(class_Matter_Plugin_subscribe_event_closure) },
+ { be_const_key_weak(TYPE, -1), be_nested_str_weak() },
+ { be_const_key_weak(read_event, -1), be_const_closure(class_Matter_Plugin_read_event_closure) },
+ { be_const_key_weak(publish_event, 21), be_const_closure(class_Matter_Plugin_publish_event_closure) },
+ { be_const_key_weak(parse_sensors, -1), be_const_closure(class_Matter_Plugin_parse_sensors_closure) },
+ { be_const_key_weak(DISPLAY_NAME, 14), be_nested_str_weak() },
+ { be_const_key_weak(ui_string_to_conf, 13), be_const_static_closure(class_Matter_Plugin_ui_string_to_conf_closure) },
+ { be_const_key_weak(contains_attribute, 9), be_const_closure(class_Matter_Plugin_contains_attribute_closure) },
+ { be_const_key_weak(tick, -1), be_const_var(4) },
+ { be_const_key_weak(contains_cluster, -1), be_const_closure(class_Matter_Plugin_contains_cluster_closure) },
+ { be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_read_attribute_closure) },
+ { be_const_key_weak(append_state_json, -1), be_const_closure(class_Matter_Plugin_append_state_json_closure) },
})),
be_str_weak(Matter_Plugin)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_1_Root.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_1_Root.h
index aebdbd01e..4d0d8cb27 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_1_Root.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_1_Root.h
@@ -20,7 +20,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0, /* has sup protos */
&be_class_Matter_Plugin_Root,
1, /* has constants */
- ( &(const bvalue[95]) { /* constants */
+ ( &(const bvalue[96]) { /* constants */
/* K0 */ be_nested_str_weak(string),
/* K1 */ be_nested_str_weak(matter),
/* K2 */ be_nested_str_weak(TLV),
@@ -108,18 +108,19 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
/* K84 */ be_nested_str_weak(Status_X202),
/* K85 */ be_nested_str_weak(StatusFWR),
/* K86 */ be_nested_str_weak(Hardware),
- /* K87 */ be_nested_str_weak(Version),
- /* K88 */ be_nested_str_weak(_X28),
- /* K89 */ be_nested_str_weak(locale),
- /* K90 */ be_nested_str_weak(create_TLV),
- /* K91 */ be_nested_str_weak(get_active_endpoints),
- /* K92 */ be_nested_str_weak(disable_bridge_mode),
- /* K93 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
- /* K94 */ be_nested_str_weak(read_attribute),
+ /* K87 */ be_nested_str_weak(version),
+ /* K88 */ be_nested_str_weak(Version),
+ /* K89 */ be_nested_str_weak(_X28),
+ /* K90 */ be_nested_str_weak(locale),
+ /* K91 */ be_nested_str_weak(create_TLV),
+ /* K92 */ be_nested_str_weak(get_active_endpoints),
+ /* K93 */ be_nested_str_weak(disable_bridge_mode),
+ /* K94 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
+ /* K95 */ be_nested_str_weak(read_attribute),
}),
be_str_weak(read_attribute),
&be_const_str_solidified,
- ( &(const binstruction[924]) { /* code */
+ ( &(const binstruction[926]) { /* code */
0xA4120000, // 0000 IMPORT R4 K0
0xB8160200, // 0001 GETNGBL R5 K1
0x88140B02, // 0002 GETMBR R5 R5 K2
@@ -176,11 +177,11 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x502C0000, // 0035 LDBOOL R11 0 0
0x7C200600, // 0036 CALL R8 3
0x80041000, // 0037 RET 1 R8
- 0x70020359, // 0038 JMP #0393
+ 0x7002035B, // 0038 JMP #0395
0x54220031, // 0039 LDINT R8 50
0x1C200C08, // 003A EQ R8 R6 R8
0x78220000, // 003B JMPF R8 #003D
- 0x70020355, // 003C JMP #0393
+ 0x70020357, // 003C JMP #0395
0x54220032, // 003D LDINT R8 51
0x1C200C08, // 003E EQ R8 R6 R8
0x782200DC, // 003F JMPF R8 #011D
@@ -404,11 +405,11 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x502C0000, // 0119 LDBOOL R11 0 0
0x7C200600, // 011A CALL R8 3
0x80041000, // 011B RET 1 R8
- 0x70020275, // 011C JMP #0393
+ 0x70020277, // 011C JMP #0395
0x54220033, // 011D LDINT R8 52
0x1C200C08, // 011E EQ R8 R6 R8
0x78220000, // 011F JMPF R8 #0121
- 0x70020271, // 0120 JMP #0393
+ 0x70020273, // 0120 JMP #0395
0x54220037, // 0121 LDINT R8 56
0x1C200C08, // 0122 EQ R8 R6 R8
0x7822002B, // 0123 JMPF R8 #0150
@@ -455,7 +456,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x5C301000, // 014C MOVE R12 R8
0x7C240600, // 014D CALL R9 3
0x80041200, // 014E RET 1 R9
- 0x70020242, // 014F JMP #0393
+ 0x70020244, // 014F JMP #0395
0x5422003D, // 0150 LDINT R8 62
0x1C200C08, // 0151 EQ R8 R6 R8
0x782200B5, // 0152 JMPF R8 #0209
@@ -640,7 +641,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x5C301000, // 0205 MOVE R12 R8
0x7C240600, // 0206 CALL R9 3
0x80041200, // 0207 RET 1 R9
- 0x70020189, // 0208 JMP #0393
+ 0x7002018B, // 0208 JMP #0395
0x5422003B, // 0209 LDINT R8 60
0x1C200C08, // 020A EQ R8 R6 R8
0x78220030, // 020B JMPF R8 #023D
@@ -692,10 +693,10 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x7C300200, // 0239 CALL R12 1
0x7C240600, // 023A CALL R9 3
0x80041200, // 023B RET 1 R9
- 0x70020155, // 023C JMP #0393
+ 0x70020157, // 023C JMP #0395
0x54220027, // 023D LDINT R8 40
0x1C200C08, // 023E EQ R8 R6 R8
- 0x782200BA, // 023F JMPF R8 #02FB
+ 0x782200BC, // 023F JMPF R8 #02FD
0x8C200133, // 0240 GETMET R8 R0 K51
0x5C280400, // 0241 MOVE R10 R2
0x7C200400, // 0242 CALL R8 2
@@ -706,7 +707,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x582C0009, // 0247 LDCONST R11 K9
0x7C200600, // 0248 CALL R8 3
0x80041000, // 0249 RET 1 R8
- 0x700200AE, // 024A JMP #02FA
+ 0x700200B0, // 024A JMP #02FC
0x1C200F09, // 024B EQ R8 R7 K9
0x78220005, // 024C JMPF R8 #0253
0x8C200706, // 024D GETMET R8 R3 K6
@@ -714,7 +715,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x582C004E, // 024F LDCONST R11 K78
0x7C200600, // 0250 CALL R8 3
0x80041000, // 0251 RET 1 R8
- 0x700200A6, // 0252 JMP #02FA
+ 0x700200A8, // 0252 JMP #02FC
0x1C200F0D, // 0253 EQ R8 R7 K13
0x78220006, // 0254 JMPF R8 #025C
0x8C200706, // 0255 GETMET R8 R3 K6
@@ -723,7 +724,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x882C174F, // 0258 GETMBR R11 R11 K79
0x7C200600, // 0259 CALL R8 3
0x80041000, // 025A RET 1 R8
- 0x7002009D, // 025B JMP #02FA
+ 0x7002009F, // 025B JMP #02FC
0x1C200F0F, // 025C EQ R8 R7 K15
0x7822000A, // 025D JMPF R8 #0269
0x8C200706, // 025E GETMET R8 R3 K6
@@ -736,7 +737,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x942C1750, // 0265 GETIDX R11 R11 K80
0x7C200600, // 0266 CALL R8 3
0x80041000, // 0267 RET 1 R8
- 0x70020090, // 0268 JMP #02FA
+ 0x70020092, // 0268 JMP #02FC
0x54220003, // 0269 LDINT R8 4
0x1C200E08, // 026A EQ R8 R7 R8
0x78220005, // 026B JMPF R8 #0272
@@ -745,7 +746,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x542E7FFF, // 026E LDINT R11 32768
0x7C200600, // 026F CALL R8 3
0x80041000, // 0270 RET 1 R8
- 0x70020087, // 0271 JMP #02FA
+ 0x70020089, // 0271 JMP #02FC
0x54220004, // 0272 LDINT R8 5
0x1C200E08, // 0273 EQ R8 R7 R8
0x7822000A, // 0274 JMPF R8 #0280
@@ -759,7 +760,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x942C1752, // 027C GETIDX R11 R11 K82
0x7C200600, // 027D CALL R8 3
0x80041000, // 027E RET 1 R8
- 0x70020079, // 027F JMP #02FA
+ 0x7002007B, // 027F JMP #02FC
0x54220005, // 0280 LDINT R8 6
0x1C200E08, // 0281 EQ R8 R7 R8
0x78220005, // 0282 JMPF R8 #0289
@@ -768,7 +769,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x582C0053, // 0285 LDCONST R11 K83
0x7C200600, // 0286 CALL R8 3
0x80041000, // 0287 RET 1 R8
- 0x70020070, // 0288 JMP #02FA
+ 0x70020072, // 0288 JMP #02FC
0x54220006, // 0289 LDINT R8 7
0x1C200E08, // 028A EQ R8 R7 R8
0x78220005, // 028B JMPF R8 #0292
@@ -777,7 +778,7 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x582C0005, // 028E LDCONST R11 K5
0x7C200600, // 028F CALL R8 3
0x80041000, // 0290 RET 1 R8
- 0x70020067, // 0291 JMP #02FA
+ 0x70020069, // 0291 JMP #02FC
0x54220007, // 0292 LDINT R8 8
0x1C200E08, // 0293 EQ R8 R7 R8
0x7822000B, // 0294 JMPF R8 #02A1
@@ -792,258 +793,260 @@ be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
0x942C1756, // 029D GETIDX R11 R11 K86
0x7C200600, // 029E CALL R8 3
0x80041000, // 029F RET 1 R8
- 0x70020058, // 02A0 JMP #02FA
+ 0x7002005A, // 02A0 JMP #02FC
0x54220008, // 02A1 LDINT R8 9
0x1C200E08, // 02A2 EQ R8 R7 R8
- 0x78220005, // 02A3 JMPF R8 #02AA
+ 0x78220007, // 02A3 JMPF R8 #02AC
0x8C200706, // 02A4 GETMET R8 R3 K6
- 0x88280B0C, // 02A5 GETMBR R10 R5 K12
- 0x582C0009, // 02A6 LDCONST R11 K9
- 0x7C200600, // 02A7 CALL R8 3
- 0x80041000, // 02A8 RET 1 R8
- 0x7002004F, // 02A9 JMP #02FA
- 0x54220009, // 02AA LDINT R8 10
- 0x1C200E08, // 02AB EQ R8 R7 R8
- 0x78220015, // 02AC JMPF R8 #02C3
- 0xB8222400, // 02AD GETNGBL R8 K18
- 0x8C201126, // 02AE GETMET R8 R8 K38
- 0x58280054, // 02AF LDCONST R10 K84
- 0x502C0200, // 02B0 LDBOOL R11 1 0
- 0x7C200600, // 02B1 CALL R8 3
- 0x94201155, // 02B2 GETIDX R8 R8 K85
- 0x94201157, // 02B3 GETIDX R8 R8 K87
- 0x8C24091B, // 02B4 GETMET R9 R4 K27
- 0x5C2C1000, // 02B5 MOVE R11 R8
- 0x58300058, // 02B6 LDCONST R12 K88
- 0x7C240600, // 02B7 CALL R9 3
- 0x24281305, // 02B8 GT R10 R9 K5
- 0x782A0002, // 02B9 JMPF R10 #02BD
- 0x04281309, // 02BA SUB R10 R9 K9
- 0x402A0A0A, // 02BB CONNECT R10 K5 R10
- 0x9420100A, // 02BC GETIDX R8 R8 R10
- 0x8C280706, // 02BD GETMET R10 R3 K6
- 0x88300B16, // 02BE GETMBR R12 R5 K22
- 0x5C341000, // 02BF MOVE R13 R8
- 0x7C280600, // 02C0 CALL R10 3
- 0x80041400, // 02C1 RET 1 R10
- 0x70020036, // 02C2 JMP #02FA
- 0x5422000E, // 02C3 LDINT R8 15
- 0x1C200E08, // 02C4 EQ R8 R7 R8
- 0x7822000B, // 02C5 JMPF R8 #02D2
- 0x8C200706, // 02C6 GETMET R8 R3 K6
- 0x88280B16, // 02C7 GETMBR R10 R5 K22
- 0xB82E2400, // 02C8 GETNGBL R11 K18
- 0x8C2C1725, // 02C9 GETMET R11 R11 K37
- 0x7C2C0200, // 02CA CALL R11 1
- 0x8C2C171B, // 02CB GETMET R11 R11 K27
- 0x5834001C, // 02CC LDCONST R13 K28
- 0x5838001D, // 02CD LDCONST R14 K29
- 0x7C2C0600, // 02CE CALL R11 3
- 0x7C200600, // 02CF CALL R8 3
- 0x80041000, // 02D0 RET 1 R8
- 0x70020027, // 02D1 JMP #02FA
- 0x54220010, // 02D2 LDINT R8 17
- 0x1C200E08, // 02D3 EQ R8 R7 R8
- 0x78220005, // 02D4 JMPF R8 #02DB
- 0x8C200706, // 02D5 GETMET R8 R3 K6
- 0x88280B10, // 02D6 GETMBR R10 R5 K16
- 0x582C0009, // 02D7 LDCONST R11 K9
- 0x7C200600, // 02D8 CALL R8 3
- 0x80041000, // 02D9 RET 1 R8
- 0x7002001E, // 02DA JMP #02FA
- 0x54220011, // 02DB LDINT R8 18
- 0x1C200E08, // 02DC EQ R8 R7 R8
- 0x7822000B, // 02DD JMPF R8 #02EA
- 0x8C200706, // 02DE GETMET R8 R3 K6
- 0x88280B16, // 02DF GETMBR R10 R5 K22
- 0xB82E2400, // 02E0 GETNGBL R11 K18
- 0x8C2C1725, // 02E1 GETMET R11 R11 K37
- 0x7C2C0200, // 02E2 CALL R11 1
- 0x8C2C171B, // 02E3 GETMET R11 R11 K27
- 0x5834001C, // 02E4 LDCONST R13 K28
- 0x5838001D, // 02E5 LDCONST R14 K29
- 0x7C2C0600, // 02E6 CALL R11 3
- 0x7C200600, // 02E7 CALL R8 3
- 0x80041000, // 02E8 RET 1 R8
- 0x7002000F, // 02E9 JMP #02FA
- 0x54220012, // 02EA LDINT R8 19
- 0x1C200E08, // 02EB EQ R8 R7 R8
- 0x7822000C, // 02EC JMPF R8 #02FA
- 0x8C200B0A, // 02ED GETMET R8 R5 K10
- 0x7C200200, // 02EE CALL R8 1
- 0x8C24110B, // 02EF GETMET R9 R8 K11
- 0x582C0005, // 02F0 LDCONST R11 K5
- 0x88300B0C, // 02F1 GETMBR R12 R5 K12
- 0x5834000F, // 02F2 LDCONST R13 K15
- 0x7C240800, // 02F3 CALL R9 4
- 0x8C24110B, // 02F4 GETMET R9 R8 K11
- 0x582C0009, // 02F5 LDCONST R11 K9
- 0x88300B0C, // 02F6 GETMBR R12 R5 K12
- 0x5834000F, // 02F7 LDCONST R13 K15
- 0x7C240800, // 02F8 CALL R9 4
- 0x80041000, // 02F9 RET 1 R8
- 0x70020097, // 02FA JMP #0393
- 0x5422003E, // 02FB LDINT R8 63
- 0x1C200C08, // 02FC EQ R8 R6 R8
- 0x78220000, // 02FD JMPF R8 #02FF
- 0x70020093, // 02FE JMP #0393
- 0x54220029, // 02FF LDINT R8 42
- 0x1C200C08, // 0300 EQ R8 R6 R8
- 0x7822001D, // 0301 JMPF R8 #0320
- 0x1C200F05, // 0302 EQ R8 R7 K5
- 0x78220003, // 0303 JMPF R8 #0308
- 0x8C200B11, // 0304 GETMET R8 R5 K17
- 0x7C200200, // 0305 CALL R8 1
- 0x80041000, // 0306 RET 1 R8
- 0x70020016, // 0307 JMP #031F
- 0x1C200F09, // 0308 EQ R8 R7 K9
- 0x78220005, // 0309 JMPF R8 #0310
- 0x8C200706, // 030A GETMET R8 R3 K6
- 0x88280B10, // 030B GETMBR R10 R5 K16
- 0x582C0005, // 030C LDCONST R11 K5
- 0x7C200600, // 030D CALL R8 3
- 0x80041000, // 030E RET 1 R8
- 0x7002000E, // 030F JMP #031F
- 0x1C200F0D, // 0310 EQ R8 R7 K13
- 0x78220005, // 0311 JMPF R8 #0318
- 0x8C200706, // 0312 GETMET R8 R3 K6
- 0x88280B0E, // 0313 GETMBR R10 R5 K14
- 0x582C0009, // 0314 LDCONST R11 K9
- 0x7C200600, // 0315 CALL R8 3
- 0x80041000, // 0316 RET 1 R8
- 0x70020006, // 0317 JMP #031F
- 0x1C200F0F, // 0318 EQ R8 R7 K15
- 0x78220004, // 0319 JMPF R8 #031F
- 0x8C200706, // 031A GETMET R8 R3 K6
- 0x88280B18, // 031B GETMBR R10 R5 K24
- 0x4C2C0000, // 031C LDNIL R11
- 0x7C200600, // 031D CALL R8 3
- 0x80041000, // 031E RET 1 R8
- 0x70020072, // 031F JMP #0393
- 0x5422002A, // 0320 LDINT R8 43
- 0x1C200C08, // 0321 EQ R8 R6 R8
- 0x78220016, // 0322 JMPF R8 #033A
- 0x1C200F05, // 0323 EQ R8 R7 K5
- 0x78220007, // 0324 JMPF R8 #032D
- 0x8C200706, // 0325 GETMET R8 R3 K6
- 0x88280B16, // 0326 GETMBR R10 R5 K22
- 0xB82E2400, // 0327 GETNGBL R11 K18
- 0x8C2C1759, // 0328 GETMET R11 R11 K89
- 0x7C2C0200, // 0329 CALL R11 1
- 0x7C200600, // 032A CALL R8 3
- 0x80041000, // 032B RET 1 R8
- 0x7002000B, // 032C JMP #0339
- 0x1C200F09, // 032D EQ R8 R7 K9
- 0x78220009, // 032E JMPF R8 #0339
- 0x8C200B11, // 032F GETMET R8 R5 K17
- 0x7C200200, // 0330 CALL R8 1
- 0x8C24110B, // 0331 GETMET R9 R8 K11
- 0x4C2C0000, // 0332 LDNIL R11
- 0x88300B16, // 0333 GETMBR R12 R5 K22
- 0xB8362400, // 0334 GETNGBL R13 K18
- 0x8C341B59, // 0335 GETMET R13 R13 K89
- 0x7C340200, // 0336 CALL R13 1
- 0x7C240800, // 0337 CALL R9 4
- 0x80041000, // 0338 RET 1 R8
- 0x70020058, // 0339 JMP #0393
- 0x5422002B, // 033A LDINT R8 44
- 0x1C200C08, // 033B EQ R8 R6 R8
- 0x7822001C, // 033C JMPF R8 #035A
- 0x1C200F05, // 033D EQ R8 R7 K5
- 0x78220005, // 033E JMPF R8 #0345
- 0x8C200706, // 033F GETMET R8 R3 K6
- 0x88280B0E, // 0340 GETMBR R10 R5 K14
- 0x582C0009, // 0341 LDCONST R11 K9
- 0x7C200600, // 0342 CALL R8 3
- 0x80041000, // 0343 RET 1 R8
- 0x70020013, // 0344 JMP #0359
- 0x1C200F09, // 0345 EQ R8 R7 K9
- 0x78220005, // 0346 JMPF R8 #034D
- 0x8C200706, // 0347 GETMET R8 R3 K6
- 0x88280B0E, // 0348 GETMBR R10 R5 K14
- 0x542E0003, // 0349 LDINT R11 4
- 0x7C200600, // 034A CALL R8 3
- 0x80041000, // 034B RET 1 R8
- 0x7002000B, // 034C JMP #0359
- 0x1C200F0D, // 034D EQ R8 R7 K13
- 0x78220009, // 034E JMPF R8 #0359
- 0x8C200B11, // 034F GETMET R8 R5 K17
- 0x7C200200, // 0350 CALL R8 1
- 0x8C24110B, // 0351 GETMET R9 R8 K11
- 0x4C2C0000, // 0352 LDNIL R11
- 0x8C300B5A, // 0353 GETMET R12 R5 K90
- 0x88380B0E, // 0354 GETMBR R14 R5 K14
- 0x543E0003, // 0355 LDINT R15 4
- 0x7C300600, // 0356 CALL R12 3
- 0x7C240600, // 0357 CALL R9 3
- 0x80041000, // 0358 RET 1 R8
- 0x70020038, // 0359 JMP #0393
- 0x54220030, // 035A LDINT R8 49
- 0x1C200C08, // 035B EQ R8 R6 R8
- 0x78220007, // 035C JMPF R8 #0365
- 0x1C200F0F, // 035D EQ R8 R7 K15
- 0x78220004, // 035E JMPF R8 #0364
- 0x8C200706, // 035F GETMET R8 R3 K6
- 0x88280B0E, // 0360 GETMBR R10 R5 K14
- 0x542E001D, // 0361 LDINT R11 30
- 0x7C200600, // 0362 CALL R8 3
- 0x80041000, // 0363 RET 1 R8
- 0x7002002D, // 0364 JMP #0393
- 0x5422001C, // 0365 LDINT R8 29
- 0x1C200C08, // 0366 EQ R8 R6 R8
- 0x7822002A, // 0367 JMPF R8 #0393
- 0x1C200F0D, // 0368 EQ R8 R7 K13
- 0x78220008, // 0369 JMPF R8 #0373
- 0x8C200B11, // 036A GETMET R8 R5 K17
- 0x7C200200, // 036B CALL R8 1
- 0x8C24110B, // 036C GETMET R9 R8 K11
- 0x4C2C0000, // 036D LDNIL R11
- 0x88300B0C, // 036E GETMBR R12 R5 K12
- 0x5436001E, // 036F LDINT R13 31
- 0x7C240800, // 0370 CALL R9 4
- 0x80041000, // 0371 RET 1 R8
- 0x7002001F, // 0372 JMP #0393
- 0x1C200F0F, // 0373 EQ R8 R7 K15
- 0x7822001D, // 0374 JMPF R8 #0393
- 0x8C200B11, // 0375 GETMET R8 R5 K17
- 0x7C200200, // 0376 CALL R8 1
- 0x88240136, // 0377 GETMBR R9 R0 K54
- 0x8C24135B, // 0378 GETMET R9 R9 K91
- 0x502C0200, // 0379 LDBOOL R11 1 0
- 0x7C240400, // 037A CALL R9 2
- 0x88280136, // 037B GETMBR R10 R0 K54
- 0x8828155C, // 037C GETMBR R10 R10 K92
- 0x602C0010, // 037D GETGBL R11 G16
- 0x5C301200, // 037E MOVE R12 R9
- 0x7C2C0200, // 037F CALL R11 1
- 0xA802000D, // 0380 EXBLK 0 #038F
- 0x5C301600, // 0381 MOVE R12 R11
- 0x7C300000, // 0382 CALL R12 0
- 0x5C341400, // 0383 MOVE R13 R10
- 0x78360003, // 0384 JMPF R13 #0389
- 0xB8360200, // 0385 GETNGBL R13 K1
- 0x88341B5D, // 0386 GETMBR R13 R13 K93
- 0x2034180D, // 0387 NE R13 R12 R13
- 0x78360004, // 0388 JMPF R13 #038E
- 0x8C34110B, // 0389 GETMET R13 R8 K11
- 0x4C3C0000, // 038A LDNIL R15
- 0x88400B0C, // 038B GETMBR R16 R5 K12
- 0x5C441800, // 038C MOVE R17 R12
- 0x7C340800, // 038D CALL R13 4
- 0x7001FFF1, // 038E JMP #0381
- 0x582C003E, // 038F LDCONST R11 K62
- 0xAC2C0200, // 0390 CATCH R11 1 0
- 0xB0080000, // 0391 RAISE 2 R0 R0
- 0x80041000, // 0392 RET 1 R8
- 0x60200003, // 0393 GETGBL R8 G3
- 0x5C240000, // 0394 MOVE R9 R0
- 0x7C200200, // 0395 CALL R8 1
- 0x8C20115E, // 0396 GETMET R8 R8 K94
- 0x5C280200, // 0397 MOVE R10 R1
- 0x5C2C0400, // 0398 MOVE R11 R2
- 0x5C300600, // 0399 MOVE R12 R3
- 0x7C200800, // 039A CALL R8 4
- 0x80041000, // 039B RET 1 R8
+ 0x88280B2A, // 02A5 GETMBR R10 R5 K42
+ 0xB82E2400, // 02A6 GETNGBL R11 K18
+ 0x8C2C1757, // 02A7 GETMET R11 R11 K87
+ 0x7C2C0200, // 02A8 CALL R11 1
+ 0x7C200600, // 02A9 CALL R8 3
+ 0x80041000, // 02AA RET 1 R8
+ 0x7002004F, // 02AB JMP #02FC
+ 0x54220009, // 02AC LDINT R8 10
+ 0x1C200E08, // 02AD EQ R8 R7 R8
+ 0x78220015, // 02AE JMPF R8 #02C5
+ 0xB8222400, // 02AF GETNGBL R8 K18
+ 0x8C201126, // 02B0 GETMET R8 R8 K38
+ 0x58280054, // 02B1 LDCONST R10 K84
+ 0x502C0200, // 02B2 LDBOOL R11 1 0
+ 0x7C200600, // 02B3 CALL R8 3
+ 0x94201155, // 02B4 GETIDX R8 R8 K85
+ 0x94201158, // 02B5 GETIDX R8 R8 K88
+ 0x8C24091B, // 02B6 GETMET R9 R4 K27
+ 0x5C2C1000, // 02B7 MOVE R11 R8
+ 0x58300059, // 02B8 LDCONST R12 K89
+ 0x7C240600, // 02B9 CALL R9 3
+ 0x24281305, // 02BA GT R10 R9 K5
+ 0x782A0002, // 02BB JMPF R10 #02BF
+ 0x04281309, // 02BC SUB R10 R9 K9
+ 0x402A0A0A, // 02BD CONNECT R10 K5 R10
+ 0x9420100A, // 02BE GETIDX R8 R8 R10
+ 0x8C280706, // 02BF GETMET R10 R3 K6
+ 0x88300B16, // 02C0 GETMBR R12 R5 K22
+ 0x5C341000, // 02C1 MOVE R13 R8
+ 0x7C280600, // 02C2 CALL R10 3
+ 0x80041400, // 02C3 RET 1 R10
+ 0x70020036, // 02C4 JMP #02FC
+ 0x5422000E, // 02C5 LDINT R8 15
+ 0x1C200E08, // 02C6 EQ R8 R7 R8
+ 0x7822000B, // 02C7 JMPF R8 #02D4
+ 0x8C200706, // 02C8 GETMET R8 R3 K6
+ 0x88280B16, // 02C9 GETMBR R10 R5 K22
+ 0xB82E2400, // 02CA GETNGBL R11 K18
+ 0x8C2C1725, // 02CB GETMET R11 R11 K37
+ 0x7C2C0200, // 02CC CALL R11 1
+ 0x8C2C171B, // 02CD GETMET R11 R11 K27
+ 0x5834001C, // 02CE LDCONST R13 K28
+ 0x5838001D, // 02CF LDCONST R14 K29
+ 0x7C2C0600, // 02D0 CALL R11 3
+ 0x7C200600, // 02D1 CALL R8 3
+ 0x80041000, // 02D2 RET 1 R8
+ 0x70020027, // 02D3 JMP #02FC
+ 0x54220010, // 02D4 LDINT R8 17
+ 0x1C200E08, // 02D5 EQ R8 R7 R8
+ 0x78220005, // 02D6 JMPF R8 #02DD
+ 0x8C200706, // 02D7 GETMET R8 R3 K6
+ 0x88280B10, // 02D8 GETMBR R10 R5 K16
+ 0x582C0009, // 02D9 LDCONST R11 K9
+ 0x7C200600, // 02DA CALL R8 3
+ 0x80041000, // 02DB RET 1 R8
+ 0x7002001E, // 02DC JMP #02FC
+ 0x54220011, // 02DD LDINT R8 18
+ 0x1C200E08, // 02DE EQ R8 R7 R8
+ 0x7822000B, // 02DF JMPF R8 #02EC
+ 0x8C200706, // 02E0 GETMET R8 R3 K6
+ 0x88280B16, // 02E1 GETMBR R10 R5 K22
+ 0xB82E2400, // 02E2 GETNGBL R11 K18
+ 0x8C2C1725, // 02E3 GETMET R11 R11 K37
+ 0x7C2C0200, // 02E4 CALL R11 1
+ 0x8C2C171B, // 02E5 GETMET R11 R11 K27
+ 0x5834001C, // 02E6 LDCONST R13 K28
+ 0x5838001D, // 02E7 LDCONST R14 K29
+ 0x7C2C0600, // 02E8 CALL R11 3
+ 0x7C200600, // 02E9 CALL R8 3
+ 0x80041000, // 02EA RET 1 R8
+ 0x7002000F, // 02EB JMP #02FC
+ 0x54220012, // 02EC LDINT R8 19
+ 0x1C200E08, // 02ED EQ R8 R7 R8
+ 0x7822000C, // 02EE JMPF R8 #02FC
+ 0x8C200B0A, // 02EF GETMET R8 R5 K10
+ 0x7C200200, // 02F0 CALL R8 1
+ 0x8C24110B, // 02F1 GETMET R9 R8 K11
+ 0x582C0005, // 02F2 LDCONST R11 K5
+ 0x88300B0C, // 02F3 GETMBR R12 R5 K12
+ 0x5834000F, // 02F4 LDCONST R13 K15
+ 0x7C240800, // 02F5 CALL R9 4
+ 0x8C24110B, // 02F6 GETMET R9 R8 K11
+ 0x582C0009, // 02F7 LDCONST R11 K9
+ 0x88300B0C, // 02F8 GETMBR R12 R5 K12
+ 0x5834000F, // 02F9 LDCONST R13 K15
+ 0x7C240800, // 02FA CALL R9 4
+ 0x80041000, // 02FB RET 1 R8
+ 0x70020097, // 02FC JMP #0395
+ 0x5422003E, // 02FD LDINT R8 63
+ 0x1C200C08, // 02FE EQ R8 R6 R8
+ 0x78220000, // 02FF JMPF R8 #0301
+ 0x70020093, // 0300 JMP #0395
+ 0x54220029, // 0301 LDINT R8 42
+ 0x1C200C08, // 0302 EQ R8 R6 R8
+ 0x7822001D, // 0303 JMPF R8 #0322
+ 0x1C200F05, // 0304 EQ R8 R7 K5
+ 0x78220003, // 0305 JMPF R8 #030A
+ 0x8C200B11, // 0306 GETMET R8 R5 K17
+ 0x7C200200, // 0307 CALL R8 1
+ 0x80041000, // 0308 RET 1 R8
+ 0x70020016, // 0309 JMP #0321
+ 0x1C200F09, // 030A EQ R8 R7 K9
+ 0x78220005, // 030B JMPF R8 #0312
+ 0x8C200706, // 030C GETMET R8 R3 K6
+ 0x88280B10, // 030D GETMBR R10 R5 K16
+ 0x582C0005, // 030E LDCONST R11 K5
+ 0x7C200600, // 030F CALL R8 3
+ 0x80041000, // 0310 RET 1 R8
+ 0x7002000E, // 0311 JMP #0321
+ 0x1C200F0D, // 0312 EQ R8 R7 K13
+ 0x78220005, // 0313 JMPF R8 #031A
+ 0x8C200706, // 0314 GETMET R8 R3 K6
+ 0x88280B0E, // 0315 GETMBR R10 R5 K14
+ 0x582C0009, // 0316 LDCONST R11 K9
+ 0x7C200600, // 0317 CALL R8 3
+ 0x80041000, // 0318 RET 1 R8
+ 0x70020006, // 0319 JMP #0321
+ 0x1C200F0F, // 031A EQ R8 R7 K15
+ 0x78220004, // 031B JMPF R8 #0321
+ 0x8C200706, // 031C GETMET R8 R3 K6
+ 0x88280B18, // 031D GETMBR R10 R5 K24
+ 0x4C2C0000, // 031E LDNIL R11
+ 0x7C200600, // 031F CALL R8 3
+ 0x80041000, // 0320 RET 1 R8
+ 0x70020072, // 0321 JMP #0395
+ 0x5422002A, // 0322 LDINT R8 43
+ 0x1C200C08, // 0323 EQ R8 R6 R8
+ 0x78220016, // 0324 JMPF R8 #033C
+ 0x1C200F05, // 0325 EQ R8 R7 K5
+ 0x78220007, // 0326 JMPF R8 #032F
+ 0x8C200706, // 0327 GETMET R8 R3 K6
+ 0x88280B16, // 0328 GETMBR R10 R5 K22
+ 0xB82E2400, // 0329 GETNGBL R11 K18
+ 0x8C2C175A, // 032A GETMET R11 R11 K90
+ 0x7C2C0200, // 032B CALL R11 1
+ 0x7C200600, // 032C CALL R8 3
+ 0x80041000, // 032D RET 1 R8
+ 0x7002000B, // 032E JMP #033B
+ 0x1C200F09, // 032F EQ R8 R7 K9
+ 0x78220009, // 0330 JMPF R8 #033B
+ 0x8C200B11, // 0331 GETMET R8 R5 K17
+ 0x7C200200, // 0332 CALL R8 1
+ 0x8C24110B, // 0333 GETMET R9 R8 K11
+ 0x4C2C0000, // 0334 LDNIL R11
+ 0x88300B16, // 0335 GETMBR R12 R5 K22
+ 0xB8362400, // 0336 GETNGBL R13 K18
+ 0x8C341B5A, // 0337 GETMET R13 R13 K90
+ 0x7C340200, // 0338 CALL R13 1
+ 0x7C240800, // 0339 CALL R9 4
+ 0x80041000, // 033A RET 1 R8
+ 0x70020058, // 033B JMP #0395
+ 0x5422002B, // 033C LDINT R8 44
+ 0x1C200C08, // 033D EQ R8 R6 R8
+ 0x7822001C, // 033E JMPF R8 #035C
+ 0x1C200F05, // 033F EQ R8 R7 K5
+ 0x78220005, // 0340 JMPF R8 #0347
+ 0x8C200706, // 0341 GETMET R8 R3 K6
+ 0x88280B0E, // 0342 GETMBR R10 R5 K14
+ 0x582C0009, // 0343 LDCONST R11 K9
+ 0x7C200600, // 0344 CALL R8 3
+ 0x80041000, // 0345 RET 1 R8
+ 0x70020013, // 0346 JMP #035B
+ 0x1C200F09, // 0347 EQ R8 R7 K9
+ 0x78220005, // 0348 JMPF R8 #034F
+ 0x8C200706, // 0349 GETMET R8 R3 K6
+ 0x88280B0E, // 034A GETMBR R10 R5 K14
+ 0x542E0003, // 034B LDINT R11 4
+ 0x7C200600, // 034C CALL R8 3
+ 0x80041000, // 034D RET 1 R8
+ 0x7002000B, // 034E JMP #035B
+ 0x1C200F0D, // 034F EQ R8 R7 K13
+ 0x78220009, // 0350 JMPF R8 #035B
+ 0x8C200B11, // 0351 GETMET R8 R5 K17
+ 0x7C200200, // 0352 CALL R8 1
+ 0x8C24110B, // 0353 GETMET R9 R8 K11
+ 0x4C2C0000, // 0354 LDNIL R11
+ 0x8C300B5B, // 0355 GETMET R12 R5 K91
+ 0x88380B0E, // 0356 GETMBR R14 R5 K14
+ 0x543E0003, // 0357 LDINT R15 4
+ 0x7C300600, // 0358 CALL R12 3
+ 0x7C240600, // 0359 CALL R9 3
+ 0x80041000, // 035A RET 1 R8
+ 0x70020038, // 035B JMP #0395
+ 0x54220030, // 035C LDINT R8 49
+ 0x1C200C08, // 035D EQ R8 R6 R8
+ 0x78220007, // 035E JMPF R8 #0367
+ 0x1C200F0F, // 035F EQ R8 R7 K15
+ 0x78220004, // 0360 JMPF R8 #0366
+ 0x8C200706, // 0361 GETMET R8 R3 K6
+ 0x88280B0E, // 0362 GETMBR R10 R5 K14
+ 0x542E001D, // 0363 LDINT R11 30
+ 0x7C200600, // 0364 CALL R8 3
+ 0x80041000, // 0365 RET 1 R8
+ 0x7002002D, // 0366 JMP #0395
+ 0x5422001C, // 0367 LDINT R8 29
+ 0x1C200C08, // 0368 EQ R8 R6 R8
+ 0x7822002A, // 0369 JMPF R8 #0395
+ 0x1C200F0D, // 036A EQ R8 R7 K13
+ 0x78220008, // 036B JMPF R8 #0375
+ 0x8C200B11, // 036C GETMET R8 R5 K17
+ 0x7C200200, // 036D CALL R8 1
+ 0x8C24110B, // 036E GETMET R9 R8 K11
+ 0x4C2C0000, // 036F LDNIL R11
+ 0x88300B0C, // 0370 GETMBR R12 R5 K12
+ 0x5436001E, // 0371 LDINT R13 31
+ 0x7C240800, // 0372 CALL R9 4
+ 0x80041000, // 0373 RET 1 R8
+ 0x7002001F, // 0374 JMP #0395
+ 0x1C200F0F, // 0375 EQ R8 R7 K15
+ 0x7822001D, // 0376 JMPF R8 #0395
+ 0x8C200B11, // 0377 GETMET R8 R5 K17
+ 0x7C200200, // 0378 CALL R8 1
+ 0x88240136, // 0379 GETMBR R9 R0 K54
+ 0x8C24135C, // 037A GETMET R9 R9 K92
+ 0x502C0200, // 037B LDBOOL R11 1 0
+ 0x7C240400, // 037C CALL R9 2
+ 0x88280136, // 037D GETMBR R10 R0 K54
+ 0x8828155D, // 037E GETMBR R10 R10 K93
+ 0x602C0010, // 037F GETGBL R11 G16
+ 0x5C301200, // 0380 MOVE R12 R9
+ 0x7C2C0200, // 0381 CALL R11 1
+ 0xA802000D, // 0382 EXBLK 0 #0391
+ 0x5C301600, // 0383 MOVE R12 R11
+ 0x7C300000, // 0384 CALL R12 0
+ 0x5C341400, // 0385 MOVE R13 R10
+ 0x78360003, // 0386 JMPF R13 #038B
+ 0xB8360200, // 0387 GETNGBL R13 K1
+ 0x88341B5E, // 0388 GETMBR R13 R13 K94
+ 0x2034180D, // 0389 NE R13 R12 R13
+ 0x78360004, // 038A JMPF R13 #0390
+ 0x8C34110B, // 038B GETMET R13 R8 K11
+ 0x4C3C0000, // 038C LDNIL R15
+ 0x88400B0C, // 038D GETMBR R16 R5 K12
+ 0x5C441800, // 038E MOVE R17 R12
+ 0x7C340800, // 038F CALL R13 4
+ 0x7001FFF1, // 0390 JMP #0383
+ 0x582C003E, // 0391 LDCONST R11 K62
+ 0xAC2C0200, // 0392 CATCH R11 1 0
+ 0xB0080000, // 0393 RAISE 2 R0 R0
+ 0x80041000, // 0394 RET 1 R8
+ 0x60200003, // 0395 GETGBL R8 G3
+ 0x5C240000, // 0396 MOVE R9 R0
+ 0x7C200200, // 0397 CALL R8 1
+ 0x8C20115F, // 0398 GETMET R8 R8 K95
+ 0x5C280200, // 0399 MOVE R10 R1
+ 0x5C2C0400, // 039A MOVE R11 R2
+ 0x5C300600, // 039B MOVE R12 R3
+ 0x7C200800, // 039C CALL R8 4
+ 0x80041000, // 039D RET 1 R8
})
)
);
@@ -1188,6 +1191,88 @@ be_local_closure(class_Matter_Plugin_Root_write_attribute, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Root;
+be_local_closure(class_Matter_Plugin_Root_init, /* name */
+ be_nested_proto(
+ 14, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin_Root,
+ 1, /* has constants */
+ ( &(const bvalue[14]) { /* constants */
+ /* K0 */ be_nested_str_weak(init),
+ /* K1 */ be_nested_str_weak(publish_event),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(EVENT_CRITICAL),
+ /* K5 */ be_nested_str_weak(TLV),
+ /* K6 */ be_nested_str_weak(Matter_TLV_item),
+ /* K7 */ be_nested_str_weak(set),
+ /* K8 */ be_nested_str_weak(U4),
+ /* K9 */ be_nested_str_weak(tasmota),
+ /* K10 */ be_nested_str_weak(version),
+ /* K11 */ be_const_int(3),
+ /* K12 */ be_nested_str_weak(U1),
+ /* K13 */ be_const_int(1),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[43]) { /* code */
+ 0x60100003, // 0000 GETGBL R4 G3
+ 0x5C140000, // 0001 MOVE R5 R0
+ 0x7C100200, // 0002 CALL R4 1
+ 0x8C100900, // 0003 GETMET R4 R4 K0
+ 0x5C180200, // 0004 MOVE R6 R1
+ 0x5C1C0400, // 0005 MOVE R7 R2
+ 0x5C200600, // 0006 MOVE R8 R3
+ 0x7C100800, // 0007 CALL R4 4
+ 0x8C100101, // 0008 GETMET R4 R0 K1
+ 0x541A0027, // 0009 LDINT R6 40
+ 0x581C0002, // 000A LDCONST R7 K2
+ 0xB8220600, // 000B GETNGBL R8 K3
+ 0x88201104, // 000C GETMBR R8 R8 K4
+ 0xB8260600, // 000D GETNGBL R9 K3
+ 0x88241305, // 000E GETMBR R9 R9 K5
+ 0x8C241306, // 000F GETMET R9 R9 K6
+ 0x7C240200, // 0010 CALL R9 1
+ 0x8C241307, // 0011 GETMET R9 R9 K7
+ 0xB82E0600, // 0012 GETNGBL R11 K3
+ 0x882C1705, // 0013 GETMBR R11 R11 K5
+ 0x882C1708, // 0014 GETMBR R11 R11 K8
+ 0xB8321200, // 0015 GETNGBL R12 K9
+ 0x8C30190A, // 0016 GETMET R12 R12 K10
+ 0x7C300200, // 0017 CALL R12 1
+ 0x7C240600, // 0018 CALL R9 3
+ 0x7C100A00, // 0019 CALL R4 5
+ 0x8C100101, // 001A GETMET R4 R0 K1
+ 0x541A0032, // 001B LDINT R6 51
+ 0x581C000B, // 001C LDCONST R7 K11
+ 0xB8220600, // 001D GETNGBL R8 K3
+ 0x88201104, // 001E GETMBR R8 R8 K4
+ 0xB8260600, // 001F GETNGBL R9 K3
+ 0x88241305, // 0020 GETMBR R9 R9 K5
+ 0x8C241306, // 0021 GETMET R9 R9 K6
+ 0x7C240200, // 0022 CALL R9 1
+ 0x8C241307, // 0023 GETMET R9 R9 K7
+ 0xB82E0600, // 0024 GETNGBL R11 K3
+ 0x882C1705, // 0025 GETMBR R11 R11 K5
+ 0x882C170C, // 0026 GETMBR R11 R11 K12
+ 0x5830000D, // 0027 LDCONST R12 K13
+ 0x7C240600, // 0028 CALL R9 3
+ 0x7C100A00, // 0029 CALL R4 5
+ 0x80000000, // 002A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
@@ -2088,19 +2173,19 @@ extern const bclass be_class_Matter_Plugin;
be_local_class(Matter_Plugin_Root,
0,
&be_class_Matter_Plugin,
- be_nested_map(7,
+ be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(read_attribute, 1), be_const_closure(class_Matter_Plugin_Root_read_attribute_closure) },
- { be_const_key_weak(invoke_request, 6), be_const_closure(class_Matter_Plugin_Root_invoke_request_closure) },
- { be_const_key_weak(TYPE, -1), be_nested_str_weak(root) },
- { be_const_key_weak(TYPES, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(invoke_request, 1), be_const_closure(class_Matter_Plugin_Root_invoke_request_closure) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Root_init_closure) },
+ { be_const_key_weak(TYPES, 6), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(22, -1), be_const_int(1) },
})) ) } )) },
- { be_const_key_weak(write_attribute, -1), be_const_closure(class_Matter_Plugin_Root_write_attribute_closure) },
- { be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Root_X20node) },
- { be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(write_attribute, 0), be_const_closure(class_Matter_Plugin_Root_write_attribute_closure) },
+ { be_const_key_weak(TYPE, -1), be_nested_str_weak(root) },
+ { be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Root_X20node) },
+ { 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, {
@@ -2295,6 +2380,7 @@ be_local_class(Matter_Plugin_Root,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
+ { be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Root_read_attribute_closure) },
})),
be_str_weak(Matter_Plugin_Root)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_2_Sensor_GenericSwitch.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_2_Sensor_GenericSwitch.h
new file mode 100644
index 000000000..6f6e9d11c
--- /dev/null
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_2_Sensor_GenericSwitch.h
@@ -0,0 +1,350 @@
+/* Solidification of Matter_Plugin_2_Sensor_GenericSwitch.h */
+/********************************************************************\
+* Generated code, don't edit *
+\********************************************************************/
+#include "be_constobj.h"
+
+extern const bclass be_class_Matter_Plugin_Sensor_GenericSwitch;
+
+/********************************************************************
+** Solidified function:
+********************************************************************/
+be_local_closure(class_Matter_Plugin_Sensor_GenericSwitch__X3Clambda_X3E, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 0, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL,
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x60040009, // 0000 GETGBL R1 G9
+ 0x5C080000, // 0001 MOVE R2 R0
+ 0x7C040200, // 0002 CALL R1 1
+ 0x80040200, // 0003 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: parse_configuration
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Sensor_GenericSwitch;
+be_local_closure(class_Matter_Plugin_Sensor_GenericSwitch_parse_configuration, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin_Sensor_GenericSwitch,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota_switch_index),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(ARG),
+ /* K3 */ be_const_int(1),
+ /* K4 */ be_const_int(0),
+ }),
+ be_str_weak(parse_configuration),
+ &be_const_str_solidified,
+ ( &(const binstruction[12]) { /* code */
+ 0x60080009, // 0000 GETGBL R2 G9
+ 0x8C0C0301, // 0001 GETMET R3 R1 K1
+ 0x88140102, // 0002 GETMBR R5 R0 K2
+ 0x58180003, // 0003 LDCONST R6 K3
+ 0x7C0C0600, // 0004 CALL R3 3
+ 0x7C080200, // 0005 CALL R2 1
+ 0x90020002, // 0006 SETMBR R0 K0 R2
+ 0x88080100, // 0007 GETMBR R2 R0 K0
+ 0x18080504, // 0008 LE R2 R2 K4
+ 0x780A0000, // 0009 JMPF R2 #000B
+ 0x90020103, // 000A SETMBR R0 K0 K3
+ 0x80000000, // 000B RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: update_shadow
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Sensor_GenericSwitch;
+be_local_closure(class_Matter_Plugin_Sensor_GenericSwitch_update_shadow, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin_Sensor_GenericSwitch,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(update_shadow),
+ /* K1 */ be_nested_str_weak(shadow_value),
+ }),
+ be_str_weak(update_shadow),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x60040003, // 0000 GETGBL R1 G3
+ 0x5C080000, // 0001 MOVE R2 R0
+ 0x7C040200, // 0002 CALL R1 1
+ 0x8C040300, // 0003 GETMET R1 R1 K0
+ 0x7C040200, // 0004 CALL R1 1
+ 0x50040000, // 0005 LDBOOL R1 0 0
+ 0x90020201, // 0006 SETMBR R0 K1 R1
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: read_attribute
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Sensor_GenericSwitch;
+be_local_closure(class_Matter_Plugin_Sensor_GenericSwitch_read_attribute, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin_Sensor_GenericSwitch,
+ 1, /* has constants */
+ ( &(const bvalue[11]) { /* constants */
+ /* K0 */ be_nested_str_weak(matter),
+ /* K1 */ be_nested_str_weak(TLV),
+ /* K2 */ be_nested_str_weak(cluster),
+ /* K3 */ be_nested_str_weak(attribute),
+ /* K4 */ be_const_int(0),
+ /* K5 */ be_nested_str_weak(set),
+ /* K6 */ be_nested_str_weak(U1),
+ /* K7 */ be_const_int(2),
+ /* K8 */ be_const_int(1),
+ /* K9 */ be_nested_str_weak(U4),
+ /* K10 */ be_nested_str_weak(read_attribute),
+ }),
+ be_str_weak(read_attribute),
+ &be_const_str_solidified,
+ ( &(const binstruction[51]) { /* code */
+ 0xB8120000, // 0000 GETNGBL R4 K0
+ 0x88100901, // 0001 GETMBR R4 R4 K1
+ 0x88140502, // 0002 GETMBR R5 R2 K2
+ 0x88180503, // 0003 GETMBR R6 R2 K3
+ 0x541E003A, // 0004 LDINT R7 59
+ 0x1C1C0A07, // 0005 EQ R7 R5 R7
+ 0x781E0022, // 0006 JMPF R7 #002A
+ 0x1C1C0D04, // 0007 EQ R7 R6 K4
+ 0x781E0005, // 0008 JMPF R7 #000F
+ 0x8C1C0705, // 0009 GETMET R7 R3 K5
+ 0x88240906, // 000A GETMBR R9 R4 K6
+ 0x58280007, // 000B LDCONST R10 K7
+ 0x7C1C0600, // 000C CALL R7 3
+ 0x80040E00, // 000D RET 1 R7
+ 0x7002001A, // 000E JMP #002A
+ 0x1C1C0D08, // 000F EQ R7 R6 K8
+ 0x781E0005, // 0010 JMPF R7 #0017
+ 0x8C1C0705, // 0011 GETMET R7 R3 K5
+ 0x88240906, // 0012 GETMBR R9 R4 K6
+ 0x58280004, // 0013 LDCONST R10 K4
+ 0x7C1C0600, // 0014 CALL R7 3
+ 0x80040E00, // 0015 RET 1 R7
+ 0x70020012, // 0016 JMP #002A
+ 0x1C1C0D07, // 0017 EQ R7 R6 K7
+ 0x781E0005, // 0018 JMPF R7 #001F
+ 0x8C1C0705, // 0019 GETMET R7 R3 K5
+ 0x88240906, // 001A GETMBR R9 R4 K6
+ 0x58280007, // 001B LDCONST R10 K7
+ 0x7C1C0600, // 001C CALL R7 3
+ 0x80040E00, // 001D RET 1 R7
+ 0x7002000A, // 001E JMP #002A
+ 0x541EFFFB, // 001F LDINT R7 65532
+ 0x1C1C0C07, // 0020 EQ R7 R6 R7
+ 0x781E0007, // 0021 JMPF R7 #002A
+ 0x8C1C0705, // 0022 GETMET R7 R3 K5
+ 0x88240909, // 0023 GETMBR R9 R4 K9
+ 0x542A0003, // 0024 LDINT R10 4
+ 0x002A0E0A, // 0025 ADD R10 K7 R10
+ 0x542E0007, // 0026 LDINT R11 8
+ 0x0028140B, // 0027 ADD R10 R10 R11
+ 0x7C1C0600, // 0028 CALL R7 3
+ 0x80040E00, // 0029 RET 1 R7
+ 0x601C0003, // 002A GETGBL R7 G3
+ 0x5C200000, // 002B MOVE R8 R0
+ 0x7C1C0200, // 002C CALL R7 1
+ 0x8C1C0F0A, // 002D GETMET R7 R7 K10
+ 0x5C240200, // 002E MOVE R9 R1
+ 0x5C280400, // 002F MOVE R10 R2
+ 0x5C2C0600, // 0030 MOVE R11 R3
+ 0x7C1C0800, // 0031 CALL R7 4
+ 0x80040E00, // 0032 RET 1 R7
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: append_state_json
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Sensor_GenericSwitch;
+be_local_closure(class_Matter_Plugin_Sensor_GenericSwitch_append_state_json, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Plugin_Sensor_GenericSwitch,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_X2C_X22Switch_X22_X3A_X25s),
+ /* K1 */ be_nested_str_weak(shadow_onoff),
+ }),
+ be_str_weak(append_state_json),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x60040018, // 0000 GETGBL R1 G24
+ 0x58080000, // 0001 LDCONST R2 K0
+ 0x600C0009, // 0002 GETGBL R3 G9
+ 0x88100101, // 0003 GETMBR R4 R0 K1
+ 0x7C0C0200, // 0004 CALL R3 1
+ 0x7C040400, // 0005 CALL R1 2
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified class: Matter_Plugin_Sensor_GenericSwitch
+********************************************************************/
+extern const bclass be_class_Matter_Plugin_Device;
+be_local_class(Matter_Plugin_Sensor_GenericSwitch,
+ 2,
+ &be_class_Matter_Plugin_Device,
+ be_nested_map(14,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_weak(CLUSTERS, 6), 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_weak(ARG, -1), be_nested_str_weak(switch) },
+ { be_const_key_weak(UPDATE_TIME, 4), be_const_int(750) },
+ { be_const_key_weak(TYPE, -1), be_nested_str_weak(gensw) },
+ { be_const_key_weak(append_state_json, 9), be_const_closure(class_Matter_Plugin_Sensor_GenericSwitch_append_state_json_closure) },
+ { be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Generic_X20Switch) },
+ { be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_GenericSwitch_read_attribute_closure) },
+ { be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_Sensor_GenericSwitch_update_shadow_closure) },
+ { be_const_key_weak(ARG_HINT, 12), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
+ { be_const_key_weak(tasmota_switch_index, 13), be_const_var(0) },
+ { be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ be_const_map( * be_nested_map(1,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_int(15, -1), be_const_int(2) },
+ })) ) } )) },
+ { be_const_key_weak(parse_configuration, 8), be_const_closure(class_Matter_Plugin_Sensor_GenericSwitch_parse_configuration_closure) },
+ { be_const_key_weak(shadow_value, -1), be_const_var(1) },
+ { be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin_Sensor_GenericSwitch__X3Clambda_X3E_closure) },
+ })),
+ be_str_weak(Matter_Plugin_Sensor_GenericSwitch)
+);
+/********************************************************************/
+/* End of solidification */
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Session.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Session.h
index 146803b6b..a3546184f 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Session.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Session.h
@@ -7,12 +7,12 @@
extern const bclass be_class_Matter_Session;
/********************************************************************
-** Solidified function: close
+** Solidified function: get_device_id
********************************************************************/
extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_close, /* name */
+be_local_closure(class_Matter_Session_get_device_id, /* name */
be_nested_proto(
- 8, /* nstack */
+ 2, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -20,93 +20,682 @@ be_local_closure(class_Matter_Session_close, /* name */
0, /* has sup protos */
&be_class_Matter_Session,
1, /* has constants */
- ( &(const bvalue[23]) { /* constants */
- /* K0 */ be_nested_str_weak(local_session_id),
- /* K1 */ be_nested_str_weak(__future_local_session_id),
- /* K2 */ be_nested_str_weak(initiator_session_id),
- /* K3 */ be_nested_str_weak(__future_initiator_session_id),
- /* K4 */ be_nested_str_weak(_counter_rcv_impl),
- /* K5 */ be_nested_str_weak(reset),
- /* K6 */ be_nested_str_weak(_counter_snd_impl),
- /* K7 */ be_nested_str_weak(counter_rcv),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(counter_snd),
- /* K10 */ be_nested_str_weak(next),
- /* K11 */ be_nested_str_weak(i2rkey),
- /* K12 */ be_nested_str_weak(_i2r_privacy),
- /* K13 */ be_nested_str_weak(r2ikey),
- /* K14 */ be_nested_str_weak(attestation_challenge),
- /* K15 */ be_nested_str_weak(introspect),
- /* K16 */ be_nested_str_weak(members),
- /* K17 */ be_nested_str_weak(get),
- /* K18 */ be_nested_str_weak(function),
- /* K19 */ be_nested_str_weak(instance),
- /* K20 */ be_nested_str_weak(_),
- /* K21 */ be_const_int(1),
- /* K22 */ be_nested_str_weak(stop_iteration),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(device_id),
}),
- be_str_weak(close),
+ be_str_weak(get_device_id),
&be_const_str_solidified,
- ( &(const binstruction[59]) { /* code */
- 0x88040101, // 0000 GETMBR R1 R0 K1
- 0x90020001, // 0001 SETMBR R0 K0 R1
- 0x88040103, // 0002 GETMBR R1 R0 K3
- 0x90020401, // 0003 SETMBR R0 K2 R1
- 0x88040104, // 0004 GETMBR R1 R0 K4
- 0x8C040305, // 0005 GETMET R1 R1 K5
- 0x7C040200, // 0006 CALL R1 1
- 0x88040106, // 0007 GETMBR R1 R0 K6
- 0x8C040305, // 0008 GETMET R1 R1 K5
- 0x7C040200, // 0009 CALL R1 1
- 0x90020F08, // 000A SETMBR R0 K7 K8
- 0x88040106, // 000B GETMBR R1 R0 K6
- 0x8C04030A, // 000C GETMET R1 R1 K10
- 0x7C040200, // 000D CALL R1 1
- 0x90021201, // 000E SETMBR R0 K9 R1
- 0x4C040000, // 000F LDNIL R1
- 0x90021601, // 0010 SETMBR R0 K11 R1
- 0x4C040000, // 0011 LDNIL R1
- 0x90021801, // 0012 SETMBR R0 K12 R1
- 0x4C040000, // 0013 LDNIL R1
- 0x90021A01, // 0014 SETMBR R0 K13 R1
- 0x4C040000, // 0015 LDNIL R1
- 0x90021C01, // 0016 SETMBR R0 K14 R1
- 0xA4061E00, // 0017 IMPORT R1 K15
- 0x60080010, // 0018 GETGBL R2 G16
- 0x8C0C0310, // 0019 GETMET R3 R1 K16
- 0x5C140000, // 001A MOVE R5 R0
- 0x7C0C0400, // 001B CALL R3 2
- 0x7C080200, // 001C CALL R2 1
- 0xA8020018, // 001D EXBLK 0 #0037
- 0x5C0C0400, // 001E MOVE R3 R2
- 0x7C0C0000, // 001F CALL R3 0
- 0x8C100311, // 0020 GETMET R4 R1 K17
- 0x5C180000, // 0021 MOVE R6 R0
- 0x5C1C0600, // 0022 MOVE R7 R3
- 0x7C100600, // 0023 CALL R4 3
- 0x60140004, // 0024 GETGBL R5 G4
- 0x5C180800, // 0025 MOVE R6 R4
- 0x7C140200, // 0026 CALL R5 1
- 0x20140B12, // 0027 NE R5 R5 K18
- 0x7816000C, // 0028 JMPF R5 #0036
- 0x60140004, // 0029 GETGBL R5 G4
- 0x5C180800, // 002A MOVE R6 R4
- 0x7C140200, // 002B CALL R5 1
- 0x20140B13, // 002C NE R5 R5 K19
- 0x78160007, // 002D JMPF R5 #0036
- 0x94140708, // 002E GETIDX R5 R3 K8
- 0x1C140B14, // 002F EQ R5 R5 K20
- 0x78160004, // 0030 JMPF R5 #0036
- 0x94140715, // 0031 GETIDX R5 R3 K21
- 0x1C140B14, // 0032 EQ R5 R5 K20
- 0x78160001, // 0033 JMPF R5 #0036
- 0x4C140000, // 0034 LDNIL R5
- 0x90000605, // 0035 SETMBR R0 R3 R5
- 0x7001FFE6, // 0036 JMP #001E
- 0x58080016, // 0037 LDCONST R2 K22
- 0xAC080200, // 0038 CATCH R2 1 0
- 0xB0080000, // 0039 RAISE 2 R0 R0
- 0x80000000, // 003A RET 0
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: before_remove
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_before_remove, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(log),
+ /* K1 */ be_nested_str_weak(MTR_X3A_X20_X2DSession_X20_X20_X20_X28_X256i_X29_X20_X28removed_X29),
+ /* K2 */ be_nested_str_weak(local_session_id),
+ /* K3 */ be_const_int(3),
+ }),
+ be_str_weak(before_remove),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x60080018, // 0001 GETGBL R2 G24
+ 0x580C0001, // 0002 LDCONST R3 K1
+ 0x88100102, // 0003 GETMBR R4 R0 K2
+ 0x7C080400, // 0004 CALL R2 2
+ 0x580C0003, // 0005 LDCONST R3 K3
+ 0x7C040400, // 0006 CALL R1 2
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: set_mode_CASE
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_set_mode_CASE, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(set_mode),
+ /* K1 */ be_nested_str_weak(_CASE),
+ }),
+ be_str_weak(set_mode_CASE),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x8C040100, // 0000 GETMET R1 R0 K0
+ 0x880C0101, // 0001 GETMBR R3 R0 K1
+ 0x7C040400, // 0002 CALL R1 2
+ 0x80000000, // 0003 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: is_CASE
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_is_CASE, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(mode),
+ /* K1 */ be_nested_str_weak(_CASE),
+ }),
+ be_str_weak(is_CASE),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x1C040202, // 0002 EQ R1 R1 R2
+ 0x80040200, // 0003 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: persist_to_fabric
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_persist_to_fabric, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(add_session),
+ }),
+ be_str_weak(persist_to_fabric),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x5C0C0000, // 0002 MOVE R3 R0
+ 0x7C040400, // 0003 CALL R1 2
+ 0x80000000, // 0004 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_noc
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_noc, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(noc),
+ }),
+ be_str_weak(get_noc),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 3]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88040301, // 0001 GETMBR R1 R1 K1
+ 0x80040200, // 0002 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_init, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[23]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(_store),
+ /* K2 */ be_nested_str_weak(mode),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(local_session_id),
+ /* K5 */ be_nested_str_weak(initiator_session_id),
+ /* K6 */ be_nested_str_weak(_counter_snd_impl),
+ /* K7 */ be_nested_str_weak(matter),
+ /* K8 */ be_nested_str_weak(Counter),
+ /* K9 */ be_nested_str_weak(_counter_rcv_impl),
+ /* K10 */ be_nested_str_weak(counter_rcv),
+ /* K11 */ be_nested_str_weak(counter_snd),
+ /* K12 */ be_nested_str_weak(next),
+ /* K13 */ be_nested_str_weak(_COUNTER_SND_INCR),
+ /* K14 */ be_nested_str_weak(_counter_insecure_rcv),
+ /* K15 */ be_nested_str_weak(_counter_insecure_snd),
+ /* K16 */ be_nested_str_weak(_breadcrumb),
+ /* K17 */ be_nested_str_weak(_exchange_id),
+ /* K18 */ be_nested_str_weak(random),
+ /* K19 */ be_const_int(2),
+ /* K20 */ be_nested_str_weak(get),
+ /* K21 */ be_nested_str_weak(_fabric),
+ /* K22 */ be_nested_str_weak(update),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[41]) { /* code */
+ 0xA4160000, // 0000 IMPORT R5 K0
+ 0x90020201, // 0001 SETMBR R0 K1 R1
+ 0x90020503, // 0002 SETMBR R0 K2 K3
+ 0x90020802, // 0003 SETMBR R0 K4 R2
+ 0x90020A03, // 0004 SETMBR R0 K5 R3
+ 0xB81A0E00, // 0005 GETNGBL R6 K7
+ 0x8C180D08, // 0006 GETMET R6 R6 K8
+ 0x7C180200, // 0007 CALL R6 1
+ 0x90020C06, // 0008 SETMBR R0 K6 R6
+ 0xB81A0E00, // 0009 GETNGBL R6 K7
+ 0x8C180D08, // 000A GETMET R6 R6 K8
+ 0x7C180200, // 000B CALL R6 1
+ 0x90021206, // 000C SETMBR R0 K9 R6
+ 0x90021503, // 000D SETMBR R0 K10 K3
+ 0x88180106, // 000E GETMBR R6 R0 K6
+ 0x8C180D0C, // 000F GETMET R6 R6 K12
+ 0x7C180200, // 0010 CALL R6 1
+ 0x881C010D, // 0011 GETMBR R7 R0 K13
+ 0x00180C07, // 0012 ADD R6 R6 R7
+ 0x90021606, // 0013 SETMBR R0 K11 R6
+ 0xB81A0E00, // 0014 GETNGBL R6 K7
+ 0x8C180D08, // 0015 GETMET R6 R6 K8
+ 0x7C180200, // 0016 CALL R6 1
+ 0x90021C06, // 0017 SETMBR R0 K14 R6
+ 0xB81A0E00, // 0018 GETNGBL R6 K7
+ 0x8C180D08, // 0019 GETMET R6 R6 K8
+ 0x7C180200, // 001A CALL R6 1
+ 0x90021E06, // 001B SETMBR R0 K15 R6
+ 0x90022103, // 001C SETMBR R0 K16 K3
+ 0x8C180B12, // 001D GETMET R6 R5 K18
+ 0x58200013, // 001E LDCONST R8 K19
+ 0x7C180400, // 001F CALL R6 2
+ 0x8C180D14, // 0020 GETMET R6 R6 K20
+ 0x58200003, // 0021 LDCONST R8 K3
+ 0x58240013, // 0022 LDCONST R9 K19
+ 0x7C180600, // 0023 CALL R6 3
+ 0x90022206, // 0024 SETMBR R0 K17 R6
+ 0x90022A04, // 0025 SETMBR R0 K21 R4
+ 0x8C180116, // 0026 GETMET R6 R0 K22
+ 0x7C180200, // 0027 CALL R6 1
+ 0x80000000, // 0028 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_admin_vendor
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_admin_vendor, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(admin_vendor),
+ }),
+ be_str_weak(get_admin_vendor),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_i2r
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_i2r, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(i2rkey),
+ }),
+ be_str_weak(get_i2r),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: counter_rcv_validate
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_counter_rcv_validate, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(_counter_rcv_impl),
+ /* K1 */ be_nested_str_weak(validate),
+ /* K2 */ be_nested_str_weak(counter_rcv),
+ /* K3 */ be_nested_str_weak(val),
+ }),
+ be_str_weak(counter_rcv_validate),
+ &be_const_str_solidified,
+ ( &(const binstruction[11]) { /* code */
+ 0x880C0100, // 0000 GETMBR R3 R0 K0
+ 0x8C0C0701, // 0001 GETMET R3 R3 K1
+ 0x5C140200, // 0002 MOVE R5 R1
+ 0x5C180400, // 0003 MOVE R6 R2
+ 0x7C0C0600, // 0004 CALL R3 3
+ 0x780E0003, // 0005 JMPF R3 #000A
+ 0x88100100, // 0006 GETMBR R4 R0 K0
+ 0x8C100903, // 0007 GETMET R4 R4 K3
+ 0x7C100200, // 0008 CALL R4 1
+ 0x90020404, // 0009 SETMBR R0 K2 R4
+ 0x80040600, // 000A RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_ca
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_ca, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(root_ca_certificate),
+ }),
+ be_str_weak(get_ca),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 3]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88040301, // 0001 GETMBR R1 R1 K1
+ 0x80040200, // 0002 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_fabric_index
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_fabric_index, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(fabric_index),
+ }),
+ be_str_weak(get_fabric_index),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_r2i
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_r2i, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(r2ikey),
+ }),
+ be_str_weak(get_r2i),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: counter_snd_next
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_counter_snd_next, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(_counter_snd_impl),
+ /* K1 */ be_nested_str_weak(next),
+ /* K2 */ be_nested_str_weak(matter),
+ /* K3 */ be_nested_str_weak(Counter),
+ /* K4 */ be_nested_str_weak(is_greater),
+ /* K5 */ be_nested_str_weak(counter_snd),
+ /* K6 */ be_nested_str_weak(_COUNTER_SND_INCR),
+ /* K7 */ be_nested_str_weak(does_persist),
+ /* K8 */ be_nested_str_weak(save),
+ }),
+ be_str_weak(counter_snd_next),
+ &be_const_str_solidified,
+ ( &(const binstruction[19]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0xB80A0400, // 0003 GETNGBL R2 K2
+ 0x88080503, // 0004 GETMBR R2 R2 K3
+ 0x8C080504, // 0005 GETMET R2 R2 K4
+ 0x5C100200, // 0006 MOVE R4 R1
+ 0x88140105, // 0007 GETMBR R5 R0 K5
+ 0x7C080600, // 0008 CALL R2 3
+ 0x780A0007, // 0009 JMPF R2 #0012
+ 0x88080106, // 000A GETMBR R2 R0 K6
+ 0x00080202, // 000B ADD R2 R1 R2
+ 0x90020A02, // 000C SETMBR R0 K5 R2
+ 0x8C080107, // 000D GETMET R2 R0 K7
+ 0x7C080200, // 000E CALL R2 1
+ 0x780A0001, // 000F JMPF R2 #0012
+ 0x8C080108, // 0010 GETMET R2 R0 K8
+ 0x7C080200, // 0011 CALL R2 1
+ 0x80040200, // 0012 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_temp_ca_pub
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_temp_ca_pub, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
+ /* K1 */ be_nested_str_weak(matter),
+ /* K2 */ be_nested_str_weak(TLV),
+ /* K3 */ be_nested_str_weak(parse),
+ /* K4 */ be_nested_str_weak(findsubval),
+ }),
+ be_str_weak(get_temp_ca_pub),
+ &be_const_str_solidified,
+ ( &(const binstruction[12]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060008, // 0001 JMPF R1 #000B
+ 0xB80A0200, // 0002 GETNGBL R2 K1
+ 0x88080502, // 0003 GETMBR R2 R2 K2
+ 0x8C080503, // 0004 GETMET R2 R2 K3
+ 0x5C100200, // 0005 MOVE R4 R1
+ 0x7C080400, // 0006 CALL R2 2
+ 0x8C0C0504, // 0007 GETMET R3 R2 K4
+ 0x54160008, // 0008 LDINT R5 9
+ 0x7C0C0400, // 0009 CALL R3 2
+ 0x80040600, // 000A RET 1 R3
+ 0x80000000, // 000B RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_temp_ca
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_temp_ca, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
+ }),
+ be_str_weak(get_temp_ca),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_fabric_id
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_fabric_id, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(fabric_id),
+ }),
+ be_str_weak(get_fabric_id),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 3]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88040301, // 0001 GETMBR R1 R1 K1
+ 0x80040200, // 0002 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: set_mode_PASE
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_set_mode_PASE, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(set_mode),
+ /* K1 */ be_nested_str_weak(_PASE),
+ }),
+ be_str_weak(set_mode_PASE),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x8C040100, // 0000 GETMET R1 R0 K0
+ 0x880C0101, // 0001 GETMBR R3 R0 K1
+ 0x7C040400, // 0002 CALL R1 2
+ 0x80000000, // 0003 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_fabric_label
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_fabric_label, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(fabric_label),
+ }),
+ be_str_weak(get_fabric_label),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
})
)
);
@@ -147,66 +736,10 @@ be_local_closure(class_Matter_Session_update, /* name */
/********************************************************************
-** Solidified function: get_ac
+** Solidified function: get_icac
********************************************************************/
extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_ac, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(attestation_challenge),
- }),
- be_str_weak(get_ac),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_fabric
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_fabric, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- }),
- be_str_weak(get_fabric),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_noc
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_noc, /* name */
+be_local_closure(class_Matter_Session_get_icac, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@@ -218,9 +751,9 @@ be_local_closure(class_Matter_Session_get_noc, /* name */
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(noc),
+ /* K1 */ be_nested_str_weak(icac),
}),
- be_str_weak(get_noc),
+ be_str_weak(get_icac),
&be_const_str_solidified,
( &(const binstruction[ 3]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
@@ -233,12 +766,12 @@ be_local_closure(class_Matter_Session_get_noc, /* name */
/********************************************************************
-** Solidified function: get_device_id
+** Solidified function: is_PASE
********************************************************************/
extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_device_id, /* name */
+be_local_closure(class_Matter_Session_is_PASE, /* name */
be_nested_proto(
- 2, /* nstack */
+ 3, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -247,19 +780,16 @@ be_local_closure(class_Matter_Session_get_device_id, /* name */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(device_id),
+ /* K0 */ be_nested_str_weak(mode),
+ /* K1 */ be_nested_str_weak(_PASE),
}),
- be_str_weak(get_device_id),
+ be_str_weak(is_PASE),
&be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
+ ( &(const binstruction[ 4]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x1C040202, // 0002 EQ R1 R1 R2
+ 0x80040200, // 0003 RET 1 R1
})
)
);
@@ -303,47 +833,10 @@ be_local_closure(class_Matter_Session_set_fabric_label, /* name */
/********************************************************************
-** Solidified function: set_keys
+** Solidified function: get_node_id
********************************************************************/
extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_set_keys, /* name */
- be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(i2rkey),
- /* K1 */ be_nested_str_weak(_i2r_privacy),
- /* K2 */ be_nested_str_weak(r2ikey),
- /* K3 */ be_nested_str_weak(attestation_challenge),
- /* K4 */ be_nested_str_weak(created),
- }),
- be_str_weak(set_keys),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0x4C140000, // 0001 LDNIL R5
- 0x90020205, // 0002 SETMBR R0 K1 R5
- 0x90020402, // 0003 SETMBR R0 K2 R2
- 0x90020603, // 0004 SETMBR R0 K3 R3
- 0x90020804, // 0005 SETMBR R0 K4 R4
- 0x80000000, // 0006 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_r2i
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_r2i, /* name */
+be_local_closure(class_Matter_Session_get_node_id, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@@ -353,14 +846,98 @@ be_local_closure(class_Matter_Session_get_r2i, /* name */
0, /* has sup protos */
&be_class_Matter_Session,
1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(r2ikey),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(device_id),
}),
- be_str_weak(get_r2i),
+ be_str_weak(get_node_id),
&be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
+ ( &(const binstruction[ 7]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_ca_pub
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_ca_pub, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(get_ca_pub),
+ }),
+ be_str_weak(get_ca_pub),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x80040200, // 0003 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_pk
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_pk, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(get_pk),
+ /* K2 */ be_nested_str_weak(_temp_pk),
+ /* K3 */ be_nested_str_weak(crypto),
+ /* K4 */ be_nested_str_weak(random),
+ }),
+ be_str_weak(get_pk),
+ &be_const_str_solidified,
+ ( &(const binstruction[17]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060004, // 0001 JMPF R1 #0007
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x8C040301, // 0003 GETMET R1 R1 K1
+ 0x7C040200, // 0004 CALL R1 1
+ 0x80040200, // 0005 RET 1 R1
+ 0x70020008, // 0006 JMP #0010
+ 0x88040102, // 0007 GETMBR R1 R0 K2
+ 0x74060004, // 0008 JMPT R1 #000E
+ 0xA4060600, // 0009 IMPORT R1 K3
+ 0x8C080304, // 000A GETMET R2 R1 K4
+ 0x5412001F, // 000B LDINT R4 32
+ 0x7C080400, // 000C CALL R2 2
+ 0x90020402, // 000D SETMBR R0 K2 R2
+ 0x88040102, // 000E GETMBR R1 R0 K2
+ 0x80040200, // 000F RET 1 R1
+ 0x80000000, // 0010 RET 0
})
)
);
@@ -509,6 +1086,223 @@ be_local_closure(class_Matter_Session_tojson, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: close
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_close, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[23]) { /* constants */
+ /* K0 */ be_nested_str_weak(local_session_id),
+ /* K1 */ be_nested_str_weak(__future_local_session_id),
+ /* K2 */ be_nested_str_weak(initiator_session_id),
+ /* K3 */ be_nested_str_weak(__future_initiator_session_id),
+ /* K4 */ be_nested_str_weak(_counter_rcv_impl),
+ /* K5 */ be_nested_str_weak(reset),
+ /* K6 */ be_nested_str_weak(_counter_snd_impl),
+ /* K7 */ be_nested_str_weak(counter_rcv),
+ /* K8 */ be_const_int(0),
+ /* K9 */ be_nested_str_weak(counter_snd),
+ /* K10 */ be_nested_str_weak(next),
+ /* K11 */ be_nested_str_weak(i2rkey),
+ /* K12 */ be_nested_str_weak(_i2r_privacy),
+ /* K13 */ be_nested_str_weak(r2ikey),
+ /* K14 */ be_nested_str_weak(attestation_challenge),
+ /* K15 */ be_nested_str_weak(introspect),
+ /* K16 */ be_nested_str_weak(members),
+ /* K17 */ be_nested_str_weak(get),
+ /* K18 */ be_nested_str_weak(function),
+ /* K19 */ be_nested_str_weak(instance),
+ /* K20 */ be_nested_str_weak(_),
+ /* K21 */ be_const_int(1),
+ /* K22 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(close),
+ &be_const_str_solidified,
+ ( &(const binstruction[59]) { /* code */
+ 0x88040101, // 0000 GETMBR R1 R0 K1
+ 0x90020001, // 0001 SETMBR R0 K0 R1
+ 0x88040103, // 0002 GETMBR R1 R0 K3
+ 0x90020401, // 0003 SETMBR R0 K2 R1
+ 0x88040104, // 0004 GETMBR R1 R0 K4
+ 0x8C040305, // 0005 GETMET R1 R1 K5
+ 0x7C040200, // 0006 CALL R1 1
+ 0x88040106, // 0007 GETMBR R1 R0 K6
+ 0x8C040305, // 0008 GETMET R1 R1 K5
+ 0x7C040200, // 0009 CALL R1 1
+ 0x90020F08, // 000A SETMBR R0 K7 K8
+ 0x88040106, // 000B GETMBR R1 R0 K6
+ 0x8C04030A, // 000C GETMET R1 R1 K10
+ 0x7C040200, // 000D CALL R1 1
+ 0x90021201, // 000E SETMBR R0 K9 R1
+ 0x4C040000, // 000F LDNIL R1
+ 0x90021601, // 0010 SETMBR R0 K11 R1
+ 0x4C040000, // 0011 LDNIL R1
+ 0x90021801, // 0012 SETMBR R0 K12 R1
+ 0x4C040000, // 0013 LDNIL R1
+ 0x90021A01, // 0014 SETMBR R0 K13 R1
+ 0x4C040000, // 0015 LDNIL R1
+ 0x90021C01, // 0016 SETMBR R0 K14 R1
+ 0xA4061E00, // 0017 IMPORT R1 K15
+ 0x60080010, // 0018 GETGBL R2 G16
+ 0x8C0C0310, // 0019 GETMET R3 R1 K16
+ 0x5C140000, // 001A MOVE R5 R0
+ 0x7C0C0400, // 001B CALL R3 2
+ 0x7C080200, // 001C CALL R2 1
+ 0xA8020018, // 001D EXBLK 0 #0037
+ 0x5C0C0400, // 001E MOVE R3 R2
+ 0x7C0C0000, // 001F CALL R3 0
+ 0x8C100311, // 0020 GETMET R4 R1 K17
+ 0x5C180000, // 0021 MOVE R6 R0
+ 0x5C1C0600, // 0022 MOVE R7 R3
+ 0x7C100600, // 0023 CALL R4 3
+ 0x60140004, // 0024 GETGBL R5 G4
+ 0x5C180800, // 0025 MOVE R6 R4
+ 0x7C140200, // 0026 CALL R5 1
+ 0x20140B12, // 0027 NE R5 R5 K18
+ 0x7816000C, // 0028 JMPF R5 #0036
+ 0x60140004, // 0029 GETGBL R5 G4
+ 0x5C180800, // 002A MOVE R6 R4
+ 0x7C140200, // 002B CALL R5 1
+ 0x20140B13, // 002C NE R5 R5 K19
+ 0x78160007, // 002D JMPF R5 #0036
+ 0x94140708, // 002E GETIDX R5 R3 K8
+ 0x1C140B14, // 002F EQ R5 R5 K20
+ 0x78160004, // 0030 JMPF R5 #0036
+ 0x94140715, // 0031 GETIDX R5 R3 K21
+ 0x1C140B14, // 0032 EQ R5 R5 K20
+ 0x78160001, // 0033 JMPF R5 #0036
+ 0x4C140000, // 0034 LDNIL R5
+ 0x90000605, // 0035 SETMBR R0 R3 R5
+ 0x7001FFE6, // 0036 JMP #001E
+ 0x58080016, // 0037 LDCONST R2 K22
+ 0xAC080200, // 0038 CATCH R2 1 0
+ 0xB0080000, // 0039 RAISE 2 R0 R0
+ 0x80000000, // 003A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_ac
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_ac, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(attestation_challenge),
+ }),
+ be_str_weak(get_ac),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_fabric
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_fabric, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ }),
+ be_str_weak(get_fabric),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_i2r_privacy
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_i2r_privacy, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(_i2r_privacy),
+ /* K1 */ be_nested_str_weak(crypto),
+ /* K2 */ be_nested_str_weak(HKDF_SHA256),
+ /* K3 */ be_nested_str_weak(derive),
+ /* K4 */ be_nested_str_weak(get_i2r),
+ /* K5 */ be_nested_str_weak(fromstring),
+ /* K6 */ be_nested_str_weak(PrivacyKey),
+ }),
+ be_str_weak(get_i2r_privacy),
+ &be_const_str_solidified,
+ ( &(const binstruction[22]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x4C080000, // 0001 LDNIL R2
+ 0x1C040202, // 0002 EQ R1 R1 R2
+ 0x7806000F, // 0003 JMPF R1 #0014
+ 0xA4060200, // 0004 IMPORT R1 K1
+ 0x8C080302, // 0005 GETMET R2 R1 K2
+ 0x7C080200, // 0006 CALL R2 1
+ 0x8C080503, // 0007 GETMET R2 R2 K3
+ 0x8C100104, // 0008 GETMET R4 R0 K4
+ 0x7C100200, // 0009 CALL R4 1
+ 0x60140015, // 000A GETGBL R5 G21
+ 0x7C140000, // 000B CALL R5 0
+ 0x60180015, // 000C GETGBL R6 G21
+ 0x7C180000, // 000D CALL R6 0
+ 0x8C180D05, // 000E GETMET R6 R6 K5
+ 0x58200006, // 000F LDCONST R8 K6
+ 0x7C180400, // 0010 CALL R6 2
+ 0x541E000F, // 0011 LDINT R7 16
+ 0x7C080A00, // 0012 CALL R2 5
+ 0x90020002, // 0013 SETMBR R0 K0 R2
+ 0x88040100, // 0014 GETMBR R1 R0 K0
+ 0x80040200, // 0015 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: fromjson
********************************************************************/
@@ -626,6 +1420,304 @@ be_local_closure(class_Matter_Session_fromjson, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: save
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_save, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_store),
+ /* K1 */ be_nested_str_weak(save_fabrics),
+ }),
+ be_str_weak(save),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x80000000, // 0003 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: hydrate_post
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_hydrate_post, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(_counter_snd_impl),
+ /* K1 */ be_nested_str_weak(reset),
+ /* K2 */ be_nested_str_weak(counter_snd),
+ /* K3 */ be_nested_str_weak(_counter_rcv_impl),
+ /* K4 */ be_nested_str_weak(counter_rcv),
+ /* K5 */ be_nested_str_weak(val),
+ }),
+ be_str_weak(hydrate_post),
+ &be_const_str_solidified,
+ ( &(const binstruction[17]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x7C040400, // 0003 CALL R1 2
+ 0x88040103, // 0004 GETMBR R1 R0 K3
+ 0x8C040301, // 0005 GETMET R1 R1 K1
+ 0x880C0104, // 0006 GETMBR R3 R0 K4
+ 0x7C040400, // 0007 CALL R1 2
+ 0x88040100, // 0008 GETMBR R1 R0 K0
+ 0x8C040305, // 0009 GETMET R1 R1 K5
+ 0x7C040200, // 000A CALL R1 1
+ 0x90020401, // 000B SETMBR R0 K2 R1
+ 0x88040103, // 000C GETMBR R1 R0 K3
+ 0x8C040305, // 000D GETMET R1 R1 K5
+ 0x7C040200, // 000E CALL R1 1
+ 0x90020801, // 000F SETMBR R0 K4 R1
+ 0x80000000, // 0010 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_admin_subject
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_admin_subject, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(admin_subject),
+ }),
+ be_str_weak(get_admin_subject),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_ipk_epoch_key
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_ipk_epoch_key, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(ipk_epoch_key),
+ }),
+ be_str_weak(get_ipk_epoch_key),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 3]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x88040301, // 0001 GETMBR R1 R1 K1
+ 0x80040200, // 0002 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_fabric_compressed
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_fabric_compressed, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(_fabric),
+ /* K1 */ be_nested_str_weak(fabric_compressed),
+ }),
+ be_str_weak(get_fabric_compressed),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060002, // 0001 JMPF R1 #0005
+ 0x88040100, // 0002 GETMBR R1 R0 K0
+ 0x88040301, // 0003 GETMBR R1 R1 K1
+ 0x70020000, // 0004 JMP #0006
+ 0x4C040000, // 0005 LDNIL R1
+ 0x80040200, // 0006 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_mode
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_get_mode, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(mode),
+ }),
+ be_str_weak(get_mode),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x80040200, // 0001 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: set_temp_ca
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_set_temp_ca, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
+ }),
+ be_str_weak(set_temp_ca),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x80000000, // 0001 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: set_mode
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_set_mode, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(mode),
+ }),
+ be_str_weak(set_mode),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x80000000, // 0001 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: set_keys
+********************************************************************/
+extern const bclass be_class_Matter_Session;
+be_local_closure(class_Matter_Session_set_keys, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Session,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(i2rkey),
+ /* K1 */ be_nested_str_weak(_i2r_privacy),
+ /* K2 */ be_nested_str_weak(r2ikey),
+ /* K3 */ be_nested_str_weak(attestation_challenge),
+ /* K4 */ be_nested_str_weak(created),
+ }),
+ be_str_weak(set_keys),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0x4C140000, // 0001 LDNIL R5
+ 0x90020205, // 0002 SETMBR R0 K1 R5
+ 0x90020402, // 0003 SETMBR R0 K2 R2
+ 0x90020603, // 0004 SETMBR R0 K3 R3
+ 0x90020804, // 0005 SETMBR R0 K4 R4
+ 0x80000000, // 0006 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: gen_CSR
********************************************************************/
@@ -736,366 +1828,6 @@ be_local_closure(class_Matter_Session_gen_CSR, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: get_ipk_epoch_key
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_ipk_epoch_key, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(ipk_epoch_key),
- }),
- be_str_weak(get_ipk_epoch_key),
- &be_const_str_solidified,
- ( &(const binstruction[ 3]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88040301, // 0001 GETMBR R1 R1 K1
- 0x80040200, // 0002 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: counter_rcv_validate
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_counter_rcv_validate, /* name */
- be_nested_proto(
- 7, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(_counter_rcv_impl),
- /* K1 */ be_nested_str_weak(validate),
- /* K2 */ be_nested_str_weak(counter_rcv),
- /* K3 */ be_nested_str_weak(val),
- }),
- be_str_weak(counter_rcv_validate),
- &be_const_str_solidified,
- ( &(const binstruction[11]) { /* code */
- 0x880C0100, // 0000 GETMBR R3 R0 K0
- 0x8C0C0701, // 0001 GETMET R3 R3 K1
- 0x5C140200, // 0002 MOVE R5 R1
- 0x5C180400, // 0003 MOVE R6 R2
- 0x7C0C0600, // 0004 CALL R3 3
- 0x780E0003, // 0005 JMPF R3 #000A
- 0x88100100, // 0006 GETMBR R4 R0 K0
- 0x8C100903, // 0007 GETMET R4 R4 K3
- 0x7C100200, // 0008 CALL R4 1
- 0x90020404, // 0009 SETMBR R0 K2 R4
- 0x80040600, // 000A RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_admin_subject
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_admin_subject, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(admin_subject),
- }),
- be_str_weak(get_admin_subject),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_fabric_compressed
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_fabric_compressed, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(fabric_compressed),
- }),
- be_str_weak(get_fabric_compressed),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: persist_to_fabric
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_persist_to_fabric, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(add_session),
- }),
- be_str_weak(persist_to_fabric),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x5C0C0000, // 0002 MOVE R3 R0
- 0x7C040400, // 0003 CALL R1 2
- 0x80000000, // 0004 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_ca
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_ca, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(root_ca_certificate),
- }),
- be_str_weak(get_ca),
- &be_const_str_solidified,
- ( &(const binstruction[ 3]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88040301, // 0001 GETMBR R1 R1 K1
- 0x80040200, // 0002 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: is_PASE
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_is_PASE, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(mode),
- /* K1 */ be_nested_str_weak(_PASE),
- }),
- be_str_weak(is_PASE),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x1C040202, // 0002 EQ R1 R1 R2
- 0x80040200, // 0003 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: is_CASE
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_is_CASE, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(mode),
- /* K1 */ be_nested_str_weak(_CASE),
- }),
- be_str_weak(is_CASE),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x1C040202, // 0002 EQ R1 R1 R2
- 0x80040200, // 0003 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: before_remove
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_before_remove, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(log),
- /* K1 */ be_nested_str_weak(MTR_X3A_X20_X2DSession_X20_X20_X20_X28_X256i_X29_X20_X28removed_X29),
- /* K2 */ be_nested_str_weak(local_session_id),
- /* K3 */ be_const_int(3),
- }),
- be_str_weak(before_remove),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0xB8060000, // 0000 GETNGBL R1 K0
- 0x60080018, // 0001 GETGBL R2 G24
- 0x580C0001, // 0002 LDCONST R3 K1
- 0x88100102, // 0003 GETMBR R4 R0 K2
- 0x7C080400, // 0004 CALL R2 2
- 0x580C0003, // 0005 LDCONST R3 K3
- 0x7C040400, // 0006 CALL R1 2
- 0x80000000, // 0007 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: save
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_save, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_store),
- /* K1 */ be_nested_str_weak(save_fabrics),
- }),
- be_str_weak(save),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x80000000, // 0003 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_fabric_id
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_fabric_id, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(fabric_id),
- }),
- be_str_weak(get_fabric_id),
- &be_const_str_solidified,
- ( &(const binstruction[ 3]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88040301, // 0001 GETMBR R1 R1 K1
- 0x80040200, // 0002 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: get_ipk_group_key
********************************************************************/
@@ -1127,704 +1859,6 @@ be_local_closure(class_Matter_Session_get_ipk_group_key, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: get_temp_ca_pub
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_temp_ca_pub, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
- /* K1 */ be_nested_str_weak(matter),
- /* K2 */ be_nested_str_weak(TLV),
- /* K3 */ be_nested_str_weak(parse),
- /* K4 */ be_nested_str_weak(findsubval),
- }),
- be_str_weak(get_temp_ca_pub),
- &be_const_str_solidified,
- ( &(const binstruction[12]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060008, // 0001 JMPF R1 #000B
- 0xB80A0200, // 0002 GETNGBL R2 K1
- 0x88080502, // 0003 GETMBR R2 R2 K2
- 0x8C080503, // 0004 GETMET R2 R2 K3
- 0x5C100200, // 0005 MOVE R4 R1
- 0x7C080400, // 0006 CALL R2 2
- 0x8C0C0504, // 0007 GETMET R3 R2 K4
- 0x54160008, // 0008 LDINT R5 9
- 0x7C0C0400, // 0009 CALL R3 2
- 0x80040600, // 000A RET 1 R3
- 0x80000000, // 000B RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_ca_pub
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_ca_pub, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(get_ca_pub),
- }),
- be_str_weak(get_ca_pub),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x80040200, // 0003 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_mode
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_mode, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(mode),
- }),
- be_str_weak(get_mode),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: hydrate_post
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_hydrate_post, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(_counter_snd_impl),
- /* K1 */ be_nested_str_weak(reset),
- /* K2 */ be_nested_str_weak(counter_snd),
- /* K3 */ be_nested_str_weak(_counter_rcv_impl),
- /* K4 */ be_nested_str_weak(counter_rcv),
- /* K5 */ be_nested_str_weak(val),
- }),
- be_str_weak(hydrate_post),
- &be_const_str_solidified,
- ( &(const binstruction[17]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x7C040400, // 0003 CALL R1 2
- 0x88040103, // 0004 GETMBR R1 R0 K3
- 0x8C040301, // 0005 GETMET R1 R1 K1
- 0x880C0104, // 0006 GETMBR R3 R0 K4
- 0x7C040400, // 0007 CALL R1 2
- 0x88040100, // 0008 GETMBR R1 R0 K0
- 0x8C040305, // 0009 GETMET R1 R1 K5
- 0x7C040200, // 000A CALL R1 1
- 0x90020401, // 000B SETMBR R0 K2 R1
- 0x88040103, // 000C GETMBR R1 R0 K3
- 0x8C040305, // 000D GETMET R1 R1 K5
- 0x7C040200, // 000E CALL R1 1
- 0x90020801, // 000F SETMBR R0 K4 R1
- 0x80000000, // 0010 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_fabric_label
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_fabric_label, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(fabric_label),
- }),
- be_str_weak(get_fabric_label),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_icac
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_icac, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(icac),
- }),
- be_str_weak(get_icac),
- &be_const_str_solidified,
- ( &(const binstruction[ 3]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x88040301, // 0001 GETMBR R1 R1 K1
- 0x80040200, // 0002 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: set_mode_CASE
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_set_mode_CASE, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(set_mode),
- /* K1 */ be_nested_str_weak(_CASE),
- }),
- be_str_weak(set_mode_CASE),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x8C040100, // 0000 GETMET R1 R0 K0
- 0x880C0101, // 0001 GETMBR R3 R0 K1
- 0x7C040400, // 0002 CALL R1 2
- 0x80000000, // 0003 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: counter_snd_next
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_counter_snd_next, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(_counter_snd_impl),
- /* K1 */ be_nested_str_weak(next),
- /* K2 */ be_nested_str_weak(matter),
- /* K3 */ be_nested_str_weak(Counter),
- /* K4 */ be_nested_str_weak(is_greater),
- /* K5 */ be_nested_str_weak(counter_snd),
- /* K6 */ be_nested_str_weak(_COUNTER_SND_INCR),
- /* K7 */ be_nested_str_weak(does_persist),
- /* K8 */ be_nested_str_weak(save),
- }),
- be_str_weak(counter_snd_next),
- &be_const_str_solidified,
- ( &(const binstruction[19]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0xB80A0400, // 0003 GETNGBL R2 K2
- 0x88080503, // 0004 GETMBR R2 R2 K3
- 0x8C080504, // 0005 GETMET R2 R2 K4
- 0x5C100200, // 0006 MOVE R4 R1
- 0x88140105, // 0007 GETMBR R5 R0 K5
- 0x7C080600, // 0008 CALL R2 3
- 0x780A0007, // 0009 JMPF R2 #0012
- 0x88080106, // 000A GETMBR R2 R0 K6
- 0x00080202, // 000B ADD R2 R1 R2
- 0x90020A02, // 000C SETMBR R0 K5 R2
- 0x8C080107, // 000D GETMET R2 R0 K7
- 0x7C080200, // 000E CALL R2 1
- 0x780A0001, // 000F JMPF R2 #0012
- 0x8C080108, // 0010 GETMET R2 R0 K8
- 0x7C080200, // 0011 CALL R2 1
- 0x80040200, // 0012 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_i2r_privacy
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_i2r_privacy, /* name */
- be_nested_proto(
- 9, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 7]) { /* constants */
- /* K0 */ be_nested_str_weak(_i2r_privacy),
- /* K1 */ be_nested_str_weak(crypto),
- /* K2 */ be_nested_str_weak(HKDF_SHA256),
- /* K3 */ be_nested_str_weak(derive),
- /* K4 */ be_nested_str_weak(get_i2r),
- /* K5 */ be_nested_str_weak(fromstring),
- /* K6 */ be_nested_str_weak(PrivacyKey),
- }),
- be_str_weak(get_i2r_privacy),
- &be_const_str_solidified,
- ( &(const binstruction[22]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x4C080000, // 0001 LDNIL R2
- 0x1C040202, // 0002 EQ R1 R1 R2
- 0x7806000F, // 0003 JMPF R1 #0014
- 0xA4060200, // 0004 IMPORT R1 K1
- 0x8C080302, // 0005 GETMET R2 R1 K2
- 0x7C080200, // 0006 CALL R2 1
- 0x8C080503, // 0007 GETMET R2 R2 K3
- 0x8C100104, // 0008 GETMET R4 R0 K4
- 0x7C100200, // 0009 CALL R4 1
- 0x60140015, // 000A GETGBL R5 G21
- 0x7C140000, // 000B CALL R5 0
- 0x60180015, // 000C GETGBL R6 G21
- 0x7C180000, // 000D CALL R6 0
- 0x8C180D05, // 000E GETMET R6 R6 K5
- 0x58200006, // 000F LDCONST R8 K6
- 0x7C180400, // 0010 CALL R6 2
- 0x541E000F, // 0011 LDINT R7 16
- 0x7C080A00, // 0012 CALL R2 5
- 0x90020002, // 0013 SETMBR R0 K0 R2
- 0x88040100, // 0014 GETMBR R1 R0 K0
- 0x80040200, // 0015 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_i2r
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_i2r, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(i2rkey),
- }),
- be_str_weak(get_i2r),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_admin_vendor
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_admin_vendor, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(admin_vendor),
- }),
- be_str_weak(get_admin_vendor),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: set_temp_ca
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_set_temp_ca, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
- }),
- be_str_weak(set_temp_ca),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0x80000000, // 0001 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_init, /* name */
- be_nested_proto(
- 10, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[23]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(_store),
- /* K2 */ be_nested_str_weak(mode),
- /* K3 */ be_const_int(0),
- /* K4 */ be_nested_str_weak(local_session_id),
- /* K5 */ be_nested_str_weak(initiator_session_id),
- /* K6 */ be_nested_str_weak(_counter_snd_impl),
- /* K7 */ be_nested_str_weak(matter),
- /* K8 */ be_nested_str_weak(Counter),
- /* K9 */ be_nested_str_weak(_counter_rcv_impl),
- /* K10 */ be_nested_str_weak(counter_rcv),
- /* K11 */ be_nested_str_weak(counter_snd),
- /* K12 */ be_nested_str_weak(next),
- /* K13 */ be_nested_str_weak(_COUNTER_SND_INCR),
- /* K14 */ be_nested_str_weak(_counter_insecure_rcv),
- /* K15 */ be_nested_str_weak(_counter_insecure_snd),
- /* K16 */ be_nested_str_weak(_breadcrumb),
- /* K17 */ be_nested_str_weak(_exchange_id),
- /* K18 */ be_nested_str_weak(random),
- /* K19 */ be_const_int(2),
- /* K20 */ be_nested_str_weak(get),
- /* K21 */ be_nested_str_weak(_fabric),
- /* K22 */ be_nested_str_weak(update),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[41]) { /* code */
- 0xA4160000, // 0000 IMPORT R5 K0
- 0x90020201, // 0001 SETMBR R0 K1 R1
- 0x90020503, // 0002 SETMBR R0 K2 K3
- 0x90020802, // 0003 SETMBR R0 K4 R2
- 0x90020A03, // 0004 SETMBR R0 K5 R3
- 0xB81A0E00, // 0005 GETNGBL R6 K7
- 0x8C180D08, // 0006 GETMET R6 R6 K8
- 0x7C180200, // 0007 CALL R6 1
- 0x90020C06, // 0008 SETMBR R0 K6 R6
- 0xB81A0E00, // 0009 GETNGBL R6 K7
- 0x8C180D08, // 000A GETMET R6 R6 K8
- 0x7C180200, // 000B CALL R6 1
- 0x90021206, // 000C SETMBR R0 K9 R6
- 0x90021503, // 000D SETMBR R0 K10 K3
- 0x88180106, // 000E GETMBR R6 R0 K6
- 0x8C180D0C, // 000F GETMET R6 R6 K12
- 0x7C180200, // 0010 CALL R6 1
- 0x881C010D, // 0011 GETMBR R7 R0 K13
- 0x00180C07, // 0012 ADD R6 R6 R7
- 0x90021606, // 0013 SETMBR R0 K11 R6
- 0xB81A0E00, // 0014 GETNGBL R6 K7
- 0x8C180D08, // 0015 GETMET R6 R6 K8
- 0x7C180200, // 0016 CALL R6 1
- 0x90021C06, // 0017 SETMBR R0 K14 R6
- 0xB81A0E00, // 0018 GETNGBL R6 K7
- 0x8C180D08, // 0019 GETMET R6 R6 K8
- 0x7C180200, // 001A CALL R6 1
- 0x90021E06, // 001B SETMBR R0 K15 R6
- 0x90022103, // 001C SETMBR R0 K16 K3
- 0x8C180B12, // 001D GETMET R6 R5 K18
- 0x58200013, // 001E LDCONST R8 K19
- 0x7C180400, // 001F CALL R6 2
- 0x8C180D14, // 0020 GETMET R6 R6 K20
- 0x58200003, // 0021 LDCONST R8 K3
- 0x58240013, // 0022 LDCONST R9 K19
- 0x7C180600, // 0023 CALL R6 3
- 0x90022206, // 0024 SETMBR R0 K17 R6
- 0x90022A04, // 0025 SETMBR R0 K21 R4
- 0x8C180116, // 0026 GETMET R6 R0 K22
- 0x7C180200, // 0027 CALL R6 1
- 0x80000000, // 0028 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_fabric_index
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_fabric_index, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(fabric_index),
- }),
- be_str_weak(get_fabric_index),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060002, // 0001 JMPF R1 #0005
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x88040301, // 0003 GETMBR R1 R1 K1
- 0x70020000, // 0004 JMP #0006
- 0x4C040000, // 0005 LDNIL R1
- 0x80040200, // 0006 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_temp_ca
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_temp_ca, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
- }),
- be_str_weak(get_temp_ca),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x80040200, // 0001 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_pk
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_get_pk, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(_fabric),
- /* K1 */ be_nested_str_weak(get_pk),
- /* K2 */ be_nested_str_weak(_temp_pk),
- /* K3 */ be_nested_str_weak(crypto),
- /* K4 */ be_nested_str_weak(random),
- }),
- be_str_weak(get_pk),
- &be_const_str_solidified,
- ( &(const binstruction[17]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060004, // 0001 JMPF R1 #0007
- 0x88040100, // 0002 GETMBR R1 R0 K0
- 0x8C040301, // 0003 GETMET R1 R1 K1
- 0x7C040200, // 0004 CALL R1 1
- 0x80040200, // 0005 RET 1 R1
- 0x70020008, // 0006 JMP #0010
- 0x88040102, // 0007 GETMBR R1 R0 K2
- 0x74060004, // 0008 JMPT R1 #000E
- 0xA4060600, // 0009 IMPORT R1 K3
- 0x8C080304, // 000A GETMET R2 R1 K4
- 0x5412001F, // 000B LDINT R4 32
- 0x7C080400, // 000C CALL R2 2
- 0x90020402, // 000D SETMBR R0 K2 R2
- 0x88040102, // 000E GETMBR R1 R0 K2
- 0x80040200, // 000F RET 1 R1
- 0x80000000, // 0010 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: set_mode_PASE
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_set_mode_PASE, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(set_mode),
- /* K1 */ be_nested_str_weak(_PASE),
- }),
- be_str_weak(set_mode_PASE),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x8C040100, // 0000 GETMET R1 R0 K0
- 0x880C0101, // 0001 GETMBR R3 R0 K1
- 0x7C040400, // 0002 CALL R1 2
- 0x80000000, // 0003 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: set_mode
-********************************************************************/
-extern const bclass be_class_Matter_Session;
-be_local_closure(class_Matter_Session_set_mode, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Session,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(mode),
- }),
- be_str_weak(set_mode),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0x80000000, // 0001 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified class: Matter_Session
********************************************************************/
@@ -1832,92 +1866,93 @@ extern const bclass be_class_Matter_Expirable;
be_local_class(Matter_Session,
38,
&be_class_Matter_Expirable,
- be_nested_map(84,
+ be_nested_map(85,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(set_mode, 6), be_const_closure(class_Matter_Session_set_mode_closure) },
- { be_const_key_weak(set_mode_PASE, 57), be_const_closure(class_Matter_Session_set_mode_PASE_closure) },
- { be_const_key_weak(_counter_rcv_impl, 79), be_const_var(14) },
- { be_const_key_weak(attestation_challenge, 56), be_const_var(25) },
- { be_const_key_weak(get_ac, -1), be_const_closure(class_Matter_Session_get_ac_closure) },
- { be_const_key_weak(get_fabric, -1), be_const_closure(class_Matter_Session_get_fabric_closure) },
- { be_const_key_weak(get_temp_ca, 69), be_const_closure(class_Matter_Session_get_temp_ca_closure) },
- { be_const_key_weak(_COUNTER_SND_INCR, -1), be_const_int(1024) },
- { be_const_key_weak(_CASE, -1), be_const_int(2) },
- { be_const_key_weak(_counter_insecure_rcv, 2), be_const_var(20) },
- { be_const_key_weak(_breadcrumb, -1), be_const_var(27) },
- { be_const_key_weak(r2ikey, 82), be_const_var(23) },
- { be_const_key_weak(set_keys, 52), be_const_closure(class_Matter_Session_set_keys_closure) },
- { be_const_key_weak(_exchange_id, -1), be_const_var(16) },
- { be_const_key_weak(peer_node_id, 8), be_const_var(26) },
- { be_const_key_weak(last_used, 80), be_const_var(6) },
- { be_const_key_weak(_source_node_id, 48), be_const_var(7) },
- { be_const_key_weak(init, 36), be_const_closure(class_Matter_Session_init_closure) },
- { be_const_key_weak(set_temp_ca, -1), be_const_closure(class_Matter_Session_set_temp_ca_closure) },
- { be_const_key_weak(created, -1), be_const_var(5) },
- { be_const_key_weak(persist_to_fabric, -1), be_const_closure(class_Matter_Session_persist_to_fabric_closure) },
- { be_const_key_weak(__initiator_pub, -1), be_const_var(32) },
- { be_const_key_weak(gen_CSR, -1), be_const_closure(class_Matter_Session_gen_CSR_closure) },
- { be_const_key_weak(_store, -1), be_const_var(0) },
- { be_const_key_weak(get_ipk_epoch_key, 49), be_const_closure(class_Matter_Session_get_ipk_epoch_key_closure) },
- { be_const_key_weak(__responder_priv, 7), be_const_var(30) },
- { be_const_key_weak(counter_rcv_validate, -1), be_const_closure(class_Matter_Session_counter_rcv_validate_closure) },
- { be_const_key_weak(_ip, -1), be_const_var(17) },
- { be_const_key_weak(get_admin_subject, 40), be_const_closure(class_Matter_Session_get_admin_subject_closure) },
- { be_const_key_weak(resumption_id, -1), be_const_var(28) },
- { be_const_key_weak(_i2r_privacy, -1), be_const_var(24) },
- { be_const_key_weak(get_fabric_compressed, -1), be_const_closure(class_Matter_Session_get_fabric_compressed_closure) },
{ be_const_key_weak(_temp_pk, -1), be_const_var(9) },
- { be_const_key_weak(shared_secret, 74), be_const_var(29) },
- { be_const_key_weak(_temp_root_ca_certificate, -1), be_const_var(8) },
- { be_const_key_weak(get_ca, -1), be_const_closure(class_Matter_Session_get_ca_closure) },
- { be_const_key_weak(_fabric, 10), be_const_var(2) },
- { be_const_key_weak(__spake_cA, -1), be_const_var(33) },
- { be_const_key_weak(get_ipk_group_key, -1), be_const_closure(class_Matter_Session_get_ipk_group_key_closure) },
- { be_const_key_weak(initiator_session_id, 18), be_const_var(4) },
- { be_const_key_weak(get_i2r_privacy, -1), be_const_closure(class_Matter_Session_get_i2r_privacy_closure) },
- { be_const_key_weak(__chunked_attr_reports, -1), be_const_var(37) },
- { be_const_key_weak(get_ca_pub, -1), be_const_closure(class_Matter_Session_get_ca_pub_closure) },
- { be_const_key_weak(counter_snd, 20), be_const_var(13) },
- { be_const_key_weak(set_fabric_label, 35), be_const_closure(class_Matter_Session_set_fabric_label_closure) },
- { be_const_key_weak(_counter_snd_impl, 71), be_const_var(15) },
- { be_const_key_weak(is_CASE, -1), be_const_closure(class_Matter_Session_is_CASE_closure) },
- { be_const_key_weak(before_remove, -1), be_const_closure(class_Matter_Session_before_remove_closure) },
+ { be_const_key_weak(get_device_id, -1), be_const_closure(class_Matter_Session_get_device_id_closure) },
+ { be_const_key_weak(_exchange_id, 46), be_const_var(16) },
+ { be_const_key_weak(_PASE, 37), be_const_int(1) },
{ be_const_key_weak(set_mode_CASE, -1), be_const_closure(class_Matter_Session_set_mode_CASE_closure) },
- { be_const_key_weak(get_icac, -1), be_const_closure(class_Matter_Session_get_icac_closure) },
- { be_const_key_weak(tojson, 61), be_const_closure(class_Matter_Session_tojson_closure) },
- { be_const_key_weak(close, 1), be_const_closure(class_Matter_Session_close_closure) },
- { be_const_key_weak(get_fabric_label, 42), be_const_closure(class_Matter_Session_get_fabric_label_closure) },
- { be_const_key_weak(_counter_insecure_snd, -1), be_const_var(21) },
- { be_const_key_weak(get_device_id, 63), be_const_closure(class_Matter_Session_get_device_id_closure) },
- { be_const_key_weak(counter_rcv, 62), be_const_var(12) },
- { be_const_key_weak(__Msg1, -1), be_const_var(35) },
- { be_const_key_weak(hydrate_post, 66), be_const_closure(class_Matter_Session_hydrate_post_closure) },
+ { be_const_key_weak(get_ipk_group_key, 9), be_const_closure(class_Matter_Session_get_ipk_group_key_closure) },
+ { be_const_key_weak(is_CASE, -1), be_const_closure(class_Matter_Session_is_CASE_closure) },
{ be_const_key_weak(_message_handler, -1), be_const_var(19) },
- { be_const_key_weak(__future_initiator_session_id, -1), be_const_var(10) },
- { be_const_key_weak(__spake_Ke, 32), be_const_var(34) },
- { be_const_key_weak(__Msg2, 38), be_const_var(36) },
- { be_const_key_weak(get_mode, -1), be_const_closure(class_Matter_Session_get_mode_closure) },
+ { be_const_key_weak(persist_to_fabric, 2), be_const_closure(class_Matter_Session_persist_to_fabric_closure) },
{ be_const_key_weak(mode, -1), be_const_var(1) },
- { be_const_key_weak(update, 16), be_const_closure(class_Matter_Session_update_closure) },
- { be_const_key_weak(counter_snd_next, -1), be_const_closure(class_Matter_Session_counter_snd_next_closure) },
- { be_const_key_weak(get_temp_ca_pub, -1), be_const_closure(class_Matter_Session_get_temp_ca_pub_closure) },
- { be_const_key_weak(get_i2r, -1), be_const_closure(class_Matter_Session_get_i2r_closure) },
- { be_const_key_weak(get_noc, 37), be_const_closure(class_Matter_Session_get_noc_closure) },
- { be_const_key_weak(get_fabric_id, -1), be_const_closure(class_Matter_Session_get_fabric_id_closure) },
+ { be_const_key_weak(before_remove, 58), be_const_closure(class_Matter_Session_before_remove_closure) },
+ { be_const_key_weak(gen_CSR, 41), be_const_closure(class_Matter_Session_gen_CSR_closure) },
+ { be_const_key_weak(__responder_pub, 23), be_const_var(31) },
+ { be_const_key_weak(i2rkey, 83), be_const_var(22) },
+ { be_const_key_weak(_port, 29), be_const_var(18) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_Session_init_closure) },
{ be_const_key_weak(get_admin_vendor, -1), be_const_closure(class_Matter_Session_get_admin_vendor_closure) },
- { be_const_key_weak(is_PASE, -1), be_const_closure(class_Matter_Session_is_PASE_closure) },
- { be_const_key_weak(save, 21), be_const_closure(class_Matter_Session_save_closure) },
- { be_const_key_weak(_GROUP_KEY, -1), be_nested_str_weak(GroupKey_X20v1_X2E0) },
- { be_const_key_weak(local_session_id, 76), be_const_var(3) },
- { be_const_key_weak(i2rkey, 17), be_const_var(22) },
+ { be_const_key_weak(get_i2r, -1), be_const_closure(class_Matter_Session_get_i2r_closure) },
+ { be_const_key_weak(_fabric, 73), be_const_var(2) },
+ { be_const_key_weak(local_session_id, 84), be_const_var(3) },
+ { be_const_key_weak(counter_rcv_validate, -1), be_const_closure(class_Matter_Session_counter_rcv_validate_closure) },
+ { be_const_key_weak(get_ca, -1), be_const_closure(class_Matter_Session_get_ca_closure) },
+ { be_const_key_weak(__responder_priv, -1), be_const_var(30) },
+ { be_const_key_weak(_counter_snd_impl, -1), be_const_var(15) },
+ { be_const_key_weak(__spake_cA, 67), be_const_var(33) },
+ { be_const_key_weak(__future_initiator_session_id, -1), be_const_var(10) },
{ be_const_key_weak(__future_local_session_id, -1), be_const_var(11) },
- { be_const_key_weak(_PASE, -1), be_const_int(1) },
- { be_const_key_weak(get_fabric_index, -1), be_const_closure(class_Matter_Session_get_fabric_index_closure) },
- { be_const_key_weak(_port, -1), be_const_var(18) },
- { be_const_key_weak(get_r2i, -1), be_const_closure(class_Matter_Session_get_r2i_closure) },
+ { be_const_key_weak(set_mode, -1), be_const_closure(class_Matter_Session_set_mode_closure) },
+ { be_const_key_weak(counter_snd_next, -1), be_const_closure(class_Matter_Session_counter_snd_next_closure) },
+ { be_const_key_weak(set_temp_ca, 33), be_const_closure(class_Matter_Session_set_temp_ca_closure) },
+ { be_const_key_weak(get_temp_ca_pub, -1), be_const_closure(class_Matter_Session_get_temp_ca_pub_closure) },
+ { be_const_key_weak(get_temp_ca, 54), be_const_closure(class_Matter_Session_get_temp_ca_closure) },
+ { be_const_key_weak(get_fabric_id, -1), be_const_closure(class_Matter_Session_get_fabric_id_closure) },
+ { be_const_key_weak(get_mode, -1), be_const_closure(class_Matter_Session_get_mode_closure) },
+ { be_const_key_weak(initiator_session_id, 22), be_const_var(4) },
+ { be_const_key_weak(set_mode_PASE, -1), be_const_closure(class_Matter_Session_set_mode_PASE_closure) },
+ { be_const_key_weak(get_fabric_compressed, 43), be_const_closure(class_Matter_Session_get_fabric_compressed_closure) },
+ { be_const_key_weak(__Msg2, -1), be_const_var(36) },
+ { be_const_key_weak(_counter_insecure_snd, 26), be_const_var(21) },
+ { be_const_key_weak(get_fabric_label, 52), be_const_closure(class_Matter_Session_get_fabric_label_closure) },
+ { be_const_key_weak(last_used, -1), be_const_var(6) },
+ { be_const_key_weak(close, -1), be_const_closure(class_Matter_Session_close_closure) },
+ { be_const_key_weak(counter_snd, 74), be_const_var(13) },
+ { be_const_key_weak(_store, -1), be_const_var(0) },
+ { be_const_key_weak(_breadcrumb, 72), be_const_var(27) },
+ { be_const_key_weak(_counter_insecure_rcv, -1), be_const_var(20) },
+ { be_const_key_weak(get_ac, -1), be_const_closure(class_Matter_Session_get_ac_closure) },
+ { be_const_key_weak(set_fabric_label, -1), be_const_closure(class_Matter_Session_set_fabric_label_closure) },
+ { be_const_key_weak(get_node_id, -1), be_const_closure(class_Matter_Session_get_node_id_closure) },
+ { be_const_key_weak(get_ca_pub, -1), be_const_closure(class_Matter_Session_get_ca_pub_closure) },
+ { be_const_key_weak(_COUNTER_SND_INCR, 55), be_const_int(1024) },
+ { be_const_key_weak(tojson, -1), be_const_closure(class_Matter_Session_tojson_closure) },
+ { be_const_key_weak(hydrate_post, -1), be_const_closure(class_Matter_Session_hydrate_post_closure) },
+ { be_const_key_weak(__spake_Ke, 36), be_const_var(34) },
+ { be_const_key_weak(_i2r_privacy, -1), be_const_var(24) },
+ { be_const_key_weak(get_fabric, 71), be_const_closure(class_Matter_Session_get_fabric_closure) },
+ { be_const_key_weak(__chunked_attr_reports, -1), be_const_var(37) },
+ { be_const_key_weak(_source_node_id, 66), be_const_var(7) },
+ { be_const_key_weak(get_i2r_privacy, 19), be_const_closure(class_Matter_Session_get_i2r_privacy_closure) },
+ { be_const_key_weak(_CASE, 57), be_const_int(2) },
+ { be_const_key_weak(fromjson, -1), be_const_static_closure(class_Matter_Session_fromjson_closure) },
+ { be_const_key_weak(get_noc, 60), be_const_closure(class_Matter_Session_get_noc_closure) },
+ { be_const_key_weak(save, -1), be_const_closure(class_Matter_Session_save_closure) },
+ { be_const_key_weak(counter_rcv, -1), be_const_var(12) },
+ { be_const_key_weak(update, 56), be_const_closure(class_Matter_Session_update_closure) },
+ { be_const_key_weak(_GROUP_KEY, -1), be_nested_str_weak(GroupKey_X20v1_X2E0) },
+ { be_const_key_weak(peer_node_id, -1), be_const_var(26) },
+ { be_const_key_weak(__Msg1, 82), be_const_var(35) },
+ { be_const_key_weak(get_admin_subject, -1), be_const_closure(class_Matter_Session_get_admin_subject_closure) },
+ { be_const_key_weak(get_ipk_epoch_key, -1), be_const_closure(class_Matter_Session_get_ipk_epoch_key_closure) },
+ { be_const_key_weak(__initiator_pub, -1), be_const_var(32) },
{ be_const_key_weak(get_pk, -1), be_const_closure(class_Matter_Session_get_pk_closure) },
- { be_const_key_weak(__responder_pub, -1), be_const_var(31) },
- { be_const_key_weak(fromjson, 0), be_const_static_closure(class_Matter_Session_fromjson_closure) },
+ { be_const_key_weak(is_PASE, -1), be_const_closure(class_Matter_Session_is_PASE_closure) },
+ { be_const_key_weak(get_icac, -1), be_const_closure(class_Matter_Session_get_icac_closure) },
+ { be_const_key_weak(resumption_id, -1), be_const_var(28) },
+ { be_const_key_weak(_ip, 27), be_const_var(17) },
+ { be_const_key_weak(set_keys, -1), be_const_closure(class_Matter_Session_set_keys_closure) },
+ { be_const_key_weak(r2ikey, 25), be_const_var(23) },
+ { be_const_key_weak(attestation_challenge, 5), be_const_var(25) },
+ { be_const_key_weak(created, -1), be_const_var(5) },
+ { be_const_key_weak(_temp_root_ca_certificate, -1), be_const_var(8) },
+ { be_const_key_weak(get_r2i, 11), be_const_closure(class_Matter_Session_get_r2i_closure) },
+ { be_const_key_weak(get_fabric_index, -1), be_const_closure(class_Matter_Session_get_fabric_index_closure) },
+ { be_const_key_weak(_counter_rcv_impl, -1), be_const_var(14) },
+ { be_const_key_weak(shared_secret, -1), be_const_var(29) },
})),
be_str_weak(Matter_Session)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_zz_Device.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_zz_Device.h
index d7855d907..f045923c7 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_zz_Device.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_zz_Device.h
@@ -7,137 +7,12 @@
extern const bclass be_class_Matter_Device;
/********************************************************************
-** Solidified function: mdns_remove_op_discovery
+** Solidified function: save_before_restart
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_mdns_remove_op_discovery, /* name */
+be_local_closure(class_Matter_Device_save_before_restart, /* name */
be_nested_proto(
- 12, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[23]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns),
- /* K1 */ be_nested_str_weak(get_device_id),
- /* K2 */ be_nested_str_weak(copy),
- /* K3 */ be_nested_str_weak(reverse),
- /* K4 */ be_nested_str_weak(get_fabric_compressed),
- /* K5 */ be_nested_str_weak(tohex),
- /* K6 */ be_nested_str_weak(_X2D),
- /* K7 */ be_nested_str_weak(tasmota),
- /* K8 */ be_nested_str_weak(eth),
- /* K9 */ be_nested_str_weak(find),
- /* K10 */ be_nested_str_weak(up),
- /* K11 */ be_nested_str_weak(log),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
- /* K13 */ be_const_int(3),
- /* K14 */ be_nested_str_weak(remove_service),
- /* K15 */ be_nested_str_weak(_matter),
- /* K16 */ be_nested_str_weak(_tcp),
- /* K17 */ be_nested_str_weak(hostname_eth),
- /* K18 */ be_nested_str_weak(wifi),
- /* K19 */ be_nested_str_weak(hostname_wifi),
- /* K20 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K21 */ be_nested_str_weak(_X7C),
- /* K22 */ be_const_int(2),
- }),
- be_str_weak(mdns_remove_op_discovery),
- &be_const_str_solidified,
- ( &(const binstruction[77]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0xA8020039, // 0001 EXBLK 0 #003C
- 0x8C0C0301, // 0002 GETMET R3 R1 K1
- 0x7C0C0200, // 0003 CALL R3 1
- 0x8C0C0702, // 0004 GETMET R3 R3 K2
- 0x7C0C0200, // 0005 CALL R3 1
- 0x8C0C0703, // 0006 GETMET R3 R3 K3
- 0x7C0C0200, // 0007 CALL R3 1
- 0x8C100304, // 0008 GETMET R4 R1 K4
- 0x7C100200, // 0009 CALL R4 1
- 0x8C140905, // 000A GETMET R5 R4 K5
- 0x7C140200, // 000B CALL R5 1
- 0x00140B06, // 000C ADD R5 R5 K6
- 0x8C180705, // 000D GETMET R6 R3 K5
- 0x7C180200, // 000E CALL R6 1
- 0x00140A06, // 000F ADD R5 R5 R6
- 0xB81A0E00, // 0010 GETNGBL R6 K7
- 0x8C180D08, // 0011 GETMET R6 R6 K8
- 0x7C180200, // 0012 CALL R6 1
- 0x8C180D09, // 0013 GETMET R6 R6 K9
- 0x5820000A, // 0014 LDCONST R8 K10
- 0x7C180400, // 0015 CALL R6 2
- 0x781A000D, // 0016 JMPF R6 #0025
- 0xB81A1600, // 0017 GETNGBL R6 K11
- 0x601C0018, // 0018 GETGBL R7 G24
- 0x5820000C, // 0019 LDCONST R8 K12
- 0x58240008, // 001A LDCONST R9 K8
- 0x5C280A00, // 001B MOVE R10 R5
- 0x7C1C0600, // 001C CALL R7 3
- 0x5820000D, // 001D LDCONST R8 K13
- 0x7C180400, // 001E CALL R6 2
- 0x8C18050E, // 001F GETMET R6 R2 K14
- 0x5820000F, // 0020 LDCONST R8 K15
- 0x58240010, // 0021 LDCONST R9 K16
- 0x5C280A00, // 0022 MOVE R10 R5
- 0x882C0111, // 0023 GETMBR R11 R0 K17
- 0x7C180A00, // 0024 CALL R6 5
- 0xB81A0E00, // 0025 GETNGBL R6 K7
- 0x8C180D12, // 0026 GETMET R6 R6 K18
- 0x7C180200, // 0027 CALL R6 1
- 0x8C180D09, // 0028 GETMET R6 R6 K9
- 0x5820000A, // 0029 LDCONST R8 K10
- 0x7C180400, // 002A CALL R6 2
- 0x781A000D, // 002B JMPF R6 #003A
- 0xB81A1600, // 002C GETNGBL R6 K11
- 0x601C0018, // 002D GETGBL R7 G24
- 0x5820000C, // 002E LDCONST R8 K12
- 0x58240012, // 002F LDCONST R9 K18
- 0x5C280A00, // 0030 MOVE R10 R5
- 0x7C1C0600, // 0031 CALL R7 3
- 0x5820000D, // 0032 LDCONST R8 K13
- 0x7C180400, // 0033 CALL R6 2
- 0x8C18050E, // 0034 GETMET R6 R2 K14
- 0x5820000F, // 0035 LDCONST R8 K15
- 0x58240010, // 0036 LDCONST R9 K16
- 0x5C280A00, // 0037 MOVE R10 R5
- 0x882C0113, // 0038 GETMBR R11 R0 K19
- 0x7C180A00, // 0039 CALL R6 5
- 0xA8040001, // 003A EXBLK 1 1
- 0x7002000F, // 003B JMP #004C
- 0xAC0C0002, // 003C CATCH R3 0 2
- 0x7002000C, // 003D JMP #004B
- 0xB8161600, // 003E GETNGBL R5 K11
- 0x60180008, // 003F GETGBL R6 G8
- 0x5C1C0600, // 0040 MOVE R7 R3
- 0x7C180200, // 0041 CALL R6 1
- 0x001A2806, // 0042 ADD R6 K20 R6
- 0x00180D15, // 0043 ADD R6 R6 K21
- 0x601C0008, // 0044 GETGBL R7 G8
- 0x5C200800, // 0045 MOVE R8 R4
- 0x7C1C0200, // 0046 CALL R7 1
- 0x00180C07, // 0047 ADD R6 R6 R7
- 0x581C0016, // 0048 LDCONST R7 K22
- 0x7C140400, // 0049 CALL R5 2
- 0x70020000, // 004A JMP #004C
- 0xB0080000, // 004B RAISE 2 R0 R0
- 0x80000000, // 004C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start, /* name */
- be_nested_proto(
- 4, /* nstack */
+ 3, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -145,218 +20,18 @@ be_local_closure(class_Matter_Device_start, /* name */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(started),
- /* K1 */ be_nested_str_weak(autoconf_device),
- /* K2 */ be_nested_str_weak(_start_udp),
- /* K3 */ be_nested_str_weak(UDP_PORT),
- /* K4 */ be_nested_str_weak(start_mdns_announce_hostnames),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K1 */ be_nested_str_weak(mdns_remove_op_discovery_all_fabrics),
}),
- be_str_weak(start),
+ be_str_weak(save_before_restart),
&be_const_str_solidified,
- ( &(const binstruction[13]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x78060000, // 0001 JMPF R1 #0003
- 0x80000200, // 0002 RET 0
- 0x8C040101, // 0003 GETMET R1 R0 K1
- 0x7C040200, // 0004 CALL R1 1
- 0x8C040102, // 0005 GETMET R1 R0 K2
- 0x880C0103, // 0006 GETMBR R3 R0 K3
- 0x7C040400, // 0007 CALL R1 2
- 0x8C040104, // 0008 GETMET R1 R0 K4
- 0x7C040200, // 0009 CALL R1 1
- 0x50040200, // 000A LDBOOL R1 1 0
- 0x90020001, // 000B SETMBR R0 K0 R1
- 0x80000000, // 000C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: mdns_remove_PASE
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_mdns_remove_PASE, /* name */
- be_nested_proto(
- 9, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[19]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns),
- /* K1 */ be_nested_str_weak(mdns_pase_eth),
- /* K2 */ be_nested_str_weak(log),
- /* K3 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eremove_service_X28_X25s_X2C_X20_X25s_X2C_X20_X25s_X2C_X20_X25s_X29),
- /* K4 */ be_nested_str_weak(_matterc),
- /* K5 */ be_nested_str_weak(_udp),
- /* K6 */ be_nested_str_weak(commissioning_instance_eth),
- /* K7 */ be_nested_str_weak(hostname_eth),
- /* K8 */ be_const_int(3),
- /* K9 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
- /* K10 */ be_nested_str_weak(eth),
- /* K11 */ be_nested_str_weak(remove_service),
- /* K12 */ be_nested_str_weak(mdns_pase_wifi),
- /* K13 */ be_nested_str_weak(commissioning_instance_wifi),
- /* K14 */ be_nested_str_weak(hostname_wifi),
- /* K15 */ be_nested_str_weak(wifi),
- /* K16 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K17 */ be_nested_str_weak(_X7C),
- /* K18 */ be_const_int(2),
- }),
- be_str_weak(mdns_remove_PASE),
- &be_const_str_solidified,
- ( &(const binstruction[77]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA8020039, // 0001 EXBLK 0 #003C
- 0x88080101, // 0002 GETMBR R2 R0 K1
- 0x780A0019, // 0003 JMPF R2 #001E
- 0xB80A0400, // 0004 GETNGBL R2 K2
- 0x600C0018, // 0005 GETGBL R3 G24
- 0x58100003, // 0006 LDCONST R4 K3
- 0x58140004, // 0007 LDCONST R5 K4
- 0x58180005, // 0008 LDCONST R6 K5
- 0x881C0106, // 0009 GETMBR R7 R0 K6
- 0x88200107, // 000A GETMBR R8 R0 K7
- 0x7C0C0A00, // 000B CALL R3 5
- 0x58100008, // 000C LDCONST R4 K8
- 0x7C080400, // 000D CALL R2 2
- 0xB80A0400, // 000E GETNGBL R2 K2
- 0x600C0018, // 000F GETGBL R3 G24
- 0x58100009, // 0010 LDCONST R4 K9
- 0x5814000A, // 0011 LDCONST R5 K10
- 0x88180106, // 0012 GETMBR R6 R0 K6
- 0x7C0C0600, // 0013 CALL R3 3
- 0x58100008, // 0014 LDCONST R4 K8
- 0x7C080400, // 0015 CALL R2 2
- 0x50080000, // 0016 LDBOOL R2 0 0
- 0x90020202, // 0017 SETMBR R0 K1 R2
- 0x8C08030B, // 0018 GETMET R2 R1 K11
- 0x58100004, // 0019 LDCONST R4 K4
- 0x58140005, // 001A LDCONST R5 K5
- 0x88180106, // 001B GETMBR R6 R0 K6
- 0x881C0107, // 001C GETMBR R7 R0 K7
- 0x7C080A00, // 001D CALL R2 5
- 0x8808010C, // 001E GETMBR R2 R0 K12
- 0x780A0019, // 001F JMPF R2 #003A
- 0xB80A0400, // 0020 GETNGBL R2 K2
- 0x600C0018, // 0021 GETGBL R3 G24
- 0x58100003, // 0022 LDCONST R4 K3
- 0x58140004, // 0023 LDCONST R5 K4
- 0x58180005, // 0024 LDCONST R6 K5
- 0x881C010D, // 0025 GETMBR R7 R0 K13
- 0x8820010E, // 0026 GETMBR R8 R0 K14
- 0x7C0C0A00, // 0027 CALL R3 5
- 0x58100008, // 0028 LDCONST R4 K8
- 0x7C080400, // 0029 CALL R2 2
- 0xB80A0400, // 002A GETNGBL R2 K2
- 0x600C0018, // 002B GETGBL R3 G24
- 0x58100009, // 002C LDCONST R4 K9
- 0x5814000F, // 002D LDCONST R5 K15
- 0x8818010D, // 002E GETMBR R6 R0 K13
- 0x7C0C0600, // 002F CALL R3 3
- 0x58100008, // 0030 LDCONST R4 K8
- 0x7C080400, // 0031 CALL R2 2
- 0x50080000, // 0032 LDBOOL R2 0 0
- 0x90021802, // 0033 SETMBR R0 K12 R2
- 0x8C08030B, // 0034 GETMET R2 R1 K11
- 0x58100004, // 0035 LDCONST R4 K4
- 0x58140005, // 0036 LDCONST R5 K5
- 0x8818010D, // 0037 GETMBR R6 R0 K13
- 0x881C010E, // 0038 GETMBR R7 R0 K14
- 0x7C080A00, // 0039 CALL R2 5
- 0xA8040001, // 003A EXBLK 1 1
- 0x7002000F, // 003B JMP #004C
- 0xAC080002, // 003C CATCH R2 0 2
- 0x7002000C, // 003D JMP #004B
- 0xB8120400, // 003E GETNGBL R4 K2
- 0x60140008, // 003F GETGBL R5 G8
- 0x5C180400, // 0040 MOVE R6 R2
- 0x7C140200, // 0041 CALL R5 1
- 0x00162005, // 0042 ADD R5 K16 R5
- 0x00140B11, // 0043 ADD R5 R5 K17
- 0x60180008, // 0044 GETGBL R6 G8
- 0x5C1C0600, // 0045 MOVE R7 R3
- 0x7C180200, // 0046 CALL R6 1
- 0x00140A06, // 0047 ADD R5 R5 R6
- 0x58180012, // 0048 LDCONST R6 K18
- 0x7C100400, // 0049 CALL R4 2
- 0x70020000, // 004A JMP #004C
- 0xB0080000, // 004B RAISE 2 R0 R0
- 0x80000000, // 004C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: generate_random_passcode
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_generate_random_passcode, /* name */
- be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(random),
- /* K2 */ be_nested_str_weak(get),
- /* K3 */ be_const_int(0),
- /* K4 */ be_const_int(134217727),
- /* K5 */ be_const_int(99999998),
- /* K6 */ be_nested_str_weak(PASSCODE_INVALID),
- /* K7 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(generate_random_passcode),
- &be_const_str_solidified,
- ( &(const binstruction[35]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x4C080000, // 0001 LDNIL R2
- 0x500C0200, // 0002 LDBOOL R3 1 0
- 0x780E001D, // 0003 JMPF R3 #0022
- 0x8C0C0301, // 0004 GETMET R3 R1 K1
- 0x54160003, // 0005 LDINT R5 4
- 0x7C0C0400, // 0006 CALL R3 2
- 0x8C0C0702, // 0007 GETMET R3 R3 K2
- 0x58140003, // 0008 LDCONST R5 K3
- 0x541A0003, // 0009 LDINT R6 4
- 0x7C0C0600, // 000A CALL R3 3
- 0x2C0C0704, // 000B AND R3 R3 K4
- 0x5C080600, // 000C MOVE R2 R3
- 0x240C0505, // 000D GT R3 R2 K5
- 0x780E0000, // 000E JMPF R3 #0010
- 0x7001FFF1, // 000F JMP #0002
- 0x600C0010, // 0010 GETGBL R3 G16
- 0x88100106, // 0011 GETMBR R4 R0 K6
- 0x7C0C0200, // 0012 CALL R3 1
- 0xA8020005, // 0013 EXBLK 0 #001A
- 0x5C100600, // 0014 MOVE R4 R3
- 0x7C100000, // 0015 CALL R4 0
- 0x1C140404, // 0016 EQ R5 R2 R4
- 0x78160000, // 0017 JMPF R5 #0019
- 0x4C080000, // 0018 LDNIL R2
- 0x7001FFF9, // 0019 JMP #0014
- 0x580C0007, // 001A LDCONST R3 K7
- 0xAC0C0200, // 001B CATCH R3 1 0
- 0xB0080000, // 001C RAISE 2 R0 R0
- 0x4C0C0000, // 001D LDNIL R3
- 0x200C0403, // 001E NE R3 R2 R3
- 0x780E0000, // 001F JMPF R3 #0021
- 0x80040400, // 0020 RET 1 R2
- 0x7001FFDF, // 0021 JMP #0002
- 0x80000000, // 0022 RET 0
+ ( &(const binstruction[ 5]) { /* code */
+ 0x8C040100, // 0000 GETMET R1 R0 K0
+ 0x7C040200, // 0001 CALL R1 1
+ 0x8C040101, // 0002 GETMET R1 R0 K1
+ 0x7C040200, // 0003 CALL R1 1
+ 0x80000000, // 0004 RET 0
})
)
);
@@ -407,2451 +82,45 @@ be_local_closure(class_Matter_Device_start_operational_discovery, /* name */
/********************************************************************
-** Solidified function: conf_to_log
+** Solidified function: find_plugin_by_endpoint
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_conf_to_log, /* name */
+be_local_closure(class_Matter_Device_find_plugin_by_endpoint, /* name */
be_nested_proto(
- 9, /* nstack */
- 1, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Device),
- /* K1 */ be_nested_str_weak(),
- /* K2 */ be_nested_str_weak(k2l),
- /* K3 */ be_nested_str_weak(type),
- /* K4 */ be_nested_str_weak(_X20_X25s_X3A_X25s),
- /* K5 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(conf_to_log),
- &be_const_str_solidified,
- ( &(const binstruction[24]) { /* code */
- 0x58040000, // 0000 LDCONST R1 K0
- 0x58080001, // 0001 LDCONST R2 K1
- 0x600C0010, // 0002 GETGBL R3 G16
- 0x8C100302, // 0003 GETMET R4 R1 K2
- 0x5C180000, // 0004 MOVE R6 R0
- 0x7C100400, // 0005 CALL R4 2
- 0x7C0C0200, // 0006 CALL R3 1
- 0xA802000B, // 0007 EXBLK 0 #0014
- 0x5C100600, // 0008 MOVE R4 R3
- 0x7C100000, // 0009 CALL R4 0
- 0x1C140903, // 000A EQ R5 R4 K3
- 0x78160000, // 000B JMPF R5 #000D
- 0x7001FFFA, // 000C JMP #0008
- 0x60140018, // 000D GETGBL R5 G24
- 0x58180004, // 000E LDCONST R6 K4
- 0x5C1C0800, // 000F MOVE R7 R4
- 0x94200004, // 0010 GETIDX R8 R0 R4
- 0x7C140600, // 0011 CALL R5 3
- 0x00080405, // 0012 ADD R2 R2 R5
- 0x7001FFF3, // 0013 JMP #0008
- 0x580C0005, // 0014 LDCONST R3 K5
- 0xAC0C0200, // 0015 CATCH R3 1 0
- 0xB0080000, // 0016 RAISE 2 R0 R0
- 0x80040400, // 0017 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: invoke_request
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_invoke_request, /* name */
- be_nested_proto(
- 12, /* nstack */
- 4, /* argc */
+ 6, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
+ ( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
- /* K1 */ be_nested_str_weak(endpoint),
- /* K2 */ be_nested_str_weak(plugins),
- /* K3 */ be_nested_str_weak(invoke_request),
- /* K4 */ be_const_int(1),
- /* K5 */ be_nested_str_weak(status),
- /* K6 */ be_nested_str_weak(matter),
- /* K7 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
- }),
- be_str_weak(invoke_request),
- &be_const_str_solidified,
- ( &(const binstruction[24]) { /* code */
- 0x58100000, // 0000 LDCONST R4 K0
- 0x88140701, // 0001 GETMBR R5 R3 K1
- 0x6018000C, // 0002 GETGBL R6 G12
- 0x881C0102, // 0003 GETMBR R7 R0 K2
- 0x7C180200, // 0004 CALL R6 1
- 0x14180806, // 0005 LT R6 R4 R6
- 0x781A000C, // 0006 JMPF R6 #0014
- 0x88180102, // 0007 GETMBR R6 R0 K2
- 0x94180C04, // 0008 GETIDX R6 R6 R4
- 0x881C0D01, // 0009 GETMBR R7 R6 K1
- 0x1C1C0E05, // 000A EQ R7 R7 R5
- 0x781E0005, // 000B JMPF R7 #0012
- 0x8C1C0D03, // 000C GETMET R7 R6 K3
- 0x5C240200, // 000D MOVE R9 R1
- 0x5C280400, // 000E MOVE R10 R2
- 0x5C2C0600, // 000F MOVE R11 R3
- 0x7C1C0800, // 0010 CALL R7 4
- 0x80040E00, // 0011 RET 1 R7
- 0x00100904, // 0012 ADD R4 R4 K4
- 0x7001FFED, // 0013 JMP #0002
- 0xB81A0C00, // 0014 GETNGBL R6 K6
- 0x88180D07, // 0015 GETMBR R6 R6 K7
- 0x900E0A06, // 0016 SETMBR R3 K5 R6
- 0x80000000, // 0017 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _instantiate_plugins_from_config
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__instantiate_plugins_from_config, /* name */
- be_nested_proto(
- 17, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[31]) { /* constants */
- /* K0 */ be_nested_str_weak(k2l_num),
- /* K1 */ be_nested_str_weak(log),
- /* K2 */ be_nested_str_weak(MTR_X3A_X20Configuring_X20endpoints),
- /* K3 */ be_const_int(2),
- /* K4 */ be_nested_str_weak(plugins),
- /* K5 */ be_nested_str_weak(push),
- /* K6 */ be_nested_str_weak(matter),
- /* K7 */ be_nested_str_weak(Plugin_Root),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(MTR_X3A_X20_X20_X20endpoint_X20_X3D_X20_X255i_X20type_X3A_X25s_X25s),
- /* K10 */ be_nested_str_weak(root),
- /* K11 */ be_nested_str_weak(),
- /* K12 */ be_nested_str_weak(Plugin_Aggregator),
- /* K13 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
- /* K14 */ be_nested_str_weak(aggregator),
- /* K15 */ be_nested_str_weak(find),
- /* K16 */ be_nested_str_weak(type),
- /* K17 */ be_nested_str_weak(MTR_X3A_X20no_X20class_X20name_X2C_X20skipping),
- /* K18 */ be_const_int(3),
- /* K19 */ be_nested_str_weak(MTR_X3A_X20only_X20one_X20root_X20node_X20allowed),
- /* K20 */ be_nested_str_weak(plugins_classes),
- /* K21 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
- /* K22 */ be_nested_str_weak(_X27_X20skipping),
- /* K23 */ be_nested_str_weak(conf_to_log),
- /* K24 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K25 */ be_nested_str_weak(_X7C),
- /* K26 */ be_nested_str_weak(stop_iteration),
- /* K27 */ be_nested_str_weak(tasmota),
- /* K28 */ be_nested_str_weak(publish_result),
- /* K29 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Initialized_X22_X3A1_X7D_X7D),
- /* K30 */ be_nested_str_weak(Matter),
- }),
- be_str_weak(_instantiate_plugins_from_config),
- &be_const_str_solidified,
- ( &(const binstruction[146]) { /* code */
- 0x8C080100, // 0000 GETMET R2 R0 K0
- 0x5C100200, // 0001 MOVE R4 R1
- 0x7C080400, // 0002 CALL R2 2
- 0xB80E0200, // 0003 GETNGBL R3 K1
- 0x58100002, // 0004 LDCONST R4 K2
- 0x58140003, // 0005 LDCONST R5 K3
- 0x7C0C0400, // 0006 CALL R3 2
- 0x880C0104, // 0007 GETMBR R3 R0 K4
- 0x8C0C0705, // 0008 GETMET R3 R3 K5
- 0xB8160C00, // 0009 GETNGBL R5 K6
- 0x8C140B07, // 000A GETMET R5 R5 K7
- 0x5C1C0000, // 000B MOVE R7 R0
- 0x58200008, // 000C LDCONST R8 K8
- 0x60240013, // 000D GETGBL R9 G19
- 0x7C240000, // 000E CALL R9 0
- 0x7C140800, // 000F CALL R5 4
- 0x7C0C0400, // 0010 CALL R3 2
- 0xB80E0200, // 0011 GETNGBL R3 K1
- 0x60100018, // 0012 GETGBL R4 G24
- 0x58140009, // 0013 LDCONST R5 K9
- 0x58180008, // 0014 LDCONST R6 K8
- 0x581C000A, // 0015 LDCONST R7 K10
- 0x5820000B, // 0016 LDCONST R8 K11
- 0x7C100800, // 0017 CALL R4 4
- 0x58140003, // 0018 LDCONST R5 K3
- 0x7C0C0400, // 0019 CALL R3 2
- 0x880C0104, // 001A GETMBR R3 R0 K4
- 0x8C0C0705, // 001B GETMET R3 R3 K5
- 0xB8160C00, // 001C GETNGBL R5 K6
- 0x8C140B0C, // 001D GETMET R5 R5 K12
- 0x5C1C0000, // 001E MOVE R7 R0
- 0xB8220C00, // 001F GETNGBL R8 K6
- 0x8820110D, // 0020 GETMBR R8 R8 K13
- 0x60240013, // 0021 GETGBL R9 G19
- 0x7C240000, // 0022 CALL R9 0
- 0x7C140800, // 0023 CALL R5 4
- 0x7C0C0400, // 0024 CALL R3 2
- 0xB80E0200, // 0025 GETNGBL R3 K1
- 0x60100018, // 0026 GETGBL R4 G24
- 0x58140009, // 0027 LDCONST R5 K9
- 0xB81A0C00, // 0028 GETNGBL R6 K6
- 0x88180D0D, // 0029 GETMBR R6 R6 K13
- 0x581C000E, // 002A LDCONST R7 K14
- 0x5820000B, // 002B LDCONST R8 K11
- 0x7C100800, // 002C CALL R4 4
- 0x58140003, // 002D LDCONST R5 K3
- 0x7C0C0400, // 002E CALL R3 2
- 0x600C0010, // 002F GETGBL R3 G16
- 0x5C100400, // 0030 MOVE R4 R2
- 0x7C0C0200, // 0031 CALL R3 1
- 0xA8020055, // 0032 EXBLK 0 #0089
- 0x5C100600, // 0033 MOVE R4 R3
- 0x7C100000, // 0034 CALL R4 0
- 0x1C140908, // 0035 EQ R5 R4 K8
- 0x78160000, // 0036 JMPF R5 #0038
- 0x7001FFFA, // 0037 JMP #0033
- 0xA802003E, // 0038 EXBLK 0 #0078
- 0x60140008, // 0039 GETGBL R5 G8
- 0x5C180800, // 003A MOVE R6 R4
- 0x7C140200, // 003B CALL R5 1
- 0x94140205, // 003C GETIDX R5 R1 R5
- 0x8C180B0F, // 003D GETMET R6 R5 K15
- 0x58200010, // 003E LDCONST R8 K16
- 0x7C180400, // 003F CALL R6 2
- 0x4C1C0000, // 0040 LDNIL R7
- 0x1C1C0C07, // 0041 EQ R7 R6 R7
- 0x781E0005, // 0042 JMPF R7 #0049
- 0xB81E0200, // 0043 GETNGBL R7 K1
- 0x58200011, // 0044 LDCONST R8 K17
- 0x58240012, // 0045 LDCONST R9 K18
- 0x7C1C0400, // 0046 CALL R7 2
- 0xA8040001, // 0047 EXBLK 1 1
- 0x7001FFE9, // 0048 JMP #0033
- 0x1C1C0D0A, // 0049 EQ R7 R6 K10
- 0x781E0005, // 004A JMPF R7 #0051
- 0xB81E0200, // 004B GETNGBL R7 K1
- 0x58200013, // 004C LDCONST R8 K19
- 0x58240012, // 004D LDCONST R9 K18
- 0x7C1C0400, // 004E CALL R7 2
- 0xA8040001, // 004F EXBLK 1 1
- 0x7001FFE1, // 0050 JMP #0033
- 0x881C0114, // 0051 GETMBR R7 R0 K20
- 0x8C1C0F0F, // 0052 GETMET R7 R7 K15
- 0x5C240C00, // 0053 MOVE R9 R6
- 0x7C1C0400, // 0054 CALL R7 2
- 0x4C200000, // 0055 LDNIL R8
- 0x1C200E08, // 0056 EQ R8 R7 R8
- 0x78220009, // 0057 JMPF R8 #0062
- 0xB8220200, // 0058 GETNGBL R8 K1
- 0x60240008, // 0059 GETGBL R9 G8
- 0x5C280C00, // 005A MOVE R10 R6
- 0x7C240200, // 005B CALL R9 1
- 0x00262A09, // 005C ADD R9 K21 R9
- 0x00241316, // 005D ADD R9 R9 K22
- 0x58280003, // 005E LDCONST R10 K3
- 0x7C200400, // 005F CALL R8 2
- 0xA8040001, // 0060 EXBLK 1 1
- 0x7001FFD0, // 0061 JMP #0033
- 0x5C200E00, // 0062 MOVE R8 R7
- 0x5C240000, // 0063 MOVE R9 R0
- 0x5C280800, // 0064 MOVE R10 R4
- 0x5C2C0A00, // 0065 MOVE R11 R5
- 0x7C200600, // 0066 CALL R8 3
- 0x88240104, // 0067 GETMBR R9 R0 K4
- 0x8C241305, // 0068 GETMET R9 R9 K5
- 0x5C2C1000, // 0069 MOVE R11 R8
- 0x7C240400, // 006A CALL R9 2
- 0xB8260200, // 006B GETNGBL R9 K1
- 0x60280018, // 006C GETGBL R10 G24
- 0x582C0009, // 006D LDCONST R11 K9
- 0x5C300800, // 006E MOVE R12 R4
- 0x5C340C00, // 006F MOVE R13 R6
- 0x8C380117, // 0070 GETMET R14 R0 K23
- 0x5C400A00, // 0071 MOVE R16 R5
- 0x7C380400, // 0072 CALL R14 2
- 0x7C280800, // 0073 CALL R10 4
- 0x582C0003, // 0074 LDCONST R11 K3
- 0x7C240400, // 0075 CALL R9 2
- 0xA8040001, // 0076 EXBLK 1 1
- 0x7002000F, // 0077 JMP #0088
- 0xAC140002, // 0078 CATCH R5 0 2
- 0x7002000C, // 0079 JMP #0087
- 0xB81E0200, // 007A GETNGBL R7 K1
- 0x60200008, // 007B GETGBL R8 G8
- 0x5C240A00, // 007C MOVE R9 R5
- 0x7C200200, // 007D CALL R8 1
- 0x00223008, // 007E ADD R8 K24 R8
- 0x00201119, // 007F ADD R8 R8 K25
- 0x60240008, // 0080 GETGBL R9 G8
- 0x5C280C00, // 0081 MOVE R10 R6
- 0x7C240200, // 0082 CALL R9 1
- 0x00201009, // 0083 ADD R8 R8 R9
- 0x58240003, // 0084 LDCONST R9 K3
- 0x7C1C0400, // 0085 CALL R7 2
- 0x70020000, // 0086 JMP #0088
- 0xB0080000, // 0087 RAISE 2 R0 R0
- 0x7001FFA9, // 0088 JMP #0033
- 0x580C001A, // 0089 LDCONST R3 K26
- 0xAC0C0200, // 008A CATCH R3 1 0
- 0xB0080000, // 008B RAISE 2 R0 R0
- 0xB80E3600, // 008C GETNGBL R3 K27
- 0x8C0C071C, // 008D GETMET R3 R3 K28
- 0x5814001D, // 008E LDCONST R5 K29
- 0x5818001E, // 008F LDCONST R6 K30
- 0x7C0C0600, // 0090 CALL R3 3
- 0x80000000, // 0091 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: every_250ms
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_every_250ms, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(every_250ms),
- /* K2 */ be_nested_str_weak(read_sensors_scheduler),
- /* K3 */ be_const_int(0),
- /* K4 */ be_nested_str_weak(plugins),
- /* K5 */ be_const_int(1),
- }),
- be_str_weak(every_250ms),
- &be_const_str_solidified,
- ( &(const binstruction[18]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x8C040102, // 0003 GETMET R1 R0 K2
- 0x7C040200, // 0004 CALL R1 1
- 0x58040003, // 0005 LDCONST R1 K3
- 0x6008000C, // 0006 GETGBL R2 G12
- 0x880C0104, // 0007 GETMBR R3 R0 K4
- 0x7C080200, // 0008 CALL R2 1
- 0x14080202, // 0009 LT R2 R1 R2
- 0x780A0005, // 000A JMPF R2 #0011
- 0x88080104, // 000B GETMBR R2 R0 K4
- 0x94080401, // 000C GETIDX R2 R2 R1
- 0x8C080501, // 000D GETMET R2 R2 K1
- 0x7C080200, // 000E CALL R2 1
- 0x00040305, // 000F ADD R1 R1 K5
- 0x7001FFF4, // 0010 JMP #0006
- 0x80000000, // 0011 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: add_read_sensors_schedule
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_add_read_sensors_schedule, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(probe_sensor_time),
- /* K1 */ be_nested_str_weak(probe_sensor_timestamp),
- /* K2 */ be_nested_str_weak(matter),
- /* K3 */ be_nested_str_weak(jitter),
- }),
- be_str_weak(add_read_sensors_schedule),
- &be_const_str_solidified,
- ( &(const binstruction[14]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x4C0C0000, // 0001 LDNIL R3
- 0x1C080403, // 0002 EQ R2 R2 R3
- 0x740A0002, // 0003 JMPT R2 #0007
- 0x88080100, // 0004 GETMBR R2 R0 K0
- 0x24080401, // 0005 GT R2 R2 R1
- 0x780A0005, // 0006 JMPF R2 #000D
- 0x90020001, // 0007 SETMBR R0 K0 R1
- 0xB80A0400, // 0008 GETNGBL R2 K2
- 0x8C080503, // 0009 GETMET R2 R2 K3
- 0x5C100200, // 000A MOVE R4 R1
- 0x7C080400, // 000B CALL R2 2
- 0x90020202, // 000C SETMBR R0 K1 R2
- 0x80000000, // 000D RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: stop
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_stop, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(remove_driver),
- /* K2 */ be_nested_str_weak(udp_server),
- /* K3 */ be_nested_str_weak(stop),
- }),
- be_str_weak(stop),
- &be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0xB8060000, // 0000 GETNGBL R1 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x5C0C0000, // 0002 MOVE R3 R0
- 0x7C040400, // 0003 CALL R1 2
- 0x88040102, // 0004 GETMBR R1 R0 K2
- 0x78060002, // 0005 JMPF R1 #0009
- 0x88040102, // 0006 GETMBR R1 R0 K2
- 0x8C040303, // 0007 GETMET R1 R1 K3
- 0x7C040200, // 0008 CALL R1 1
- 0x80000000, // 0009 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: compute_qrcode_content
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_compute_qrcode_content, /* name */
- be_nested_proto(
- 8, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[12]) { /* constants */
- /* K0 */ be_nested_str_weak(resize),
- /* K1 */ be_nested_str_weak(setbits),
- /* K2 */ be_const_int(3),
- /* K3 */ be_nested_str_weak(vendorid),
- /* K4 */ be_nested_str_weak(productid),
- /* K5 */ be_nested_str_weak(root_discriminator),
- /* K6 */ be_nested_str_weak(root_passcode),
- /* K7 */ be_const_int(134217727),
- /* K8 */ be_nested_str_weak(MT_X3A),
- /* K9 */ be_nested_str_weak(matter),
- /* K10 */ be_nested_str_weak(Base38),
- /* K11 */ be_nested_str_weak(encode),
- }),
- be_str_weak(compute_qrcode_content),
- &be_const_str_solidified,
- ( &(const binstruction[40]) { /* code */
- 0x60040015, // 0000 GETGBL R1 G21
- 0x7C040000, // 0001 CALL R1 0
- 0x8C040300, // 0002 GETMET R1 R1 K0
- 0x540E000A, // 0003 LDINT R3 11
- 0x7C040400, // 0004 CALL R1 2
- 0x8C080301, // 0005 GETMET R2 R1 K1
- 0x58100002, // 0006 LDCONST R4 K2
- 0x5416000F, // 0007 LDINT R5 16
- 0x88180103, // 0008 GETMBR R6 R0 K3
- 0x7C080800, // 0009 CALL R2 4
- 0x8C080301, // 000A GETMET R2 R1 K1
- 0x54120012, // 000B LDINT R4 19
- 0x5416000F, // 000C LDINT R5 16
- 0x88180104, // 000D GETMBR R6 R0 K4
- 0x7C080800, // 000E CALL R2 4
- 0x8C080301, // 000F GETMET R2 R1 K1
- 0x54120024, // 0010 LDINT R4 37
- 0x54160007, // 0011 LDINT R5 8
- 0x541A0003, // 0012 LDINT R6 4
- 0x7C080800, // 0013 CALL R2 4
- 0x8C080301, // 0014 GETMET R2 R1 K1
- 0x5412002C, // 0015 LDINT R4 45
- 0x5416000B, // 0016 LDINT R5 12
- 0x88180105, // 0017 GETMBR R6 R0 K5
- 0x541E0FFE, // 0018 LDINT R7 4095
- 0x2C180C07, // 0019 AND R6 R6 R7
- 0x7C080800, // 001A CALL R2 4
- 0x8C080301, // 001B GETMET R2 R1 K1
- 0x54120038, // 001C LDINT R4 57
- 0x5416001A, // 001D LDINT R5 27
- 0x88180106, // 001E GETMBR R6 R0 K6
- 0x2C180D07, // 001F AND R6 R6 K7
- 0x7C080800, // 0020 CALL R2 4
- 0xB80A1200, // 0021 GETNGBL R2 K9
- 0x8808050A, // 0022 GETMBR R2 R2 K10
- 0x8C08050B, // 0023 GETMET R2 R2 K11
- 0x5C100200, // 0024 MOVE R4 R1
- 0x7C080400, // 0025 CALL R2 2
- 0x000A1002, // 0026 ADD R2 K8 R2
- 0x80040400, // 0027 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: k2l
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_k2l, /* name */
- be_nested_proto(
- 8, /* nstack */
- 1, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Device),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(push),
- /* K3 */ be_nested_str_weak(stop_iteration),
- /* K4 */ be_const_int(1),
- /* K5 */ be_const_int(0),
- }),
- be_str_weak(k2l),
- &be_const_str_solidified,
- ( &(const binstruction[50]) { /* code */
- 0x58040000, // 0000 LDCONST R1 K0
- 0x60080012, // 0001 GETGBL R2 G18
- 0x7C080000, // 0002 CALL R2 0
- 0x4C0C0000, // 0003 LDNIL R3
- 0x1C0C0003, // 0004 EQ R3 R0 R3
- 0x780E0000, // 0005 JMPF R3 #0007
- 0x80040400, // 0006 RET 1 R2
- 0x600C0010, // 0007 GETGBL R3 G16
- 0x8C100101, // 0008 GETMET R4 R0 K1
- 0x7C100200, // 0009 CALL R4 1
- 0x7C0C0200, // 000A CALL R3 1
- 0xA8020005, // 000B EXBLK 0 #0012
- 0x5C100600, // 000C MOVE R4 R3
- 0x7C100000, // 000D CALL R4 0
- 0x8C140502, // 000E GETMET R5 R2 K2
- 0x5C1C0800, // 000F MOVE R7 R4
- 0x7C140400, // 0010 CALL R5 2
- 0x7001FFF9, // 0011 JMP #000C
- 0x580C0003, // 0012 LDCONST R3 K3
- 0xAC0C0200, // 0013 CATCH R3 1 0
- 0xB0080000, // 0014 RAISE 2 R0 R0
- 0x600C0010, // 0015 GETGBL R3 G16
- 0x6010000C, // 0016 GETGBL R4 G12
- 0x5C140400, // 0017 MOVE R5 R2
- 0x7C100200, // 0018 CALL R4 1
- 0x04100904, // 0019 SUB R4 R4 K4
- 0x40120804, // 001A CONNECT R4 K4 R4
- 0x7C0C0200, // 001B CALL R3 1
- 0xA8020010, // 001C EXBLK 0 #002E
- 0x5C100600, // 001D MOVE R4 R3
- 0x7C100000, // 001E CALL R4 0
- 0x94140404, // 001F GETIDX R5 R2 R4
- 0x5C180800, // 0020 MOVE R6 R4
- 0x241C0D05, // 0021 GT R7 R6 K5
- 0x781E0008, // 0022 JMPF R7 #002C
- 0x041C0D04, // 0023 SUB R7 R6 K4
- 0x941C0407, // 0024 GETIDX R7 R2 R7
- 0x241C0E05, // 0025 GT R7 R7 R5
- 0x781E0004, // 0026 JMPF R7 #002C
- 0x041C0D04, // 0027 SUB R7 R6 K4
- 0x941C0407, // 0028 GETIDX R7 R2 R7
- 0x98080C07, // 0029 SETIDX R2 R6 R7
- 0x04180D04, // 002A SUB R6 R6 K4
- 0x7001FFF4, // 002B JMP #0021
- 0x98080C05, // 002C SETIDX R2 R6 R5
- 0x7001FFEE, // 002D JMP #001D
- 0x580C0003, // 002E LDCONST R3 K3
- 0xAC0C0200, // 002F CATCH R3 1 0
- 0xB0080000, // 0030 RAISE 2 R0 R0
- 0x80040400, // 0031 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: stop_basic_commissioning
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_stop_basic_commissioning, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[13]) { /* constants */
- /* K0 */ be_nested_str_weak(is_root_commissioning_open),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(publish_result),
- /* K3 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Commissioning_X22_X3A0_X7D_X7D),
- /* K4 */ be_nested_str_weak(Matter),
- /* K5 */ be_nested_str_weak(commissioning_open),
- /* K6 */ be_nested_str_weak(mdns_remove_PASE),
- /* K7 */ be_nested_str_weak(commissioning_iterations),
- /* K8 */ be_nested_str_weak(commissioning_discriminator),
- /* K9 */ be_nested_str_weak(commissioning_salt),
- /* K10 */ be_nested_str_weak(commissioning_w0),
- /* K11 */ be_nested_str_weak(commissioning_L),
- /* K12 */ be_nested_str_weak(commissioning_admin_fabric),
- }),
- be_str_weak(stop_basic_commissioning),
- &be_const_str_solidified,
- ( &(const binstruction[25]) { /* code */
- 0x8C040100, // 0000 GETMET R1 R0 K0
- 0x7C040200, // 0001 CALL R1 1
- 0x78060004, // 0002 JMPF R1 #0008
- 0xB8060200, // 0003 GETNGBL R1 K1
- 0x8C040302, // 0004 GETMET R1 R1 K2
- 0x580C0003, // 0005 LDCONST R3 K3
- 0x58100004, // 0006 LDCONST R4 K4
- 0x7C040600, // 0007 CALL R1 3
- 0x4C040000, // 0008 LDNIL R1
- 0x90020A01, // 0009 SETMBR R0 K5 R1
- 0x8C040106, // 000A GETMET R1 R0 K6
- 0x7C040200, // 000B CALL R1 1
- 0x4C040000, // 000C LDNIL R1
- 0x90020E01, // 000D SETMBR R0 K7 R1
- 0x4C040000, // 000E LDNIL R1
- 0x90021001, // 000F SETMBR R0 K8 R1
- 0x4C040000, // 0010 LDNIL R1
- 0x90021201, // 0011 SETMBR R0 K9 R1
- 0x4C040000, // 0012 LDNIL R1
- 0x90021401, // 0013 SETMBR R0 K10 R1
- 0x4C040000, // 0014 LDNIL R1
- 0x90021601, // 0015 SETMBR R0 K11 R1
- 0x4C040000, // 0016 LDNIL R1
- 0x90021801, // 0017 SETMBR R0 K12 R1
- 0x80000000, // 0018 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: MtrUpdate
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_MtrUpdate, /* name */
- be_nested_proto(
- 18, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[25]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(resp_cmnd_str),
- /* K2 */ be_nested_str_weak(Invalid_X20JSON),
- /* K3 */ be_nested_str_weak(find_key_i),
- /* K4 */ be_nested_str_weak(Ep),
- /* K5 */ be_nested_str_weak(Name),
- /* K6 */ be_const_int(0),
- /* K7 */ be_nested_str_weak(Invalid_X20_X27Ep_X27_X20attribute),
- /* K8 */ be_nested_str_weak(find_plugin_by_endpoint),
- /* K9 */ be_nested_str_weak(remove),
- /* K10 */ be_nested_str_weak(find_plugin_by_friendly_name),
- /* K11 */ be_nested_str_weak(Invalid_X20Device),
- /* K12 */ be_nested_str_weak(VIRTUAL),
- /* K13 */ be_nested_str_weak(Device_X20is_X20not_X20virtual),
- /* K14 */ be_nested_str_weak(consolidate_update_commands),
- /* K15 */ be_nested_str_weak(keys),
- /* K16 */ be_nested_str_weak(find_list_i),
- /* K17 */ be_nested_str_weak(Invalid_X20attribute_X20_X27_X25s_X27),
- /* K18 */ be_nested_str_weak(stop_iteration),
- /* K19 */ be_nested_str_weak(update_virtual),
- /* K20 */ be_nested_str_weak(state_json),
- /* K21 */ be_nested_str_weak(_X7B_X22_X25s_X22_X3A_X25s_X7D),
- /* K22 */ be_nested_str_weak(resp_cmnd),
- /* K23 */ be_nested_str_weak(resp_cmnd_done),
- /* K24 */ be_nested_str_weak(Missing_X20_X27Device_X27_X20attribute),
- }),
- be_str_weak(MtrUpdate),
- &be_const_str_solidified,
- ( &(const binstruction[126]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x1C140805, // 0001 EQ R5 R4 R5
- 0x78160004, // 0002 JMPF R5 #0008
- 0xB8160000, // 0003 GETNGBL R5 K0
- 0x8C140B01, // 0004 GETMET R5 R5 K1
- 0x581C0002, // 0005 LDCONST R7 K2
- 0x7C140400, // 0006 CALL R5 2
- 0x80040A00, // 0007 RET 1 R5
- 0xB8160000, // 0008 GETNGBL R5 K0
- 0x8C140B03, // 0009 GETMET R5 R5 K3
- 0x5C1C0800, // 000A MOVE R7 R4
- 0x58200004, // 000B LDCONST R8 K4
- 0x7C140600, // 000C CALL R5 3
- 0xB81A0000, // 000D GETNGBL R6 K0
- 0x8C180D03, // 000E GETMET R6 R6 K3
- 0x5C200800, // 000F MOVE R8 R4
- 0x58240005, // 0010 LDCONST R9 K5
- 0x7C180600, // 0011 CALL R6 3
- 0x74160000, // 0012 JMPT R5 #0014
- 0x781A0064, // 0013 JMPF R6 #0079
- 0x4C1C0000, // 0014 LDNIL R7
- 0x78160010, // 0015 JMPF R5 #0027
- 0x60200009, // 0016 GETGBL R8 G9
- 0x94240805, // 0017 GETIDX R9 R4 R5
- 0x7C200200, // 0018 CALL R8 1
- 0x18241106, // 0019 LE R9 R8 K6
- 0x78260004, // 001A JMPF R9 #0020
- 0xB8260000, // 001B GETNGBL R9 K0
- 0x8C241301, // 001C GETMET R9 R9 K1
- 0x582C0007, // 001D LDCONST R11 K7
- 0x7C240400, // 001E CALL R9 2
- 0x80041200, // 001F RET 1 R9
- 0x8C240108, // 0020 GETMET R9 R0 K8
- 0x5C2C1000, // 0021 MOVE R11 R8
- 0x7C240400, // 0022 CALL R9 2
- 0x5C1C1200, // 0023 MOVE R7 R9
- 0x8C240909, // 0024 GETMET R9 R4 K9
- 0x5C2C0A00, // 0025 MOVE R11 R5
- 0x7C240400, // 0026 CALL R9 2
- 0x781A0009, // 0027 JMPF R6 #0032
- 0x4C200000, // 0028 LDNIL R8
- 0x1C200E08, // 0029 EQ R8 R7 R8
- 0x78220003, // 002A JMPF R8 #002F
- 0x8C20010A, // 002B GETMET R8 R0 K10
- 0x94280806, // 002C GETIDX R10 R4 R6
- 0x7C200400, // 002D CALL R8 2
- 0x5C1C1000, // 002E MOVE R7 R8
- 0x8C200909, // 002F GETMET R8 R4 K9
- 0x5C280C00, // 0030 MOVE R10 R6
- 0x7C200400, // 0031 CALL R8 2
- 0x4C200000, // 0032 LDNIL R8
- 0x1C200E08, // 0033 EQ R8 R7 R8
- 0x78220004, // 0034 JMPF R8 #003A
- 0xB8220000, // 0035 GETNGBL R8 K0
- 0x8C201101, // 0036 GETMET R8 R8 K1
- 0x5828000B, // 0037 LDCONST R10 K11
- 0x7C200400, // 0038 CALL R8 2
- 0x80041000, // 0039 RET 1 R8
- 0x88200F0C, // 003A GETMBR R8 R7 K12
- 0x74220004, // 003B JMPT R8 #0041
- 0xB8220000, // 003C GETNGBL R8 K0
- 0x8C201101, // 003D GETMET R8 R8 K1
- 0x5828000D, // 003E LDCONST R10 K13
- 0x7C200400, // 003F CALL R8 2
- 0x80041000, // 0040 RET 1 R8
- 0x8C200F0E, // 0041 GETMET R8 R7 K14
- 0x7C200200, // 0042 CALL R8 1
- 0x60240013, // 0043 GETGBL R9 G19
- 0x7C240000, // 0044 CALL R9 0
- 0x60280010, // 0045 GETGBL R10 G16
- 0x8C2C090F, // 0046 GETMET R11 R4 K15
- 0x7C2C0200, // 0047 CALL R11 1
- 0x7C280200, // 0048 CALL R10 1
- 0xA8020016, // 0049 EXBLK 0 #0061
- 0x5C2C1400, // 004A MOVE R11 R10
- 0x7C2C0000, // 004B CALL R11 0
- 0xB8320000, // 004C GETNGBL R12 K0
- 0x8C301910, // 004D GETMET R12 R12 K16
- 0x5C381000, // 004E MOVE R14 R8
- 0x5C3C1600, // 004F MOVE R15 R11
- 0x7C300600, // 0050 CALL R12 3
- 0x4C340000, // 0051 LDNIL R13
- 0x1C34180D, // 0052 EQ R13 R12 R13
- 0x78360008, // 0053 JMPF R13 #005D
- 0xB8360000, // 0054 GETNGBL R13 K0
- 0x8C341B01, // 0055 GETMET R13 R13 K1
- 0x603C0018, // 0056 GETGBL R15 G24
- 0x58400011, // 0057 LDCONST R16 K17
- 0x5C441600, // 0058 MOVE R17 R11
- 0x7C3C0400, // 0059 CALL R15 2
- 0x7C340400, // 005A CALL R13 2
- 0xA8040001, // 005B EXBLK 1 1
- 0x80001A00, // 005C RET 0
- 0x9434100C, // 005D GETIDX R13 R8 R12
- 0x9438080B, // 005E GETIDX R14 R4 R11
- 0x98241A0E, // 005F SETIDX R9 R13 R14
- 0x7001FFE8, // 0060 JMP #004A
- 0x58280012, // 0061 LDCONST R10 K18
- 0xAC280200, // 0062 CATCH R10 1 0
- 0xB0080000, // 0063 RAISE 2 R0 R0
- 0x8C280F13, // 0064 GETMET R10 R7 K19
- 0x5C301200, // 0065 MOVE R12 R9
- 0x7C280400, // 0066 CALL R10 2
- 0x8C280F14, // 0067 GETMET R10 R7 K20
- 0x7C280200, // 0068 CALL R10 1
- 0x782A000A, // 0069 JMPF R10 #0075
- 0x602C0018, // 006A GETGBL R11 G24
- 0x58300015, // 006B LDCONST R12 K21
- 0x5C340200, // 006C MOVE R13 R1
- 0x5C381400, // 006D MOVE R14 R10
- 0x7C2C0600, // 006E CALL R11 3
- 0xB8320000, // 006F GETNGBL R12 K0
- 0x8C301916, // 0070 GETMET R12 R12 K22
- 0x5C381600, // 0071 MOVE R14 R11
- 0x7C300400, // 0072 CALL R12 2
- 0x80041800, // 0073 RET 1 R12
- 0x70020003, // 0074 JMP #0079
- 0xB82E0000, // 0075 GETNGBL R11 K0
- 0x8C2C1717, // 0076 GETMET R11 R11 K23
- 0x7C2C0200, // 0077 CALL R11 1
- 0x80041600, // 0078 RET 1 R11
- 0xB81E0000, // 0079 GETNGBL R7 K0
- 0x8C1C0F01, // 007A GETMET R7 R7 K1
- 0x58240018, // 007B LDCONST R9 K24
- 0x7C1C0400, // 007C CALL R7 2
- 0x80000000, // 007D RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: MtrJoin
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_MtrJoin, /* name */
- be_nested_proto(
- 8, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(start_root_basic_commissioning),
- /* K1 */ be_nested_str_weak(stop_basic_commissioning),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(resp_cmnd_done),
- }),
- be_str_weak(MtrJoin),
- &be_const_str_solidified,
- ( &(const binstruction[13]) { /* code */
- 0x60140009, // 0000 GETGBL R5 G9
- 0x5C180600, // 0001 MOVE R6 R3
- 0x7C140200, // 0002 CALL R5 1
- 0x78160002, // 0003 JMPF R5 #0007
- 0x8C180100, // 0004 GETMET R6 R0 K0
- 0x7C180200, // 0005 CALL R6 1
- 0x70020001, // 0006 JMP #0009
- 0x8C180101, // 0007 GETMET R6 R0 K1
- 0x7C180200, // 0008 CALL R6 1
- 0xB81A0400, // 0009 GETNGBL R6 K2
- 0x8C180D03, // 000A GETMET R6 R6 K3
- 0x7C180200, // 000B CALL R6 1
- 0x80000000, // 000C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: remove_fabric
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_remove_fabric, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[15]) { /* constants */
- /* K0 */ be_nested_str_weak(log),
- /* K1 */ be_nested_str_weak(MTR_X3A_X20removing_X20fabric_X20),
- /* K2 */ be_nested_str_weak(get_fabric_id),
- /* K3 */ be_nested_str_weak(copy),
- /* K4 */ be_nested_str_weak(reverse),
- /* K5 */ be_nested_str_weak(tohex),
- /* K6 */ be_const_int(2),
- /* K7 */ be_nested_str_weak(message_handler),
- /* K8 */ be_nested_str_weak(im),
- /* K9 */ be_nested_str_weak(subs_shop),
- /* K10 */ be_nested_str_weak(remove_by_fabric),
- /* K11 */ be_nested_str_weak(mdns_remove_op_discovery),
- /* K12 */ be_nested_str_weak(sessions),
- /* K13 */ be_nested_str_weak(remove_fabric),
- /* K14 */ be_nested_str_weak(save_fabrics),
- }),
- be_str_weak(remove_fabric),
- &be_const_str_solidified,
- ( &(const binstruction[32]) { /* code */
- 0x4C080000, // 0000 LDNIL R2
- 0x20080202, // 0001 NE R2 R1 R2
- 0x780A0018, // 0002 JMPF R2 #001C
- 0xB80A0000, // 0003 GETNGBL R2 K0
- 0x8C0C0302, // 0004 GETMET R3 R1 K2
- 0x7C0C0200, // 0005 CALL R3 1
- 0x8C0C0703, // 0006 GETMET R3 R3 K3
- 0x7C0C0200, // 0007 CALL R3 1
- 0x8C0C0704, // 0008 GETMET R3 R3 K4
- 0x7C0C0200, // 0009 CALL R3 1
- 0x8C0C0705, // 000A GETMET R3 R3 K5
- 0x7C0C0200, // 000B CALL R3 1
- 0x000E0203, // 000C ADD R3 K1 R3
- 0x58100006, // 000D LDCONST R4 K6
- 0x7C080400, // 000E CALL R2 2
- 0x88080107, // 000F GETMBR R2 R0 K7
- 0x88080508, // 0010 GETMBR R2 R2 K8
- 0x88080509, // 0011 GETMBR R2 R2 K9
- 0x8C08050A, // 0012 GETMET R2 R2 K10
- 0x5C100200, // 0013 MOVE R4 R1
- 0x7C080400, // 0014 CALL R2 2
- 0x8C08010B, // 0015 GETMET R2 R0 K11
- 0x5C100200, // 0016 MOVE R4 R1
- 0x7C080400, // 0017 CALL R2 2
- 0x8808010C, // 0018 GETMBR R2 R0 K12
- 0x8C08050D, // 0019 GETMET R2 R2 K13
- 0x5C100200, // 001A MOVE R4 R1
- 0x7C080400, // 001B CALL R2 2
- 0x8808010C, // 001C GETMBR R2 R0 K12
- 0x8C08050E, // 001D GETMET R2 R2 K14
- 0x7C080200, // 001E CALL R2 1
- 0x80000000, // 001F RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_basic_commissioning
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_basic_commissioning, /* name */
- be_nested_proto(
- 13, /* nstack */
- 8, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 3]) {
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns_announce_PASE),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Wifi_X23Connected),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x7C000200, // 0002 CALL R0 1
- 0xB8020200, // 0003 GETNGBL R0 K1
- 0x8C000102, // 0004 GETMET R0 R0 K2
- 0x58080003, // 0005 LDCONST R2 K3
- 0x580C0000, // 0006 LDCONST R3 K0
- 0x7C000600, // 0007 CALL R0 3
- 0x80000000, // 0008 RET 0
- })
- ),
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns_announce_PASE),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Eth_X23Connected),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x7C000200, // 0002 CALL R0 1
- 0xB8020200, // 0003 GETNGBL R0 K1
- 0x8C000102, // 0004 GETMET R0 R0 K2
- 0x58080003, // 0005 LDCONST R2 K3
- 0x580C0000, // 0006 LDCONST R3 K0
- 0x7C000600, // 0007 CALL R0 3
- 0x80000000, // 0008 RET 0
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[16]) { /* constants */
- /* K0 */ be_nested_str_weak(commissioning_open),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(millis),
- /* K3 */ be_nested_str_weak(commissioning_iterations),
- /* K4 */ be_nested_str_weak(commissioning_discriminator),
- /* K5 */ be_nested_str_weak(commissioning_salt),
- /* K6 */ be_nested_str_weak(commissioning_w0),
- /* K7 */ be_nested_str_weak(commissioning_L),
- /* K8 */ be_nested_str_weak(commissioning_admin_fabric),
- /* K9 */ be_nested_str_weak(wifi),
- /* K10 */ be_nested_str_weak(up),
- /* K11 */ be_nested_str_weak(eth),
- /* K12 */ be_nested_str_weak(mdns_announce_PASE),
- /* K13 */ be_nested_str_weak(add_rule),
- /* K14 */ be_nested_str_weak(Wifi_X23Connected),
- /* K15 */ be_nested_str_weak(Eth_X23Connected),
- }),
- be_str_weak(start_basic_commissioning),
- &be_const_str_solidified,
- ( &(const binstruction[40]) { /* code */
- 0xB8220200, // 0000 GETNGBL R8 K1
- 0x8C201102, // 0001 GETMET R8 R8 K2
- 0x7C200200, // 0002 CALL R8 1
- 0x542603E7, // 0003 LDINT R9 1000
- 0x08240209, // 0004 MUL R9 R1 R9
- 0x00201009, // 0005 ADD R8 R8 R9
- 0x90020008, // 0006 SETMBR R0 K0 R8
- 0x90020602, // 0007 SETMBR R0 K3 R2
- 0x90020803, // 0008 SETMBR R0 K4 R3
- 0x90020A04, // 0009 SETMBR R0 K5 R4
- 0x90020C05, // 000A SETMBR R0 K6 R5
- 0x90020E06, // 000B SETMBR R0 K7 R6
- 0x90021007, // 000C SETMBR R0 K8 R7
- 0xB8220200, // 000D GETNGBL R8 K1
- 0x8C201109, // 000E GETMET R8 R8 K9
- 0x7C200200, // 000F CALL R8 1
- 0x9420110A, // 0010 GETIDX R8 R8 K10
- 0x74220004, // 0011 JMPT R8 #0017
- 0xB8220200, // 0012 GETNGBL R8 K1
- 0x8C20110B, // 0013 GETMET R8 R8 K11
- 0x7C200200, // 0014 CALL R8 1
- 0x9420110A, // 0015 GETIDX R8 R8 K10
- 0x78220002, // 0016 JMPF R8 #001A
- 0x8C20010C, // 0017 GETMET R8 R0 K12
- 0x7C200200, // 0018 CALL R8 1
- 0x7002000B, // 0019 JMP #0026
- 0xB8220200, // 001A GETNGBL R8 K1
- 0x8C20110D, // 001B GETMET R8 R8 K13
- 0x5828000E, // 001C LDCONST R10 K14
- 0x842C0000, // 001D CLOSURE R11 P0
- 0x5830000C, // 001E LDCONST R12 K12
- 0x7C200800, // 001F CALL R8 4
- 0xB8220200, // 0020 GETNGBL R8 K1
- 0x8C20110D, // 0021 GETMET R8 R8 K13
- 0x5828000F, // 0022 LDCONST R10 K15
- 0x842C0001, // 0023 CLOSURE R11 P1
- 0x5830000C, // 0024 LDCONST R12 K12
- 0x7C200800, // 0025 CALL R8 4
- 0xA0000000, // 0026 CLOSE R0
- 0x80000000, // 0027 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: mdns_announce_op_discovery_all_fabrics
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_mdns_announce_op_discovery_all_fabrics, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(active_fabrics),
- /* K2 */ be_nested_str_weak(get_device_id),
- /* K3 */ be_nested_str_weak(get_fabric_id),
- /* K4 */ be_nested_str_weak(mdns_announce_op_discovery),
- /* K5 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(mdns_announce_op_discovery_all_fabrics),
- &be_const_str_solidified,
- ( &(const binstruction[22]) { /* code */
- 0x60040010, // 0000 GETGBL R1 G16
- 0x88080100, // 0001 GETMBR R2 R0 K0
- 0x8C080501, // 0002 GETMET R2 R2 K1
- 0x7C080200, // 0003 CALL R2 1
- 0x7C040200, // 0004 CALL R1 1
- 0xA802000B, // 0005 EXBLK 0 #0012
- 0x5C080200, // 0006 MOVE R2 R1
- 0x7C080000, // 0007 CALL R2 0
- 0x8C0C0502, // 0008 GETMET R3 R2 K2
- 0x7C0C0200, // 0009 CALL R3 1
- 0x780E0005, // 000A JMPF R3 #0011
- 0x8C0C0503, // 000B GETMET R3 R2 K3
- 0x7C0C0200, // 000C CALL R3 1
- 0x780E0002, // 000D JMPF R3 #0011
- 0x8C0C0104, // 000E GETMET R3 R0 K4
- 0x5C140400, // 000F MOVE R5 R2
- 0x7C0C0400, // 0010 CALL R3 2
- 0x7001FFF3, // 0011 JMP #0006
- 0x58040005, // 0012 LDCONST R1 K5
- 0xAC040200, // 0013 CATCH R1 1 0
- 0xB0080000, // 0014 RAISE 2 R0 R0
- 0x80000000, // 0015 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_plugin_class_arg
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_get_plugin_class_arg, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_classes),
- /* K1 */ be_nested_str_weak(find),
- /* K2 */ be_nested_str_weak(ARG),
- /* K3 */ be_nested_str_weak(),
- }),
- be_str_weak(get_plugin_class_arg),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x7C080400, // 0003 CALL R2 2
- 0x780A0001, // 0004 JMPF R2 #0007
- 0x880C0502, // 0005 GETMBR R3 R2 K2
- 0x70020000, // 0006 JMP #0008
- 0x580C0003, // 0007 LDCONST R3 K3
- 0x80040600, // 0008 RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_plugin_class_displayname
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_get_plugin_class_displayname, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_classes),
- /* K1 */ be_nested_str_weak(find),
- /* K2 */ be_nested_str_weak(DISPLAY_NAME),
- /* K3 */ be_nested_str_weak(),
- }),
- be_str_weak(get_plugin_class_displayname),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x7C080400, // 0003 CALL R2 2
- 0x780A0001, // 0004 JMPF R2 #0007
- 0x880C0502, // 0005 GETMBR R3 R2 K2
- 0x70020000, // 0006 JMP #0008
- 0x580C0003, // 0007 LDCONST R3 K3
- 0x80040600, // 0008 RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_init, /* name */
- be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 3]) {
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(start),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Wifi_X23Connected),
- /* K4 */ be_nested_str_weak(matter_start),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x7C000200, // 0002 CALL R0 1
- 0xB8020200, // 0003 GETNGBL R0 K1
- 0x8C000102, // 0004 GETMET R0 R0 K2
- 0x58080003, // 0005 LDCONST R2 K3
- 0x580C0004, // 0006 LDCONST R3 K4
- 0x7C000600, // 0007 CALL R0 3
- 0x80000000, // 0008 RET 0
- })
- ),
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(start),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Eth_X23Connected),
- /* K4 */ be_nested_str_weak(matter_start),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x7C000200, // 0002 CALL R0 1
- 0xB8020200, // 0003 GETNGBL R0 K1
- 0x8C000102, // 0004 GETMET R0 R0 K2
- 0x58080003, // 0005 LDCONST R2 K3
- 0x580C0004, // 0006 LDCONST R3 K4
- 0x7C000600, // 0007 CALL R0 3
- 0x80000000, // 0008 RET 0
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[44]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(get_option),
- /* K3 */ be_nested_str_weak(matter),
- /* K4 */ be_nested_str_weak(MATTER_OPTION),
- /* K5 */ be_nested_str_weak(UI),
- /* K6 */ be_nested_str_weak(profiler),
- /* K7 */ be_nested_str_weak(Profiler),
- /* K8 */ be_nested_str_weak(started),
- /* K9 */ be_nested_str_weak(tick),
- /* K10 */ be_const_int(0),
- /* K11 */ be_nested_str_weak(plugins),
- /* K12 */ be_nested_str_weak(plugins_persist),
- /* K13 */ be_nested_str_weak(plugins_config_remotes),
- /* K14 */ be_nested_str_weak(vendorid),
- /* K15 */ be_nested_str_weak(VENDOR_ID),
- /* K16 */ be_nested_str_weak(productid),
- /* K17 */ be_nested_str_weak(PRODUCT_ID),
- /* K18 */ be_nested_str_weak(root_iterations),
- /* K19 */ be_nested_str_weak(PBKDF_ITERATIONS),
- /* K20 */ be_nested_str_weak(next_ep),
- /* K21 */ be_const_int(1),
- /* K22 */ be_nested_str_weak(root_salt),
- /* K23 */ be_nested_str_weak(random),
- /* K24 */ be_nested_str_weak(ipv4only),
- /* K25 */ be_nested_str_weak(disable_bridge_mode),
- /* K26 */ be_nested_str_weak(load_param),
- /* K27 */ be_nested_str_weak(sessions),
- /* K28 */ be_nested_str_weak(Session_Store),
- /* K29 */ be_nested_str_weak(load_fabrics),
- /* K30 */ be_nested_str_weak(message_handler),
- /* K31 */ be_nested_str_weak(MessageHandler),
- /* K32 */ be_nested_str_weak(ui),
- /* K33 */ be_nested_str_weak(wifi),
- /* K34 */ be_nested_str_weak(up),
- /* K35 */ be_nested_str_weak(eth),
- /* K36 */ be_nested_str_weak(start),
- /* K37 */ be_nested_str_weak(add_rule),
- /* K38 */ be_nested_str_weak(Wifi_X23Connected),
- /* K39 */ be_nested_str_weak(matter_start),
- /* K40 */ be_nested_str_weak(Eth_X23Connected),
- /* K41 */ be_nested_str_weak(_init_basic_commissioning),
- /* K42 */ be_nested_str_weak(add_driver),
- /* K43 */ be_nested_str_weak(register_commands),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[107]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xB80A0200, // 0001 GETNGBL R2 K1
- 0x8C080502, // 0002 GETMET R2 R2 K2
- 0xB8120600, // 0003 GETNGBL R4 K3
- 0x88100904, // 0004 GETMBR R4 R4 K4
- 0x7C080400, // 0005 CALL R2 2
- 0x740A0004, // 0006 JMPT R2 #000C
- 0xB80A0600, // 0007 GETNGBL R2 K3
- 0x8C080505, // 0008 GETMET R2 R2 K5
- 0x5C100000, // 0009 MOVE R4 R0
- 0x7C080400, // 000A CALL R2 2
- 0x80000400, // 000B RET 0
- 0xB80A0600, // 000C GETNGBL R2 K3
- 0xB80E0600, // 000D GETNGBL R3 K3
- 0x8C0C0707, // 000E GETMET R3 R3 K7
- 0x7C0C0200, // 000F CALL R3 1
- 0x900A0C03, // 0010 SETMBR R2 K6 R3
- 0x50080000, // 0011 LDBOOL R2 0 0
- 0x90021002, // 0012 SETMBR R0 K8 R2
- 0x9002130A, // 0013 SETMBR R0 K9 K10
- 0x60080012, // 0014 GETGBL R2 G18
- 0x7C080000, // 0015 CALL R2 0
- 0x90021602, // 0016 SETMBR R0 K11 R2
- 0x50080000, // 0017 LDBOOL R2 0 0
- 0x90021802, // 0018 SETMBR R0 K12 R2
- 0x60080013, // 0019 GETGBL R2 G19
- 0x7C080000, // 001A CALL R2 0
- 0x90021A02, // 001B SETMBR R0 K13 R2
- 0x8808010F, // 001C GETMBR R2 R0 K15
- 0x90021C02, // 001D SETMBR R0 K14 R2
- 0x88080111, // 001E GETMBR R2 R0 K17
- 0x90022002, // 001F SETMBR R0 K16 R2
- 0x88080113, // 0020 GETMBR R2 R0 K19
- 0x90022402, // 0021 SETMBR R0 K18 R2
- 0x90022915, // 0022 SETMBR R0 K20 K21
- 0x8C080317, // 0023 GETMET R2 R1 K23
- 0x5412000F, // 0024 LDINT R4 16
- 0x7C080400, // 0025 CALL R2 2
- 0x90022C02, // 0026 SETMBR R0 K22 R2
- 0x50080000, // 0027 LDBOOL R2 0 0
- 0x90023002, // 0028 SETMBR R0 K24 R2
- 0x50080000, // 0029 LDBOOL R2 0 0
- 0x90023202, // 002A SETMBR R0 K25 R2
- 0x8C08011A, // 002B GETMET R2 R0 K26
- 0x7C080200, // 002C CALL R2 1
- 0xB80A0600, // 002D GETNGBL R2 K3
- 0x8C08051C, // 002E GETMET R2 R2 K28
- 0x5C100000, // 002F MOVE R4 R0
- 0x7C080400, // 0030 CALL R2 2
- 0x90023602, // 0031 SETMBR R0 K27 R2
- 0x8808011B, // 0032 GETMBR R2 R0 K27
- 0x8C08051D, // 0033 GETMET R2 R2 K29
- 0x7C080200, // 0034 CALL R2 1
- 0xB80A0600, // 0035 GETNGBL R2 K3
- 0x8C08051F, // 0036 GETMET R2 R2 K31
- 0x5C100000, // 0037 MOVE R4 R0
- 0x7C080400, // 0038 CALL R2 2
- 0x90023C02, // 0039 SETMBR R0 K30 R2
- 0xB80A0600, // 003A GETNGBL R2 K3
- 0x8C080505, // 003B GETMET R2 R2 K5
- 0x5C100000, // 003C MOVE R4 R0
- 0x7C080400, // 003D CALL R2 2
- 0x90024002, // 003E SETMBR R0 K32 R2
- 0xB80A0200, // 003F GETNGBL R2 K1
- 0x8C080521, // 0040 GETMET R2 R2 K33
- 0x7C080200, // 0041 CALL R2 1
- 0x94080522, // 0042 GETIDX R2 R2 K34
- 0x740A0004, // 0043 JMPT R2 #0049
- 0xB80A0200, // 0044 GETNGBL R2 K1
- 0x8C080523, // 0045 GETMET R2 R2 K35
- 0x7C080200, // 0046 CALL R2 1
- 0x94080522, // 0047 GETIDX R2 R2 K34
- 0x780A0001, // 0048 JMPF R2 #004B
- 0x8C080124, // 0049 GETMET R2 R0 K36
- 0x7C080200, // 004A CALL R2 1
- 0xB80A0200, // 004B GETNGBL R2 K1
- 0x8C080521, // 004C GETMET R2 R2 K33
- 0x7C080200, // 004D CALL R2 1
- 0x94080522, // 004E GETIDX R2 R2 K34
- 0x740A0005, // 004F JMPT R2 #0056
- 0xB80A0200, // 0050 GETNGBL R2 K1
- 0x8C080525, // 0051 GETMET R2 R2 K37
- 0x58100026, // 0052 LDCONST R4 K38
- 0x84140000, // 0053 CLOSURE R5 P0
- 0x58180027, // 0054 LDCONST R6 K39
- 0x7C080800, // 0055 CALL R2 4
- 0xB80A0200, // 0056 GETNGBL R2 K1
- 0x8C080523, // 0057 GETMET R2 R2 K35
- 0x7C080200, // 0058 CALL R2 1
- 0x94080522, // 0059 GETIDX R2 R2 K34
- 0x740A0005, // 005A JMPT R2 #0061
- 0xB80A0200, // 005B GETNGBL R2 K1
- 0x8C080525, // 005C GETMET R2 R2 K37
- 0x58100028, // 005D LDCONST R4 K40
- 0x84140001, // 005E CLOSURE R5 P1
- 0x58180027, // 005F LDCONST R6 K39
- 0x7C080800, // 0060 CALL R2 4
- 0x8C080129, // 0061 GETMET R2 R0 K41
- 0x7C080200, // 0062 CALL R2 1
- 0xB80A0200, // 0063 GETNGBL R2 K1
- 0x8C08052A, // 0064 GETMET R2 R2 K42
- 0x5C100000, // 0065 MOVE R4 R0
- 0x7C080400, // 0066 CALL R2 2
- 0x8C08012B, // 0067 GETMET R2 R0 K43
- 0x7C080200, // 0068 CALL R2 1
- 0xA0000000, // 0069 CLOSE R0
- 0x80000000, // 006A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: process_attribute_read_solo
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_process_attribute_read_solo, /* name */
- be_nested_proto(
- 10, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[11]) { /* constants */
- /* K0 */ be_nested_str_weak(endpoint),
- /* K1 */ be_nested_str_weak(cluster),
- /* K2 */ be_nested_str_weak(attribute),
- /* K3 */ be_nested_str_weak(find_plugin_by_endpoint),
- /* K4 */ be_nested_str_weak(status),
- /* K5 */ be_nested_str_weak(matter),
- /* K6 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
- /* K7 */ be_nested_str_weak(contains_cluster),
- /* K8 */ be_nested_str_weak(UNSUPPORTED_CLUSTER),
- /* K9 */ be_nested_str_weak(contains_attribute),
- /* K10 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
- }),
- be_str_weak(process_attribute_read_solo),
- &be_const_str_solidified,
- ( &(const binstruction[45]) { /* code */
- 0x88080300, // 0000 GETMBR R2 R1 K0
- 0x880C0301, // 0001 GETMBR R3 R1 K1
- 0x88100302, // 0002 GETMBR R4 R1 K2
- 0x4C140000, // 0003 LDNIL R5
- 0x1C140405, // 0004 EQ R5 R2 R5
- 0x74160005, // 0005 JMPT R5 #000C
- 0x4C140000, // 0006 LDNIL R5
- 0x1C140605, // 0007 EQ R5 R3 R5
- 0x74160002, // 0008 JMPT R5 #000C
- 0x4C140000, // 0009 LDNIL R5
- 0x1C140805, // 000A EQ R5 R4 R5
- 0x78160001, // 000B JMPF R5 #000E
- 0x4C140000, // 000C LDNIL R5
- 0x80040A00, // 000D RET 1 R5
- 0x8C140103, // 000E GETMET R5 R0 K3
- 0x5C1C0400, // 000F MOVE R7 R2
- 0x7C140400, // 0010 CALL R5 2
- 0x4C180000, // 0011 LDNIL R6
- 0x1C180A06, // 0012 EQ R6 R5 R6
- 0x781A0004, // 0013 JMPF R6 #0019
- 0xB81A0A00, // 0014 GETNGBL R6 K5
- 0x88180D06, // 0015 GETMBR R6 R6 K6
- 0x90060806, // 0016 SETMBR R1 K4 R6
- 0x4C180000, // 0017 LDNIL R6
- 0x80040C00, // 0018 RET 1 R6
- 0x8C180B07, // 0019 GETMET R6 R5 K7
- 0x5C200600, // 001A MOVE R8 R3
- 0x7C180400, // 001B CALL R6 2
- 0x741A0004, // 001C JMPT R6 #0022
- 0xB81A0A00, // 001D GETNGBL R6 K5
- 0x88180D08, // 001E GETMBR R6 R6 K8
- 0x90060806, // 001F SETMBR R1 K4 R6
- 0x4C180000, // 0020 LDNIL R6
- 0x80040C00, // 0021 RET 1 R6
- 0x8C180B09, // 0022 GETMET R6 R5 K9
- 0x5C200600, // 0023 MOVE R8 R3
- 0x5C240800, // 0024 MOVE R9 R4
- 0x7C180600, // 0025 CALL R6 3
- 0x741A0004, // 0026 JMPT R6 #002C
- 0xB81A0A00, // 0027 GETNGBL R6 K5
- 0x88180D0A, // 0028 GETMBR R6 R6 K10
- 0x90060806, // 0029 SETMBR R1 K4 R6
- 0x4C180000, // 002A LDNIL R6
- 0x80040C00, // 002B RET 1 R6
- 0x80040A00, // 002C RET 1 R5
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_operational_discovery_deferred
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_operational_discovery_deferred, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 2]) {
- be_nested_proto(
- 3, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 2]) { /* upvals */
- be_local_const_upval(1, 0),
- be_local_const_upval(1, 1),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(start_operational_discovery),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x68080001, // 0002 GETUPV R2 U1
- 0x7C000400, // 0003 CALL R0 2
- 0x80040000, // 0004 RET 1 R0
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(set_timer),
- /* K2 */ be_const_int(0),
- }),
- be_str_weak(start_operational_discovery_deferred),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0xB80A0000, // 0000 GETNGBL R2 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x58100002, // 0002 LDCONST R4 K2
- 0x84140000, // 0003 CLOSURE R5 P0
- 0x7C080600, // 0004 CALL R2 3
- 0xA0000000, // 0005 CLOSE R0
- 0x80000000, // 0006 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_commissioning_complete
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_commissioning_complete, /* name */
- be_nested_proto(
- 10, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[10]) { /* constants */
- /* K0 */ be_nested_str_weak(get_fabric),
- /* K1 */ be_nested_str_weak(get_fabric_id),
- /* K2 */ be_nested_str_weak(copy),
- /* K3 */ be_nested_str_weak(reverse),
- /* K4 */ be_nested_str_weak(tohex),
- /* K5 */ be_nested_str_weak(get_admin_vendor_name),
- /* K6 */ be_nested_str_weak(log),
- /* K7 */ be_nested_str_weak(MTR_X3A_X20_X2D_X2D_X2D_X20Commissioning_X20complete_X20for_X20Fabric_X20_X27_X25s_X27_X20_X28Vendor_X20_X25s_X29_X20_X2D_X2D_X2D),
- /* K8 */ be_const_int(2),
- /* K9 */ be_nested_str_weak(stop_basic_commissioning),
- }),
- be_str_weak(start_commissioning_complete),
- &be_const_str_solidified,
- ( &(const binstruction[23]) { /* code */
- 0x8C080300, // 0000 GETMET R2 R1 K0
- 0x7C080200, // 0001 CALL R2 1
- 0x8C0C0501, // 0002 GETMET R3 R2 K1
- 0x7C0C0200, // 0003 CALL R3 1
- 0x8C0C0702, // 0004 GETMET R3 R3 K2
- 0x7C0C0200, // 0005 CALL R3 1
- 0x8C0C0703, // 0006 GETMET R3 R3 K3
- 0x7C0C0200, // 0007 CALL R3 1
- 0x8C0C0704, // 0008 GETMET R3 R3 K4
- 0x7C0C0200, // 0009 CALL R3 1
- 0x8C100505, // 000A GETMET R4 R2 K5
- 0x7C100200, // 000B CALL R4 1
- 0xB8160C00, // 000C GETNGBL R5 K6
- 0x60180018, // 000D GETGBL R6 G24
- 0x581C0007, // 000E LDCONST R7 K7
- 0x5C200600, // 000F MOVE R8 R3
- 0x5C240800, // 0010 MOVE R9 R4
- 0x7C180600, // 0011 CALL R6 3
- 0x581C0008, // 0012 LDCONST R7 K8
- 0x7C140400, // 0013 CALL R5 2
- 0x8C140109, // 0014 GETMET R5 R0 K9
- 0x7C140200, // 0015 CALL R5 1
- 0x80000000, // 0016 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: msg_received
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_msg_received, /* name */
- be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(msg_received),
- }),
- be_str_weak(msg_received),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88100100, // 0000 GETMBR R4 R0 K0
- 0x8C100901, // 0001 GETMET R4 R4 K1
- 0x5C180200, // 0002 MOVE R6 R1
- 0x5C1C0400, // 0003 MOVE R7 R2
- 0x5C200600, // 0004 MOVE R8 R3
- 0x7C100800, // 0005 CALL R4 4
- 0x80040800, // 0006 RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: attribute_updated
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_attribute_updated, /* name */
- be_nested_proto(
- 10, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(matter),
- /* K1 */ be_nested_str_weak(Path),
- /* K2 */ be_nested_str_weak(endpoint),
- /* K3 */ be_nested_str_weak(cluster),
- /* K4 */ be_nested_str_weak(attribute),
- /* K5 */ be_nested_str_weak(message_handler),
- /* K6 */ be_nested_str_weak(im),
- /* K7 */ be_nested_str_weak(subs_shop),
- /* K8 */ be_nested_str_weak(attribute_updated_ctx),
- }),
- be_str_weak(attribute_updated),
- &be_const_str_solidified,
- ( &(const binstruction[18]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x1C140805, // 0001 EQ R5 R4 R5
- 0x78160000, // 0002 JMPF R5 #0004
- 0x50100000, // 0003 LDBOOL R4 0 0
- 0xB8160000, // 0004 GETNGBL R5 K0
- 0x8C140B01, // 0005 GETMET R5 R5 K1
- 0x7C140200, // 0006 CALL R5 1
- 0x90160401, // 0007 SETMBR R5 K2 R1
- 0x90160602, // 0008 SETMBR R5 K3 R2
- 0x90160803, // 0009 SETMBR R5 K4 R3
- 0x88180105, // 000A GETMBR R6 R0 K5
- 0x88180D06, // 000B GETMBR R6 R6 K6
- 0x88180D07, // 000C GETMBR R6 R6 K7
- 0x8C180D08, // 000D GETMET R6 R6 K8
- 0x5C200A00, // 000E MOVE R8 R5
- 0x5C240800, // 000F MOVE R9 R4
- 0x7C180600, // 0010 CALL R6 3
- 0x80000000, // 0011 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: event_fabrics_saved
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_event_fabrics_saved, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(count_active_fabrics),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(plugins_persist),
- /* K4 */ be_nested_str_weak(save_param),
- }),
- be_str_weak(event_fabrics_saved),
- &be_const_str_solidified,
- ( &(const binstruction[12]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x24040302, // 0003 GT R1 R1 K2
- 0x78060005, // 0004 JMPF R1 #000B
- 0x88040103, // 0005 GETMBR R1 R0 K3
- 0x74060003, // 0006 JMPT R1 #000B
- 0x50040200, // 0007 LDBOOL R1 1 0
- 0x90020601, // 0008 SETMBR R0 K3 R1
- 0x8C040104, // 0009 GETMET R1 R0 K4
- 0x7C040200, // 000A CALL R1 1
- 0x80000000, // 000B RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_commissioning_complete_deferred
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_commissioning_complete_deferred, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 2]) {
- be_nested_proto(
- 3, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 2]) { /* upvals */
- be_local_const_upval(1, 0),
- be_local_const_upval(1, 1),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(start_commissioning_complete),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x68080001, // 0002 GETUPV R2 U1
- 0x7C000400, // 0003 CALL R0 2
- 0x80040000, // 0004 RET 1 R0
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(set_timer),
- /* K2 */ be_const_int(0),
- }),
- be_str_weak(start_commissioning_complete_deferred),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0xB80A0000, // 0000 GETNGBL R2 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x58100002, // 0002 LDCONST R4 K2
- 0x84140000, // 0003 CLOSURE R5 P0
- 0x7C080600, // 0004 CALL R2 3
- 0xA0000000, // 0005 CLOSE R0
- 0x80000000, // 0006 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: save_before_restart
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_save_before_restart, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(stop_basic_commissioning),
- /* K1 */ be_nested_str_weak(mdns_remove_op_discovery_all_fabrics),
- }),
- be_str_weak(save_before_restart),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x8C040100, // 0000 GETMET R1 R0 K0
- 0x7C040200, // 0001 CALL R1 1
- 0x8C040101, // 0002 GETMET R1 R0 K1
- 0x7C040200, // 0003 CALL R1 1
- 0x80000000, // 0004 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: bridge_add_endpoint
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_bridge_add_endpoint, /* name */
- be_nested_proto(
- 16, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[20]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_classes),
- /* K1 */ be_nested_str_weak(find),
- /* K2 */ be_nested_str_weak(log),
- /* K3 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
- /* K4 */ be_nested_str_weak(_X27_X20skipping),
- /* K5 */ be_const_int(3),
- /* K6 */ be_nested_str_weak(next_ep),
- /* K7 */ be_nested_str_weak(plugins),
- /* K8 */ be_nested_str_weak(push),
- /* K9 */ be_nested_str_weak(type),
- /* K10 */ be_nested_str_weak(keys),
- /* K11 */ be_nested_str_weak(stop_iteration),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20adding_X20endpoint_X20_X3D_X20_X25i_X20type_X3A_X25s_X25s),
- /* K13 */ be_nested_str_weak(conf_to_log),
- /* K14 */ be_const_int(2),
- /* K15 */ be_nested_str_weak(plugins_config),
- /* K16 */ be_nested_str_weak(plugins_persist),
- /* K17 */ be_const_int(1),
- /* K18 */ be_nested_str_weak(save_param),
- /* K19 */ be_nested_str_weak(signal_endpoints_changed),
- }),
- be_str_weak(bridge_add_endpoint),
- &be_const_str_solidified,
- ( &(const binstruction[68]) { /* code */
- 0x880C0100, // 0000 GETMBR R3 R0 K0
- 0x8C0C0701, // 0001 GETMET R3 R3 K1
- 0x5C140200, // 0002 MOVE R5 R1
- 0x7C0C0400, // 0003 CALL R3 2
- 0x4C100000, // 0004 LDNIL R4
- 0x1C100604, // 0005 EQ R4 R3 R4
- 0x78120008, // 0006 JMPF R4 #0010
- 0xB8120400, // 0007 GETNGBL R4 K2
- 0x60140008, // 0008 GETGBL R5 G8
- 0x5C180200, // 0009 MOVE R6 R1
- 0x7C140200, // 000A CALL R5 1
- 0x00160605, // 000B ADD R5 K3 R5
- 0x00140B04, // 000C ADD R5 R5 K4
- 0x58180005, // 000D LDCONST R6 K5
- 0x7C100400, // 000E CALL R4 2
- 0x80000800, // 000F RET 0
- 0x88100106, // 0010 GETMBR R4 R0 K6
- 0x60140008, // 0011 GETGBL R5 G8
- 0x5C180800, // 0012 MOVE R6 R4
- 0x7C140200, // 0013 CALL R5 1
- 0x5C180600, // 0014 MOVE R6 R3
- 0x5C1C0000, // 0015 MOVE R7 R0
- 0x5C200800, // 0016 MOVE R8 R4
- 0x5C240400, // 0017 MOVE R9 R2
- 0x7C180600, // 0018 CALL R6 3
- 0x881C0107, // 0019 GETMBR R7 R0 K7
- 0x8C1C0F08, // 001A GETMET R7 R7 K8
- 0x5C240C00, // 001B MOVE R9 R6
- 0x7C1C0400, // 001C CALL R7 2
- 0x601C0013, // 001D GETGBL R7 G19
- 0x7C1C0000, // 001E CALL R7 0
- 0x981E1201, // 001F SETIDX R7 K9 R1
- 0x60200010, // 0020 GETGBL R8 G16
- 0x8C24050A, // 0021 GETMET R9 R2 K10
- 0x7C240200, // 0022 CALL R9 1
- 0x7C200200, // 0023 CALL R8 1
- 0xA8020004, // 0024 EXBLK 0 #002A
- 0x5C241000, // 0025 MOVE R9 R8
- 0x7C240000, // 0026 CALL R9 0
- 0x94280409, // 0027 GETIDX R10 R2 R9
- 0x981C120A, // 0028 SETIDX R7 R9 R10
- 0x7001FFFA, // 0029 JMP #0025
- 0x5820000B, // 002A LDCONST R8 K11
- 0xAC200200, // 002B CATCH R8 1 0
- 0xB0080000, // 002C RAISE 2 R0 R0
- 0xB8220400, // 002D GETNGBL R8 K2
- 0x60240018, // 002E GETGBL R9 G24
- 0x5828000C, // 002F LDCONST R10 K12
- 0x5C2C0800, // 0030 MOVE R11 R4
- 0x5C300200, // 0031 MOVE R12 R1
- 0x8C34010D, // 0032 GETMET R13 R0 K13
- 0x5C3C0400, // 0033 MOVE R15 R2
- 0x7C340400, // 0034 CALL R13 2
- 0x7C240800, // 0035 CALL R9 4
- 0x5828000E, // 0036 LDCONST R10 K14
- 0x7C200400, // 0037 CALL R8 2
- 0x8820010F, // 0038 GETMBR R8 R0 K15
- 0x98200A07, // 0039 SETIDX R8 R5 R7
- 0x50200200, // 003A LDBOOL R8 1 0
- 0x90022008, // 003B SETMBR R0 K16 R8
- 0x88200106, // 003C GETMBR R8 R0 K6
- 0x00201111, // 003D ADD R8 R8 K17
- 0x90020C08, // 003E SETMBR R0 K6 R8
- 0x8C200112, // 003F GETMET R8 R0 K18
- 0x7C200200, // 0040 CALL R8 1
- 0x8C200113, // 0041 GETMET R8 R0 K19
- 0x7C200200, // 0042 CALL R8 1
- 0x80040800, // 0043 RET 1 R4
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: MtrInfo
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_MtrInfo, /* name */
- be_nested_proto(
- 10, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(),
/* K1 */ be_nested_str_weak(plugins),
- /* K2 */ be_nested_str_weak(MtrInfo_one),
- /* K3 */ be_nested_str_weak(endpoint),
- /* K4 */ be_nested_str_weak(stop_iteration),
- /* K5 */ be_nested_str_weak(int),
- /* K6 */ be_nested_str_weak(find_plugin_by_friendly_name),
- /* K7 */ be_nested_str_weak(tasmota),
- /* K8 */ be_nested_str_weak(resp_cmnd_done),
+ /* K2 */ be_nested_str_weak(get_endpoint),
+ /* K3 */ be_const_int(1),
}),
- be_str_weak(MtrInfo),
- &be_const_str_solidified,
- ( &(const binstruction[40]) { /* code */
- 0x1C140700, // 0000 EQ R5 R3 K0
- 0x7815FFFF, // 0001 JMPF R5 #0002
- 0x1C140700, // 0002 EQ R5 R3 K0
- 0x7816000D, // 0003 JMPF R5 #0012
- 0x60140010, // 0004 GETGBL R5 G16
- 0x88180101, // 0005 GETMBR R6 R0 K1
- 0x7C140200, // 0006 CALL R5 1
- 0xA8020005, // 0007 EXBLK 0 #000E
- 0x5C180A00, // 0008 MOVE R6 R5
- 0x7C180000, // 0009 CALL R6 0
- 0x8C1C0102, // 000A GETMET R7 R0 K2
- 0x88240D03, // 000B GETMBR R9 R6 K3
- 0x7C1C0400, // 000C CALL R7 2
- 0x7001FFF9, // 000D JMP #0008
- 0x58140004, // 000E LDCONST R5 K4
- 0xAC140200, // 000F CATCH R5 1 0
- 0xB0080000, // 0010 RAISE 2 R0 R0
- 0x70020011, // 0011 JMP #0024
- 0x60140004, // 0012 GETGBL R5 G4
- 0x5C180800, // 0013 MOVE R6 R4
- 0x7C140200, // 0014 CALL R5 1
- 0x1C140B05, // 0015 EQ R5 R5 K5
- 0x78160003, // 0016 JMPF R5 #001B
- 0x8C140102, // 0017 GETMET R5 R0 K2
- 0x5C1C0800, // 0018 MOVE R7 R4
- 0x7C140400, // 0019 CALL R5 2
- 0x70020008, // 001A JMP #0024
- 0x8C140106, // 001B GETMET R5 R0 K6
- 0x5C1C0600, // 001C MOVE R7 R3
- 0x7C140400, // 001D CALL R5 2
- 0x4C180000, // 001E LDNIL R6
- 0x20180A06, // 001F NE R6 R5 R6
- 0x781A0002, // 0020 JMPF R6 #0024
- 0x8C180102, // 0021 GETMET R6 R0 K2
- 0x88200B03, // 0022 GETMBR R8 R5 K3
- 0x7C180400, // 0023 CALL R6 2
- 0xB8160E00, // 0024 GETNGBL R5 K7
- 0x8C140B08, // 0025 GETMET R5 R5 K8
- 0x7C140200, // 0026 CALL R5 1
- 0x80000000, // 0027 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _start_udp
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__start_udp, /* name */
- be_nested_proto(
- 7, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 2]) {
- be_nested_proto(
- 8, /* nstack */
- 3, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(msg_received),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x680C0000, // 0000 GETUPV R3 U0
- 0x8C0C0700, // 0001 GETMET R3 R3 K0
- 0x5C140000, // 0002 MOVE R5 R0
- 0x5C180200, // 0003 MOVE R6 R1
- 0x5C1C0400, // 0004 MOVE R7 R2
- 0x7C0C0800, // 0005 CALL R3 4
- 0x80040600, // 0006 RET 1 R3
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(udp_server),
- /* K1 */ be_nested_str_weak(log),
- /* K2 */ be_nested_str_weak(MTR_X3A_X20Starting_X20UDP_X20server_X20on_X20port_X3A_X20),
- /* K3 */ be_const_int(2),
- /* K4 */ be_nested_str_weak(matter),
- /* K5 */ be_nested_str_weak(UDPServer),
- /* K6 */ be_nested_str_weak(),
- /* K7 */ be_nested_str_weak(start),
- }),
- be_str_weak(_start_udp),
- &be_const_str_solidified,
- ( &(const binstruction[27]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x780A0000, // 0001 JMPF R2 #0003
- 0x80000400, // 0002 RET 0
- 0x4C080000, // 0003 LDNIL R2
- 0x1C080202, // 0004 EQ R2 R1 R2
- 0x780A0000, // 0005 JMPF R2 #0007
- 0x540615A3, // 0006 LDINT R1 5540
- 0xB80A0200, // 0007 GETNGBL R2 K1
- 0x600C0008, // 0008 GETGBL R3 G8
- 0x5C100200, // 0009 MOVE R4 R1
- 0x7C0C0200, // 000A CALL R3 1
- 0x000E0403, // 000B ADD R3 K2 R3
- 0x58100003, // 000C LDCONST R4 K3
- 0x7C080400, // 000D CALL R2 2
- 0xB80A0800, // 000E GETNGBL R2 K4
- 0x8C080505, // 000F GETMET R2 R2 K5
- 0x5C100000, // 0010 MOVE R4 R0
- 0x58140006, // 0011 LDCONST R5 K6
- 0x5C180200, // 0012 MOVE R6 R1
- 0x7C080800, // 0013 CALL R2 4
- 0x90020002, // 0014 SETMBR R0 K0 R2
- 0x88080100, // 0015 GETMBR R2 R0 K0
- 0x8C080507, // 0016 GETMET R2 R2 K7
- 0x84100000, // 0017 CLOSURE R4 P0
- 0x7C080400, // 0018 CALL R2 2
- 0xA0000000, // 0019 CLOSE R0
- 0x80000000, // 001A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: every_50ms
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_every_50ms, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(tick),
- /* K1 */ be_const_int(1),
- }),
- be_str_weak(every_50ms),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x00040301, // 0001 ADD R1 R1 K1
- 0x90020001, // 0002 SETMBR R0 K0 R1
- 0x80000000, // 0003 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: is_root_commissioning_open
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_is_root_commissioning_open, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(commissioning_open),
- /* K1 */ be_nested_str_weak(commissioning_admin_fabric),
- }),
- be_str_weak(is_root_commissioning_open),
- &be_const_str_solidified,
- ( &(const binstruction[11]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x4C080000, // 0001 LDNIL R2
- 0x20040202, // 0002 NE R1 R1 R2
- 0x78060003, // 0003 JMPF R1 #0008
- 0x88040101, // 0004 GETMBR R1 R0 K1
- 0x4C080000, // 0005 LDNIL R2
- 0x1C040202, // 0006 EQ R1 R1 R2
- 0x74060000, // 0007 JMPT R1 #0009
- 0x50040001, // 0008 LDBOOL R1 0 1
- 0x50040200, // 0009 LDBOOL R1 1 0
- 0x80040200, // 000A RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: k2l_num
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_k2l_num, /* name */
- be_nested_proto(
- 9, /* nstack */
- 1, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Device),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(push),
- /* K3 */ be_nested_str_weak(stop_iteration),
- /* K4 */ be_const_int(1),
- /* K5 */ be_const_int(0),
- }),
- be_str_weak(k2l_num),
- &be_const_str_solidified,
- ( &(const binstruction[52]) { /* code */
- 0x58040000, // 0000 LDCONST R1 K0
- 0x60080012, // 0001 GETGBL R2 G18
- 0x7C080000, // 0002 CALL R2 0
- 0x4C0C0000, // 0003 LDNIL R3
- 0x1C0C0003, // 0004 EQ R3 R0 R3
- 0x780E0000, // 0005 JMPF R3 #0007
- 0x80040400, // 0006 RET 1 R2
- 0x600C0010, // 0007 GETGBL R3 G16
- 0x8C100101, // 0008 GETMET R4 R0 K1
- 0x7C100200, // 0009 CALL R4 1
- 0x7C0C0200, // 000A CALL R3 1
- 0xA8020007, // 000B EXBLK 0 #0014
- 0x5C100600, // 000C MOVE R4 R3
- 0x7C100000, // 000D CALL R4 0
- 0x8C140502, // 000E GETMET R5 R2 K2
- 0x601C0009, // 000F GETGBL R7 G9
- 0x5C200800, // 0010 MOVE R8 R4
- 0x7C1C0200, // 0011 CALL R7 1
- 0x7C140400, // 0012 CALL R5 2
- 0x7001FFF7, // 0013 JMP #000C
- 0x580C0003, // 0014 LDCONST R3 K3
- 0xAC0C0200, // 0015 CATCH R3 1 0
- 0xB0080000, // 0016 RAISE 2 R0 R0
- 0x600C0010, // 0017 GETGBL R3 G16
- 0x6010000C, // 0018 GETGBL R4 G12
- 0x5C140400, // 0019 MOVE R5 R2
- 0x7C100200, // 001A CALL R4 1
- 0x04100904, // 001B SUB R4 R4 K4
- 0x40120804, // 001C CONNECT R4 K4 R4
- 0x7C0C0200, // 001D CALL R3 1
- 0xA8020010, // 001E EXBLK 0 #0030
- 0x5C100600, // 001F MOVE R4 R3
- 0x7C100000, // 0020 CALL R4 0
- 0x94140404, // 0021 GETIDX R5 R2 R4
- 0x5C180800, // 0022 MOVE R6 R4
- 0x241C0D05, // 0023 GT R7 R6 K5
- 0x781E0008, // 0024 JMPF R7 #002E
- 0x041C0D04, // 0025 SUB R7 R6 K4
- 0x941C0407, // 0026 GETIDX R7 R2 R7
- 0x241C0E05, // 0027 GT R7 R7 R5
- 0x781E0004, // 0028 JMPF R7 #002E
- 0x041C0D04, // 0029 SUB R7 R6 K4
- 0x941C0407, // 002A GETIDX R7 R2 R7
- 0x98080C07, // 002B SETIDX R2 R6 R7
- 0x04180D04, // 002C SUB R6 R6 K4
- 0x7001FFF4, // 002D JMP #0023
- 0x98080C05, // 002E SETIDX R2 R6 R5
- 0x7001FFEE, // 002F JMP #001F
- 0x580C0003, // 0030 LDCONST R3 K3
- 0xAC0C0200, // 0031 CATCH R3 1 0
- 0xB0080000, // 0032 RAISE 2 R0 R0
- 0x80040400, // 0033 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: register_commands
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_register_commands, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 4]) {
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(MtrJoin),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x68100000, // 0000 GETUPV R4 U0
- 0x8C100900, // 0001 GETMET R4 R4 K0
- 0x5C180000, // 0002 MOVE R6 R0
- 0x5C1C0200, // 0003 MOVE R7 R1
- 0x5C200400, // 0004 MOVE R8 R2
- 0x5C240600, // 0005 MOVE R9 R3
- 0x7C100A00, // 0006 CALL R4 5
- 0x80040800, // 0007 RET 1 R4
- })
- ),
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(MtrUpdate),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x68100000, // 0000 GETUPV R4 U0
- 0x8C100900, // 0001 GETMET R4 R4 K0
- 0x5C180000, // 0002 MOVE R6 R0
- 0x5C1C0200, // 0003 MOVE R7 R1
- 0x5C200400, // 0004 MOVE R8 R2
- 0x5C240600, // 0005 MOVE R9 R3
- 0x7C100A00, // 0006 CALL R4 5
- 0x80040800, // 0007 RET 1 R4
- })
- ),
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(MtrInfo),
- }),
- be_str_weak(_X3Clambda_X3E),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x68100000, // 0000 GETUPV R4 U0
- 0x8C100900, // 0001 GETMET R4 R4 K0
- 0x5C180000, // 0002 MOVE R6 R0
- 0x5C1C0200, // 0003 MOVE R7 R1
- 0x5C200400, // 0004 MOVE R8 R2
- 0x5C240600, // 0005 MOVE R9 R3
- 0x7C100A00, // 0006 CALL R4 5
- 0x80040800, // 0007 RET 1 R4
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(add_cmd),
- /* K2 */ be_nested_str_weak(MtrJoin),
- /* K3 */ be_nested_str_weak(MtrUpdate),
- /* K4 */ be_nested_str_weak(MtrInfo),
- }),
- be_str_weak(register_commands),
+ be_str_weak(find_plugin_by_endpoint),
&be_const_str_solidified,
( &(const binstruction[17]) { /* code */
- 0xB8060000, // 0000 GETNGBL R1 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x580C0002, // 0002 LDCONST R3 K2
- 0x84100000, // 0003 CLOSURE R4 P0
- 0x7C040600, // 0004 CALL R1 3
- 0xB8060000, // 0005 GETNGBL R1 K0
- 0x8C040301, // 0006 GETMET R1 R1 K1
- 0x580C0003, // 0007 LDCONST R3 K3
- 0x84100001, // 0008 CLOSURE R4 P1
- 0x7C040600, // 0009 CALL R1 3
- 0xB8060000, // 000A GETNGBL R1 K0
- 0x8C040301, // 000B GETMET R1 R1 K1
- 0x580C0004, // 000C LDCONST R3 K4
- 0x84100002, // 000D CLOSURE R4 P2
- 0x7C040600, // 000E CALL R1 3
- 0xA0000000, // 000F CLOSE R0
- 0x80000000, // 0010 RET 0
+ 0x58080000, // 0000 LDCONST R2 K0
+ 0x600C000C, // 0001 GETGBL R3 G12
+ 0x88100101, // 0002 GETMBR R4 R0 K1
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x140C0403, // 0004 LT R3 R2 R3
+ 0x780E0008, // 0005 JMPF R3 #000F
+ 0x880C0101, // 0006 GETMBR R3 R0 K1
+ 0x940C0602, // 0007 GETIDX R3 R3 R2
+ 0x8C100702, // 0008 GETMET R4 R3 K2
+ 0x7C100200, // 0009 CALL R4 1
+ 0x1C100801, // 000A EQ R4 R4 R1
+ 0x78120000, // 000B JMPF R4 #000D
+ 0x80040600, // 000C RET 1 R3
+ 0x00080503, // 000D ADD R2 R2 K3
+ 0x7001FFF1, // 000E JMP #0001
+ 0x4C0C0000, // 000F LDNIL R3
+ 0x80040600, // 0010 RET 1 R3
})
)
);
@@ -2859,82 +128,52 @@ be_local_closure(class_Matter_Device_register_commands, /* name */
/********************************************************************
-** Solidified function: sort_distinct
+** Solidified function: read_sensors_scheduler
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_sort_distinct, /* name */
+be_local_closure(class_Matter_Device_read_sensors_scheduler, /* name */
be_nested_proto(
- 7, /* nstack */
+ 4, /* nstack */
1, /* argc */
- 4, /* varg */
+ 2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Device),
- /* K1 */ be_const_int(1),
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(probe_sensor_time),
+ /* K1 */ be_nested_str_weak(probe_sensor_timestamp),
/* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(stop_iteration),
- /* K4 */ be_nested_str_weak(remove),
+ /* K3 */ be_nested_str_weak(tasmota),
+ /* K4 */ be_nested_str_weak(time_reached),
+ /* K5 */ be_nested_str_weak(_trigger_read_sensors),
+ /* K6 */ be_nested_str_weak(millis),
}),
- be_str_weak(sort_distinct),
+ be_str_weak(read_sensors_scheduler),
&be_const_str_solidified,
- ( &(const binstruction[53]) { /* code */
- 0x58040000, // 0000 LDCONST R1 K0
- 0x60080010, // 0001 GETGBL R2 G16
- 0x600C000C, // 0002 GETGBL R3 G12
- 0x5C100000, // 0003 MOVE R4 R0
- 0x7C0C0200, // 0004 CALL R3 1
- 0x040C0701, // 0005 SUB R3 R3 K1
- 0x400E0203, // 0006 CONNECT R3 K1 R3
- 0x7C080200, // 0007 CALL R2 1
- 0xA8020010, // 0008 EXBLK 0 #001A
- 0x5C0C0400, // 0009 MOVE R3 R2
- 0x7C0C0000, // 000A CALL R3 0
- 0x94100003, // 000B GETIDX R4 R0 R3
- 0x5C140600, // 000C MOVE R5 R3
- 0x24180B02, // 000D GT R6 R5 K2
- 0x781A0008, // 000E JMPF R6 #0018
- 0x04180B01, // 000F SUB R6 R5 K1
- 0x94180006, // 0010 GETIDX R6 R0 R6
- 0x24180C04, // 0011 GT R6 R6 R4
- 0x781A0004, // 0012 JMPF R6 #0018
- 0x04180B01, // 0013 SUB R6 R5 K1
- 0x94180006, // 0014 GETIDX R6 R0 R6
- 0x98000A06, // 0015 SETIDX R0 R5 R6
- 0x04140B01, // 0016 SUB R5 R5 K1
- 0x7001FFF4, // 0017 JMP #000D
- 0x98000A04, // 0018 SETIDX R0 R5 R4
- 0x7001FFEE, // 0019 JMP #0009
- 0x58080003, // 001A LDCONST R2 K3
- 0xAC080200, // 001B CATCH R2 1 0
- 0xB0080000, // 001C RAISE 2 R0 R0
- 0x58080001, // 001D LDCONST R2 K1
- 0x600C000C, // 001E GETGBL R3 G12
- 0x5C100000, // 001F MOVE R4 R0
- 0x7C0C0200, // 0020 CALL R3 1
- 0x180C0701, // 0021 LE R3 R3 K1
- 0x780E0000, // 0022 JMPF R3 #0024
- 0x80040000, // 0023 RET 1 R0
- 0x940C0102, // 0024 GETIDX R3 R0 K2
- 0x6010000C, // 0025 GETGBL R4 G12
- 0x5C140000, // 0026 MOVE R5 R0
- 0x7C100200, // 0027 CALL R4 1
- 0x14100404, // 0028 LT R4 R2 R4
- 0x78120009, // 0029 JMPF R4 #0034
- 0x94100002, // 002A GETIDX R4 R0 R2
- 0x1C100803, // 002B EQ R4 R4 R3
- 0x78120003, // 002C JMPF R4 #0031
- 0x8C100104, // 002D GETMET R4 R0 K4
- 0x5C180400, // 002E MOVE R6 R2
- 0x7C100400, // 002F CALL R4 2
- 0x70020001, // 0030 JMP #0033
- 0x940C0002, // 0031 GETIDX R3 R0 R2
- 0x00080501, // 0032 ADD R2 R2 K1
- 0x7001FFF0, // 0033 JMP #0025
- 0x80040000, // 0034 RET 1 R0
+ ( &(const binstruction[21]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x4C080000, // 0001 LDNIL R2
+ 0x1C040202, // 0002 EQ R1 R1 R2
+ 0x78060000, // 0003 JMPF R1 #0005
+ 0x80000200, // 0004 RET 0
+ 0x88040101, // 0005 GETMBR R1 R0 K1
+ 0x1C040302, // 0006 EQ R1 R1 K2
+ 0x74060004, // 0007 JMPT R1 #000D
+ 0xB8060600, // 0008 GETNGBL R1 K3
+ 0x8C040304, // 0009 GETMET R1 R1 K4
+ 0x880C0101, // 000A GETMBR R3 R0 K1
+ 0x7C040400, // 000B CALL R1 2
+ 0x78060006, // 000C JMPF R1 #0014
+ 0x8C040105, // 000D GETMET R1 R0 K5
+ 0x7C040200, // 000E CALL R1 1
+ 0xB8060600, // 000F GETNGBL R1 K3
+ 0x8C040306, // 0010 GETMET R1 R1 K6
+ 0x880C0100, // 0011 GETMBR R3 R0 K0
+ 0x7C040400, // 0012 CALL R1 2
+ 0x90020201, // 0013 SETMBR R0 K1 R1
+ 0x80000000, // 0014 RET 0
})
)
);
@@ -2942,240 +181,10 @@ be_local_closure(class_Matter_Device_sort_distinct, /* name */
/********************************************************************
-** Solidified function: check_config_ep
+** Solidified function: _mdns_announce_hostname
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_check_config_ep, /* name */
- be_nested_proto(
- 10, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[14]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_config),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(push),
- /* K3 */ be_nested_str_weak(stop_iteration),
- /* K4 */ be_const_int(0),
- /* K5 */ be_nested_str_weak(log),
- /* K6 */ be_nested_str_weak(MTR_X3A_X20invalid_X20entry_X20with_X20ep_X20_X270_X27),
- /* K7 */ be_const_int(2),
- /* K8 */ be_nested_str_weak(remove),
- /* K9 */ be_nested_str_weak(matter),
- /* K10 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
- /* K11 */ be_nested_str_weak(MTR_X3A_X20endpoint_X20_X25s_X20collides_X20wit_X20aggregator_X2C_X20relocating_X20to_X20_X25s),
- /* K12 */ be_nested_str_weak(next_ep),
- /* K13 */ be_const_int(1),
- }),
- be_str_weak(check_config_ep),
- &be_const_str_solidified,
- ( &(const binstruction[77]) { /* code */
- 0x50040000, // 0000 LDBOOL R1 0 0
- 0x60080012, // 0001 GETGBL R2 G18
- 0x7C080000, // 0002 CALL R2 0
- 0x600C0010, // 0003 GETGBL R3 G16
- 0x88100100, // 0004 GETMBR R4 R0 K0
- 0x8C100901, // 0005 GETMET R4 R4 K1
- 0x7C100200, // 0006 CALL R4 1
- 0x7C0C0200, // 0007 CALL R3 1
- 0xA8020007, // 0008 EXBLK 0 #0011
- 0x5C100600, // 0009 MOVE R4 R3
- 0x7C100000, // 000A CALL R4 0
- 0x8C140502, // 000B GETMET R5 R2 K2
- 0x601C0009, // 000C GETGBL R7 G9
- 0x5C200800, // 000D MOVE R8 R4
- 0x7C1C0200, // 000E CALL R7 1
- 0x7C140400, // 000F CALL R5 2
- 0x7001FFF7, // 0010 JMP #0009
- 0x580C0003, // 0011 LDCONST R3 K3
- 0xAC0C0200, // 0012 CATCH R3 1 0
- 0xB0080000, // 0013 RAISE 2 R0 R0
- 0x600C0010, // 0014 GETGBL R3 G16
- 0x5C100400, // 0015 MOVE R4 R2
- 0x7C0C0200, // 0016 CALL R3 1
- 0xA8020030, // 0017 EXBLK 0 #0049
- 0x5C100600, // 0018 MOVE R4 R3
- 0x7C100000, // 0019 CALL R4 0
- 0x1C140904, // 001A EQ R5 R4 K4
- 0x7816000B, // 001B JMPF R5 #0028
- 0xB8160A00, // 001C GETNGBL R5 K5
- 0x58180006, // 001D LDCONST R6 K6
- 0x581C0007, // 001E LDCONST R7 K7
- 0x7C140400, // 001F CALL R5 2
- 0x88140100, // 0020 GETMBR R5 R0 K0
- 0x8C140B08, // 0021 GETMET R5 R5 K8
- 0x601C0008, // 0022 GETGBL R7 G8
- 0x5C200800, // 0023 MOVE R8 R4
- 0x7C1C0200, // 0024 CALL R7 1
- 0x7C140400, // 0025 CALL R5 2
- 0x50040200, // 0026 LDBOOL R1 1 0
- 0x7002001F, // 0027 JMP #0048
- 0xB8161200, // 0028 GETNGBL R5 K9
- 0x88140B0A, // 0029 GETMBR R5 R5 K10
- 0x1C140805, // 002A EQ R5 R4 R5
- 0x7816001B, // 002B JMPF R5 #0048
- 0x50040200, // 002C LDBOOL R1 1 0
- 0xB8160A00, // 002D GETNGBL R5 K5
- 0x60180018, // 002E GETGBL R6 G24
- 0x581C000B, // 002F LDCONST R7 K11
- 0x5C200800, // 0030 MOVE R8 R4
- 0x8824010C, // 0031 GETMBR R9 R0 K12
- 0x7C180600, // 0032 CALL R6 3
- 0x581C0007, // 0033 LDCONST R7 K7
- 0x7C140400, // 0034 CALL R5 2
- 0x60140008, // 0035 GETGBL R5 G8
- 0x8818010C, // 0036 GETMBR R6 R0 K12
- 0x7C140200, // 0037 CALL R5 1
- 0x88180100, // 0038 GETMBR R6 R0 K0
- 0x601C0008, // 0039 GETGBL R7 G8
- 0x5C200800, // 003A MOVE R8 R4
- 0x7C1C0200, // 003B CALL R7 1
- 0x88200100, // 003C GETMBR R8 R0 K0
- 0x941C1007, // 003D GETIDX R7 R8 R7
- 0x98180A07, // 003E SETIDX R6 R5 R7
- 0x88140100, // 003F GETMBR R5 R0 K0
- 0x8C140B08, // 0040 GETMET R5 R5 K8
- 0x601C0008, // 0041 GETGBL R7 G8
- 0x5C200800, // 0042 MOVE R8 R4
- 0x7C1C0200, // 0043 CALL R7 1
- 0x7C140400, // 0044 CALL R5 2
- 0x8814010C, // 0045 GETMBR R5 R0 K12
- 0x00140B0D, // 0046 ADD R5 R5 K13
- 0x90021805, // 0047 SETMBR R0 K12 R5
- 0x7001FFCE, // 0048 JMP #0018
- 0x580C0003, // 0049 LDCONST R3 K3
- 0xAC0C0200, // 004A CATCH R3 1 0
- 0xB0080000, // 004B RAISE 2 R0 R0
- 0x80040200, // 004C RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: process_attribute_expansion
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_process_attribute_expansion, /* name */
- be_nested_proto(
- 16, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[16]) { /* constants */
- /* K0 */ be_nested_str_weak(endpoint),
- /* K1 */ be_nested_str_weak(cluster),
- /* K2 */ be_nested_str_weak(attribute),
- /* K3 */ be_nested_str_weak(matter),
- /* K4 */ be_nested_str_weak(PathGenerator),
- /* K5 */ be_nested_str_weak(start),
- /* K6 */ be_nested_str_weak(next),
- /* K7 */ be_nested_str_weak(get_pi),
- /* K8 */ be_nested_str_weak(endpoint_found),
- /* K9 */ be_nested_str_weak(status),
- /* K10 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
- /* K11 */ be_nested_str_weak(cluster_found),
- /* K12 */ be_nested_str_weak(UNSUPPORTED_CLUSTER),
- /* K13 */ be_nested_str_weak(attribute_found),
- /* K14 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
- /* K15 */ be_nested_str_weak(UNREPORTABLE_ATTRIBUTE),
- }),
- be_str_weak(process_attribute_expansion),
- &be_const_str_solidified,
- ( &(const binstruction[73]) { /* code */
- 0x880C0300, // 0000 GETMBR R3 R1 K0
- 0x88100301, // 0001 GETMBR R4 R1 K1
- 0x88140302, // 0002 GETMBR R5 R1 K2
- 0x50180000, // 0003 LDBOOL R6 0 0
- 0x501C0000, // 0004 LDBOOL R7 0 0
- 0x50200000, // 0005 LDBOOL R8 0 0
- 0x88240300, // 0006 GETMBR R9 R1 K0
- 0x4C280000, // 0007 LDNIL R10
- 0x2024120A, // 0008 NE R9 R9 R10
- 0x78260007, // 0009 JMPF R9 #0012
- 0x88240301, // 000A GETMBR R9 R1 K1
- 0x4C280000, // 000B LDNIL R10
- 0x2024120A, // 000C NE R9 R9 R10
- 0x78260003, // 000D JMPF R9 #0012
- 0x88240302, // 000E GETMBR R9 R1 K2
- 0x4C280000, // 000F LDNIL R10
- 0x2024120A, // 0010 NE R9 R9 R10
- 0x74260000, // 0011 JMPT R9 #0013
- 0x50240001, // 0012 LDBOOL R9 0 1
- 0x50240200, // 0013 LDBOOL R9 1 0
- 0xB82A0600, // 0014 GETNGBL R10 K3
- 0x8C281504, // 0015 GETMET R10 R10 K4
- 0x5C300000, // 0016 MOVE R12 R0
- 0x7C280400, // 0017 CALL R10 2
- 0x8C2C1505, // 0018 GETMET R11 R10 K5
- 0x5C340200, // 0019 MOVE R13 R1
- 0x4C380000, // 001A LDNIL R14
- 0x7C2C0600, // 001B CALL R11 3
- 0x4C2C0000, // 001C LDNIL R11
- 0x8C301506, // 001D GETMET R12 R10 K6
- 0x7C300200, // 001E CALL R12 1
- 0x5C2C1800, // 001F MOVE R11 R12
- 0x4C340000, // 0020 LDNIL R13
- 0x2030180D, // 0021 NE R12 R12 R13
- 0x78320009, // 0022 JMPF R12 #002D
- 0x5C300400, // 0023 MOVE R12 R2
- 0x8C341507, // 0024 GETMET R13 R10 K7
- 0x7C340200, // 0025 CALL R13 1
- 0x5C381600, // 0026 MOVE R14 R11
- 0x5C3C1200, // 0027 MOVE R15 R9
- 0x7C300600, // 0028 CALL R12 3
- 0x78260001, // 0029 JMPF R9 #002C
- 0x78320000, // 002A JMPF R12 #002C
- 0x80001A00, // 002B RET 0
- 0x7001FFEF, // 002C JMP #001D
- 0x78260019, // 002D JMPF R9 #0048
- 0x88301508, // 002E GETMBR R12 R10 K8
- 0x74320003, // 002F JMPT R12 #0034
- 0xB8320600, // 0030 GETNGBL R12 K3
- 0x8830190A, // 0031 GETMBR R12 R12 K10
- 0x9006120C, // 0032 SETMBR R1 K9 R12
- 0x7002000E, // 0033 JMP #0043
- 0x8830150B, // 0034 GETMBR R12 R10 K11
- 0x74320003, // 0035 JMPT R12 #003A
- 0xB8320600, // 0036 GETNGBL R12 K3
- 0x8830190C, // 0037 GETMBR R12 R12 K12
- 0x9006120C, // 0038 SETMBR R1 K9 R12
- 0x70020008, // 0039 JMP #0043
- 0x8830150D, // 003A GETMBR R12 R10 K13
- 0x74320003, // 003B JMPT R12 #0040
- 0xB8320600, // 003C GETNGBL R12 K3
- 0x8830190E, // 003D GETMBR R12 R12 K14
- 0x9006120C, // 003E SETMBR R1 K9 R12
- 0x70020002, // 003F JMP #0043
- 0xB8320600, // 0040 GETNGBL R12 K3
- 0x8830190F, // 0041 GETMBR R12 R12 K15
- 0x9006120C, // 0042 SETMBR R1 K9 R12
- 0x5C300400, // 0043 MOVE R12 R2
- 0x4C340000, // 0044 LDNIL R13
- 0x5C380200, // 0045 MOVE R14 R1
- 0x503C0200, // 0046 LDBOOL R15 1 0
- 0x7C300600, // 0047 CALL R12 3
- 0x80000000, // 0048 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: mdns_announce_op_discovery
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_mdns_announce_op_discovery, /* name */
+be_local_closure(class_Matter_Device__mdns_announce_hostname, /* name */
be_nested_proto(
14, /* nstack */
2, /* argc */
@@ -3187,327 +196,180 @@ be_local_closure(class_Matter_Device_mdns_announce_op_discovery, /* name */
1, /* has constants */
( &(const bvalue[27]) { /* constants */
/* K0 */ be_nested_str_weak(mdns),
- /* K1 */ be_nested_str_weak(get_device_id),
- /* K2 */ be_nested_str_weak(copy),
- /* K3 */ be_nested_str_weak(reverse),
- /* K4 */ be_nested_str_weak(get_fabric_compressed),
- /* K5 */ be_nested_str_weak(tohex),
- /* K6 */ be_nested_str_weak(_X2D),
- /* K7 */ be_nested_str_weak(log),
- /* K8 */ be_nested_str_weak(MTR_X3A_X20Operational_X20Discovery_X20node_X20_X3D_X20),
- /* K9 */ be_const_int(3),
- /* K10 */ be_nested_str_weak(tasmota),
- /* K11 */ be_nested_str_weak(eth),
- /* K12 */ be_nested_str_weak(find),
- /* K13 */ be_nested_str_weak(up),
- /* K14 */ be_nested_str_weak(MTR_X3A_X20adding_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27_X20ptr_X20to_X20_X60_X25s_X2Elocal_X60),
- /* K15 */ be_nested_str_weak(hostname_eth),
- /* K16 */ be_nested_str_weak(add_service),
- /* K17 */ be_nested_str_weak(_matter),
- /* K18 */ be_nested_str_weak(_tcp),
- /* K19 */ be_nested_str_weak(_I),
- /* K20 */ be_nested_str_weak(MTR_X3A_X20adding_X20subtype_X3A_X20),
- /* K21 */ be_nested_str_weak(add_subtype),
- /* K22 */ be_nested_str_weak(wifi),
- /* K23 */ be_nested_str_weak(hostname_wifi),
- /* K24 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K25 */ be_nested_str_weak(_X7C),
- /* K26 */ be_const_int(2),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(start),
+ /* K3 */ be_nested_str_weak(tasmota),
+ /* K4 */ be_nested_str_weak(eth),
+ /* K5 */ be_nested_str_weak(hostname_eth),
+ /* K6 */ be_nested_str_weak(replace),
+ /* K7 */ be_nested_str_weak(find),
+ /* K8 */ be_nested_str_weak(mac),
+ /* K9 */ be_nested_str_weak(_X3A),
+ /* K10 */ be_nested_str_weak(),
+ /* K11 */ be_nested_str_weak(ipv4only),
+ /* K12 */ be_nested_str_weak(contains),
+ /* K13 */ be_nested_str_weak(ip6local),
+ /* K14 */ be_nested_str_weak(add_hostname),
+ /* K15 */ be_nested_str_weak(ip),
+ /* K16 */ be_nested_str_weak(ip6),
+ /* K17 */ be_nested_str_weak(log),
+ /* K18 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eadd_hostname_X28_X25s_X2C_X20_X25s_X29),
+ /* K19 */ be_const_int(3),
+ /* K20 */ be_nested_str_weak(wifi),
+ /* K21 */ be_nested_str_weak(hostname_wifi),
+ /* K22 */ be_nested_str_weak(MTR_X3A_X20start_X20mDNS_X20on_X20_X25s_X20host_X20_X27_X25s_X2Elocal_X27),
+ /* K23 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K24 */ be_nested_str_weak(_X7C),
+ /* K25 */ be_const_int(2),
+ /* K26 */ be_nested_str_weak(mdns_announce_op_discovery_all_fabrics),
}),
- be_str_weak(mdns_announce_op_discovery),
+ be_str_weak(_mdns_announce_hostname),
&be_const_str_solidified,
- ( &(const binstruction[115]) { /* code */
+ ( &(const binstruction[144]) { /* code */
0xA40A0000, // 0000 IMPORT R2 K0
- 0xA802005F, // 0001 EXBLK 0 #0062
- 0x8C0C0301, // 0002 GETMET R3 R1 K1
- 0x7C0C0200, // 0003 CALL R3 1
- 0x8C0C0702, // 0004 GETMET R3 R3 K2
- 0x7C0C0200, // 0005 CALL R3 1
- 0x8C0C0703, // 0006 GETMET R3 R3 K3
- 0x7C0C0200, // 0007 CALL R3 1
- 0x8C100304, // 0008 GETMET R4 R1 K4
- 0x7C100200, // 0009 CALL R4 1
- 0x8C140905, // 000A GETMET R5 R4 K5
- 0x7C140200, // 000B CALL R5 1
- 0x00140B06, // 000C ADD R5 R5 K6
- 0x8C180705, // 000D GETMET R6 R3 K5
- 0x7C180200, // 000E CALL R6 1
- 0x00140A06, // 000F ADD R5 R5 R6
- 0xB81A0E00, // 0010 GETNGBL R6 K7
- 0x001E1005, // 0011 ADD R7 K8 R5
- 0x58200009, // 0012 LDCONST R8 K9
- 0x7C180400, // 0013 CALL R6 2
- 0xB81A1400, // 0014 GETNGBL R6 K10
- 0x8C180D0B, // 0015 GETMET R6 R6 K11
- 0x7C180200, // 0016 CALL R6 1
- 0x8C180D0C, // 0017 GETMET R6 R6 K12
- 0x5820000D, // 0018 LDCONST R8 K13
- 0x7C180400, // 0019 CALL R6 2
- 0x781A001E, // 001A JMPF R6 #003A
- 0xB81A0E00, // 001B GETNGBL R6 K7
- 0x601C0018, // 001C GETGBL R7 G24
- 0x5820000E, // 001D LDCONST R8 K14
- 0x5824000B, // 001E LDCONST R9 K11
- 0x5C280A00, // 001F MOVE R10 R5
- 0x882C010F, // 0020 GETMBR R11 R0 K15
- 0x7C1C0800, // 0021 CALL R7 4
- 0x58200009, // 0022 LDCONST R8 K9
- 0x7C180400, // 0023 CALL R6 2
- 0x8C180510, // 0024 GETMET R6 R2 K16
- 0x58200011, // 0025 LDCONST R8 K17
- 0x58240012, // 0026 LDCONST R9 K18
- 0x542A15A3, // 0027 LDINT R10 5540
- 0x4C2C0000, // 0028 LDNIL R11
- 0x5C300A00, // 0029 MOVE R12 R5
- 0x8834010F, // 002A GETMBR R13 R0 K15
- 0x7C180E00, // 002B CALL R6 7
- 0x8C180905, // 002C GETMET R6 R4 K5
- 0x7C180200, // 002D CALL R6 1
- 0x001A2606, // 002E ADD R6 K19 R6
- 0xB81E0E00, // 002F GETNGBL R7 K7
- 0x00222806, // 0030 ADD R8 K20 R6
- 0x58240009, // 0031 LDCONST R9 K9
- 0x7C1C0400, // 0032 CALL R7 2
- 0x8C1C0515, // 0033 GETMET R7 R2 K21
- 0x58240011, // 0034 LDCONST R9 K17
- 0x58280012, // 0035 LDCONST R10 K18
- 0x5C2C0A00, // 0036 MOVE R11 R5
- 0x8830010F, // 0037 GETMBR R12 R0 K15
- 0x5C340C00, // 0038 MOVE R13 R6
- 0x7C1C0C00, // 0039 CALL R7 6
- 0xB81A1400, // 003A GETNGBL R6 K10
- 0x8C180D16, // 003B GETMET R6 R6 K22
- 0x7C180200, // 003C CALL R6 1
- 0x8C180D0C, // 003D GETMET R6 R6 K12
- 0x5820000D, // 003E LDCONST R8 K13
- 0x7C180400, // 003F CALL R6 2
- 0x781A001E, // 0040 JMPF R6 #0060
- 0xB81A0E00, // 0041 GETNGBL R6 K7
- 0x601C0018, // 0042 GETGBL R7 G24
- 0x5820000E, // 0043 LDCONST R8 K14
- 0x58240016, // 0044 LDCONST R9 K22
- 0x5C280A00, // 0045 MOVE R10 R5
- 0x882C0117, // 0046 GETMBR R11 R0 K23
- 0x7C1C0800, // 0047 CALL R7 4
- 0x58200009, // 0048 LDCONST R8 K9
- 0x7C180400, // 0049 CALL R6 2
- 0x8C180510, // 004A GETMET R6 R2 K16
- 0x58200011, // 004B LDCONST R8 K17
- 0x58240012, // 004C LDCONST R9 K18
- 0x542A15A3, // 004D LDINT R10 5540
- 0x4C2C0000, // 004E LDNIL R11
- 0x5C300A00, // 004F MOVE R12 R5
- 0x88340117, // 0050 GETMBR R13 R0 K23
- 0x7C180E00, // 0051 CALL R6 7
- 0x8C180905, // 0052 GETMET R6 R4 K5
- 0x7C180200, // 0053 CALL R6 1
- 0x001A2606, // 0054 ADD R6 K19 R6
- 0xB81E0E00, // 0055 GETNGBL R7 K7
- 0x00222806, // 0056 ADD R8 K20 R6
- 0x58240009, // 0057 LDCONST R9 K9
- 0x7C1C0400, // 0058 CALL R7 2
- 0x8C1C0515, // 0059 GETMET R7 R2 K21
- 0x58240011, // 005A LDCONST R9 K17
- 0x58280012, // 005B LDCONST R10 K18
- 0x5C2C0A00, // 005C MOVE R11 R5
- 0x88300117, // 005D GETMBR R12 R0 K23
- 0x5C340C00, // 005E MOVE R13 R6
- 0x7C1C0C00, // 005F CALL R7 6
- 0xA8040001, // 0060 EXBLK 1 1
- 0x7002000F, // 0061 JMP #0072
- 0xAC0C0002, // 0062 CATCH R3 0 2
- 0x7002000C, // 0063 JMP #0071
- 0xB8160E00, // 0064 GETNGBL R5 K7
- 0x60180008, // 0065 GETGBL R6 G8
- 0x5C1C0600, // 0066 MOVE R7 R3
- 0x7C180200, // 0067 CALL R6 1
- 0x001A3006, // 0068 ADD R6 K24 R6
- 0x00180D19, // 0069 ADD R6 R6 K25
- 0x601C0008, // 006A GETGBL R7 G8
- 0x5C200800, // 006B MOVE R8 R4
- 0x7C1C0200, // 006C CALL R7 1
- 0x00180C07, // 006D ADD R6 R6 R7
- 0x581C001A, // 006E LDCONST R7 K26
- 0x7C140400, // 006F CALL R5 2
- 0x70020000, // 0070 JMP #0072
- 0xB0080000, // 0071 RAISE 2 R0 R0
- 0x80000000, // 0072 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: save_param
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_save_param, /* name */
- be_nested_proto(
- 9, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[31]) { /* constants */
- /* K0 */ be_nested_str_weak(json),
- /* K1 */ be_nested_str_weak(update_remotes_info),
- /* K2 */ be_nested_str_weak(_X7B_X22distinguish_X22_X3A_X25i_X2C_X22passcode_X22_X3A_X25i_X2C_X22ipv4only_X22_X3A_X25s_X2C_X22disable_bridge_mode_X22_X3A_X25s_X2C_X22nextep_X22_X3A_X25i),
- /* K3 */ be_nested_str_weak(root_discriminator),
- /* K4 */ be_nested_str_weak(root_passcode),
- /* K5 */ be_nested_str_weak(ipv4only),
- /* K6 */ be_nested_str_weak(true),
- /* K7 */ be_nested_str_weak(false),
- /* K8 */ be_nested_str_weak(disable_bridge_mode),
- /* K9 */ be_nested_str_weak(next_ep),
- /* K10 */ be_nested_str_weak(debug),
- /* K11 */ be_nested_str_weak(_X2C_X22debug_X22_X3Atrue),
- /* K12 */ be_nested_str_weak(plugins_persist),
- /* K13 */ be_nested_str_weak(_X2C_X0A_X22config_X22_X3A),
- /* K14 */ be_nested_str_weak(dump),
- /* K15 */ be_nested_str_weak(plugins_config),
- /* K16 */ be_nested_str_weak(plugins_config_remotes),
- /* K17 */ be_const_int(0),
- /* K18 */ be_nested_str_weak(_X2C_X0A_X22remotes_X22_X3A),
- /* K19 */ be_nested_str_weak(_X7D),
- /* K20 */ be_nested_str_weak(FILENAME),
- /* K21 */ be_nested_str_weak(w),
- /* K22 */ be_nested_str_weak(write),
- /* K23 */ be_nested_str_weak(close),
- /* K24 */ be_nested_str_weak(log),
- /* K25 */ be_nested_str_weak(MTR_X3A_X20_X3DSaved_X20_X20_X20_X20_X20parameters_X25s),
- /* K26 */ be_nested_str_weak(_X20and_X20configuration),
- /* K27 */ be_nested_str_weak(),
- /* K28 */ be_const_int(2),
- /* K29 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Asave_X20Exception_X3A),
- /* K30 */ be_nested_str_weak(_X7C),
- }),
- be_str_weak(save_param),
- &be_const_str_solidified,
- ( &(const binstruction[83]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x8C080101, // 0001 GETMET R2 R0 K1
- 0x7C080200, // 0002 CALL R2 1
- 0x60080018, // 0003 GETGBL R2 G24
- 0x580C0002, // 0004 LDCONST R3 K2
- 0x88100103, // 0005 GETMBR R4 R0 K3
- 0x88140104, // 0006 GETMBR R5 R0 K4
- 0x88180105, // 0007 GETMBR R6 R0 K5
- 0x781A0001, // 0008 JMPF R6 #000B
- 0x58180006, // 0009 LDCONST R6 K6
- 0x70020000, // 000A JMP #000C
- 0x58180007, // 000B LDCONST R6 K7
- 0x881C0108, // 000C GETMBR R7 R0 K8
- 0x781E0001, // 000D JMPF R7 #0010
- 0x581C0006, // 000E LDCONST R7 K6
- 0x70020000, // 000F JMP #0011
- 0x581C0007, // 0010 LDCONST R7 K7
- 0x88200109, // 0011 GETMBR R8 R0 K9
- 0x7C080C00, // 0012 CALL R2 6
- 0x880C010A, // 0013 GETMBR R3 R0 K10
- 0x780E0000, // 0014 JMPF R3 #0016
- 0x0008050B, // 0015 ADD R2 R2 K11
- 0x880C010C, // 0016 GETMBR R3 R0 K12
- 0x780E000E, // 0017 JMPF R3 #0027
- 0x0008050D, // 0018 ADD R2 R2 K13
- 0x8C0C030E, // 0019 GETMET R3 R1 K14
- 0x8814010F, // 001A GETMBR R5 R0 K15
- 0x7C0C0400, // 001B CALL R3 2
- 0x00080403, // 001C ADD R2 R2 R3
- 0x600C000C, // 001D GETGBL R3 G12
- 0x88100110, // 001E GETMBR R4 R0 K16
- 0x7C0C0200, // 001F CALL R3 1
- 0x240C0711, // 0020 GT R3 R3 K17
- 0x780E0004, // 0021 JMPF R3 #0027
- 0x00080512, // 0022 ADD R2 R2 K18
- 0x8C0C030E, // 0023 GETMET R3 R1 K14
- 0x88140110, // 0024 GETMBR R5 R0 K16
- 0x7C0C0400, // 0025 CALL R3 2
- 0x00080403, // 0026 ADD R2 R2 R3
- 0x00080513, // 0027 ADD R2 R2 K19
- 0xA8020017, // 0028 EXBLK 0 #0041
- 0x600C0011, // 0029 GETGBL R3 G17
- 0x88100114, // 002A GETMBR R4 R0 K20
- 0x58140015, // 002B LDCONST R5 K21
- 0x7C0C0400, // 002C CALL R3 2
- 0x8C100716, // 002D GETMET R4 R3 K22
- 0x5C180400, // 002E MOVE R6 R2
- 0x7C100400, // 002F CALL R4 2
- 0x8C100717, // 0030 GETMET R4 R3 K23
- 0x7C100200, // 0031 CALL R4 1
- 0xB8123000, // 0032 GETNGBL R4 K24
- 0x60140018, // 0033 GETGBL R5 G24
- 0x58180019, // 0034 LDCONST R6 K25
- 0x881C010C, // 0035 GETMBR R7 R0 K12
- 0x781E0001, // 0036 JMPF R7 #0039
- 0x581C001A, // 0037 LDCONST R7 K26
- 0x70020000, // 0038 JMP #003A
- 0x581C001B, // 0039 LDCONST R7 K27
- 0x7C140400, // 003A CALL R5 2
- 0x5818001C, // 003B LDCONST R6 K28
- 0x7C100400, // 003C CALL R4 2
- 0xA8040001, // 003D EXBLK 1 1
- 0x80040400, // 003E RET 1 R2
- 0xA8040001, // 003F EXBLK 1 1
- 0x70020010, // 0040 JMP #0052
- 0xAC0C0002, // 0041 CATCH R3 0 2
- 0x7002000D, // 0042 JMP #0051
- 0xB8163000, // 0043 GETNGBL R5 K24
- 0x60180008, // 0044 GETGBL R6 G8
- 0x5C1C0600, // 0045 MOVE R7 R3
- 0x7C180200, // 0046 CALL R6 1
- 0x001A3A06, // 0047 ADD R6 K29 R6
- 0x00180D1E, // 0048 ADD R6 R6 K30
- 0x601C0008, // 0049 GETGBL R7 G8
- 0x5C200800, // 004A MOVE R8 R4
- 0x7C1C0200, // 004B CALL R7 1
- 0x00180C07, // 004C ADD R6 R6 R7
- 0x581C001C, // 004D LDCONST R7 K28
- 0x7C140400, // 004E CALL R5 2
- 0x80040400, // 004F RET 1 R2
- 0x70020000, // 0050 JMP #0052
- 0xB0080000, // 0051 RAISE 2 R0 R0
- 0x80000000, // 0052 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _init_basic_commissioning
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__init_basic_commissioning, /* name */
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(count_active_fabrics),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(start_root_basic_commissioning),
- }),
- be_str_weak(_init_basic_commissioning),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x1C040302, // 0003 EQ R1 R1 K2
- 0x78060001, // 0004 JMPF R1 #0007
- 0x8C040103, // 0005 GETMET R1 R0 K3
- 0x7C040200, // 0006 CALL R1 1
- 0x80000000, // 0007 RET 0
+ 0xA40E0200, // 0001 IMPORT R3 K1
+ 0x8C100502, // 0002 GETMET R4 R2 K2
+ 0x7C100200, // 0003 CALL R4 1
+ 0xA8020077, // 0004 EXBLK 0 #007D
+ 0x78060033, // 0005 JMPF R1 #003A
+ 0xB8120600, // 0006 GETNGBL R4 K3
+ 0x8C100904, // 0007 GETMET R4 R4 K4
+ 0x7C100200, // 0008 CALL R4 1
+ 0x8C140706, // 0009 GETMET R5 R3 K6
+ 0x8C1C0907, // 000A GETMET R7 R4 K7
+ 0x58240008, // 000B LDCONST R9 K8
+ 0x7C1C0400, // 000C CALL R7 2
+ 0x58200009, // 000D LDCONST R8 K9
+ 0x5824000A, // 000E LDCONST R9 K10
+ 0x7C140800, // 000F CALL R5 4
+ 0x90020A05, // 0010 SETMBR R0 K5 R5
+ 0x8814010B, // 0011 GETMBR R5 R0 K11
+ 0x78160003, // 0012 JMPF R5 #0017
+ 0x8C14090C, // 0013 GETMET R5 R4 K12
+ 0x581C000D, // 0014 LDCONST R7 K13
+ 0x7C140400, // 0015 CALL R5 2
+ 0x7416000F, // 0016 JMPT R5 #0027
+ 0x8C14050E, // 0017 GETMET R5 R2 K14
+ 0x881C0105, // 0018 GETMBR R7 R0 K5
+ 0x8C200907, // 0019 GETMET R8 R4 K7
+ 0x5828000D, // 001A LDCONST R10 K13
+ 0x582C000A, // 001B LDCONST R11 K10
+ 0x7C200600, // 001C CALL R8 3
+ 0x8C240907, // 001D GETMET R9 R4 K7
+ 0x582C000F, // 001E LDCONST R11 K15
+ 0x5830000A, // 001F LDCONST R12 K10
+ 0x7C240600, // 0020 CALL R9 3
+ 0x8C280907, // 0021 GETMET R10 R4 K7
+ 0x58300010, // 0022 LDCONST R12 K16
+ 0x5834000A, // 0023 LDCONST R13 K10
+ 0x7C280600, // 0024 CALL R10 3
+ 0x7C140A00, // 0025 CALL R5 5
+ 0x70020011, // 0026 JMP #0039
+ 0xB8162200, // 0027 GETNGBL R5 K17
+ 0x60180018, // 0028 GETGBL R6 G24
+ 0x581C0012, // 0029 LDCONST R7 K18
+ 0x88200105, // 002A GETMBR R8 R0 K5
+ 0x8C240907, // 002B GETMET R9 R4 K7
+ 0x582C000F, // 002C LDCONST R11 K15
+ 0x5830000A, // 002D LDCONST R12 K10
+ 0x7C240600, // 002E CALL R9 3
+ 0x7C180600, // 002F CALL R6 3
+ 0x581C0013, // 0030 LDCONST R7 K19
+ 0x7C140400, // 0031 CALL R5 2
+ 0x8C14050E, // 0032 GETMET R5 R2 K14
+ 0x881C0105, // 0033 GETMBR R7 R0 K5
+ 0x8C200907, // 0034 GETMET R8 R4 K7
+ 0x5828000F, // 0035 LDCONST R10 K15
+ 0x582C000A, // 0036 LDCONST R11 K10
+ 0x7C200600, // 0037 CALL R8 3
+ 0x7C140600, // 0038 CALL R5 3
+ 0x70020032, // 0039 JMP #006D
+ 0xB8120600, // 003A GETNGBL R4 K3
+ 0x8C100914, // 003B GETMET R4 R4 K20
+ 0x7C100200, // 003C CALL R4 1
+ 0x8C140706, // 003D GETMET R5 R3 K6
+ 0x8C1C0907, // 003E GETMET R7 R4 K7
+ 0x58240008, // 003F LDCONST R9 K8
+ 0x7C1C0400, // 0040 CALL R7 2
+ 0x58200009, // 0041 LDCONST R8 K9
+ 0x5824000A, // 0042 LDCONST R9 K10
+ 0x7C140800, // 0043 CALL R5 4
+ 0x90022A05, // 0044 SETMBR R0 K21 R5
+ 0x8814010B, // 0045 GETMBR R5 R0 K11
+ 0x78160003, // 0046 JMPF R5 #004B
+ 0x8C14090C, // 0047 GETMET R5 R4 K12
+ 0x581C000D, // 0048 LDCONST R7 K13
+ 0x7C140400, // 0049 CALL R5 2
+ 0x7416000F, // 004A JMPT R5 #005B
+ 0x8C14050E, // 004B GETMET R5 R2 K14
+ 0x881C0115, // 004C GETMBR R7 R0 K21
+ 0x8C200907, // 004D GETMET R8 R4 K7
+ 0x5828000D, // 004E LDCONST R10 K13
+ 0x582C000A, // 004F LDCONST R11 K10
+ 0x7C200600, // 0050 CALL R8 3
+ 0x8C240907, // 0051 GETMET R9 R4 K7
+ 0x582C000F, // 0052 LDCONST R11 K15
+ 0x5830000A, // 0053 LDCONST R12 K10
+ 0x7C240600, // 0054 CALL R9 3
+ 0x8C280907, // 0055 GETMET R10 R4 K7
+ 0x58300010, // 0056 LDCONST R12 K16
+ 0x5834000A, // 0057 LDCONST R13 K10
+ 0x7C280600, // 0058 CALL R10 3
+ 0x7C140A00, // 0059 CALL R5 5
+ 0x70020011, // 005A JMP #006D
+ 0xB8162200, // 005B GETNGBL R5 K17
+ 0x60180018, // 005C GETGBL R6 G24
+ 0x581C0012, // 005D LDCONST R7 K18
+ 0x88200115, // 005E GETMBR R8 R0 K21
+ 0x8C240907, // 005F GETMET R9 R4 K7
+ 0x582C000F, // 0060 LDCONST R11 K15
+ 0x5830000A, // 0061 LDCONST R12 K10
+ 0x7C240600, // 0062 CALL R9 3
+ 0x7C180600, // 0063 CALL R6 3
+ 0x581C0013, // 0064 LDCONST R7 K19
+ 0x7C140400, // 0065 CALL R5 2
+ 0x8C14050E, // 0066 GETMET R5 R2 K14
+ 0x881C0115, // 0067 GETMBR R7 R0 K21
+ 0x8C200907, // 0068 GETMET R8 R4 K7
+ 0x5828000F, // 0069 LDCONST R10 K15
+ 0x582C000A, // 006A LDCONST R11 K10
+ 0x7C200600, // 006B CALL R8 3
+ 0x7C140600, // 006C CALL R5 3
+ 0xB8122200, // 006D GETNGBL R4 K17
+ 0x60140018, // 006E GETGBL R5 G24
+ 0x58180016, // 006F LDCONST R6 K22
+ 0x78060001, // 0070 JMPF R1 #0073
+ 0x581C0004, // 0071 LDCONST R7 K4
+ 0x70020000, // 0072 JMP #0074
+ 0x581C0014, // 0073 LDCONST R7 K20
+ 0x78060001, // 0074 JMPF R1 #0077
+ 0x88200105, // 0075 GETMBR R8 R0 K5
+ 0x70020000, // 0076 JMP #0078
+ 0x88200115, // 0077 GETMBR R8 R0 K21
+ 0x7C140600, // 0078 CALL R5 3
+ 0x58180013, // 0079 LDCONST R6 K19
+ 0x7C100400, // 007A CALL R4 2
+ 0xA8040001, // 007B EXBLK 1 1
+ 0x7002000F, // 007C JMP #008D
+ 0xAC100002, // 007D CATCH R4 0 2
+ 0x7002000C, // 007E JMP #008C
+ 0xB81A2200, // 007F GETNGBL R6 K17
+ 0x601C0008, // 0080 GETGBL R7 G8
+ 0x5C200800, // 0081 MOVE R8 R4
+ 0x7C1C0200, // 0082 CALL R7 1
+ 0x001E2E07, // 0083 ADD R7 K23 R7
+ 0x001C0F18, // 0084 ADD R7 R7 K24
+ 0x60200008, // 0085 GETGBL R8 G8
+ 0x5C240A00, // 0086 MOVE R9 R5
+ 0x7C200200, // 0087 CALL R8 1
+ 0x001C0E08, // 0088 ADD R7 R7 R8
+ 0x58200019, // 0089 LDCONST R8 K25
+ 0x7C180400, // 008A CALL R6 2
+ 0x70020000, // 008B JMP #008D
+ 0xB0080000, // 008C RAISE 2 R0 R0
+ 0x8C10011A, // 008D GETMET R4 R0 K26
+ 0x7C100200, // 008E CALL R4 1
+ 0x80000000, // 008F RET 0
})
)
);
@@ -3805,194 +667,54 @@ be_local_closure(class_Matter_Device_mdns_announce_PASE, /* name */
/********************************************************************
-** Solidified function: start_mdns_announce_hostnames
+** Solidified function: conf_to_log
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_mdns_announce_hostnames, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 3]) {
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(_mdns_announce_hostname),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Wifi_X23Connected),
- /* K4 */ be_nested_str_weak(matter_mdns_host),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x50080000, // 0002 LDBOOL R2 0 0
- 0x7C000400, // 0003 CALL R0 2
- 0xB8020200, // 0004 GETNGBL R0 K1
- 0x8C000102, // 0005 GETMET R0 R0 K2
- 0x58080003, // 0006 LDCONST R2 K3
- 0x580C0004, // 0007 LDCONST R3 K4
- 0x7C000600, // 0008 CALL R0 3
- 0x80000000, // 0009 RET 0
- })
- ),
- be_nested_proto(
- 4, /* nstack */
- 0, /* argc */
- 0, /* varg */
- 1, /* has upvals */
- ( &(const bupvaldesc[ 1]) { /* upvals */
- be_local_const_upval(1, 0),
- }),
- 0, /* has sup protos */
- NULL,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(_mdns_announce_hostname),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(remove_rule),
- /* K3 */ be_nested_str_weak(Eth_X23Connected),
- /* K4 */ be_nested_str_weak(matter_mdns_host),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x50080200, // 0002 LDBOOL R2 1 0
- 0x7C000400, // 0003 CALL R0 2
- 0xB8020200, // 0004 GETNGBL R0 K1
- 0x8C000102, // 0005 GETMET R0 R0 K2
- 0x58080003, // 0006 LDCONST R2 K3
- 0x580C0004, // 0007 LDCONST R3 K4
- 0x7C000600, // 0008 CALL R0 3
- 0x80000000, // 0009 RET 0
- })
- ),
- &be_class_Matter_Device,
- }),
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(wifi),
- /* K2 */ be_nested_str_weak(up),
- /* K3 */ be_nested_str_weak(_mdns_announce_hostname),
- /* K4 */ be_nested_str_weak(add_rule),
- /* K5 */ be_nested_str_weak(Wifi_X23Connected),
- /* K6 */ be_nested_str_weak(matter_mdns_host),
- /* K7 */ be_nested_str_weak(eth),
- /* K8 */ be_nested_str_weak(Eth_X23Connected),
- }),
- be_str_weak(start_mdns_announce_hostnames),
- &be_const_str_solidified,
- ( &(const binstruction[32]) { /* code */
- 0xB8060000, // 0000 GETNGBL R1 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x94040302, // 0003 GETIDX R1 R1 K2
- 0x78060003, // 0004 JMPF R1 #0009
- 0x8C040103, // 0005 GETMET R1 R0 K3
- 0x500C0000, // 0006 LDBOOL R3 0 0
- 0x7C040400, // 0007 CALL R1 2
- 0x70020005, // 0008 JMP #000F
- 0xB8060000, // 0009 GETNGBL R1 K0
- 0x8C040304, // 000A GETMET R1 R1 K4
- 0x580C0005, // 000B LDCONST R3 K5
- 0x84100000, // 000C CLOSURE R4 P0
- 0x58140006, // 000D LDCONST R5 K6
- 0x7C040800, // 000E CALL R1 4
- 0xB8060000, // 000F GETNGBL R1 K0
- 0x8C040307, // 0010 GETMET R1 R1 K7
- 0x7C040200, // 0011 CALL R1 1
- 0x94040302, // 0012 GETIDX R1 R1 K2
- 0x78060003, // 0013 JMPF R1 #0018
- 0x8C040103, // 0014 GETMET R1 R0 K3
- 0x500C0200, // 0015 LDBOOL R3 1 0
- 0x7C040400, // 0016 CALL R1 2
- 0x70020005, // 0017 JMP #001E
- 0xB8060000, // 0018 GETNGBL R1 K0
- 0x8C040304, // 0019 GETMET R1 R1 K4
- 0x580C0008, // 001A LDCONST R3 K8
- 0x84100001, // 001B CLOSURE R4 P1
- 0x58140006, // 001C LDCONST R5 K6
- 0x7C040800, // 001D CALL R1 4
- 0xA0000000, // 001E CLOSE R0
- 0x80000000, // 001F RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: compute_manual_pairing_code
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_compute_manual_pairing_code, /* name */
+be_local_closure(class_Matter_Device_conf_to_log, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
- 2, /* varg */
+ 4, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(root_discriminator),
- /* K1 */ be_nested_str_weak(root_passcode),
- /* K2 */ be_nested_str_weak(_X251i_X2505i_X2504i),
- /* K3 */ be_nested_str_weak(matter),
- /* K4 */ be_nested_str_weak(Verhoeff),
- /* K5 */ be_nested_str_weak(checksum),
+ /* K0 */ be_const_class(be_class_Matter_Device),
+ /* K1 */ be_nested_str_weak(),
+ /* K2 */ be_nested_str_weak(k2l),
+ /* K3 */ be_nested_str_weak(type),
+ /* K4 */ be_nested_str_weak(_X20_X25s_X3A_X25s),
+ /* K5 */ be_nested_str_weak(stop_iteration),
}),
- be_str_weak(compute_manual_pairing_code),
+ be_str_weak(conf_to_log),
&be_const_str_solidified,
- ( &(const binstruction[30]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x540A0FFE, // 0001 LDINT R2 4095
- 0x2C040202, // 0002 AND R1 R1 R2
- 0x540A0009, // 0003 LDINT R2 10
- 0x3C040202, // 0004 SHR R1 R1 R2
- 0x88080100, // 0005 GETMBR R2 R0 K0
- 0x540E02FF, // 0006 LDINT R3 768
- 0x2C080403, // 0007 AND R2 R2 R3
- 0x540E0005, // 0008 LDINT R3 6
- 0x38080403, // 0009 SHL R2 R2 R3
- 0x880C0101, // 000A GETMBR R3 R0 K1
- 0x54123FFE, // 000B LDINT R4 16383
- 0x2C0C0604, // 000C AND R3 R3 R4
- 0x30080403, // 000D OR R2 R2 R3
- 0x880C0101, // 000E GETMBR R3 R0 K1
- 0x5412000D, // 000F LDINT R4 14
- 0x3C0C0604, // 0010 SHR R3 R3 R4
- 0x60100018, // 0011 GETGBL R4 G24
- 0x58140002, // 0012 LDCONST R5 K2
- 0x5C180200, // 0013 MOVE R6 R1
- 0x5C1C0400, // 0014 MOVE R7 R2
- 0x5C200600, // 0015 MOVE R8 R3
- 0x7C100800, // 0016 CALL R4 4
- 0xB8160600, // 0017 GETNGBL R5 K3
- 0x88140B04, // 0018 GETMBR R5 R5 K4
- 0x8C140B05, // 0019 GETMET R5 R5 K5
- 0x5C1C0800, // 001A MOVE R7 R4
- 0x7C140400, // 001B CALL R5 2
- 0x00100805, // 001C ADD R4 R4 R5
- 0x80040800, // 001D RET 1 R4
+ ( &(const binstruction[24]) { /* code */
+ 0x58040000, // 0000 LDCONST R1 K0
+ 0x58080001, // 0001 LDCONST R2 K1
+ 0x600C0010, // 0002 GETGBL R3 G16
+ 0x8C100302, // 0003 GETMET R4 R1 K2
+ 0x5C180000, // 0004 MOVE R6 R0
+ 0x7C100400, // 0005 CALL R4 2
+ 0x7C0C0200, // 0006 CALL R3 1
+ 0xA802000B, // 0007 EXBLK 0 #0014
+ 0x5C100600, // 0008 MOVE R4 R3
+ 0x7C100000, // 0009 CALL R4 0
+ 0x1C140903, // 000A EQ R5 R4 K3
+ 0x78160000, // 000B JMPF R5 #000D
+ 0x7001FFFA, // 000C JMP #0008
+ 0x60140018, // 000D GETGBL R5 G24
+ 0x58180004, // 000E LDCONST R6 K4
+ 0x5C1C0800, // 000F MOVE R7 R4
+ 0x94200004, // 0010 GETIDX R8 R0 R4
+ 0x7C140600, // 0011 CALL R5 3
+ 0x00080405, // 0012 ADD R2 R2 R5
+ 0x7001FFF3, // 0013 JMP #0008
+ 0x580C0005, // 0014 LDCONST R3 K5
+ 0xAC0C0200, // 0015 CATCH R3 1 0
+ 0xB0080000, // 0016 RAISE 2 R0 R0
+ 0x80040400, // 0017 RET 1 R2
})
)
);
@@ -4000,110 +722,12 @@ be_local_closure(class_Matter_Device_compute_manual_pairing_code, /* name */
/********************************************************************
-** Solidified function: get_plugin_remote_info
+** Solidified function: generate_random_passcode
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_get_plugin_remote_info, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_config_remotes),
- /* K1 */ be_nested_str_weak(find),
- }),
- be_str_weak(get_plugin_remote_info),
- &be_const_str_solidified,
- ( &(const binstruction[ 7]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x60140013, // 0003 GETGBL R5 G19
- 0x7C140000, // 0004 CALL R5 0
- 0x7C080600, // 0005 CALL R2 3
- 0x80040400, // 0006 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: find_plugin_by_friendly_name
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_find_plugin_by_friendly_name, /* name */
+be_local_closure(class_Matter_Device_generate_random_passcode, /* name */
be_nested_proto(
7, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_const_int(0),
- /* K1 */ be_nested_str_weak(plugins),
- /* K2 */ be_nested_str_weak(get_name),
- /* K3 */ be_const_int(1),
- }),
- be_str_weak(find_plugin_by_friendly_name),
- &be_const_str_solidified,
- ( &(const binstruction[35]) { /* code */
- 0x4C080000, // 0000 LDNIL R2
- 0x1C080202, // 0001 EQ R2 R1 R2
- 0x740A0004, // 0002 JMPT R2 #0008
- 0x6008000C, // 0003 GETGBL R2 G12
- 0x5C0C0200, // 0004 MOVE R3 R1
- 0x7C080200, // 0005 CALL R2 1
- 0x1C080500, // 0006 EQ R2 R2 K0
- 0x780A0001, // 0007 JMPF R2 #000A
- 0x4C080000, // 0008 LDNIL R2
- 0x80040400, // 0009 RET 1 R2
- 0x58080000, // 000A LDCONST R2 K0
- 0x600C000C, // 000B GETGBL R3 G12
- 0x88100101, // 000C GETMBR R4 R0 K1
- 0x7C0C0200, // 000D CALL R3 1
- 0x140C0403, // 000E LT R3 R2 R3
- 0x780E0010, // 000F JMPF R3 #0021
- 0x880C0101, // 0010 GETMBR R3 R0 K1
- 0x940C0602, // 0011 GETIDX R3 R3 R2
- 0x8C100702, // 0012 GETMET R4 R3 K2
- 0x7C100200, // 0013 CALL R4 1
- 0x4C140000, // 0014 LDNIL R5
- 0x20140805, // 0015 NE R5 R4 R5
- 0x78160007, // 0016 JMPF R5 #001F
- 0x6014000C, // 0017 GETGBL R5 G12
- 0x5C180800, // 0018 MOVE R6 R4
- 0x7C140200, // 0019 CALL R5 1
- 0x24140B00, // 001A GT R5 R5 K0
- 0x78160002, // 001B JMPF R5 #001F
- 0x1C140801, // 001C EQ R5 R4 R1
- 0x78160000, // 001D JMPF R5 #001F
- 0x80040600, // 001E RET 1 R3
- 0x00080503, // 001F ADD R2 R2 K3
- 0x7001FFE9, // 0020 JMP #000B
- 0x4C0C0000, // 0021 LDNIL R3
- 0x80040600, // 0022 RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _trigger_read_sensors
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__trigger_read_sensors, /* name */
- be_nested_proto(
- 8, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -4111,72 +735,54 @@ be_local_closure(class_Matter_Device__trigger_read_sensors, /* name */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[13]) { /* constants */
- /* K0 */ be_nested_str_weak(json),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(read_sensors),
- /* K3 */ be_nested_str_weak(loglevel),
- /* K4 */ be_const_int(3),
- /* K5 */ be_nested_str_weak(log),
- /* K6 */ be_nested_str_weak(MTR_X3A_X20read_sensors_X3A_X20),
- /* K7 */ be_nested_str_weak(load),
- /* K8 */ be_const_int(0),
- /* K9 */ be_nested_str_weak(plugins),
- /* K10 */ be_nested_str_weak(parse_sensors),
- /* K11 */ be_const_int(1),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20unable_X20to_X20parse_X20read_sensors_X3A_X20),
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(random),
+ /* K2 */ be_nested_str_weak(get),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_const_int(134217727),
+ /* K5 */ be_const_int(99999998),
+ /* K6 */ be_nested_str_weak(PASSCODE_INVALID),
+ /* K7 */ be_nested_str_weak(stop_iteration),
}),
- be_str_weak(_trigger_read_sensors),
+ be_str_weak(generate_random_passcode),
&be_const_str_solidified,
- ( &(const binstruction[48]) { /* code */
+ ( &(const binstruction[35]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
- 0xB80A0200, // 0001 GETNGBL R2 K1
- 0x8C080502, // 0002 GETMET R2 R2 K2
- 0x7C080200, // 0003 CALL R2 1
- 0xB80E0200, // 0004 GETNGBL R3 K1
- 0x8C0C0703, // 0005 GETMET R3 R3 K3
- 0x58140004, // 0006 LDCONST R5 K4
- 0x7C0C0400, // 0007 CALL R3 2
- 0x780E0006, // 0008 JMPF R3 #0010
- 0xB80E0A00, // 0009 GETNGBL R3 K5
- 0x60100008, // 000A GETGBL R4 G8
- 0x5C140400, // 000B MOVE R5 R2
- 0x7C100200, // 000C CALL R4 1
- 0x00120C04, // 000D ADD R4 K6 R4
- 0x58140004, // 000E LDCONST R5 K4
- 0x7C0C0400, // 000F CALL R3 2
- 0x4C0C0000, // 0010 LDNIL R3
- 0x1C0C0403, // 0011 EQ R3 R2 R3
- 0x780E0000, // 0012 JMPF R3 #0014
- 0x80000600, // 0013 RET 0
- 0x8C0C0307, // 0014 GETMET R3 R1 K7
- 0x5C140400, // 0015 MOVE R5 R2
- 0x7C0C0400, // 0016 CALL R3 2
- 0x4C100000, // 0017 LDNIL R4
- 0x20100604, // 0018 NE R4 R3 R4
- 0x7812000D, // 0019 JMPF R4 #0028
- 0x58100008, // 001A LDCONST R4 K8
- 0x6014000C, // 001B GETGBL R5 G12
- 0x88180109, // 001C GETMBR R6 R0 K9
- 0x7C140200, // 001D CALL R5 1
- 0x14140805, // 001E LT R5 R4 R5
- 0x78160006, // 001F JMPF R5 #0027
- 0x88140109, // 0020 GETMBR R5 R0 K9
- 0x94140A04, // 0021 GETIDX R5 R5 R4
- 0x8C140B0A, // 0022 GETMET R5 R5 K10
- 0x5C1C0600, // 0023 MOVE R7 R3
- 0x7C140400, // 0024 CALL R5 2
- 0x0010090B, // 0025 ADD R4 R4 K11
- 0x7001FFF3, // 0026 JMP #001B
- 0x70020006, // 0027 JMP #002F
- 0xB8120A00, // 0028 GETNGBL R4 K5
- 0x60140008, // 0029 GETGBL R5 G8
- 0x5C180400, // 002A MOVE R6 R2
- 0x7C140200, // 002B CALL R5 1
- 0x00161805, // 002C ADD R5 K12 R5
- 0x58180004, // 002D LDCONST R6 K4
- 0x7C100400, // 002E CALL R4 2
- 0x80000000, // 002F RET 0
+ 0x4C080000, // 0001 LDNIL R2
+ 0x500C0200, // 0002 LDBOOL R3 1 0
+ 0x780E001D, // 0003 JMPF R3 #0022
+ 0x8C0C0301, // 0004 GETMET R3 R1 K1
+ 0x54160003, // 0005 LDINT R5 4
+ 0x7C0C0400, // 0006 CALL R3 2
+ 0x8C0C0702, // 0007 GETMET R3 R3 K2
+ 0x58140003, // 0008 LDCONST R5 K3
+ 0x541A0003, // 0009 LDINT R6 4
+ 0x7C0C0600, // 000A CALL R3 3
+ 0x2C0C0704, // 000B AND R3 R3 K4
+ 0x5C080600, // 000C MOVE R2 R3
+ 0x240C0505, // 000D GT R3 R2 K5
+ 0x780E0000, // 000E JMPF R3 #0010
+ 0x7001FFF1, // 000F JMP #0002
+ 0x600C0010, // 0010 GETGBL R3 G16
+ 0x88100106, // 0011 GETMBR R4 R0 K6
+ 0x7C0C0200, // 0012 CALL R3 1
+ 0xA8020005, // 0013 EXBLK 0 #001A
+ 0x5C100600, // 0014 MOVE R4 R3
+ 0x7C100000, // 0015 CALL R4 0
+ 0x1C140404, // 0016 EQ R5 R2 R4
+ 0x78160000, // 0017 JMPF R5 #0019
+ 0x4C080000, // 0018 LDNIL R2
+ 0x7001FFF9, // 0019 JMP #0014
+ 0x580C0007, // 001A LDCONST R3 K7
+ 0xAC0C0200, // 001B CATCH R3 1 0
+ 0xB0080000, // 001C RAISE 2 R0 R0
+ 0x4C0C0000, // 001D LDNIL R3
+ 0x200C0403, // 001E NE R3 R2 R3
+ 0x780E0000, // 001F JMPF R3 #0021
+ 0x80040400, // 0020 RET 1 R2
+ 0x7001FFDF, // 0021 JMP #0002
+ 0x80000000, // 0022 RET 0
})
)
);
@@ -4184,12 +790,12 @@ be_local_closure(class_Matter_Device__trigger_read_sensors, /* name */
/********************************************************************
-** Solidified function: adjust_next_ep
+** Solidified function: event_fabrics_saved
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_adjust_next_ep, /* name */
+be_local_closure(class_Matter_Device_event_fabrics_saved, /* name */
be_nested_proto(
- 5, /* nstack */
+ 3, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -4198,89 +804,27 @@ be_local_closure(class_Matter_Device_adjust_next_ep, /* name */
&be_class_Matter_Device,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins_config),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(next_ep),
- /* K3 */ be_const_int(1),
- /* K4 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(adjust_next_ep),
- &be_const_str_solidified,
- ( &(const binstruction[21]) { /* code */
- 0x60040010, // 0000 GETGBL R1 G16
- 0x88080100, // 0001 GETMBR R2 R0 K0
- 0x8C080501, // 0002 GETMET R2 R2 K1
- 0x7C080200, // 0003 CALL R2 1
- 0x7C040200, // 0004 CALL R1 1
- 0xA802000A, // 0005 EXBLK 0 #0011
- 0x5C080200, // 0006 MOVE R2 R1
- 0x7C080000, // 0007 CALL R2 0
- 0x600C0009, // 0008 GETGBL R3 G9
- 0x5C100400, // 0009 MOVE R4 R2
- 0x7C0C0200, // 000A CALL R3 1
- 0x88100102, // 000B GETMBR R4 R0 K2
- 0x28100604, // 000C GE R4 R3 R4
- 0x78120001, // 000D JMPF R4 #0010
- 0x00100703, // 000E ADD R4 R3 K3
- 0x90020404, // 000F SETMBR R0 K2 R4
- 0x7001FFF4, // 0010 JMP #0006
- 0x58040004, // 0011 LDCONST R1 K4
- 0xAC040200, // 0012 CATCH R1 1 0
- 0xB0080000, // 0013 RAISE 2 R0 R0
- 0x80000000, // 0014 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: mdns_remove_op_discovery_all_fabrics
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_mdns_remove_op_discovery_all_fabrics, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(active_fabrics),
- /* K2 */ be_nested_str_weak(get_device_id),
- /* K3 */ be_nested_str_weak(get_fabric_id),
- /* K4 */ be_nested_str_weak(mdns_remove_op_discovery),
- /* K5 */ be_nested_str_weak(stop_iteration),
+ /* K1 */ be_nested_str_weak(count_active_fabrics),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(plugins_persist),
+ /* K4 */ be_nested_str_weak(save_param),
}),
- be_str_weak(mdns_remove_op_discovery_all_fabrics),
+ be_str_weak(event_fabrics_saved),
&be_const_str_solidified,
- ( &(const binstruction[22]) { /* code */
- 0x60040010, // 0000 GETGBL R1 G16
- 0x88080100, // 0001 GETMBR R2 R0 K0
- 0x8C080501, // 0002 GETMET R2 R2 K1
- 0x7C080200, // 0003 CALL R2 1
- 0x7C040200, // 0004 CALL R1 1
- 0xA802000B, // 0005 EXBLK 0 #0012
- 0x5C080200, // 0006 MOVE R2 R1
- 0x7C080000, // 0007 CALL R2 0
- 0x8C0C0502, // 0008 GETMET R3 R2 K2
- 0x7C0C0200, // 0009 CALL R3 1
- 0x780E0005, // 000A JMPF R3 #0011
- 0x8C0C0503, // 000B GETMET R3 R2 K3
- 0x7C0C0200, // 000C CALL R3 1
- 0x780E0002, // 000D JMPF R3 #0011
- 0x8C0C0104, // 000E GETMET R3 R0 K4
- 0x5C140400, // 000F MOVE R5 R2
- 0x7C0C0400, // 0010 CALL R3 2
- 0x7001FFF3, // 0011 JMP #0006
- 0x58040005, // 0012 LDCONST R1 K5
- 0xAC040200, // 0013 CATCH R1 1 0
- 0xB0080000, // 0014 RAISE 2 R0 R0
- 0x80000000, // 0015 RET 0
+ ( &(const binstruction[12]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x24040302, // 0003 GT R1 R1 K2
+ 0x78060005, // 0004 JMPF R1 #000B
+ 0x88040103, // 0005 GETMBR R1 R0 K3
+ 0x74060003, // 0006 JMPT R1 #000B
+ 0x50040200, // 0007 LDBOOL R1 1 0
+ 0x90020601, // 0008 SETMBR R0 K3 R1
+ 0x8C040104, // 0009 GETMET R1 R0 K4
+ 0x7C040200, // 000A CALL R1 1
+ 0x80000000, // 000B RET 0
})
)
);
@@ -4288,58 +832,113 @@ be_local_closure(class_Matter_Device_mdns_remove_op_discovery_all_fabrics, /*
/********************************************************************
-** Solidified function: get_active_endpoints
+** Solidified function: process_attribute_expansion
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_get_active_endpoints, /* name */
+be_local_closure(class_Matter_Device_process_attribute_expansion, /* name */
be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
+ 16, /* nstack */
+ 3, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(plugins),
- /* K1 */ be_nested_str_weak(get_endpoint),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(find),
- /* K4 */ be_nested_str_weak(push),
- /* K5 */ be_nested_str_weak(stop_iteration),
+ ( &(const bvalue[16]) { /* constants */
+ /* K0 */ be_nested_str_weak(endpoint),
+ /* K1 */ be_nested_str_weak(cluster),
+ /* K2 */ be_nested_str_weak(attribute),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(PathGenerator),
+ /* K5 */ be_nested_str_weak(start),
+ /* K6 */ be_nested_str_weak(next),
+ /* K7 */ be_nested_str_weak(get_pi),
+ /* K8 */ be_nested_str_weak(endpoint_found),
+ /* K9 */ be_nested_str_weak(status),
+ /* K10 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
+ /* K11 */ be_nested_str_weak(cluster_found),
+ /* K12 */ be_nested_str_weak(UNSUPPORTED_CLUSTER),
+ /* K13 */ be_nested_str_weak(attribute_found),
+ /* K14 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
+ /* K15 */ be_nested_str_weak(UNREPORTABLE_ATTRIBUTE),
}),
- be_str_weak(get_active_endpoints),
+ be_str_weak(process_attribute_expansion),
&be_const_str_solidified,
- ( &(const binstruction[28]) { /* code */
- 0x60080012, // 0000 GETGBL R2 G18
- 0x7C080000, // 0001 CALL R2 0
- 0x600C0010, // 0002 GETGBL R3 G16
- 0x88100100, // 0003 GETMBR R4 R0 K0
- 0x7C0C0200, // 0004 CALL R3 1
- 0xA8020011, // 0005 EXBLK 0 #0018
- 0x5C100600, // 0006 MOVE R4 R3
- 0x7C100000, // 0007 CALL R4 0
- 0x8C140901, // 0008 GETMET R5 R4 K1
- 0x7C140200, // 0009 CALL R5 1
- 0x78060002, // 000A JMPF R1 #000E
- 0x1C180B02, // 000B EQ R6 R5 K2
- 0x781A0000, // 000C JMPF R6 #000E
- 0x7001FFF7, // 000D JMP #0006
- 0x8C180503, // 000E GETMET R6 R2 K3
- 0x5C200A00, // 000F MOVE R8 R5
- 0x7C180400, // 0010 CALL R6 2
- 0x4C1C0000, // 0011 LDNIL R7
- 0x1C180C07, // 0012 EQ R6 R6 R7
- 0x781A0002, // 0013 JMPF R6 #0017
- 0x8C180504, // 0014 GETMET R6 R2 K4
- 0x5C200A00, // 0015 MOVE R8 R5
- 0x7C180400, // 0016 CALL R6 2
- 0x7001FFED, // 0017 JMP #0006
- 0x580C0005, // 0018 LDCONST R3 K5
- 0xAC0C0200, // 0019 CATCH R3 1 0
- 0xB0080000, // 001A RAISE 2 R0 R0
- 0x80040400, // 001B RET 1 R2
+ ( &(const binstruction[73]) { /* code */
+ 0x880C0300, // 0000 GETMBR R3 R1 K0
+ 0x88100301, // 0001 GETMBR R4 R1 K1
+ 0x88140302, // 0002 GETMBR R5 R1 K2
+ 0x50180000, // 0003 LDBOOL R6 0 0
+ 0x501C0000, // 0004 LDBOOL R7 0 0
+ 0x50200000, // 0005 LDBOOL R8 0 0
+ 0x88240300, // 0006 GETMBR R9 R1 K0
+ 0x4C280000, // 0007 LDNIL R10
+ 0x2024120A, // 0008 NE R9 R9 R10
+ 0x78260007, // 0009 JMPF R9 #0012
+ 0x88240301, // 000A GETMBR R9 R1 K1
+ 0x4C280000, // 000B LDNIL R10
+ 0x2024120A, // 000C NE R9 R9 R10
+ 0x78260003, // 000D JMPF R9 #0012
+ 0x88240302, // 000E GETMBR R9 R1 K2
+ 0x4C280000, // 000F LDNIL R10
+ 0x2024120A, // 0010 NE R9 R9 R10
+ 0x74260000, // 0011 JMPT R9 #0013
+ 0x50240001, // 0012 LDBOOL R9 0 1
+ 0x50240200, // 0013 LDBOOL R9 1 0
+ 0xB82A0600, // 0014 GETNGBL R10 K3
+ 0x8C281504, // 0015 GETMET R10 R10 K4
+ 0x5C300000, // 0016 MOVE R12 R0
+ 0x7C280400, // 0017 CALL R10 2
+ 0x8C2C1505, // 0018 GETMET R11 R10 K5
+ 0x5C340200, // 0019 MOVE R13 R1
+ 0x4C380000, // 001A LDNIL R14
+ 0x7C2C0600, // 001B CALL R11 3
+ 0x4C2C0000, // 001C LDNIL R11
+ 0x8C301506, // 001D GETMET R12 R10 K6
+ 0x7C300200, // 001E CALL R12 1
+ 0x5C2C1800, // 001F MOVE R11 R12
+ 0x4C340000, // 0020 LDNIL R13
+ 0x2030180D, // 0021 NE R12 R12 R13
+ 0x78320009, // 0022 JMPF R12 #002D
+ 0x5C300400, // 0023 MOVE R12 R2
+ 0x8C341507, // 0024 GETMET R13 R10 K7
+ 0x7C340200, // 0025 CALL R13 1
+ 0x5C381600, // 0026 MOVE R14 R11
+ 0x5C3C1200, // 0027 MOVE R15 R9
+ 0x7C300600, // 0028 CALL R12 3
+ 0x78260001, // 0029 JMPF R9 #002C
+ 0x78320000, // 002A JMPF R12 #002C
+ 0x80001A00, // 002B RET 0
+ 0x7001FFEF, // 002C JMP #001D
+ 0x78260019, // 002D JMPF R9 #0048
+ 0x88301508, // 002E GETMBR R12 R10 K8
+ 0x74320003, // 002F JMPT R12 #0034
+ 0xB8320600, // 0030 GETNGBL R12 K3
+ 0x8830190A, // 0031 GETMBR R12 R12 K10
+ 0x9006120C, // 0032 SETMBR R1 K9 R12
+ 0x7002000E, // 0033 JMP #0043
+ 0x8830150B, // 0034 GETMBR R12 R10 K11
+ 0x74320003, // 0035 JMPT R12 #003A
+ 0xB8320600, // 0036 GETNGBL R12 K3
+ 0x8830190C, // 0037 GETMBR R12 R12 K12
+ 0x9006120C, // 0038 SETMBR R1 K9 R12
+ 0x70020008, // 0039 JMP #0043
+ 0x8830150D, // 003A GETMBR R12 R10 K13
+ 0x74320003, // 003B JMPT R12 #0040
+ 0xB8320600, // 003C GETNGBL R12 K3
+ 0x8830190E, // 003D GETMBR R12 R12 K14
+ 0x9006120C, // 003E SETMBR R1 K9 R12
+ 0x70020002, // 003F JMP #0043
+ 0xB8320600, // 0040 GETNGBL R12 K3
+ 0x8830190F, // 0041 GETMBR R12 R12 K15
+ 0x9006120C, // 0042 SETMBR R1 K9 R12
+ 0x5C300400, // 0043 MOVE R12 R2
+ 0x4C340000, // 0044 LDNIL R13
+ 0x5C380200, // 0045 MOVE R14 R1
+ 0x503C0200, // 0046 LDBOOL R15 1 0
+ 0x7C300600, // 0047 CALL R12 3
+ 0x80000000, // 0048 RET 0
})
)
);
@@ -4347,10 +946,10 @@ be_local_closure(class_Matter_Device_get_active_endpoints, /* name */
/********************************************************************
-** Solidified function: every_second
+** Solidified function: every_250ms
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_every_second, /* name */
+be_local_closure(class_Matter_Device_every_250ms, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@@ -4361,33 +960,33 @@ be_local_closure(class_Matter_Device_every_second, /* name */
&be_class_Matter_Device,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(every_second),
- /* K2 */ be_nested_str_weak(message_handler),
- /* K3 */ be_nested_str_weak(commissioning_open),
- /* K4 */ be_nested_str_weak(tasmota),
- /* K5 */ be_nested_str_weak(time_reached),
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(every_250ms),
+ /* K2 */ be_nested_str_weak(read_sensors_scheduler),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(plugins),
+ /* K5 */ be_const_int(1),
}),
- be_str_weak(every_second),
+ be_str_weak(every_250ms),
&be_const_str_solidified,
( &(const binstruction[18]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
0x8C040301, // 0001 GETMET R1 R1 K1
0x7C040200, // 0002 CALL R1 1
- 0x88040102, // 0003 GETMBR R1 R0 K2
- 0x8C040301, // 0004 GETMET R1 R1 K1
- 0x7C040200, // 0005 CALL R1 1
- 0x88040103, // 0006 GETMBR R1 R0 K3
- 0x4C080000, // 0007 LDNIL R2
- 0x20040202, // 0008 NE R1 R1 R2
- 0x78060006, // 0009 JMPF R1 #0011
- 0xB8060800, // 000A GETNGBL R1 K4
- 0x8C040305, // 000B GETMET R1 R1 K5
- 0x880C0103, // 000C GETMBR R3 R0 K3
- 0x7C040400, // 000D CALL R1 2
- 0x78060001, // 000E JMPF R1 #0011
- 0x4C040000, // 000F LDNIL R1
- 0x90020601, // 0010 SETMBR R0 K3 R1
+ 0x8C040102, // 0003 GETMET R1 R0 K2
+ 0x7C040200, // 0004 CALL R1 1
+ 0x58040003, // 0005 LDCONST R1 K3
+ 0x6008000C, // 0006 GETGBL R2 G12
+ 0x880C0104, // 0007 GETMBR R3 R0 K4
+ 0x7C080200, // 0008 CALL R2 1
+ 0x14080202, // 0009 LT R2 R1 R2
+ 0x780A0005, // 000A JMPF R2 #0011
+ 0x88080104, // 000B GETMBR R2 R0 K4
+ 0x94080401, // 000C GETIDX R2 R2 R1
+ 0x8C080501, // 000D GETMET R2 R2 K1
+ 0x7C080200, // 000E CALL R2 1
+ 0x00040305, // 000F ADD R1 R1 K5
+ 0x7001FFF4, // 0010 JMP #0006
0x80000000, // 0011 RET 0
})
)
@@ -4396,121 +995,454 @@ be_local_closure(class_Matter_Device_every_second, /* name */
/********************************************************************
-** Solidified function: clean_remotes
+** Solidified function: invoke_request
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_clean_remotes, /* name */
+be_local_closure(class_Matter_Device_invoke_request, /* name */
be_nested_proto(
- 10, /* nstack */
- 1, /* argc */
+ 12, /* nstack */
+ 4, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[17]) { /* constants */
- /* K0 */ be_nested_str_weak(introspect),
- /* K1 */ be_nested_str_weak(http_remotes),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(stop_iteration),
- /* K4 */ be_nested_str_weak(plugins),
- /* K5 */ be_nested_str_weak(get),
- /* K6 */ be_nested_str_weak(http_remote),
- /* K7 */ be_nested_str_weak(find),
- /* K8 */ be_const_int(1),
- /* K9 */ be_nested_str_weak(keys),
- /* K10 */ be_nested_str_weak(push),
- /* K11 */ be_nested_str_weak(log),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20unused_X20remote_X3A_X20),
- /* K13 */ be_nested_str_weak(addr),
- /* K14 */ be_const_int(3),
- /* K15 */ be_nested_str_weak(close),
- /* K16 */ be_nested_str_weak(remove),
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_const_int(0),
+ /* K1 */ be_nested_str_weak(endpoint),
+ /* K2 */ be_nested_str_weak(plugins),
+ /* K3 */ be_nested_str_weak(invoke_request),
+ /* K4 */ be_const_int(1),
+ /* K5 */ be_nested_str_weak(status),
+ /* K6 */ be_nested_str_weak(matter),
+ /* K7 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
}),
- be_str_weak(clean_remotes),
+ be_str_weak(invoke_request),
&be_const_str_solidified,
- ( &(const binstruction[80]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x780A004B, // 0002 JMPF R2 #004F
- 0x60080013, // 0003 GETGBL R2 G19
- 0x7C080000, // 0004 CALL R2 0
- 0x600C0010, // 0005 GETGBL R3 G16
- 0x88100101, // 0006 GETMBR R4 R0 K1
+ ( &(const binstruction[24]) { /* code */
+ 0x58100000, // 0000 LDCONST R4 K0
+ 0x88140701, // 0001 GETMBR R5 R3 K1
+ 0x6018000C, // 0002 GETGBL R6 G12
+ 0x881C0102, // 0003 GETMBR R7 R0 K2
+ 0x7C180200, // 0004 CALL R6 1
+ 0x14180806, // 0005 LT R6 R4 R6
+ 0x781A000C, // 0006 JMPF R6 #0014
+ 0x88180102, // 0007 GETMBR R6 R0 K2
+ 0x94180C04, // 0008 GETIDX R6 R6 R4
+ 0x881C0D01, // 0009 GETMBR R7 R6 K1
+ 0x1C1C0E05, // 000A EQ R7 R7 R5
+ 0x781E0005, // 000B JMPF R7 #0012
+ 0x8C1C0D03, // 000C GETMET R7 R6 K3
+ 0x5C240200, // 000D MOVE R9 R1
+ 0x5C280400, // 000E MOVE R10 R2
+ 0x5C2C0600, // 000F MOVE R11 R3
+ 0x7C1C0800, // 0010 CALL R7 4
+ 0x80040E00, // 0011 RET 1 R7
+ 0x00100904, // 0012 ADD R4 R4 K4
+ 0x7001FFED, // 0013 JMP #0002
+ 0xB81A0C00, // 0014 GETNGBL R6 K6
+ 0x88180D07, // 0015 GETMBR R6 R6 K7
+ 0x900E0A06, // 0016 SETMBR R3 K5 R6
+ 0x80000000, // 0017 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: k2l
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_k2l, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Device),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(push),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ /* K4 */ be_const_int(1),
+ /* K5 */ be_const_int(0),
+ }),
+ be_str_weak(k2l),
+ &be_const_str_solidified,
+ ( &(const binstruction[50]) { /* code */
+ 0x58040000, // 0000 LDCONST R1 K0
+ 0x60080012, // 0001 GETGBL R2 G18
+ 0x7C080000, // 0002 CALL R2 0
+ 0x4C0C0000, // 0003 LDNIL R3
+ 0x1C0C0003, // 0004 EQ R3 R0 R3
+ 0x780E0000, // 0005 JMPF R3 #0007
+ 0x80040400, // 0006 RET 1 R2
+ 0x600C0010, // 0007 GETGBL R3 G16
+ 0x8C100101, // 0008 GETMET R4 R0 K1
+ 0x7C100200, // 0009 CALL R4 1
+ 0x7C0C0200, // 000A CALL R3 1
+ 0xA8020005, // 000B EXBLK 0 #0012
+ 0x5C100600, // 000C MOVE R4 R3
+ 0x7C100000, // 000D CALL R4 0
+ 0x8C140502, // 000E GETMET R5 R2 K2
+ 0x5C1C0800, // 000F MOVE R7 R4
+ 0x7C140400, // 0010 CALL R5 2
+ 0x7001FFF9, // 0011 JMP #000C
+ 0x580C0003, // 0012 LDCONST R3 K3
+ 0xAC0C0200, // 0013 CATCH R3 1 0
+ 0xB0080000, // 0014 RAISE 2 R0 R0
+ 0x600C0010, // 0015 GETGBL R3 G16
+ 0x6010000C, // 0016 GETGBL R4 G12
+ 0x5C140400, // 0017 MOVE R5 R2
+ 0x7C100200, // 0018 CALL R4 1
+ 0x04100904, // 0019 SUB R4 R4 K4
+ 0x40120804, // 001A CONNECT R4 K4 R4
+ 0x7C0C0200, // 001B CALL R3 1
+ 0xA8020010, // 001C EXBLK 0 #002E
+ 0x5C100600, // 001D MOVE R4 R3
+ 0x7C100000, // 001E CALL R4 0
+ 0x94140404, // 001F GETIDX R5 R2 R4
+ 0x5C180800, // 0020 MOVE R6 R4
+ 0x241C0D05, // 0021 GT R7 R6 K5
+ 0x781E0008, // 0022 JMPF R7 #002C
+ 0x041C0D04, // 0023 SUB R7 R6 K4
+ 0x941C0407, // 0024 GETIDX R7 R2 R7
+ 0x241C0E05, // 0025 GT R7 R7 R5
+ 0x781E0004, // 0026 JMPF R7 #002C
+ 0x041C0D04, // 0027 SUB R7 R6 K4
+ 0x941C0407, // 0028 GETIDX R7 R2 R7
+ 0x98080C07, // 0029 SETIDX R2 R6 R7
+ 0x04180D04, // 002A SUB R6 R6 K4
+ 0x7001FFF4, // 002B JMP #0021
+ 0x98080C05, // 002C SETIDX R2 R6 R5
+ 0x7001FFEE, // 002D JMP #001D
+ 0x580C0003, // 002E LDCONST R3 K3
+ 0xAC0C0200, // 002F CATCH R3 1 0
+ 0xB0080000, // 0030 RAISE 2 R0 R0
+ 0x80040400, // 0031 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _instantiate_plugins_from_config
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device__instantiate_plugins_from_config, /* name */
+ be_nested_proto(
+ 17, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[31]) { /* constants */
+ /* K0 */ be_nested_str_weak(k2l_num),
+ /* K1 */ be_nested_str_weak(plugins),
+ /* K2 */ be_nested_str_weak(push),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(Plugin_Root),
+ /* K5 */ be_const_int(0),
+ /* K6 */ be_nested_str_weak(log),
+ /* K7 */ be_nested_str_weak(MTR_X3A_X20Configuring_X20endpoints),
+ /* K8 */ be_const_int(2),
+ /* K9 */ be_nested_str_weak(MTR_X3A_X20_X20_X20endpoint_X20_X3D_X20_X255i_X20type_X3A_X25s_X25s),
+ /* K10 */ be_nested_str_weak(root),
+ /* K11 */ be_nested_str_weak(),
+ /* K12 */ be_nested_str_weak(Plugin_Aggregator),
+ /* K13 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
+ /* K14 */ be_nested_str_weak(aggregator),
+ /* K15 */ be_nested_str_weak(find),
+ /* K16 */ be_nested_str_weak(type),
+ /* K17 */ be_nested_str_weak(MTR_X3A_X20no_X20class_X20name_X2C_X20skipping),
+ /* K18 */ be_const_int(3),
+ /* K19 */ be_nested_str_weak(MTR_X3A_X20only_X20one_X20root_X20node_X20allowed),
+ /* K20 */ be_nested_str_weak(plugins_classes),
+ /* K21 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
+ /* K22 */ be_nested_str_weak(_X27_X20skipping),
+ /* K23 */ be_nested_str_weak(conf_to_log),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K25 */ be_nested_str_weak(_X7C),
+ /* K26 */ be_nested_str_weak(stop_iteration),
+ /* K27 */ be_nested_str_weak(tasmota),
+ /* K28 */ be_nested_str_weak(publish_result),
+ /* K29 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Initialized_X22_X3A1_X7D_X7D),
+ /* K30 */ be_nested_str_weak(Matter),
+ }),
+ be_str_weak(_instantiate_plugins_from_config),
+ &be_const_str_solidified,
+ ( &(const binstruction[146]) { /* code */
+ 0x8C080100, // 0000 GETMET R2 R0 K0
+ 0x5C100200, // 0001 MOVE R4 R1
+ 0x7C080400, // 0002 CALL R2 2
+ 0x880C0101, // 0003 GETMBR R3 R0 K1
+ 0x8C0C0702, // 0004 GETMET R3 R3 K2
+ 0xB8160600, // 0005 GETNGBL R5 K3
+ 0x8C140B04, // 0006 GETMET R5 R5 K4
+ 0x5C1C0000, // 0007 MOVE R7 R0
+ 0x58200005, // 0008 LDCONST R8 K5
+ 0x60240013, // 0009 GETGBL R9 G19
+ 0x7C240000, // 000A CALL R9 0
+ 0x7C140800, // 000B CALL R5 4
+ 0x7C0C0400, // 000C CALL R3 2
+ 0xB80E0C00, // 000D GETNGBL R3 K6
+ 0x58100007, // 000E LDCONST R4 K7
+ 0x58140008, // 000F LDCONST R5 K8
+ 0x7C0C0400, // 0010 CALL R3 2
+ 0xB80E0C00, // 0011 GETNGBL R3 K6
+ 0x60100018, // 0012 GETGBL R4 G24
+ 0x58140009, // 0013 LDCONST R5 K9
+ 0x58180005, // 0014 LDCONST R6 K5
+ 0x581C000A, // 0015 LDCONST R7 K10
+ 0x5820000B, // 0016 LDCONST R8 K11
+ 0x7C100800, // 0017 CALL R4 4
+ 0x58140008, // 0018 LDCONST R5 K8
+ 0x7C0C0400, // 0019 CALL R3 2
+ 0x880C0101, // 001A GETMBR R3 R0 K1
+ 0x8C0C0702, // 001B GETMET R3 R3 K2
+ 0xB8160600, // 001C GETNGBL R5 K3
+ 0x8C140B0C, // 001D GETMET R5 R5 K12
+ 0x5C1C0000, // 001E MOVE R7 R0
+ 0xB8220600, // 001F GETNGBL R8 K3
+ 0x8820110D, // 0020 GETMBR R8 R8 K13
+ 0x60240013, // 0021 GETGBL R9 G19
+ 0x7C240000, // 0022 CALL R9 0
+ 0x7C140800, // 0023 CALL R5 4
+ 0x7C0C0400, // 0024 CALL R3 2
+ 0xB80E0C00, // 0025 GETNGBL R3 K6
+ 0x60100018, // 0026 GETGBL R4 G24
+ 0x58140009, // 0027 LDCONST R5 K9
+ 0xB81A0600, // 0028 GETNGBL R6 K3
+ 0x88180D0D, // 0029 GETMBR R6 R6 K13
+ 0x581C000E, // 002A LDCONST R7 K14
+ 0x5820000B, // 002B LDCONST R8 K11
+ 0x7C100800, // 002C CALL R4 4
+ 0x58140008, // 002D LDCONST R5 K8
+ 0x7C0C0400, // 002E CALL R3 2
+ 0x600C0010, // 002F GETGBL R3 G16
+ 0x5C100400, // 0030 MOVE R4 R2
+ 0x7C0C0200, // 0031 CALL R3 1
+ 0xA8020055, // 0032 EXBLK 0 #0089
+ 0x5C100600, // 0033 MOVE R4 R3
+ 0x7C100000, // 0034 CALL R4 0
+ 0x1C140905, // 0035 EQ R5 R4 K5
+ 0x78160000, // 0036 JMPF R5 #0038
+ 0x7001FFFA, // 0037 JMP #0033
+ 0xA802003E, // 0038 EXBLK 0 #0078
+ 0x60140008, // 0039 GETGBL R5 G8
+ 0x5C180800, // 003A MOVE R6 R4
+ 0x7C140200, // 003B CALL R5 1
+ 0x94140205, // 003C GETIDX R5 R1 R5
+ 0x8C180B0F, // 003D GETMET R6 R5 K15
+ 0x58200010, // 003E LDCONST R8 K16
+ 0x7C180400, // 003F CALL R6 2
+ 0x4C1C0000, // 0040 LDNIL R7
+ 0x1C1C0C07, // 0041 EQ R7 R6 R7
+ 0x781E0005, // 0042 JMPF R7 #0049
+ 0xB81E0C00, // 0043 GETNGBL R7 K6
+ 0x58200011, // 0044 LDCONST R8 K17
+ 0x58240012, // 0045 LDCONST R9 K18
+ 0x7C1C0400, // 0046 CALL R7 2
+ 0xA8040001, // 0047 EXBLK 1 1
+ 0x7001FFE9, // 0048 JMP #0033
+ 0x1C1C0D0A, // 0049 EQ R7 R6 K10
+ 0x781E0005, // 004A JMPF R7 #0051
+ 0xB81E0C00, // 004B GETNGBL R7 K6
+ 0x58200013, // 004C LDCONST R8 K19
+ 0x58240012, // 004D LDCONST R9 K18
+ 0x7C1C0400, // 004E CALL R7 2
+ 0xA8040001, // 004F EXBLK 1 1
+ 0x7001FFE1, // 0050 JMP #0033
+ 0x881C0114, // 0051 GETMBR R7 R0 K20
+ 0x8C1C0F0F, // 0052 GETMET R7 R7 K15
+ 0x5C240C00, // 0053 MOVE R9 R6
+ 0x7C1C0400, // 0054 CALL R7 2
+ 0x4C200000, // 0055 LDNIL R8
+ 0x1C200E08, // 0056 EQ R8 R7 R8
+ 0x78220009, // 0057 JMPF R8 #0062
+ 0xB8220C00, // 0058 GETNGBL R8 K6
+ 0x60240008, // 0059 GETGBL R9 G8
+ 0x5C280C00, // 005A MOVE R10 R6
+ 0x7C240200, // 005B CALL R9 1
+ 0x00262A09, // 005C ADD R9 K21 R9
+ 0x00241316, // 005D ADD R9 R9 K22
+ 0x58280008, // 005E LDCONST R10 K8
+ 0x7C200400, // 005F CALL R8 2
+ 0xA8040001, // 0060 EXBLK 1 1
+ 0x7001FFD0, // 0061 JMP #0033
+ 0x5C200E00, // 0062 MOVE R8 R7
+ 0x5C240000, // 0063 MOVE R9 R0
+ 0x5C280800, // 0064 MOVE R10 R4
+ 0x5C2C0A00, // 0065 MOVE R11 R5
+ 0x7C200600, // 0066 CALL R8 3
+ 0x88240101, // 0067 GETMBR R9 R0 K1
+ 0x8C241302, // 0068 GETMET R9 R9 K2
+ 0x5C2C1000, // 0069 MOVE R11 R8
+ 0x7C240400, // 006A CALL R9 2
+ 0xB8260C00, // 006B GETNGBL R9 K6
+ 0x60280018, // 006C GETGBL R10 G24
+ 0x582C0009, // 006D LDCONST R11 K9
+ 0x5C300800, // 006E MOVE R12 R4
+ 0x5C340C00, // 006F MOVE R13 R6
+ 0x8C380117, // 0070 GETMET R14 R0 K23
+ 0x5C400A00, // 0071 MOVE R16 R5
+ 0x7C380400, // 0072 CALL R14 2
+ 0x7C280800, // 0073 CALL R10 4
+ 0x582C0008, // 0074 LDCONST R11 K8
+ 0x7C240400, // 0075 CALL R9 2
+ 0xA8040001, // 0076 EXBLK 1 1
+ 0x7002000F, // 0077 JMP #0088
+ 0xAC140002, // 0078 CATCH R5 0 2
+ 0x7002000C, // 0079 JMP #0087
+ 0xB81E0C00, // 007A GETNGBL R7 K6
+ 0x60200008, // 007B GETGBL R8 G8
+ 0x5C240A00, // 007C MOVE R9 R5
+ 0x7C200200, // 007D CALL R8 1
+ 0x00223008, // 007E ADD R8 K24 R8
+ 0x00201119, // 007F ADD R8 R8 K25
+ 0x60240008, // 0080 GETGBL R9 G8
+ 0x5C280C00, // 0081 MOVE R10 R6
+ 0x7C240200, // 0082 CALL R9 1
+ 0x00201009, // 0083 ADD R8 R8 R9
+ 0x58240008, // 0084 LDCONST R9 K8
+ 0x7C1C0400, // 0085 CALL R7 2
+ 0x70020000, // 0086 JMP #0088
+ 0xB0080000, // 0087 RAISE 2 R0 R0
+ 0x7001FFA9, // 0088 JMP #0033
+ 0x580C001A, // 0089 LDCONST R3 K26
+ 0xAC0C0200, // 008A CATCH R3 1 0
+ 0xB0080000, // 008B RAISE 2 R0 R0
+ 0xB80E3600, // 008C GETNGBL R3 K27
+ 0x8C0C071C, // 008D GETMET R3 R3 K28
+ 0x5814001D, // 008E LDCONST R5 K29
+ 0x5818001E, // 008F LDCONST R6 K30
+ 0x7C0C0600, // 0090 CALL R3 3
+ 0x80000000, // 0091 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: add_read_sensors_schedule
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_add_read_sensors_schedule, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(probe_sensor_time),
+ /* K1 */ be_nested_str_weak(probe_sensor_timestamp),
+ /* K2 */ be_nested_str_weak(matter),
+ /* K3 */ be_nested_str_weak(jitter),
+ }),
+ be_str_weak(add_read_sensors_schedule),
+ &be_const_str_solidified,
+ ( &(const binstruction[14]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x4C0C0000, // 0001 LDNIL R3
+ 0x1C080403, // 0002 EQ R2 R2 R3
+ 0x740A0002, // 0003 JMPT R2 #0007
+ 0x88080100, // 0004 GETMBR R2 R0 K0
+ 0x24080401, // 0005 GT R2 R2 R1
+ 0x780A0005, // 0006 JMPF R2 #000D
+ 0x90020001, // 0007 SETMBR R0 K0 R1
+ 0xB80A0400, // 0008 GETNGBL R2 K2
+ 0x8C080503, // 0009 GETMET R2 R2 K3
+ 0x5C100200, // 000A MOVE R4 R1
+ 0x7C080400, // 000B CALL R2 2
+ 0x90020202, // 000C SETMBR R0 K1 R2
+ 0x80000000, // 000D RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: remove_fabric
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_remove_fabric, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[15]) { /* constants */
+ /* K0 */ be_nested_str_weak(log),
+ /* K1 */ be_nested_str_weak(MTR_X3A_X20removing_X20fabric_X20),
+ /* K2 */ be_nested_str_weak(get_fabric_id),
+ /* K3 */ be_nested_str_weak(copy),
+ /* K4 */ be_nested_str_weak(reverse),
+ /* K5 */ be_nested_str_weak(tohex),
+ /* K6 */ be_const_int(2),
+ /* K7 */ be_nested_str_weak(message_handler),
+ /* K8 */ be_nested_str_weak(im),
+ /* K9 */ be_nested_str_weak(subs_shop),
+ /* K10 */ be_nested_str_weak(remove_by_fabric),
+ /* K11 */ be_nested_str_weak(mdns_remove_op_discovery),
+ /* K12 */ be_nested_str_weak(sessions),
+ /* K13 */ be_nested_str_weak(remove_fabric),
+ /* K14 */ be_nested_str_weak(save_fabrics),
+ }),
+ be_str_weak(remove_fabric),
+ &be_const_str_solidified,
+ ( &(const binstruction[32]) { /* code */
+ 0x4C080000, // 0000 LDNIL R2
+ 0x20080202, // 0001 NE R2 R1 R2
+ 0x780A0018, // 0002 JMPF R2 #001C
+ 0xB80A0000, // 0003 GETNGBL R2 K0
+ 0x8C0C0302, // 0004 GETMET R3 R1 K2
+ 0x7C0C0200, // 0005 CALL R3 1
+ 0x8C0C0703, // 0006 GETMET R3 R3 K3
0x7C0C0200, // 0007 CALL R3 1
- 0xA8020003, // 0008 EXBLK 0 #000D
- 0x5C100600, // 0009 MOVE R4 R3
- 0x7C100000, // 000A CALL R4 0
- 0x98080902, // 000B SETIDX R2 R4 K2
- 0x7001FFFB, // 000C JMP #0009
- 0x580C0003, // 000D LDCONST R3 K3
- 0xAC0C0200, // 000E CATCH R3 1 0
- 0xB0080000, // 000F RAISE 2 R0 R0
- 0x600C0010, // 0010 GETGBL R3 G16
- 0x88100104, // 0011 GETMBR R4 R0 K4
- 0x7C0C0200, // 0012 CALL R3 1
- 0xA802000F, // 0013 EXBLK 0 #0024
- 0x5C100600, // 0014 MOVE R4 R3
- 0x7C100000, // 0015 CALL R4 0
- 0x8C140305, // 0016 GETMET R5 R1 K5
- 0x5C1C0800, // 0017 MOVE R7 R4
- 0x58200006, // 0018 LDCONST R8 K6
- 0x7C140600, // 0019 CALL R5 3
- 0x4C180000, // 001A LDNIL R6
- 0x20180A06, // 001B NE R6 R5 R6
- 0x781A0005, // 001C JMPF R6 #0023
- 0x8C180507, // 001D GETMET R6 R2 K7
- 0x5C200A00, // 001E MOVE R8 R5
- 0x58240002, // 001F LDCONST R9 K2
- 0x7C180600, // 0020 CALL R6 3
- 0x00180D08, // 0021 ADD R6 R6 K8
- 0x98080A06, // 0022 SETIDX R2 R5 R6
- 0x7001FFEF, // 0023 JMP #0014
- 0x580C0003, // 0024 LDCONST R3 K3
- 0xAC0C0200, // 0025 CATCH R3 1 0
- 0xB0080000, // 0026 RAISE 2 R0 R0
- 0x600C0012, // 0027 GETGBL R3 G18
- 0x7C0C0000, // 0028 CALL R3 0
- 0x60100010, // 0029 GETGBL R4 G16
- 0x8C140509, // 002A GETMET R5 R2 K9
- 0x7C140200, // 002B CALL R5 1
- 0x7C100200, // 002C CALL R4 1
- 0xA8020008, // 002D EXBLK 0 #0037
- 0x5C140800, // 002E MOVE R5 R4
- 0x7C140000, // 002F CALL R5 0
- 0x94180405, // 0030 GETIDX R6 R2 R5
- 0x1C180D02, // 0031 EQ R6 R6 K2
- 0x781A0002, // 0032 JMPF R6 #0036
- 0x8C18070A, // 0033 GETMET R6 R3 K10
- 0x5C200A00, // 0034 MOVE R8 R5
- 0x7C180400, // 0035 CALL R6 2
- 0x7001FFF6, // 0036 JMP #002E
- 0x58100003, // 0037 LDCONST R4 K3
- 0xAC100200, // 0038 CATCH R4 1 0
- 0xB0080000, // 0039 RAISE 2 R0 R0
- 0x60100010, // 003A GETGBL R4 G16
- 0x5C140600, // 003B MOVE R5 R3
- 0x7C100200, // 003C CALL R4 1
- 0xA802000D, // 003D EXBLK 0 #004C
- 0x5C140800, // 003E MOVE R5 R4
- 0x7C140000, // 003F CALL R5 0
- 0xB81A1600, // 0040 GETNGBL R6 K11
- 0x881C0B0D, // 0041 GETMBR R7 R5 K13
- 0x001E1807, // 0042 ADD R7 K12 R7
- 0x5820000E, // 0043 LDCONST R8 K14
- 0x7C180400, // 0044 CALL R6 2
- 0x8C180B0F, // 0045 GETMET R6 R5 K15
- 0x7C180200, // 0046 CALL R6 1
- 0x88180101, // 0047 GETMBR R6 R0 K1
- 0x8C180D10, // 0048 GETMET R6 R6 K16
- 0x88200B0D, // 0049 GETMBR R8 R5 K13
- 0x7C180400, // 004A CALL R6 2
- 0x7001FFF1, // 004B JMP #003E
- 0x58100003, // 004C LDCONST R4 K3
- 0xAC100200, // 004D CATCH R4 1 0
- 0xB0080000, // 004E RAISE 2 R0 R0
- 0x80000000, // 004F RET 0
+ 0x8C0C0704, // 0008 GETMET R3 R3 K4
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x8C0C0705, // 000A GETMET R3 R3 K5
+ 0x7C0C0200, // 000B CALL R3 1
+ 0x000E0203, // 000C ADD R3 K1 R3
+ 0x58100006, // 000D LDCONST R4 K6
+ 0x7C080400, // 000E CALL R2 2
+ 0x88080107, // 000F GETMBR R2 R0 K7
+ 0x88080508, // 0010 GETMBR R2 R2 K8
+ 0x88080509, // 0011 GETMBR R2 R2 K9
+ 0x8C08050A, // 0012 GETMET R2 R2 K10
+ 0x5C100200, // 0013 MOVE R4 R1
+ 0x7C080400, // 0014 CALL R2 2
+ 0x8C08010B, // 0015 GETMET R2 R0 K11
+ 0x5C100200, // 0016 MOVE R4 R1
+ 0x7C080400, // 0017 CALL R2 2
+ 0x8808010C, // 0018 GETMBR R2 R0 K12
+ 0x8C08050D, // 0019 GETMET R2 R2 K13
+ 0x5C100200, // 001A MOVE R4 R1
+ 0x7C080400, // 001B CALL R2 2
+ 0x8808010C, // 001C GETMBR R2 R0 K12
+ 0x8C08050E, // 001D GETMET R2 R2 K14
+ 0x7C080200, // 001E CALL R2 1
+ 0x80000000, // 001F RET 0
})
)
);
@@ -4712,10 +1644,244 @@ be_local_closure(class_Matter_Device_load_param, /* name */
/********************************************************************
-** Solidified function: received_ack
+** Solidified function: compute_qrcode_content
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_received_ack, /* name */
+be_local_closure(class_Matter_Device_compute_qrcode_content, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[12]) { /* constants */
+ /* K0 */ be_nested_str_weak(resize),
+ /* K1 */ be_nested_str_weak(setbits),
+ /* K2 */ be_const_int(3),
+ /* K3 */ be_nested_str_weak(vendorid),
+ /* K4 */ be_nested_str_weak(productid),
+ /* K5 */ be_nested_str_weak(root_discriminator),
+ /* K6 */ be_nested_str_weak(root_passcode),
+ /* K7 */ be_const_int(134217727),
+ /* K8 */ be_nested_str_weak(MT_X3A),
+ /* K9 */ be_nested_str_weak(matter),
+ /* K10 */ be_nested_str_weak(Base38),
+ /* K11 */ be_nested_str_weak(encode),
+ }),
+ be_str_weak(compute_qrcode_content),
+ &be_const_str_solidified,
+ ( &(const binstruction[40]) { /* code */
+ 0x60040015, // 0000 GETGBL R1 G21
+ 0x7C040000, // 0001 CALL R1 0
+ 0x8C040300, // 0002 GETMET R1 R1 K0
+ 0x540E000A, // 0003 LDINT R3 11
+ 0x7C040400, // 0004 CALL R1 2
+ 0x8C080301, // 0005 GETMET R2 R1 K1
+ 0x58100002, // 0006 LDCONST R4 K2
+ 0x5416000F, // 0007 LDINT R5 16
+ 0x88180103, // 0008 GETMBR R6 R0 K3
+ 0x7C080800, // 0009 CALL R2 4
+ 0x8C080301, // 000A GETMET R2 R1 K1
+ 0x54120012, // 000B LDINT R4 19
+ 0x5416000F, // 000C LDINT R5 16
+ 0x88180104, // 000D GETMBR R6 R0 K4
+ 0x7C080800, // 000E CALL R2 4
+ 0x8C080301, // 000F GETMET R2 R1 K1
+ 0x54120024, // 0010 LDINT R4 37
+ 0x54160007, // 0011 LDINT R5 8
+ 0x541A0003, // 0012 LDINT R6 4
+ 0x7C080800, // 0013 CALL R2 4
+ 0x8C080301, // 0014 GETMET R2 R1 K1
+ 0x5412002C, // 0015 LDINT R4 45
+ 0x5416000B, // 0016 LDINT R5 12
+ 0x88180105, // 0017 GETMBR R6 R0 K5
+ 0x541E0FFE, // 0018 LDINT R7 4095
+ 0x2C180C07, // 0019 AND R6 R6 R7
+ 0x7C080800, // 001A CALL R2 4
+ 0x8C080301, // 001B GETMET R2 R1 K1
+ 0x54120038, // 001C LDINT R4 57
+ 0x5416001A, // 001D LDINT R5 27
+ 0x88180106, // 001E GETMBR R6 R0 K6
+ 0x2C180D07, // 001F AND R6 R6 K7
+ 0x7C080800, // 0020 CALL R2 4
+ 0xB80A1200, // 0021 GETNGBL R2 K9
+ 0x8808050A, // 0022 GETMBR R2 R2 K10
+ 0x8C08050B, // 0023 GETMET R2 R2 K11
+ 0x5C100200, // 0024 MOVE R4 R1
+ 0x7C080400, // 0025 CALL R2 2
+ 0x000A1002, // 0026 ADD R2 K8 R2
+ 0x80040400, // 0027 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: attribute_updated
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_attribute_updated, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(matter),
+ /* K1 */ be_nested_str_weak(Path),
+ /* K2 */ be_nested_str_weak(endpoint),
+ /* K3 */ be_nested_str_weak(cluster),
+ /* K4 */ be_nested_str_weak(attribute),
+ /* K5 */ be_nested_str_weak(message_handler),
+ /* K6 */ be_nested_str_weak(im),
+ /* K7 */ be_nested_str_weak(subs_shop),
+ /* K8 */ be_nested_str_weak(attribute_updated_ctx),
+ }),
+ be_str_weak(attribute_updated),
+ &be_const_str_solidified,
+ ( &(const binstruction[18]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x1C140805, // 0001 EQ R5 R4 R5
+ 0x78160000, // 0002 JMPF R5 #0004
+ 0x50100000, // 0003 LDBOOL R4 0 0
+ 0xB8160000, // 0004 GETNGBL R5 K0
+ 0x8C140B01, // 0005 GETMET R5 R5 K1
+ 0x7C140200, // 0006 CALL R5 1
+ 0x90160401, // 0007 SETMBR R5 K2 R1
+ 0x90160602, // 0008 SETMBR R5 K3 R2
+ 0x90160803, // 0009 SETMBR R5 K4 R3
+ 0x88180105, // 000A GETMBR R6 R0 K5
+ 0x88180D06, // 000B GETMBR R6 R6 K6
+ 0x88180D07, // 000C GETMBR R6 R6 K7
+ 0x8C180D08, // 000D GETMET R6 R6 K8
+ 0x5C200A00, // 000E MOVE R8 R5
+ 0x5C240800, // 000F MOVE R9 R4
+ 0x7C180600, // 0010 CALL R6 3
+ 0x80000000, // 0011 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: register_http_remote
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_register_http_remote, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_nested_str_weak(http_remotes),
+ /* K1 */ be_nested_str_weak(contains),
+ /* K2 */ be_nested_str_weak(get_timeout),
+ /* K3 */ be_nested_str_weak(set_timeout),
+ /* K4 */ be_nested_str_weak(matter),
+ /* K5 */ be_nested_str_weak(HTTP_remote),
+ /* K6 */ be_nested_str_weak(plugins_config_remotes),
+ /* K7 */ be_nested_str_weak(set_info),
+ }),
+ be_str_weak(register_http_remote),
+ &be_const_str_solidified,
+ ( &(const binstruction[42]) { /* code */
+ 0x880C0100, // 0000 GETMBR R3 R0 K0
+ 0x4C100000, // 0001 LDNIL R4
+ 0x1C0C0604, // 0002 EQ R3 R3 R4
+ 0x780E0002, // 0003 JMPF R3 #0007
+ 0x600C0013, // 0004 GETGBL R3 G19
+ 0x7C0C0000, // 0005 CALL R3 0
+ 0x90020003, // 0006 SETMBR R0 K0 R3
+ 0x4C0C0000, // 0007 LDNIL R3
+ 0x88100100, // 0008 GETMBR R4 R0 K0
+ 0x8C100901, // 0009 GETMET R4 R4 K1
+ 0x5C180200, // 000A MOVE R6 R1
+ 0x7C100400, // 000B CALL R4 2
+ 0x78120009, // 000C JMPF R4 #0017
+ 0x88100100, // 000D GETMBR R4 R0 K0
+ 0x940C0801, // 000E GETIDX R3 R4 R1
+ 0x8C140702, // 000F GETMET R5 R3 K2
+ 0x7C140200, // 0010 CALL R5 1
+ 0x14140405, // 0011 LT R5 R2 R5
+ 0x78160002, // 0012 JMPF R5 #0016
+ 0x8C140703, // 0013 GETMET R5 R3 K3
+ 0x5C1C0400, // 0014 MOVE R7 R2
+ 0x7C140400, // 0015 CALL R5 2
+ 0x70020011, // 0016 JMP #0029
+ 0xB8120800, // 0017 GETNGBL R4 K4
+ 0x8C100905, // 0018 GETMET R4 R4 K5
+ 0x5C180000, // 0019 MOVE R6 R0
+ 0x5C1C0200, // 001A MOVE R7 R1
+ 0x5C200400, // 001B MOVE R8 R2
+ 0x7C100800, // 001C CALL R4 4
+ 0x5C0C0800, // 001D MOVE R3 R4
+ 0x88100106, // 001E GETMBR R4 R0 K6
+ 0x8C100901, // 001F GETMET R4 R4 K1
+ 0x5C180200, // 0020 MOVE R6 R1
+ 0x7C100400, // 0021 CALL R4 2
+ 0x78120003, // 0022 JMPF R4 #0027
+ 0x8C100707, // 0023 GETMET R4 R3 K7
+ 0x88180106, // 0024 GETMBR R6 R0 K6
+ 0x94180C01, // 0025 GETIDX R6 R6 R1
+ 0x7C100400, // 0026 CALL R4 2
+ 0x88100100, // 0027 GETMBR R4 R0 K0
+ 0x98100203, // 0028 SETIDX R4 R1 R3
+ 0x80040600, // 0029 RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: is_commissioning_open
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_is_commissioning_open, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(commissioning_open),
+ }),
+ be_str_weak(is_commissioning_open),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x4C080000, // 0001 LDNIL R2
+ 0x20040202, // 0002 NE R1 R1 R2
+ 0x80040200, // 0003 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_plugin_class_arg
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_get_plugin_class_arg, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@@ -4725,18 +1891,24 @@ be_local_closure(class_Matter_Device_received_ack, /* name */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(udp_server),
- /* K1 */ be_nested_str_weak(received_ack),
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_classes),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(ARG),
+ /* K3 */ be_nested_str_weak(),
}),
- be_str_weak(received_ack),
+ be_str_weak(get_plugin_class_arg),
&be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
+ ( &(const binstruction[ 9]) { /* code */
0x88080100, // 0000 GETMBR R2 R0 K0
0x8C080501, // 0001 GETMET R2 R2 K1
0x5C100200, // 0002 MOVE R4 R1
0x7C080400, // 0003 CALL R2 2
- 0x80040400, // 0004 RET 1 R2
+ 0x780A0001, // 0004 JMPF R2 #0007
+ 0x880C0502, // 0005 GETMBR R3 R2 K2
+ 0x70020000, // 0006 JMP #0008
+ 0x580C0003, // 0007 LDCONST R3 K3
+ 0x80040600, // 0008 RET 1 R3
})
)
);
@@ -4744,12 +1916,12 @@ be_local_closure(class_Matter_Device_received_ack, /* name */
/********************************************************************
-** Solidified function: start_root_basic_commissioning
+** Solidified function: MtrInfo_one
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_start_root_basic_commissioning, /* name */
+be_local_closure(class_Matter_Device_MtrInfo_one, /* name */
be_nested_proto(
- 13, /* nstack */
+ 9, /* nstack */
2, /* argc */
2, /* varg */
0, /* has upvals */
@@ -4757,68 +1929,37 @@ be_local_closure(class_Matter_Device_start_root_basic_commissioning, /* name *
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[18]) { /* constants */
- /* K0 */ be_nested_str_weak(PASE_TIMEOUT),
- /* K1 */ be_nested_str_weak(compute_manual_pairing_code),
- /* K2 */ be_nested_str_weak(log),
- /* K3 */ be_nested_str_weak(MTR_X3A_X20Manual_X20pairing_X20code_X3A_X20_X25s),
- /* K4 */ be_const_int(2),
- /* K5 */ be_nested_str_weak(compute_qrcode_content),
- /* K6 */ be_nested_str_weak(tasmota),
- /* K7 */ be_nested_str_weak(publish_result),
- /* K8 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Commissioning_X22_X3A1_X2C_X22PairingCode_X22_X3A_X22_X25s_X22_X2C_X22QRCode_X22_X3A_X22_X25s_X22_X7D_X7D),
- /* K9 */ be_nested_str_weak(Matter),
- /* K10 */ be_nested_str_weak(_compute_pbkdf),
- /* K11 */ be_nested_str_weak(root_passcode),
- /* K12 */ be_nested_str_weak(root_iterations),
- /* K13 */ be_nested_str_weak(root_salt),
- /* K14 */ be_nested_str_weak(start_basic_commissioning),
- /* K15 */ be_nested_str_weak(root_discriminator),
- /* K16 */ be_nested_str_weak(root_w0),
- /* K17 */ be_nested_str_weak(root_L),
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(find_plugin_by_endpoint),
+ /* K1 */ be_nested_str_weak(state_json),
+ /* K2 */ be_nested_str_weak(_X7B_X22MtrInfo_X22_X3A_X25s_X7D),
+ /* K3 */ be_nested_str_weak(tasmota),
+ /* K4 */ be_nested_str_weak(publish_result),
+ /* K5 */ be_nested_str_weak(),
}),
- be_str_weak(start_root_basic_commissioning),
+ be_str_weak(MtrInfo_one),
&be_const_str_solidified,
- ( &(const binstruction[39]) { /* code */
- 0x4C080000, // 0000 LDNIL R2
- 0x1C080202, // 0001 EQ R2 R1 R2
- 0x780A0000, // 0002 JMPF R2 #0004
- 0x88040100, // 0003 GETMBR R1 R0 K0
- 0x8C080101, // 0004 GETMET R2 R0 K1
- 0x7C080200, // 0005 CALL R2 1
- 0xB80E0400, // 0006 GETNGBL R3 K2
- 0x60100018, // 0007 GETGBL R4 G24
- 0x58140003, // 0008 LDCONST R5 K3
- 0x5C180400, // 0009 MOVE R6 R2
- 0x7C100400, // 000A CALL R4 2
- 0x58140004, // 000B LDCONST R5 K4
- 0x7C0C0400, // 000C CALL R3 2
- 0x8C0C0105, // 000D GETMET R3 R0 K5
- 0x7C0C0200, // 000E CALL R3 1
- 0xB8120C00, // 000F GETNGBL R4 K6
- 0x8C100907, // 0010 GETMET R4 R4 K7
- 0x60180018, // 0011 GETGBL R6 G24
- 0x581C0008, // 0012 LDCONST R7 K8
- 0x5C200400, // 0013 MOVE R8 R2
- 0x5C240600, // 0014 MOVE R9 R3
- 0x7C180600, // 0015 CALL R6 3
- 0x581C0009, // 0016 LDCONST R7 K9
- 0x7C100600, // 0017 CALL R4 3
- 0x8C10010A, // 0018 GETMET R4 R0 K10
- 0x8818010B, // 0019 GETMBR R6 R0 K11
- 0x881C010C, // 001A GETMBR R7 R0 K12
- 0x8820010D, // 001B GETMBR R8 R0 K13
- 0x7C100800, // 001C CALL R4 4
- 0x8C10010E, // 001D GETMET R4 R0 K14
- 0x5C180200, // 001E MOVE R6 R1
- 0x881C010C, // 001F GETMBR R7 R0 K12
- 0x8820010F, // 0020 GETMBR R8 R0 K15
- 0x8824010D, // 0021 GETMBR R9 R0 K13
- 0x88280110, // 0022 GETMBR R10 R0 K16
- 0x882C0111, // 0023 GETMBR R11 R0 K17
- 0x4C300000, // 0024 LDNIL R12
- 0x7C101000, // 0025 CALL R4 8
- 0x80000000, // 0026 RET 0
+ ( &(const binstruction[20]) { /* code */
+ 0x8C080100, // 0000 GETMET R2 R0 K0
+ 0x5C100200, // 0001 MOVE R4 R1
+ 0x7C080400, // 0002 CALL R2 2
+ 0x4C0C0000, // 0003 LDNIL R3
+ 0x1C0C0403, // 0004 EQ R3 R2 R3
+ 0x780E0000, // 0005 JMPF R3 #0007
+ 0x80000600, // 0006 RET 0
+ 0x8C0C0501, // 0007 GETMET R3 R2 K1
+ 0x7C0C0200, // 0008 CALL R3 1
+ 0x780E0008, // 0009 JMPF R3 #0013
+ 0x60100018, // 000A GETGBL R4 G24
+ 0x58140002, // 000B LDCONST R5 K2
+ 0x5C180600, // 000C MOVE R6 R3
+ 0x7C100400, // 000D CALL R4 2
+ 0xB8160600, // 000E GETNGBL R5 K3
+ 0x8C140B04, // 000F GETMET R5 R5 K4
+ 0x5C1C0800, // 0010 MOVE R7 R4
+ 0x58200005, // 0011 LDCONST R8 K5
+ 0x7C140600, // 0012 CALL R5 3
+ 0x80000000, // 0013 RET 0
})
)
);
@@ -4924,45 +2065,628 @@ be_local_closure(class_Matter_Device_bridge_remove_endpoint, /* name */
/********************************************************************
-** Solidified function: find_plugin_by_endpoint
+** Solidified function: resolve_attribute_read_solo
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_find_plugin_by_endpoint, /* name */
+be_local_closure(class_Matter_Device_resolve_attribute_read_solo, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[11]) { /* constants */
+ /* K0 */ be_nested_str_weak(endpoint),
+ /* K1 */ be_nested_str_weak(cluster),
+ /* K2 */ be_nested_str_weak(attribute),
+ /* K3 */ be_nested_str_weak(find_plugin_by_endpoint),
+ /* K4 */ be_nested_str_weak(status),
+ /* K5 */ be_nested_str_weak(matter),
+ /* K6 */ be_nested_str_weak(UNSUPPORTED_ENDPOINT),
+ /* K7 */ be_nested_str_weak(contains_cluster),
+ /* K8 */ be_nested_str_weak(UNSUPPORTED_CLUSTER),
+ /* K9 */ be_nested_str_weak(contains_attribute),
+ /* K10 */ be_nested_str_weak(UNSUPPORTED_ATTRIBUTE),
+ }),
+ be_str_weak(resolve_attribute_read_solo),
+ &be_const_str_solidified,
+ ( &(const binstruction[45]) { /* code */
+ 0x88080300, // 0000 GETMBR R2 R1 K0
+ 0x880C0301, // 0001 GETMBR R3 R1 K1
+ 0x88100302, // 0002 GETMBR R4 R1 K2
+ 0x4C140000, // 0003 LDNIL R5
+ 0x1C140405, // 0004 EQ R5 R2 R5
+ 0x74160005, // 0005 JMPT R5 #000C
+ 0x4C140000, // 0006 LDNIL R5
+ 0x1C140605, // 0007 EQ R5 R3 R5
+ 0x74160002, // 0008 JMPT R5 #000C
+ 0x4C140000, // 0009 LDNIL R5
+ 0x1C140805, // 000A EQ R5 R4 R5
+ 0x78160001, // 000B JMPF R5 #000E
+ 0x4C140000, // 000C LDNIL R5
+ 0x80040A00, // 000D RET 1 R5
+ 0x8C140103, // 000E GETMET R5 R0 K3
+ 0x5C1C0400, // 000F MOVE R7 R2
+ 0x7C140400, // 0010 CALL R5 2
+ 0x4C180000, // 0011 LDNIL R6
+ 0x1C180A06, // 0012 EQ R6 R5 R6
+ 0x781A0004, // 0013 JMPF R6 #0019
+ 0xB81A0A00, // 0014 GETNGBL R6 K5
+ 0x88180D06, // 0015 GETMBR R6 R6 K6
+ 0x90060806, // 0016 SETMBR R1 K4 R6
+ 0x4C180000, // 0017 LDNIL R6
+ 0x80040C00, // 0018 RET 1 R6
+ 0x8C180B07, // 0019 GETMET R6 R5 K7
+ 0x5C200600, // 001A MOVE R8 R3
+ 0x7C180400, // 001B CALL R6 2
+ 0x741A0004, // 001C JMPT R6 #0022
+ 0xB81A0A00, // 001D GETNGBL R6 K5
+ 0x88180D08, // 001E GETMBR R6 R6 K8
+ 0x90060806, // 001F SETMBR R1 K4 R6
+ 0x4C180000, // 0020 LDNIL R6
+ 0x80040C00, // 0021 RET 1 R6
+ 0x8C180B09, // 0022 GETMET R6 R5 K9
+ 0x5C200600, // 0023 MOVE R8 R3
+ 0x5C240800, // 0024 MOVE R9 R4
+ 0x7C180600, // 0025 CALL R6 3
+ 0x741A0004, // 0026 JMPT R6 #002C
+ 0xB81A0A00, // 0027 GETNGBL R6 K5
+ 0x88180D0A, // 0028 GETMBR R6 R6 K10
+ 0x90060806, // 0029 SETMBR R1 K4 R6
+ 0x4C180000, // 002A LDNIL R6
+ 0x80040C00, // 002B RET 1 R6
+ 0x80040A00, // 002C RET 1 R5
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_root_basic_commissioning
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_root_basic_commissioning, /* name */
+ be_nested_proto(
+ 13, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[18]) { /* constants */
+ /* K0 */ be_nested_str_weak(PASE_TIMEOUT),
+ /* K1 */ be_nested_str_weak(compute_manual_pairing_code),
+ /* K2 */ be_nested_str_weak(log),
+ /* K3 */ be_nested_str_weak(MTR_X3A_X20Manual_X20pairing_X20code_X3A_X20_X25s),
+ /* K4 */ be_const_int(2),
+ /* K5 */ be_nested_str_weak(compute_qrcode_content),
+ /* K6 */ be_nested_str_weak(tasmota),
+ /* K7 */ be_nested_str_weak(publish_result),
+ /* K8 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Commissioning_X22_X3A1_X2C_X22PairingCode_X22_X3A_X22_X25s_X22_X2C_X22QRCode_X22_X3A_X22_X25s_X22_X7D_X7D),
+ /* K9 */ be_nested_str_weak(Matter),
+ /* K10 */ be_nested_str_weak(_compute_pbkdf),
+ /* K11 */ be_nested_str_weak(root_passcode),
+ /* K12 */ be_nested_str_weak(root_iterations),
+ /* K13 */ be_nested_str_weak(root_salt),
+ /* K14 */ be_nested_str_weak(start_basic_commissioning),
+ /* K15 */ be_nested_str_weak(root_discriminator),
+ /* K16 */ be_nested_str_weak(root_w0),
+ /* K17 */ be_nested_str_weak(root_L),
+ }),
+ be_str_weak(start_root_basic_commissioning),
+ &be_const_str_solidified,
+ ( &(const binstruction[39]) { /* code */
+ 0x4C080000, // 0000 LDNIL R2
+ 0x1C080202, // 0001 EQ R2 R1 R2
+ 0x780A0000, // 0002 JMPF R2 #0004
+ 0x88040100, // 0003 GETMBR R1 R0 K0
+ 0x8C080101, // 0004 GETMET R2 R0 K1
+ 0x7C080200, // 0005 CALL R2 1
+ 0xB80E0400, // 0006 GETNGBL R3 K2
+ 0x60100018, // 0007 GETGBL R4 G24
+ 0x58140003, // 0008 LDCONST R5 K3
+ 0x5C180400, // 0009 MOVE R6 R2
+ 0x7C100400, // 000A CALL R4 2
+ 0x58140004, // 000B LDCONST R5 K4
+ 0x7C0C0400, // 000C CALL R3 2
+ 0x8C0C0105, // 000D GETMET R3 R0 K5
+ 0x7C0C0200, // 000E CALL R3 1
+ 0xB8120C00, // 000F GETNGBL R4 K6
+ 0x8C100907, // 0010 GETMET R4 R4 K7
+ 0x60180018, // 0011 GETGBL R6 G24
+ 0x581C0008, // 0012 LDCONST R7 K8
+ 0x5C200400, // 0013 MOVE R8 R2
+ 0x5C240600, // 0014 MOVE R9 R3
+ 0x7C180600, // 0015 CALL R6 3
+ 0x581C0009, // 0016 LDCONST R7 K9
+ 0x7C100600, // 0017 CALL R4 3
+ 0x8C10010A, // 0018 GETMET R4 R0 K10
+ 0x8818010B, // 0019 GETMBR R6 R0 K11
+ 0x881C010C, // 001A GETMBR R7 R0 K12
+ 0x8820010D, // 001B GETMBR R8 R0 K13
+ 0x7C100800, // 001C CALL R4 4
+ 0x8C10010E, // 001D GETMET R4 R0 K14
+ 0x5C180200, // 001E MOVE R6 R1
+ 0x881C010C, // 001F GETMBR R7 R0 K12
+ 0x8820010F, // 0020 GETMBR R8 R0 K15
+ 0x8824010D, // 0021 GETMBR R9 R0 K13
+ 0x88280110, // 0022 GETMBR R10 R0 K16
+ 0x882C0111, // 0023 GETMBR R11 R0 K17
+ 0x4C300000, // 0024 LDNIL R12
+ 0x7C101000, // 0025 CALL R4 8
+ 0x80000000, // 0026 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_commissioning_complete_deferred
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_commissioning_complete_deferred, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 2]) {
+ be_nested_proto(
+ 3, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 2]) { /* upvals */
+ be_local_const_upval(1, 0),
+ be_local_const_upval(1, 1),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(start_commissioning_complete),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x68080001, // 0002 GETUPV R2 U1
+ 0x7C000400, // 0003 CALL R0 2
+ 0x80040000, // 0004 RET 1 R0
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(set_timer),
+ /* K2 */ be_const_int(0),
+ }),
+ be_str_weak(start_commissioning_complete_deferred),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0xB80A0000, // 0000 GETNGBL R2 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x58100002, // 0002 LDCONST R4 K2
+ 0x84140000, // 0003 CLOSURE R5 P0
+ 0x7C080600, // 0004 CALL R2 3
+ 0xA0000000, // 0005 CLOSE R0
+ 0x80000000, // 0006 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(started),
+ /* K1 */ be_nested_str_weak(autoconf_device),
+ /* K2 */ be_nested_str_weak(_start_udp),
+ /* K3 */ be_nested_str_weak(UDP_PORT),
+ /* K4 */ be_nested_str_weak(start_mdns_announce_hostnames),
+ }),
+ be_str_weak(start),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x78060000, // 0001 JMPF R1 #0003
+ 0x80000200, // 0002 RET 0
+ 0x8C040101, // 0003 GETMET R1 R0 K1
+ 0x7C040200, // 0004 CALL R1 1
+ 0x8C040102, // 0005 GETMET R1 R0 K2
+ 0x880C0103, // 0006 GETMBR R3 R0 K3
+ 0x7C040400, // 0007 CALL R1 2
+ 0x8C040104, // 0008 GETMET R1 R0 K4
+ 0x7C040200, // 0009 CALL R1 1
+ 0x50040200, // 000A LDBOOL R1 1 0
+ 0x90020001, // 000B SETMBR R0 K0 R1
+ 0x80000000, // 000C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: every_50ms
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_every_50ms, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(tick),
+ /* K1 */ be_const_int(1),
+ }),
+ be_str_weak(every_50ms),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x00040301, // 0001 ADD R1 R1 K1
+ 0x90020001, // 0002 SETMBR R0 K0 R1
+ 0x80000000, // 0003 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _trigger_read_sensors
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device__trigger_read_sensors, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[13]) { /* constants */
+ /* K0 */ be_nested_str_weak(json),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(read_sensors),
+ /* K3 */ be_nested_str_weak(loglevel),
+ /* K4 */ be_const_int(3),
+ /* K5 */ be_nested_str_weak(log),
+ /* K6 */ be_nested_str_weak(MTR_X3A_X20read_sensors_X3A_X20),
+ /* K7 */ be_nested_str_weak(load),
+ /* K8 */ be_const_int(0),
+ /* K9 */ be_nested_str_weak(plugins),
+ /* K10 */ be_nested_str_weak(parse_sensors),
+ /* K11 */ be_const_int(1),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20unable_X20to_X20parse_X20read_sensors_X3A_X20),
+ }),
+ be_str_weak(_trigger_read_sensors),
+ &be_const_str_solidified,
+ ( &(const binstruction[48]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xB80A0200, // 0001 GETNGBL R2 K1
+ 0x8C080502, // 0002 GETMET R2 R2 K2
+ 0x7C080200, // 0003 CALL R2 1
+ 0xB80E0200, // 0004 GETNGBL R3 K1
+ 0x8C0C0703, // 0005 GETMET R3 R3 K3
+ 0x58140004, // 0006 LDCONST R5 K4
+ 0x7C0C0400, // 0007 CALL R3 2
+ 0x780E0006, // 0008 JMPF R3 #0010
+ 0xB80E0A00, // 0009 GETNGBL R3 K5
+ 0x60100008, // 000A GETGBL R4 G8
+ 0x5C140400, // 000B MOVE R5 R2
+ 0x7C100200, // 000C CALL R4 1
+ 0x00120C04, // 000D ADD R4 K6 R4
+ 0x58140004, // 000E LDCONST R5 K4
+ 0x7C0C0400, // 000F CALL R3 2
+ 0x4C0C0000, // 0010 LDNIL R3
+ 0x1C0C0403, // 0011 EQ R3 R2 R3
+ 0x780E0000, // 0012 JMPF R3 #0014
+ 0x80000600, // 0013 RET 0
+ 0x8C0C0307, // 0014 GETMET R3 R1 K7
+ 0x5C140400, // 0015 MOVE R5 R2
+ 0x7C0C0400, // 0016 CALL R3 2
+ 0x4C100000, // 0017 LDNIL R4
+ 0x20100604, // 0018 NE R4 R3 R4
+ 0x7812000D, // 0019 JMPF R4 #0028
+ 0x58100008, // 001A LDCONST R4 K8
+ 0x6014000C, // 001B GETGBL R5 G12
+ 0x88180109, // 001C GETMBR R6 R0 K9
+ 0x7C140200, // 001D CALL R5 1
+ 0x14140805, // 001E LT R5 R4 R5
+ 0x78160006, // 001F JMPF R5 #0027
+ 0x88140109, // 0020 GETMBR R5 R0 K9
+ 0x94140A04, // 0021 GETIDX R5 R5 R4
+ 0x8C140B0A, // 0022 GETMET R5 R5 K10
+ 0x5C1C0600, // 0023 MOVE R7 R3
+ 0x7C140400, // 0024 CALL R5 2
+ 0x0010090B, // 0025 ADD R4 R4 K11
+ 0x7001FFF3, // 0026 JMP #001B
+ 0x70020006, // 0027 JMP #002F
+ 0xB8120A00, // 0028 GETNGBL R4 K5
+ 0x60140008, // 0029 GETGBL R5 G8
+ 0x5C180400, // 002A MOVE R6 R2
+ 0x7C140200, // 002B CALL R5 1
+ 0x00161805, // 002C ADD R5 K12 R5
+ 0x58180004, // 002D LDCONST R6 K4
+ 0x7C100400, // 002E CALL R4 2
+ 0x80000000, // 002F RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_remove_PASE
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_mdns_remove_PASE, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[19]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns),
+ /* K1 */ be_nested_str_weak(mdns_pase_eth),
+ /* K2 */ be_nested_str_weak(log),
+ /* K3 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eremove_service_X28_X25s_X2C_X20_X25s_X2C_X20_X25s_X2C_X20_X25s_X29),
+ /* K4 */ be_nested_str_weak(_matterc),
+ /* K5 */ be_nested_str_weak(_udp),
+ /* K6 */ be_nested_str_weak(commissioning_instance_eth),
+ /* K7 */ be_nested_str_weak(hostname_eth),
+ /* K8 */ be_const_int(3),
+ /* K9 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
+ /* K10 */ be_nested_str_weak(eth),
+ /* K11 */ be_nested_str_weak(remove_service),
+ /* K12 */ be_nested_str_weak(mdns_pase_wifi),
+ /* K13 */ be_nested_str_weak(commissioning_instance_wifi),
+ /* K14 */ be_nested_str_weak(hostname_wifi),
+ /* K15 */ be_nested_str_weak(wifi),
+ /* K16 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K17 */ be_nested_str_weak(_X7C),
+ /* K18 */ be_const_int(2),
+ }),
+ be_str_weak(mdns_remove_PASE),
+ &be_const_str_solidified,
+ ( &(const binstruction[77]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA8020039, // 0001 EXBLK 0 #003C
+ 0x88080101, // 0002 GETMBR R2 R0 K1
+ 0x780A0019, // 0003 JMPF R2 #001E
+ 0xB80A0400, // 0004 GETNGBL R2 K2
+ 0x600C0018, // 0005 GETGBL R3 G24
+ 0x58100003, // 0006 LDCONST R4 K3
+ 0x58140004, // 0007 LDCONST R5 K4
+ 0x58180005, // 0008 LDCONST R6 K5
+ 0x881C0106, // 0009 GETMBR R7 R0 K6
+ 0x88200107, // 000A GETMBR R8 R0 K7
+ 0x7C0C0A00, // 000B CALL R3 5
+ 0x58100008, // 000C LDCONST R4 K8
+ 0x7C080400, // 000D CALL R2 2
+ 0xB80A0400, // 000E GETNGBL R2 K2
+ 0x600C0018, // 000F GETGBL R3 G24
+ 0x58100009, // 0010 LDCONST R4 K9
+ 0x5814000A, // 0011 LDCONST R5 K10
+ 0x88180106, // 0012 GETMBR R6 R0 K6
+ 0x7C0C0600, // 0013 CALL R3 3
+ 0x58100008, // 0014 LDCONST R4 K8
+ 0x7C080400, // 0015 CALL R2 2
+ 0x50080000, // 0016 LDBOOL R2 0 0
+ 0x90020202, // 0017 SETMBR R0 K1 R2
+ 0x8C08030B, // 0018 GETMET R2 R1 K11
+ 0x58100004, // 0019 LDCONST R4 K4
+ 0x58140005, // 001A LDCONST R5 K5
+ 0x88180106, // 001B GETMBR R6 R0 K6
+ 0x881C0107, // 001C GETMBR R7 R0 K7
+ 0x7C080A00, // 001D CALL R2 5
+ 0x8808010C, // 001E GETMBR R2 R0 K12
+ 0x780A0019, // 001F JMPF R2 #003A
+ 0xB80A0400, // 0020 GETNGBL R2 K2
+ 0x600C0018, // 0021 GETGBL R3 G24
+ 0x58100003, // 0022 LDCONST R4 K3
+ 0x58140004, // 0023 LDCONST R5 K4
+ 0x58180005, // 0024 LDCONST R6 K5
+ 0x881C010D, // 0025 GETMBR R7 R0 K13
+ 0x8820010E, // 0026 GETMBR R8 R0 K14
+ 0x7C0C0A00, // 0027 CALL R3 5
+ 0x58100008, // 0028 LDCONST R4 K8
+ 0x7C080400, // 0029 CALL R2 2
+ 0xB80A0400, // 002A GETNGBL R2 K2
+ 0x600C0018, // 002B GETGBL R3 G24
+ 0x58100009, // 002C LDCONST R4 K9
+ 0x5814000F, // 002D LDCONST R5 K15
+ 0x8818010D, // 002E GETMBR R6 R0 K13
+ 0x7C0C0600, // 002F CALL R3 3
+ 0x58100008, // 0030 LDCONST R4 K8
+ 0x7C080400, // 0031 CALL R2 2
+ 0x50080000, // 0032 LDBOOL R2 0 0
+ 0x90021802, // 0033 SETMBR R0 K12 R2
+ 0x8C08030B, // 0034 GETMET R2 R1 K11
+ 0x58100004, // 0035 LDCONST R4 K4
+ 0x58140005, // 0036 LDCONST R5 K5
+ 0x8818010D, // 0037 GETMBR R6 R0 K13
+ 0x881C010E, // 0038 GETMBR R7 R0 K14
+ 0x7C080A00, // 0039 CALL R2 5
+ 0xA8040001, // 003A EXBLK 1 1
+ 0x7002000F, // 003B JMP #004C
+ 0xAC080002, // 003C CATCH R2 0 2
+ 0x7002000C, // 003D JMP #004B
+ 0xB8120400, // 003E GETNGBL R4 K2
+ 0x60140008, // 003F GETGBL R5 G8
+ 0x5C180400, // 0040 MOVE R6 R2
+ 0x7C140200, // 0041 CALL R5 1
+ 0x00162005, // 0042 ADD R5 K16 R5
+ 0x00140B11, // 0043 ADD R5 R5 K17
+ 0x60180008, // 0044 GETGBL R6 G8
+ 0x5C1C0600, // 0045 MOVE R7 R3
+ 0x7C180200, // 0046 CALL R6 1
+ 0x00140A06, // 0047 ADD R5 R5 R6
+ 0x58180012, // 0048 LDCONST R6 K18
+ 0x7C100400, // 0049 CALL R4 2
+ 0x70020000, // 004A JMP #004C
+ 0xB0080000, // 004B RAISE 2 R0 R0
+ 0x80000000, // 004C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_active_endpoints
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_get_active_endpoints, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins),
+ /* K1 */ be_nested_str_weak(get_endpoint),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(find),
+ /* K4 */ be_nested_str_weak(push),
+ /* K5 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(get_active_endpoints),
+ &be_const_str_solidified,
+ ( &(const binstruction[28]) { /* code */
+ 0x60080012, // 0000 GETGBL R2 G18
+ 0x7C080000, // 0001 CALL R2 0
+ 0x600C0010, // 0002 GETGBL R3 G16
+ 0x88100100, // 0003 GETMBR R4 R0 K0
+ 0x7C0C0200, // 0004 CALL R3 1
+ 0xA8020011, // 0005 EXBLK 0 #0018
+ 0x5C100600, // 0006 MOVE R4 R3
+ 0x7C100000, // 0007 CALL R4 0
+ 0x8C140901, // 0008 GETMET R5 R4 K1
+ 0x7C140200, // 0009 CALL R5 1
+ 0x78060002, // 000A JMPF R1 #000E
+ 0x1C180B02, // 000B EQ R6 R5 K2
+ 0x781A0000, // 000C JMPF R6 #000E
+ 0x7001FFF7, // 000D JMP #0006
+ 0x8C180503, // 000E GETMET R6 R2 K3
+ 0x5C200A00, // 000F MOVE R8 R5
+ 0x7C180400, // 0010 CALL R6 2
+ 0x4C1C0000, // 0011 LDNIL R7
+ 0x1C180C07, // 0012 EQ R6 R6 R7
+ 0x781A0002, // 0013 JMPF R6 #0017
+ 0x8C180504, // 0014 GETMET R6 R2 K4
+ 0x5C200A00, // 0015 MOVE R8 R5
+ 0x7C180400, // 0016 CALL R6 2
+ 0x7001FFED, // 0017 JMP #0006
+ 0x580C0005, // 0018 LDCONST R3 K5
+ 0xAC0C0200, // 0019 CATCH R3 1 0
+ 0xB0080000, // 001A RAISE 2 R0 R0
+ 0x80040400, // 001B RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: find_plugin_by_friendly_name
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_find_plugin_by_friendly_name, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
/* K1 */ be_nested_str_weak(plugins),
- /* K2 */ be_nested_str_weak(get_endpoint),
+ /* K2 */ be_nested_str_weak(get_name),
/* K3 */ be_const_int(1),
}),
- be_str_weak(find_plugin_by_endpoint),
+ be_str_weak(find_plugin_by_friendly_name),
&be_const_str_solidified,
- ( &(const binstruction[17]) { /* code */
- 0x58080000, // 0000 LDCONST R2 K0
- 0x600C000C, // 0001 GETGBL R3 G12
- 0x88100101, // 0002 GETMBR R4 R0 K1
- 0x7C0C0200, // 0003 CALL R3 1
- 0x140C0403, // 0004 LT R3 R2 R3
- 0x780E0008, // 0005 JMPF R3 #000F
- 0x880C0101, // 0006 GETMBR R3 R0 K1
- 0x940C0602, // 0007 GETIDX R3 R3 R2
- 0x8C100702, // 0008 GETMET R4 R3 K2
- 0x7C100200, // 0009 CALL R4 1
- 0x1C100801, // 000A EQ R4 R4 R1
- 0x78120000, // 000B JMPF R4 #000D
- 0x80040600, // 000C RET 1 R3
- 0x00080503, // 000D ADD R2 R2 K3
- 0x7001FFF1, // 000E JMP #0001
- 0x4C0C0000, // 000F LDNIL R3
- 0x80040600, // 0010 RET 1 R3
+ ( &(const binstruction[35]) { /* code */
+ 0x4C080000, // 0000 LDNIL R2
+ 0x1C080202, // 0001 EQ R2 R1 R2
+ 0x740A0004, // 0002 JMPT R2 #0008
+ 0x6008000C, // 0003 GETGBL R2 G12
+ 0x5C0C0200, // 0004 MOVE R3 R1
+ 0x7C080200, // 0005 CALL R2 1
+ 0x1C080500, // 0006 EQ R2 R2 K0
+ 0x780A0001, // 0007 JMPF R2 #000A
+ 0x4C080000, // 0008 LDNIL R2
+ 0x80040400, // 0009 RET 1 R2
+ 0x58080000, // 000A LDCONST R2 K0
+ 0x600C000C, // 000B GETGBL R3 G12
+ 0x88100101, // 000C GETMBR R4 R0 K1
+ 0x7C0C0200, // 000D CALL R3 1
+ 0x140C0403, // 000E LT R3 R2 R3
+ 0x780E0010, // 000F JMPF R3 #0021
+ 0x880C0101, // 0010 GETMBR R3 R0 K1
+ 0x940C0602, // 0011 GETIDX R3 R3 R2
+ 0x8C100702, // 0012 GETMET R4 R3 K2
+ 0x7C100200, // 0013 CALL R4 1
+ 0x4C140000, // 0014 LDNIL R5
+ 0x20140805, // 0015 NE R5 R4 R5
+ 0x78160007, // 0016 JMPF R5 #001F
+ 0x6014000C, // 0017 GETGBL R5 G12
+ 0x5C180800, // 0018 MOVE R6 R4
+ 0x7C140200, // 0019 CALL R5 1
+ 0x24140B00, // 001A GT R5 R5 K0
+ 0x78160002, // 001B JMPF R5 #001F
+ 0x1C140801, // 001C EQ R5 R4 R1
+ 0x78160000, // 001D JMPF R5 #001F
+ 0x80040600, // 001E RET 1 R3
+ 0x00080503, // 001F ADD R2 R2 K3
+ 0x7001FFE9, // 0020 JMP #000B
+ 0x4C0C0000, // 0021 LDNIL R3
+ 0x80040600, // 0022 RET 1 R3
})
)
);
@@ -4970,12 +2694,12 @@ be_local_closure(class_Matter_Device_find_plugin_by_endpoint, /* name */
/********************************************************************
-** Solidified function: update_remotes_info
+** Solidified function: adjust_next_ep
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_update_remotes_info, /* name */
+be_local_closure(class_Matter_Device_adjust_next_ep, /* name */
be_nested_proto(
- 7, /* nstack */
+ 5, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -4983,50 +2707,419 @@ be_local_closure(class_Matter_Device_update_remotes_info, /* name */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(http_remotes),
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_config),
/* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(get_info),
- /* K3 */ be_const_int(0),
+ /* K2 */ be_nested_str_weak(next_ep),
+ /* K3 */ be_const_int(1),
/* K4 */ be_nested_str_weak(stop_iteration),
- /* K5 */ be_nested_str_weak(plugins_config_remotes),
}),
- be_str_weak(update_remotes_info),
+ be_str_weak(adjust_next_ep),
&be_const_str_solidified,
- ( &(const binstruction[33]) { /* code */
- 0x60040013, // 0000 GETGBL R1 G19
- 0x7C040000, // 0001 CALL R1 0
- 0x88080100, // 0002 GETMBR R2 R0 K0
+ ( &(const binstruction[21]) { /* code */
+ 0x60040010, // 0000 GETGBL R1 G16
+ 0x88080100, // 0001 GETMBR R2 R0 K0
+ 0x8C080501, // 0002 GETMET R2 R2 K1
+ 0x7C080200, // 0003 CALL R2 1
+ 0x7C040200, // 0004 CALL R1 1
+ 0xA802000A, // 0005 EXBLK 0 #0011
+ 0x5C080200, // 0006 MOVE R2 R1
+ 0x7C080000, // 0007 CALL R2 0
+ 0x600C0009, // 0008 GETGBL R3 G9
+ 0x5C100400, // 0009 MOVE R4 R2
+ 0x7C0C0200, // 000A CALL R3 1
+ 0x88100102, // 000B GETMBR R4 R0 K2
+ 0x28100604, // 000C GE R4 R3 R4
+ 0x78120001, // 000D JMPF R4 #0010
+ 0x00100703, // 000E ADD R4 R3 K3
+ 0x90020404, // 000F SETMBR R0 K2 R4
+ 0x7001FFF4, // 0010 JMP #0006
+ 0x58040004, // 0011 LDCONST R1 K4
+ 0xAC040200, // 0012 CATCH R1 1 0
+ 0xB0080000, // 0013 RAISE 2 R0 R0
+ 0x80000000, // 0014 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: sort_distinct
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_sort_distinct, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Device),
+ /* K1 */ be_const_int(1),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ /* K4 */ be_nested_str_weak(remove),
+ }),
+ be_str_weak(sort_distinct),
+ &be_const_str_solidified,
+ ( &(const binstruction[53]) { /* code */
+ 0x58040000, // 0000 LDCONST R1 K0
+ 0x60080010, // 0001 GETGBL R2 G16
+ 0x600C000C, // 0002 GETGBL R3 G12
+ 0x5C100000, // 0003 MOVE R4 R0
+ 0x7C0C0200, // 0004 CALL R3 1
+ 0x040C0701, // 0005 SUB R3 R3 K1
+ 0x400E0203, // 0006 CONNECT R3 K1 R3
+ 0x7C080200, // 0007 CALL R2 1
+ 0xA8020010, // 0008 EXBLK 0 #001A
+ 0x5C0C0400, // 0009 MOVE R3 R2
+ 0x7C0C0000, // 000A CALL R3 0
+ 0x94100003, // 000B GETIDX R4 R0 R3
+ 0x5C140600, // 000C MOVE R5 R3
+ 0x24180B02, // 000D GT R6 R5 K2
+ 0x781A0008, // 000E JMPF R6 #0018
+ 0x04180B01, // 000F SUB R6 R5 K1
+ 0x94180006, // 0010 GETIDX R6 R0 R6
+ 0x24180C04, // 0011 GT R6 R6 R4
+ 0x781A0004, // 0012 JMPF R6 #0018
+ 0x04180B01, // 0013 SUB R6 R5 K1
+ 0x94180006, // 0014 GETIDX R6 R0 R6
+ 0x98000A06, // 0015 SETIDX R0 R5 R6
+ 0x04140B01, // 0016 SUB R5 R5 K1
+ 0x7001FFF4, // 0017 JMP #000D
+ 0x98000A04, // 0018 SETIDX R0 R5 R4
+ 0x7001FFEE, // 0019 JMP #0009
+ 0x58080003, // 001A LDCONST R2 K3
+ 0xAC080200, // 001B CATCH R2 1 0
+ 0xB0080000, // 001C RAISE 2 R0 R0
+ 0x58080001, // 001D LDCONST R2 K1
+ 0x600C000C, // 001E GETGBL R3 G12
+ 0x5C100000, // 001F MOVE R4 R0
+ 0x7C0C0200, // 0020 CALL R3 1
+ 0x180C0701, // 0021 LE R3 R3 K1
+ 0x780E0000, // 0022 JMPF R3 #0024
+ 0x80040000, // 0023 RET 1 R0
+ 0x940C0102, // 0024 GETIDX R3 R0 K2
+ 0x6010000C, // 0025 GETGBL R4 G12
+ 0x5C140000, // 0026 MOVE R5 R0
+ 0x7C100200, // 0027 CALL R4 1
+ 0x14100404, // 0028 LT R4 R2 R4
+ 0x78120009, // 0029 JMPF R4 #0034
+ 0x94100002, // 002A GETIDX R4 R0 R2
+ 0x1C100803, // 002B EQ R4 R4 R3
+ 0x78120003, // 002C JMPF R4 #0031
+ 0x8C100104, // 002D GETMET R4 R0 K4
+ 0x5C180400, // 002E MOVE R6 R2
+ 0x7C100400, // 002F CALL R4 2
+ 0x70020001, // 0030 JMP #0033
+ 0x940C0002, // 0031 GETIDX R3 R0 R2
+ 0x00080501, // 0032 ADD R2 R2 K1
+ 0x7001FFF0, // 0033 JMP #0025
+ 0x80040000, // 0034 RET 1 R0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: k2l_num
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_k2l_num, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_Device),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(push),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ /* K4 */ be_const_int(1),
+ /* K5 */ be_const_int(0),
+ }),
+ be_str_weak(k2l_num),
+ &be_const_str_solidified,
+ ( &(const binstruction[52]) { /* code */
+ 0x58040000, // 0000 LDCONST R1 K0
+ 0x60080012, // 0001 GETGBL R2 G18
+ 0x7C080000, // 0002 CALL R2 0
0x4C0C0000, // 0003 LDNIL R3
- 0x20080403, // 0004 NE R2 R2 R3
- 0x780A0018, // 0005 JMPF R2 #001F
- 0x60080010, // 0006 GETGBL R2 G16
- 0x880C0100, // 0007 GETMBR R3 R0 K0
- 0x8C0C0701, // 0008 GETMET R3 R3 K1
- 0x7C0C0200, // 0009 CALL R3 1
- 0x7C080200, // 000A CALL R2 1
- 0xA802000F, // 000B EXBLK 0 #001C
- 0x5C0C0400, // 000C MOVE R3 R2
- 0x7C0C0000, // 000D CALL R3 0
- 0x88100100, // 000E GETMBR R4 R0 K0
- 0x94100803, // 000F GETIDX R4 R4 R3
- 0x8C100902, // 0010 GETMET R4 R4 K2
- 0x7C100200, // 0011 CALL R4 1
- 0x4C140000, // 0012 LDNIL R5
- 0x20140805, // 0013 NE R5 R4 R5
- 0x78160005, // 0014 JMPF R5 #001B
- 0x6014000C, // 0015 GETGBL R5 G12
- 0x5C180800, // 0016 MOVE R6 R4
- 0x7C140200, // 0017 CALL R5 1
- 0x24140B03, // 0018 GT R5 R5 K3
- 0x78160000, // 0019 JMPF R5 #001B
- 0x98040604, // 001A SETIDX R1 R3 R4
- 0x7001FFEF, // 001B JMP #000C
- 0x58080004, // 001C LDCONST R2 K4
- 0xAC080200, // 001D CATCH R2 1 0
- 0xB0080000, // 001E RAISE 2 R0 R0
- 0x90020A01, // 001F SETMBR R0 K5 R1
- 0x80040200, // 0020 RET 1 R1
+ 0x1C0C0003, // 0004 EQ R3 R0 R3
+ 0x780E0000, // 0005 JMPF R3 #0007
+ 0x80040400, // 0006 RET 1 R2
+ 0x600C0010, // 0007 GETGBL R3 G16
+ 0x8C100101, // 0008 GETMET R4 R0 K1
+ 0x7C100200, // 0009 CALL R4 1
+ 0x7C0C0200, // 000A CALL R3 1
+ 0xA8020007, // 000B EXBLK 0 #0014
+ 0x5C100600, // 000C MOVE R4 R3
+ 0x7C100000, // 000D CALL R4 0
+ 0x8C140502, // 000E GETMET R5 R2 K2
+ 0x601C0009, // 000F GETGBL R7 G9
+ 0x5C200800, // 0010 MOVE R8 R4
+ 0x7C1C0200, // 0011 CALL R7 1
+ 0x7C140400, // 0012 CALL R5 2
+ 0x7001FFF7, // 0013 JMP #000C
+ 0x580C0003, // 0014 LDCONST R3 K3
+ 0xAC0C0200, // 0015 CATCH R3 1 0
+ 0xB0080000, // 0016 RAISE 2 R0 R0
+ 0x600C0010, // 0017 GETGBL R3 G16
+ 0x6010000C, // 0018 GETGBL R4 G12
+ 0x5C140400, // 0019 MOVE R5 R2
+ 0x7C100200, // 001A CALL R4 1
+ 0x04100904, // 001B SUB R4 R4 K4
+ 0x40120804, // 001C CONNECT R4 K4 R4
+ 0x7C0C0200, // 001D CALL R3 1
+ 0xA8020010, // 001E EXBLK 0 #0030
+ 0x5C100600, // 001F MOVE R4 R3
+ 0x7C100000, // 0020 CALL R4 0
+ 0x94140404, // 0021 GETIDX R5 R2 R4
+ 0x5C180800, // 0022 MOVE R6 R4
+ 0x241C0D05, // 0023 GT R7 R6 K5
+ 0x781E0008, // 0024 JMPF R7 #002E
+ 0x041C0D04, // 0025 SUB R7 R6 K4
+ 0x941C0407, // 0026 GETIDX R7 R2 R7
+ 0x241C0E05, // 0027 GT R7 R7 R5
+ 0x781E0004, // 0028 JMPF R7 #002E
+ 0x041C0D04, // 0029 SUB R7 R6 K4
+ 0x941C0407, // 002A GETIDX R7 R2 R7
+ 0x98080C07, // 002B SETIDX R2 R6 R7
+ 0x04180D04, // 002C SUB R6 R6 K4
+ 0x7001FFF4, // 002D JMP #0023
+ 0x98080C05, // 002E SETIDX R2 R6 R5
+ 0x7001FFEE, // 002F JMP #001F
+ 0x580C0003, // 0030 LDCONST R3 K3
+ 0xAC0C0200, // 0031 CATCH R3 1 0
+ 0xB0080000, // 0032 RAISE 2 R0 R0
+ 0x80040400, // 0033 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_basic_commissioning
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_basic_commissioning, /* name */
+ be_nested_proto(
+ 13, /* nstack */
+ 8, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 3]) {
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns_announce_PASE),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Wifi_X23Connected),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 9]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0xB8020200, // 0003 GETNGBL R0 K1
+ 0x8C000102, // 0004 GETMET R0 R0 K2
+ 0x58080003, // 0005 LDCONST R2 K3
+ 0x580C0000, // 0006 LDCONST R3 K0
+ 0x7C000600, // 0007 CALL R0 3
+ 0x80000000, // 0008 RET 0
+ })
+ ),
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns_announce_PASE),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Eth_X23Connected),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 9]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0xB8020200, // 0003 GETNGBL R0 K1
+ 0x8C000102, // 0004 GETMET R0 R0 K2
+ 0x58080003, // 0005 LDCONST R2 K3
+ 0x580C0000, // 0006 LDCONST R3 K0
+ 0x7C000600, // 0007 CALL R0 3
+ 0x80000000, // 0008 RET 0
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[16]) { /* constants */
+ /* K0 */ be_nested_str_weak(commissioning_open),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(millis),
+ /* K3 */ be_nested_str_weak(commissioning_iterations),
+ /* K4 */ be_nested_str_weak(commissioning_discriminator),
+ /* K5 */ be_nested_str_weak(commissioning_salt),
+ /* K6 */ be_nested_str_weak(commissioning_w0),
+ /* K7 */ be_nested_str_weak(commissioning_L),
+ /* K8 */ be_nested_str_weak(commissioning_admin_fabric),
+ /* K9 */ be_nested_str_weak(wifi),
+ /* K10 */ be_nested_str_weak(up),
+ /* K11 */ be_nested_str_weak(eth),
+ /* K12 */ be_nested_str_weak(mdns_announce_PASE),
+ /* K13 */ be_nested_str_weak(add_rule),
+ /* K14 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K15 */ be_nested_str_weak(Eth_X23Connected),
+ }),
+ be_str_weak(start_basic_commissioning),
+ &be_const_str_solidified,
+ ( &(const binstruction[40]) { /* code */
+ 0xB8220200, // 0000 GETNGBL R8 K1
+ 0x8C201102, // 0001 GETMET R8 R8 K2
+ 0x7C200200, // 0002 CALL R8 1
+ 0x542603E7, // 0003 LDINT R9 1000
+ 0x08240209, // 0004 MUL R9 R1 R9
+ 0x00201009, // 0005 ADD R8 R8 R9
+ 0x90020008, // 0006 SETMBR R0 K0 R8
+ 0x90020602, // 0007 SETMBR R0 K3 R2
+ 0x90020803, // 0008 SETMBR R0 K4 R3
+ 0x90020A04, // 0009 SETMBR R0 K5 R4
+ 0x90020C05, // 000A SETMBR R0 K6 R5
+ 0x90020E06, // 000B SETMBR R0 K7 R6
+ 0x90021007, // 000C SETMBR R0 K8 R7
+ 0xB8220200, // 000D GETNGBL R8 K1
+ 0x8C201109, // 000E GETMET R8 R8 K9
+ 0x7C200200, // 000F CALL R8 1
+ 0x9420110A, // 0010 GETIDX R8 R8 K10
+ 0x74220004, // 0011 JMPT R8 #0017
+ 0xB8220200, // 0012 GETNGBL R8 K1
+ 0x8C20110B, // 0013 GETMET R8 R8 K11
+ 0x7C200200, // 0014 CALL R8 1
+ 0x9420110A, // 0015 GETIDX R8 R8 K10
+ 0x78220002, // 0016 JMPF R8 #001A
+ 0x8C20010C, // 0017 GETMET R8 R0 K12
+ 0x7C200200, // 0018 CALL R8 1
+ 0x7002000B, // 0019 JMP #0026
+ 0xB8220200, // 001A GETNGBL R8 K1
+ 0x8C20110D, // 001B GETMET R8 R8 K13
+ 0x5828000E, // 001C LDCONST R10 K14
+ 0x842C0000, // 001D CLOSURE R11 P0
+ 0x5830000C, // 001E LDCONST R12 K12
+ 0x7C200800, // 001F CALL R8 4
+ 0xB8220200, // 0020 GETNGBL R8 K1
+ 0x8C20110D, // 0021 GETMET R8 R8 K13
+ 0x5828000F, // 0022 LDCONST R10 K15
+ 0x842C0001, // 0023 CLOSURE R11 P1
+ 0x5830000C, // 0024 LDCONST R12 K12
+ 0x7C200800, // 0025 CALL R8 4
+ 0xA0000000, // 0026 CLOSE R0
+ 0x80000000, // 0027 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: stop
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_stop, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(remove_driver),
+ /* K2 */ be_nested_str_weak(udp_server),
+ /* K3 */ be_nested_str_weak(stop),
+ }),
+ be_str_weak(stop),
+ &be_const_str_solidified,
+ ( &(const binstruction[10]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x5C0C0000, // 0002 MOVE R3 R0
+ 0x7C040400, // 0003 CALL R1 2
+ 0x88040102, // 0004 GETMBR R1 R0 K2
+ 0x78060002, // 0005 JMPF R1 #0009
+ 0x88040102, // 0006 GETMBR R1 R0 K2
+ 0x8C040303, // 0007 GETMET R1 R1 K3
+ 0x7C040200, // 0008 CALL R1 1
+ 0x80000000, // 0009 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: msg_send
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_msg_send, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(udp_server),
+ /* K1 */ be_nested_str_weak(send_UDP),
+ }),
+ be_str_weak(msg_send),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x7C080400, // 0003 CALL R2 2
+ 0x80040400, // 0004 RET 1 R2
})
)
);
@@ -5112,532 +3205,6 @@ be_local_closure(class_Matter_Device_autoconf_device, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: read_sensors_scheduler
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_read_sensors_scheduler, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 7]) { /* constants */
- /* K0 */ be_nested_str_weak(probe_sensor_time),
- /* K1 */ be_nested_str_weak(probe_sensor_timestamp),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(tasmota),
- /* K4 */ be_nested_str_weak(time_reached),
- /* K5 */ be_nested_str_weak(_trigger_read_sensors),
- /* K6 */ be_nested_str_weak(millis),
- }),
- be_str_weak(read_sensors_scheduler),
- &be_const_str_solidified,
- ( &(const binstruction[21]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x4C080000, // 0001 LDNIL R2
- 0x1C040202, // 0002 EQ R1 R1 R2
- 0x78060000, // 0003 JMPF R1 #0005
- 0x80000200, // 0004 RET 0
- 0x88040101, // 0005 GETMBR R1 R0 K1
- 0x1C040302, // 0006 EQ R1 R1 K2
- 0x74060004, // 0007 JMPT R1 #000D
- 0xB8060600, // 0008 GETNGBL R1 K3
- 0x8C040304, // 0009 GETMET R1 R1 K4
- 0x880C0101, // 000A GETMBR R3 R0 K1
- 0x7C040400, // 000B CALL R1 2
- 0x78060006, // 000C JMPF R1 #0014
- 0x8C040105, // 000D GETMET R1 R0 K5
- 0x7C040200, // 000E CALL R1 1
- 0xB8060600, // 000F GETNGBL R1 K3
- 0x8C040306, // 0010 GETMET R1 R1 K6
- 0x880C0100, // 0011 GETMBR R3 R0 K0
- 0x7C040400, // 0012 CALL R1 2
- 0x90020201, // 0013 SETMBR R0 K1 R1
- 0x80000000, // 0014 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _mdns_announce_hostname
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__mdns_announce_hostname, /* name */
- be_nested_proto(
- 14, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[27]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(start),
- /* K3 */ be_nested_str_weak(tasmota),
- /* K4 */ be_nested_str_weak(eth),
- /* K5 */ be_nested_str_weak(hostname_eth),
- /* K6 */ be_nested_str_weak(replace),
- /* K7 */ be_nested_str_weak(find),
- /* K8 */ be_nested_str_weak(mac),
- /* K9 */ be_nested_str_weak(_X3A),
- /* K10 */ be_nested_str_weak(),
- /* K11 */ be_nested_str_weak(ipv4only),
- /* K12 */ be_nested_str_weak(contains),
- /* K13 */ be_nested_str_weak(ip6local),
- /* K14 */ be_nested_str_weak(add_hostname),
- /* K15 */ be_nested_str_weak(ip),
- /* K16 */ be_nested_str_weak(ip6),
- /* K17 */ be_nested_str_weak(log),
- /* K18 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eadd_hostname_X28_X25s_X2C_X20_X25s_X29),
- /* K19 */ be_const_int(3),
- /* K20 */ be_nested_str_weak(wifi),
- /* K21 */ be_nested_str_weak(hostname_wifi),
- /* K22 */ be_nested_str_weak(MTR_X3A_X20start_X20mDNS_X20on_X20_X25s_X20host_X20_X27_X25s_X2Elocal_X27),
- /* K23 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K24 */ be_nested_str_weak(_X7C),
- /* K25 */ be_const_int(2),
- /* K26 */ be_nested_str_weak(mdns_announce_op_discovery_all_fabrics),
- }),
- be_str_weak(_mdns_announce_hostname),
- &be_const_str_solidified,
- ( &(const binstruction[144]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0xA40E0200, // 0001 IMPORT R3 K1
- 0x8C100502, // 0002 GETMET R4 R2 K2
- 0x7C100200, // 0003 CALL R4 1
- 0xA8020077, // 0004 EXBLK 0 #007D
- 0x78060033, // 0005 JMPF R1 #003A
- 0xB8120600, // 0006 GETNGBL R4 K3
- 0x8C100904, // 0007 GETMET R4 R4 K4
- 0x7C100200, // 0008 CALL R4 1
- 0x8C140706, // 0009 GETMET R5 R3 K6
- 0x8C1C0907, // 000A GETMET R7 R4 K7
- 0x58240008, // 000B LDCONST R9 K8
- 0x7C1C0400, // 000C CALL R7 2
- 0x58200009, // 000D LDCONST R8 K9
- 0x5824000A, // 000E LDCONST R9 K10
- 0x7C140800, // 000F CALL R5 4
- 0x90020A05, // 0010 SETMBR R0 K5 R5
- 0x8814010B, // 0011 GETMBR R5 R0 K11
- 0x78160003, // 0012 JMPF R5 #0017
- 0x8C14090C, // 0013 GETMET R5 R4 K12
- 0x581C000D, // 0014 LDCONST R7 K13
- 0x7C140400, // 0015 CALL R5 2
- 0x7416000F, // 0016 JMPT R5 #0027
- 0x8C14050E, // 0017 GETMET R5 R2 K14
- 0x881C0105, // 0018 GETMBR R7 R0 K5
- 0x8C200907, // 0019 GETMET R8 R4 K7
- 0x5828000D, // 001A LDCONST R10 K13
- 0x582C000A, // 001B LDCONST R11 K10
- 0x7C200600, // 001C CALL R8 3
- 0x8C240907, // 001D GETMET R9 R4 K7
- 0x582C000F, // 001E LDCONST R11 K15
- 0x5830000A, // 001F LDCONST R12 K10
- 0x7C240600, // 0020 CALL R9 3
- 0x8C280907, // 0021 GETMET R10 R4 K7
- 0x58300010, // 0022 LDCONST R12 K16
- 0x5834000A, // 0023 LDCONST R13 K10
- 0x7C280600, // 0024 CALL R10 3
- 0x7C140A00, // 0025 CALL R5 5
- 0x70020011, // 0026 JMP #0039
- 0xB8162200, // 0027 GETNGBL R5 K17
- 0x60180018, // 0028 GETGBL R6 G24
- 0x581C0012, // 0029 LDCONST R7 K18
- 0x88200105, // 002A GETMBR R8 R0 K5
- 0x8C240907, // 002B GETMET R9 R4 K7
- 0x582C000F, // 002C LDCONST R11 K15
- 0x5830000A, // 002D LDCONST R12 K10
- 0x7C240600, // 002E CALL R9 3
- 0x7C180600, // 002F CALL R6 3
- 0x581C0013, // 0030 LDCONST R7 K19
- 0x7C140400, // 0031 CALL R5 2
- 0x8C14050E, // 0032 GETMET R5 R2 K14
- 0x881C0105, // 0033 GETMBR R7 R0 K5
- 0x8C200907, // 0034 GETMET R8 R4 K7
- 0x5828000F, // 0035 LDCONST R10 K15
- 0x582C000A, // 0036 LDCONST R11 K10
- 0x7C200600, // 0037 CALL R8 3
- 0x7C140600, // 0038 CALL R5 3
- 0x70020032, // 0039 JMP #006D
- 0xB8120600, // 003A GETNGBL R4 K3
- 0x8C100914, // 003B GETMET R4 R4 K20
- 0x7C100200, // 003C CALL R4 1
- 0x8C140706, // 003D GETMET R5 R3 K6
- 0x8C1C0907, // 003E GETMET R7 R4 K7
- 0x58240008, // 003F LDCONST R9 K8
- 0x7C1C0400, // 0040 CALL R7 2
- 0x58200009, // 0041 LDCONST R8 K9
- 0x5824000A, // 0042 LDCONST R9 K10
- 0x7C140800, // 0043 CALL R5 4
- 0x90022A05, // 0044 SETMBR R0 K21 R5
- 0x8814010B, // 0045 GETMBR R5 R0 K11
- 0x78160003, // 0046 JMPF R5 #004B
- 0x8C14090C, // 0047 GETMET R5 R4 K12
- 0x581C000D, // 0048 LDCONST R7 K13
- 0x7C140400, // 0049 CALL R5 2
- 0x7416000F, // 004A JMPT R5 #005B
- 0x8C14050E, // 004B GETMET R5 R2 K14
- 0x881C0115, // 004C GETMBR R7 R0 K21
- 0x8C200907, // 004D GETMET R8 R4 K7
- 0x5828000D, // 004E LDCONST R10 K13
- 0x582C000A, // 004F LDCONST R11 K10
- 0x7C200600, // 0050 CALL R8 3
- 0x8C240907, // 0051 GETMET R9 R4 K7
- 0x582C000F, // 0052 LDCONST R11 K15
- 0x5830000A, // 0053 LDCONST R12 K10
- 0x7C240600, // 0054 CALL R9 3
- 0x8C280907, // 0055 GETMET R10 R4 K7
- 0x58300010, // 0056 LDCONST R12 K16
- 0x5834000A, // 0057 LDCONST R13 K10
- 0x7C280600, // 0058 CALL R10 3
- 0x7C140A00, // 0059 CALL R5 5
- 0x70020011, // 005A JMP #006D
- 0xB8162200, // 005B GETNGBL R5 K17
- 0x60180018, // 005C GETGBL R6 G24
- 0x581C0012, // 005D LDCONST R7 K18
- 0x88200115, // 005E GETMBR R8 R0 K21
- 0x8C240907, // 005F GETMET R9 R4 K7
- 0x582C000F, // 0060 LDCONST R11 K15
- 0x5830000A, // 0061 LDCONST R12 K10
- 0x7C240600, // 0062 CALL R9 3
- 0x7C180600, // 0063 CALL R6 3
- 0x581C0013, // 0064 LDCONST R7 K19
- 0x7C140400, // 0065 CALL R5 2
- 0x8C14050E, // 0066 GETMET R5 R2 K14
- 0x881C0115, // 0067 GETMBR R7 R0 K21
- 0x8C200907, // 0068 GETMET R8 R4 K7
- 0x5828000F, // 0069 LDCONST R10 K15
- 0x582C000A, // 006A LDCONST R11 K10
- 0x7C200600, // 006B CALL R8 3
- 0x7C140600, // 006C CALL R5 3
- 0xB8122200, // 006D GETNGBL R4 K17
- 0x60140018, // 006E GETGBL R5 G24
- 0x58180016, // 006F LDCONST R6 K22
- 0x78060001, // 0070 JMPF R1 #0073
- 0x581C0004, // 0071 LDCONST R7 K4
- 0x70020000, // 0072 JMP #0074
- 0x581C0014, // 0073 LDCONST R7 K20
- 0x78060001, // 0074 JMPF R1 #0077
- 0x88200105, // 0075 GETMBR R8 R0 K5
- 0x70020000, // 0076 JMP #0078
- 0x88200115, // 0077 GETMBR R8 R0 K21
- 0x7C140600, // 0078 CALL R5 3
- 0x58180013, // 0079 LDCONST R6 K19
- 0x7C100400, // 007A CALL R4 2
- 0xA8040001, // 007B EXBLK 1 1
- 0x7002000F, // 007C JMP #008D
- 0xAC100002, // 007D CATCH R4 0 2
- 0x7002000C, // 007E JMP #008C
- 0xB81A2200, // 007F GETNGBL R6 K17
- 0x601C0008, // 0080 GETGBL R7 G8
- 0x5C200800, // 0081 MOVE R8 R4
- 0x7C1C0200, // 0082 CALL R7 1
- 0x001E2E07, // 0083 ADD R7 K23 R7
- 0x001C0F18, // 0084 ADD R7 R7 K24
- 0x60200008, // 0085 GETGBL R8 G8
- 0x5C240A00, // 0086 MOVE R9 R5
- 0x7C200200, // 0087 CALL R8 1
- 0x001C0E08, // 0088 ADD R7 R7 R8
- 0x58200019, // 0089 LDCONST R8 K25
- 0x7C180400, // 008A CALL R6 2
- 0x70020000, // 008B JMP #008D
- 0xB0080000, // 008C RAISE 2 R0 R0
- 0x8C10011A, // 008D GETMET R4 R0 K26
- 0x7C100200, // 008E CALL R4 1
- 0x80000000, // 008F RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: msg_send
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_msg_send, /* name */
- be_nested_proto(
- 5, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(udp_server),
- /* K1 */ be_nested_str_weak(send_UDP),
- }),
- be_str_weak(msg_send),
- &be_const_str_solidified,
- ( &(const binstruction[ 5]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x5C100200, // 0002 MOVE R4 R1
- 0x7C080400, // 0003 CALL R2 2
- 0x80040400, // 0004 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: register_http_remote
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_register_http_remote, /* name */
- be_nested_proto(
- 9, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(http_remotes),
- /* K1 */ be_nested_str_weak(contains),
- /* K2 */ be_nested_str_weak(get_timeout),
- /* K3 */ be_nested_str_weak(set_timeout),
- /* K4 */ be_nested_str_weak(matter),
- /* K5 */ be_nested_str_weak(HTTP_remote),
- /* K6 */ be_nested_str_weak(plugins_config_remotes),
- /* K7 */ be_nested_str_weak(set_info),
- }),
- be_str_weak(register_http_remote),
- &be_const_str_solidified,
- ( &(const binstruction[42]) { /* code */
- 0x880C0100, // 0000 GETMBR R3 R0 K0
- 0x4C100000, // 0001 LDNIL R4
- 0x1C0C0604, // 0002 EQ R3 R3 R4
- 0x780E0002, // 0003 JMPF R3 #0007
- 0x600C0013, // 0004 GETGBL R3 G19
- 0x7C0C0000, // 0005 CALL R3 0
- 0x90020003, // 0006 SETMBR R0 K0 R3
- 0x4C0C0000, // 0007 LDNIL R3
- 0x88100100, // 0008 GETMBR R4 R0 K0
- 0x8C100901, // 0009 GETMET R4 R4 K1
- 0x5C180200, // 000A MOVE R6 R1
- 0x7C100400, // 000B CALL R4 2
- 0x78120009, // 000C JMPF R4 #0017
- 0x88100100, // 000D GETMBR R4 R0 K0
- 0x940C0801, // 000E GETIDX R3 R4 R1
- 0x8C140702, // 000F GETMET R5 R3 K2
- 0x7C140200, // 0010 CALL R5 1
- 0x14140405, // 0011 LT R5 R2 R5
- 0x78160002, // 0012 JMPF R5 #0016
- 0x8C140703, // 0013 GETMET R5 R3 K3
- 0x5C1C0400, // 0014 MOVE R7 R2
- 0x7C140400, // 0015 CALL R5 2
- 0x70020011, // 0016 JMP #0029
- 0xB8120800, // 0017 GETNGBL R4 K4
- 0x8C100905, // 0018 GETMET R4 R4 K5
- 0x5C180000, // 0019 MOVE R6 R0
- 0x5C1C0200, // 001A MOVE R7 R1
- 0x5C200400, // 001B MOVE R8 R2
- 0x7C100800, // 001C CALL R4 4
- 0x5C0C0800, // 001D MOVE R3 R4
- 0x88100106, // 001E GETMBR R4 R0 K6
- 0x8C100901, // 001F GETMET R4 R4 K1
- 0x5C180200, // 0020 MOVE R6 R1
- 0x7C100400, // 0021 CALL R4 2
- 0x78120003, // 0022 JMPF R4 #0027
- 0x8C100707, // 0023 GETMET R4 R3 K7
- 0x88180106, // 0024 GETMBR R6 R0 K6
- 0x94180C01, // 0025 GETIDX R6 R6 R1
- 0x7C100400, // 0026 CALL R4 2
- 0x88100100, // 0027 GETMBR R4 R0 K0
- 0x98100203, // 0028 SETIDX R4 R1 R3
- 0x80040600, // 0029 RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: MtrInfo_one
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_MtrInfo_one, /* name */
- be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(find_plugin_by_endpoint),
- /* K1 */ be_nested_str_weak(state_json),
- /* K2 */ be_nested_str_weak(_X7B_X22MtrInfo_X22_X3A_X25s_X7D),
- /* K3 */ be_nested_str_weak(tasmota),
- /* K4 */ be_nested_str_weak(publish_result),
- /* K5 */ be_nested_str_weak(),
- }),
- be_str_weak(MtrInfo_one),
- &be_const_str_solidified,
- ( &(const binstruction[20]) { /* code */
- 0x8C080100, // 0000 GETMET R2 R0 K0
- 0x5C100200, // 0001 MOVE R4 R1
- 0x7C080400, // 0002 CALL R2 2
- 0x4C0C0000, // 0003 LDNIL R3
- 0x1C0C0403, // 0004 EQ R3 R2 R3
- 0x780E0000, // 0005 JMPF R3 #0007
- 0x80000600, // 0006 RET 0
- 0x8C0C0501, // 0007 GETMET R3 R2 K1
- 0x7C0C0200, // 0008 CALL R3 1
- 0x780E0008, // 0009 JMPF R3 #0013
- 0x60100018, // 000A GETGBL R4 G24
- 0x58140002, // 000B LDCONST R5 K2
- 0x5C180600, // 000C MOVE R6 R3
- 0x7C100400, // 000D CALL R4 2
- 0xB8160600, // 000E GETNGBL R5 K3
- 0x8C140B04, // 000F GETMET R5 R5 K4
- 0x5C1C0800, // 0010 MOVE R7 R4
- 0x58200005, // 0011 LDCONST R8 K5
- 0x7C140600, // 0012 CALL R5 3
- 0x80000000, // 0013 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _compute_pbkdf
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device__compute_pbkdf, /* name */
- be_nested_proto(
- 13, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[10]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(add),
- /* K2 */ be_nested_str_weak(PBKDF2_HMAC_SHA256),
- /* K3 */ be_nested_str_weak(derive),
- /* K4 */ be_const_int(0),
- /* K5 */ be_nested_str_weak(root_w0),
- /* K6 */ be_nested_str_weak(EC_P256),
- /* K7 */ be_nested_str_weak(mod),
- /* K8 */ be_nested_str_weak(root_L),
- /* K9 */ be_nested_str_weak(public_key),
- }),
- be_str_weak(_compute_pbkdf),
- &be_const_str_solidified,
- ( &(const binstruction[40]) { /* code */
- 0xA4120000, // 0000 IMPORT R4 K0
- 0x60140015, // 0001 GETGBL R5 G21
- 0x7C140000, // 0002 CALL R5 0
- 0x8C140B01, // 0003 GETMET R5 R5 K1
- 0x5C1C0200, // 0004 MOVE R7 R1
- 0x54220003, // 0005 LDINT R8 4
- 0x7C140600, // 0006 CALL R5 3
- 0x8C180902, // 0007 GETMET R6 R4 K2
- 0x7C180200, // 0008 CALL R6 1
- 0x8C180D03, // 0009 GETMET R6 R6 K3
- 0x5C200A00, // 000A MOVE R8 R5
- 0x5C240600, // 000B MOVE R9 R3
- 0x5C280400, // 000C MOVE R10 R2
- 0x542E004F, // 000D LDINT R11 80
- 0x7C180A00, // 000E CALL R6 5
- 0x541E0026, // 000F LDINT R7 39
- 0x401E0807, // 0010 CONNECT R7 K4 R7
- 0x941C0C07, // 0011 GETIDX R7 R6 R7
- 0x54220027, // 0012 LDINT R8 40
- 0x5426004E, // 0013 LDINT R9 79
- 0x40201009, // 0014 CONNECT R8 R8 R9
- 0x94200C08, // 0015 GETIDX R8 R6 R8
- 0x8C240906, // 0016 GETMET R9 R4 K6
- 0x7C240200, // 0017 CALL R9 1
- 0x8C241307, // 0018 GETMET R9 R9 K7
- 0x5C2C0E00, // 0019 MOVE R11 R7
- 0x7C240400, // 001A CALL R9 2
- 0x90020A09, // 001B SETMBR R0 K5 R9
- 0x8C240906, // 001C GETMET R9 R4 K6
- 0x7C240200, // 001D CALL R9 1
- 0x8C241307, // 001E GETMET R9 R9 K7
- 0x5C2C1000, // 001F MOVE R11 R8
- 0x7C240400, // 0020 CALL R9 2
- 0x8C280906, // 0021 GETMET R10 R4 K6
- 0x7C280200, // 0022 CALL R10 1
- 0x8C281509, // 0023 GETMET R10 R10 K9
- 0x5C301200, // 0024 MOVE R12 R9
- 0x7C280400, // 0025 CALL R10 2
- 0x9002100A, // 0026 SETMBR R0 K8 R10
- 0x80000000, // 0027 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: signal_endpoints_changed
-********************************************************************/
-extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_signal_endpoints_changed, /* name */
- be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- &be_class_Matter_Device,
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(attribute_updated),
- /* K1 */ be_const_int(0),
- /* K2 */ be_const_int(3),
- /* K3 */ be_nested_str_weak(matter),
- /* K4 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
- }),
- be_str_weak(signal_endpoints_changed),
- &be_const_str_solidified,
- ( &(const binstruction[14]) { /* code */
- 0x8C040100, // 0000 GETMET R1 R0 K0
- 0x580C0001, // 0001 LDCONST R3 K1
- 0x5412001C, // 0002 LDINT R4 29
- 0x58140002, // 0003 LDCONST R5 K2
- 0x50180000, // 0004 LDBOOL R6 0 0
- 0x7C040A00, // 0005 CALL R1 5
- 0x8C040100, // 0006 GETMET R1 R0 K0
- 0xB80E0600, // 0007 GETNGBL R3 K3
- 0x880C0704, // 0008 GETMBR R3 R3 K4
- 0x5412001C, // 0009 LDINT R4 29
- 0x58140002, // 000A LDCONST R5 K2
- 0x50180000, // 000B LDBOOL R6 0 0
- 0x7C040A00, // 000C CALL R1 5
- 0x80000000, // 000D RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: autoconf_device_map
********************************************************************/
@@ -5897,6 +3464,1175 @@ be_local_closure(class_Matter_Device_autoconf_device_map, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: update_remotes_info
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_update_remotes_info, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(http_remotes),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(get_info),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(stop_iteration),
+ /* K5 */ be_nested_str_weak(plugins_config_remotes),
+ }),
+ be_str_weak(update_remotes_info),
+ &be_const_str_solidified,
+ ( &(const binstruction[33]) { /* code */
+ 0x60040013, // 0000 GETGBL R1 G19
+ 0x7C040000, // 0001 CALL R1 0
+ 0x88080100, // 0002 GETMBR R2 R0 K0
+ 0x4C0C0000, // 0003 LDNIL R3
+ 0x20080403, // 0004 NE R2 R2 R3
+ 0x780A0018, // 0005 JMPF R2 #001F
+ 0x60080010, // 0006 GETGBL R2 G16
+ 0x880C0100, // 0007 GETMBR R3 R0 K0
+ 0x8C0C0701, // 0008 GETMET R3 R3 K1
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x7C080200, // 000A CALL R2 1
+ 0xA802000F, // 000B EXBLK 0 #001C
+ 0x5C0C0400, // 000C MOVE R3 R2
+ 0x7C0C0000, // 000D CALL R3 0
+ 0x88100100, // 000E GETMBR R4 R0 K0
+ 0x94100803, // 000F GETIDX R4 R4 R3
+ 0x8C100902, // 0010 GETMET R4 R4 K2
+ 0x7C100200, // 0011 CALL R4 1
+ 0x4C140000, // 0012 LDNIL R5
+ 0x20140805, // 0013 NE R5 R4 R5
+ 0x78160005, // 0014 JMPF R5 #001B
+ 0x6014000C, // 0015 GETGBL R5 G12
+ 0x5C180800, // 0016 MOVE R6 R4
+ 0x7C140200, // 0017 CALL R5 1
+ 0x24140B03, // 0018 GT R5 R5 K3
+ 0x78160000, // 0019 JMPF R5 #001B
+ 0x98040604, // 001A SETIDX R1 R3 R4
+ 0x7001FFEF, // 001B JMP #000C
+ 0x58080004, // 001C LDCONST R2 K4
+ 0xAC080200, // 001D CATCH R2 1 0
+ 0xB0080000, // 001E RAISE 2 R0 R0
+ 0x90020A01, // 001F SETMBR R0 K5 R1
+ 0x80040200, // 0020 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: check_config_ep
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_check_config_ep, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[14]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_config),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(push),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ /* K4 */ be_const_int(0),
+ /* K5 */ be_nested_str_weak(log),
+ /* K6 */ be_nested_str_weak(MTR_X3A_X20invalid_X20entry_X20with_X20ep_X20_X270_X27),
+ /* K7 */ be_const_int(2),
+ /* K8 */ be_nested_str_weak(remove),
+ /* K9 */ be_nested_str_weak(matter),
+ /* K10 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
+ /* K11 */ be_nested_str_weak(MTR_X3A_X20endpoint_X20_X25s_X20collides_X20wit_X20aggregator_X2C_X20relocating_X20to_X20_X25s),
+ /* K12 */ be_nested_str_weak(next_ep),
+ /* K13 */ be_const_int(1),
+ }),
+ be_str_weak(check_config_ep),
+ &be_const_str_solidified,
+ ( &(const binstruction[77]) { /* code */
+ 0x50040000, // 0000 LDBOOL R1 0 0
+ 0x60080012, // 0001 GETGBL R2 G18
+ 0x7C080000, // 0002 CALL R2 0
+ 0x600C0010, // 0003 GETGBL R3 G16
+ 0x88100100, // 0004 GETMBR R4 R0 K0
+ 0x8C100901, // 0005 GETMET R4 R4 K1
+ 0x7C100200, // 0006 CALL R4 1
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0xA8020007, // 0008 EXBLK 0 #0011
+ 0x5C100600, // 0009 MOVE R4 R3
+ 0x7C100000, // 000A CALL R4 0
+ 0x8C140502, // 000B GETMET R5 R2 K2
+ 0x601C0009, // 000C GETGBL R7 G9
+ 0x5C200800, // 000D MOVE R8 R4
+ 0x7C1C0200, // 000E CALL R7 1
+ 0x7C140400, // 000F CALL R5 2
+ 0x7001FFF7, // 0010 JMP #0009
+ 0x580C0003, // 0011 LDCONST R3 K3
+ 0xAC0C0200, // 0012 CATCH R3 1 0
+ 0xB0080000, // 0013 RAISE 2 R0 R0
+ 0x600C0010, // 0014 GETGBL R3 G16
+ 0x5C100400, // 0015 MOVE R4 R2
+ 0x7C0C0200, // 0016 CALL R3 1
+ 0xA8020030, // 0017 EXBLK 0 #0049
+ 0x5C100600, // 0018 MOVE R4 R3
+ 0x7C100000, // 0019 CALL R4 0
+ 0x1C140904, // 001A EQ R5 R4 K4
+ 0x7816000B, // 001B JMPF R5 #0028
+ 0xB8160A00, // 001C GETNGBL R5 K5
+ 0x58180006, // 001D LDCONST R6 K6
+ 0x581C0007, // 001E LDCONST R7 K7
+ 0x7C140400, // 001F CALL R5 2
+ 0x88140100, // 0020 GETMBR R5 R0 K0
+ 0x8C140B08, // 0021 GETMET R5 R5 K8
+ 0x601C0008, // 0022 GETGBL R7 G8
+ 0x5C200800, // 0023 MOVE R8 R4
+ 0x7C1C0200, // 0024 CALL R7 1
+ 0x7C140400, // 0025 CALL R5 2
+ 0x50040200, // 0026 LDBOOL R1 1 0
+ 0x7002001F, // 0027 JMP #0048
+ 0xB8161200, // 0028 GETNGBL R5 K9
+ 0x88140B0A, // 0029 GETMBR R5 R5 K10
+ 0x1C140805, // 002A EQ R5 R4 R5
+ 0x7816001B, // 002B JMPF R5 #0048
+ 0x50040200, // 002C LDBOOL R1 1 0
+ 0xB8160A00, // 002D GETNGBL R5 K5
+ 0x60180018, // 002E GETGBL R6 G24
+ 0x581C000B, // 002F LDCONST R7 K11
+ 0x5C200800, // 0030 MOVE R8 R4
+ 0x8824010C, // 0031 GETMBR R9 R0 K12
+ 0x7C180600, // 0032 CALL R6 3
+ 0x581C0007, // 0033 LDCONST R7 K7
+ 0x7C140400, // 0034 CALL R5 2
+ 0x60140008, // 0035 GETGBL R5 G8
+ 0x8818010C, // 0036 GETMBR R6 R0 K12
+ 0x7C140200, // 0037 CALL R5 1
+ 0x88180100, // 0038 GETMBR R6 R0 K0
+ 0x601C0008, // 0039 GETGBL R7 G8
+ 0x5C200800, // 003A MOVE R8 R4
+ 0x7C1C0200, // 003B CALL R7 1
+ 0x88200100, // 003C GETMBR R8 R0 K0
+ 0x941C1007, // 003D GETIDX R7 R8 R7
+ 0x98180A07, // 003E SETIDX R6 R5 R7
+ 0x88140100, // 003F GETMBR R5 R0 K0
+ 0x8C140B08, // 0040 GETMET R5 R5 K8
+ 0x601C0008, // 0041 GETGBL R7 G8
+ 0x5C200800, // 0042 MOVE R8 R4
+ 0x7C1C0200, // 0043 CALL R7 1
+ 0x7C140400, // 0044 CALL R5 2
+ 0x8814010C, // 0045 GETMBR R5 R0 K12
+ 0x00140B0D, // 0046 ADD R5 R5 K13
+ 0x90021805, // 0047 SETMBR R0 K12 R5
+ 0x7001FFCE, // 0048 JMP #0018
+ 0x580C0003, // 0049 LDCONST R3 K3
+ 0xAC0C0200, // 004A CATCH R3 1 0
+ 0xB0080000, // 004B RAISE 2 R0 R0
+ 0x80040200, // 004C RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_commissioning_complete
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_commissioning_complete, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[10]) { /* constants */
+ /* K0 */ be_nested_str_weak(get_fabric),
+ /* K1 */ be_nested_str_weak(get_fabric_id),
+ /* K2 */ be_nested_str_weak(copy),
+ /* K3 */ be_nested_str_weak(reverse),
+ /* K4 */ be_nested_str_weak(tohex),
+ /* K5 */ be_nested_str_weak(get_admin_vendor_name),
+ /* K6 */ be_nested_str_weak(log),
+ /* K7 */ be_nested_str_weak(MTR_X3A_X20_X2D_X2D_X2D_X20Commissioning_X20complete_X20for_X20Fabric_X20_X27_X25s_X27_X20_X28Vendor_X20_X25s_X29_X20_X2D_X2D_X2D),
+ /* K8 */ be_const_int(2),
+ /* K9 */ be_nested_str_weak(stop_basic_commissioning),
+ }),
+ be_str_weak(start_commissioning_complete),
+ &be_const_str_solidified,
+ ( &(const binstruction[23]) { /* code */
+ 0x8C080300, // 0000 GETMET R2 R1 K0
+ 0x7C080200, // 0001 CALL R2 1
+ 0x8C0C0501, // 0002 GETMET R3 R2 K1
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x8C0C0702, // 0004 GETMET R3 R3 K2
+ 0x7C0C0200, // 0005 CALL R3 1
+ 0x8C0C0703, // 0006 GETMET R3 R3 K3
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0x8C0C0704, // 0008 GETMET R3 R3 K4
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x8C100505, // 000A GETMET R4 R2 K5
+ 0x7C100200, // 000B CALL R4 1
+ 0xB8160C00, // 000C GETNGBL R5 K6
+ 0x60180018, // 000D GETGBL R6 G24
+ 0x581C0007, // 000E LDCONST R7 K7
+ 0x5C200600, // 000F MOVE R8 R3
+ 0x5C240800, // 0010 MOVE R9 R4
+ 0x7C180600, // 0011 CALL R6 3
+ 0x581C0008, // 0012 LDCONST R7 K8
+ 0x7C140400, // 0013 CALL R5 2
+ 0x8C140109, // 0014 GETMET R5 R0 K9
+ 0x7C140200, // 0015 CALL R5 1
+ 0x80000000, // 0016 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_remove_op_discovery
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_mdns_remove_op_discovery, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[23]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns),
+ /* K1 */ be_nested_str_weak(get_device_id),
+ /* K2 */ be_nested_str_weak(copy),
+ /* K3 */ be_nested_str_weak(reverse),
+ /* K4 */ be_nested_str_weak(get_fabric_compressed),
+ /* K5 */ be_nested_str_weak(tohex),
+ /* K6 */ be_nested_str_weak(_X2D),
+ /* K7 */ be_nested_str_weak(tasmota),
+ /* K8 */ be_nested_str_weak(eth),
+ /* K9 */ be_nested_str_weak(find),
+ /* K10 */ be_nested_str_weak(up),
+ /* K11 */ be_nested_str_weak(log),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
+ /* K13 */ be_const_int(3),
+ /* K14 */ be_nested_str_weak(remove_service),
+ /* K15 */ be_nested_str_weak(_matter),
+ /* K16 */ be_nested_str_weak(_tcp),
+ /* K17 */ be_nested_str_weak(hostname_eth),
+ /* K18 */ be_nested_str_weak(wifi),
+ /* K19 */ be_nested_str_weak(hostname_wifi),
+ /* K20 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K21 */ be_nested_str_weak(_X7C),
+ /* K22 */ be_const_int(2),
+ }),
+ be_str_weak(mdns_remove_op_discovery),
+ &be_const_str_solidified,
+ ( &(const binstruction[77]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0xA8020039, // 0001 EXBLK 0 #003C
+ 0x8C0C0301, // 0002 GETMET R3 R1 K1
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x8C0C0702, // 0004 GETMET R3 R3 K2
+ 0x7C0C0200, // 0005 CALL R3 1
+ 0x8C0C0703, // 0006 GETMET R3 R3 K3
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0x8C100304, // 0008 GETMET R4 R1 K4
+ 0x7C100200, // 0009 CALL R4 1
+ 0x8C140905, // 000A GETMET R5 R4 K5
+ 0x7C140200, // 000B CALL R5 1
+ 0x00140B06, // 000C ADD R5 R5 K6
+ 0x8C180705, // 000D GETMET R6 R3 K5
+ 0x7C180200, // 000E CALL R6 1
+ 0x00140A06, // 000F ADD R5 R5 R6
+ 0xB81A0E00, // 0010 GETNGBL R6 K7
+ 0x8C180D08, // 0011 GETMET R6 R6 K8
+ 0x7C180200, // 0012 CALL R6 1
+ 0x8C180D09, // 0013 GETMET R6 R6 K9
+ 0x5820000A, // 0014 LDCONST R8 K10
+ 0x7C180400, // 0015 CALL R6 2
+ 0x781A000D, // 0016 JMPF R6 #0025
+ 0xB81A1600, // 0017 GETNGBL R6 K11
+ 0x601C0018, // 0018 GETGBL R7 G24
+ 0x5820000C, // 0019 LDCONST R8 K12
+ 0x58240008, // 001A LDCONST R9 K8
+ 0x5C280A00, // 001B MOVE R10 R5
+ 0x7C1C0600, // 001C CALL R7 3
+ 0x5820000D, // 001D LDCONST R8 K13
+ 0x7C180400, // 001E CALL R6 2
+ 0x8C18050E, // 001F GETMET R6 R2 K14
+ 0x5820000F, // 0020 LDCONST R8 K15
+ 0x58240010, // 0021 LDCONST R9 K16
+ 0x5C280A00, // 0022 MOVE R10 R5
+ 0x882C0111, // 0023 GETMBR R11 R0 K17
+ 0x7C180A00, // 0024 CALL R6 5
+ 0xB81A0E00, // 0025 GETNGBL R6 K7
+ 0x8C180D12, // 0026 GETMET R6 R6 K18
+ 0x7C180200, // 0027 CALL R6 1
+ 0x8C180D09, // 0028 GETMET R6 R6 K9
+ 0x5820000A, // 0029 LDCONST R8 K10
+ 0x7C180400, // 002A CALL R6 2
+ 0x781A000D, // 002B JMPF R6 #003A
+ 0xB81A1600, // 002C GETNGBL R6 K11
+ 0x601C0018, // 002D GETGBL R7 G24
+ 0x5820000C, // 002E LDCONST R8 K12
+ 0x58240012, // 002F LDCONST R9 K18
+ 0x5C280A00, // 0030 MOVE R10 R5
+ 0x7C1C0600, // 0031 CALL R7 3
+ 0x5820000D, // 0032 LDCONST R8 K13
+ 0x7C180400, // 0033 CALL R6 2
+ 0x8C18050E, // 0034 GETMET R6 R2 K14
+ 0x5820000F, // 0035 LDCONST R8 K15
+ 0x58240010, // 0036 LDCONST R9 K16
+ 0x5C280A00, // 0037 MOVE R10 R5
+ 0x882C0113, // 0038 GETMBR R11 R0 K19
+ 0x7C180A00, // 0039 CALL R6 5
+ 0xA8040001, // 003A EXBLK 1 1
+ 0x7002000F, // 003B JMP #004C
+ 0xAC0C0002, // 003C CATCH R3 0 2
+ 0x7002000C, // 003D JMP #004B
+ 0xB8161600, // 003E GETNGBL R5 K11
+ 0x60180008, // 003F GETGBL R6 G8
+ 0x5C1C0600, // 0040 MOVE R7 R3
+ 0x7C180200, // 0041 CALL R6 1
+ 0x001A2806, // 0042 ADD R6 K20 R6
+ 0x00180D15, // 0043 ADD R6 R6 K21
+ 0x601C0008, // 0044 GETGBL R7 G8
+ 0x5C200800, // 0045 MOVE R8 R4
+ 0x7C1C0200, // 0046 CALL R7 1
+ 0x00180C07, // 0047 ADD R6 R6 R7
+ 0x581C0016, // 0048 LDCONST R7 K22
+ 0x7C140400, // 0049 CALL R5 2
+ 0x70020000, // 004A JMP #004C
+ 0xB0080000, // 004B RAISE 2 R0 R0
+ 0x80000000, // 004C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: stop_basic_commissioning
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_stop_basic_commissioning, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[13]) { /* constants */
+ /* K0 */ be_nested_str_weak(is_root_commissioning_open),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(publish_result),
+ /* K3 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Commissioning_X22_X3A0_X7D_X7D),
+ /* K4 */ be_nested_str_weak(Matter),
+ /* K5 */ be_nested_str_weak(commissioning_open),
+ /* K6 */ be_nested_str_weak(mdns_remove_PASE),
+ /* K7 */ be_nested_str_weak(commissioning_iterations),
+ /* K8 */ be_nested_str_weak(commissioning_discriminator),
+ /* K9 */ be_nested_str_weak(commissioning_salt),
+ /* K10 */ be_nested_str_weak(commissioning_w0),
+ /* K11 */ be_nested_str_weak(commissioning_L),
+ /* K12 */ be_nested_str_weak(commissioning_admin_fabric),
+ }),
+ be_str_weak(stop_basic_commissioning),
+ &be_const_str_solidified,
+ ( &(const binstruction[25]) { /* code */
+ 0x8C040100, // 0000 GETMET R1 R0 K0
+ 0x7C040200, // 0001 CALL R1 1
+ 0x78060004, // 0002 JMPF R1 #0008
+ 0xB8060200, // 0003 GETNGBL R1 K1
+ 0x8C040302, // 0004 GETMET R1 R1 K2
+ 0x580C0003, // 0005 LDCONST R3 K3
+ 0x58100004, // 0006 LDCONST R4 K4
+ 0x7C040600, // 0007 CALL R1 3
+ 0x4C040000, // 0008 LDNIL R1
+ 0x90020A01, // 0009 SETMBR R0 K5 R1
+ 0x8C040106, // 000A GETMET R1 R0 K6
+ 0x7C040200, // 000B CALL R1 1
+ 0x4C040000, // 000C LDNIL R1
+ 0x90020E01, // 000D SETMBR R0 K7 R1
+ 0x4C040000, // 000E LDNIL R1
+ 0x90021001, // 000F SETMBR R0 K8 R1
+ 0x4C040000, // 0010 LDNIL R1
+ 0x90021201, // 0011 SETMBR R0 K9 R1
+ 0x4C040000, // 0012 LDNIL R1
+ 0x90021401, // 0013 SETMBR R0 K10 R1
+ 0x4C040000, // 0014 LDNIL R1
+ 0x90021601, // 0015 SETMBR R0 K11 R1
+ 0x4C040000, // 0016 LDNIL R1
+ 0x90021801, // 0017 SETMBR R0 K12 R1
+ 0x80000000, // 0018 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _compute_pbkdf
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device__compute_pbkdf, /* name */
+ be_nested_proto(
+ 13, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[10]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(add),
+ /* K2 */ be_nested_str_weak(PBKDF2_HMAC_SHA256),
+ /* K3 */ be_nested_str_weak(derive),
+ /* K4 */ be_const_int(0),
+ /* K5 */ be_nested_str_weak(root_w0),
+ /* K6 */ be_nested_str_weak(EC_P256),
+ /* K7 */ be_nested_str_weak(mod),
+ /* K8 */ be_nested_str_weak(root_L),
+ /* K9 */ be_nested_str_weak(public_key),
+ }),
+ be_str_weak(_compute_pbkdf),
+ &be_const_str_solidified,
+ ( &(const binstruction[40]) { /* code */
+ 0xA4120000, // 0000 IMPORT R4 K0
+ 0x60140015, // 0001 GETGBL R5 G21
+ 0x7C140000, // 0002 CALL R5 0
+ 0x8C140B01, // 0003 GETMET R5 R5 K1
+ 0x5C1C0200, // 0004 MOVE R7 R1
+ 0x54220003, // 0005 LDINT R8 4
+ 0x7C140600, // 0006 CALL R5 3
+ 0x8C180902, // 0007 GETMET R6 R4 K2
+ 0x7C180200, // 0008 CALL R6 1
+ 0x8C180D03, // 0009 GETMET R6 R6 K3
+ 0x5C200A00, // 000A MOVE R8 R5
+ 0x5C240600, // 000B MOVE R9 R3
+ 0x5C280400, // 000C MOVE R10 R2
+ 0x542E004F, // 000D LDINT R11 80
+ 0x7C180A00, // 000E CALL R6 5
+ 0x541E0026, // 000F LDINT R7 39
+ 0x401E0807, // 0010 CONNECT R7 K4 R7
+ 0x941C0C07, // 0011 GETIDX R7 R6 R7
+ 0x54220027, // 0012 LDINT R8 40
+ 0x5426004E, // 0013 LDINT R9 79
+ 0x40201009, // 0014 CONNECT R8 R8 R9
+ 0x94200C08, // 0015 GETIDX R8 R6 R8
+ 0x8C240906, // 0016 GETMET R9 R4 K6
+ 0x7C240200, // 0017 CALL R9 1
+ 0x8C241307, // 0018 GETMET R9 R9 K7
+ 0x5C2C0E00, // 0019 MOVE R11 R7
+ 0x7C240400, // 001A CALL R9 2
+ 0x90020A09, // 001B SETMBR R0 K5 R9
+ 0x8C240906, // 001C GETMET R9 R4 K6
+ 0x7C240200, // 001D CALL R9 1
+ 0x8C241307, // 001E GETMET R9 R9 K7
+ 0x5C2C1000, // 001F MOVE R11 R8
+ 0x7C240400, // 0020 CALL R9 2
+ 0x8C280906, // 0021 GETMET R10 R4 K6
+ 0x7C280200, // 0022 CALL R10 1
+ 0x8C281509, // 0023 GETMET R10 R10 K9
+ 0x5C301200, // 0024 MOVE R12 R9
+ 0x7C280400, // 0025 CALL R10 2
+ 0x9002100A, // 0026 SETMBR R0 K8 R10
+ 0x80000000, // 0027 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: MtrUpdate
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_MtrUpdate, /* name */
+ be_nested_proto(
+ 18, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[25]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(resp_cmnd_str),
+ /* K2 */ be_nested_str_weak(Invalid_X20JSON),
+ /* K3 */ be_nested_str_weak(find_key_i),
+ /* K4 */ be_nested_str_weak(Ep),
+ /* K5 */ be_nested_str_weak(Name),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(Invalid_X20_X27Ep_X27_X20attribute),
+ /* K8 */ be_nested_str_weak(find_plugin_by_endpoint),
+ /* K9 */ be_nested_str_weak(remove),
+ /* K10 */ be_nested_str_weak(find_plugin_by_friendly_name),
+ /* K11 */ be_nested_str_weak(Invalid_X20Device),
+ /* K12 */ be_nested_str_weak(VIRTUAL),
+ /* K13 */ be_nested_str_weak(Device_X20is_X20not_X20virtual),
+ /* K14 */ be_nested_str_weak(consolidate_update_commands),
+ /* K15 */ be_nested_str_weak(keys),
+ /* K16 */ be_nested_str_weak(find_list_i),
+ /* K17 */ be_nested_str_weak(Invalid_X20attribute_X20_X27_X25s_X27),
+ /* K18 */ be_nested_str_weak(stop_iteration),
+ /* K19 */ be_nested_str_weak(update_virtual),
+ /* K20 */ be_nested_str_weak(state_json),
+ /* K21 */ be_nested_str_weak(_X7B_X22_X25s_X22_X3A_X25s_X7D),
+ /* K22 */ be_nested_str_weak(resp_cmnd),
+ /* K23 */ be_nested_str_weak(resp_cmnd_done),
+ /* K24 */ be_nested_str_weak(Missing_X20_X27Device_X27_X20attribute),
+ }),
+ be_str_weak(MtrUpdate),
+ &be_const_str_solidified,
+ ( &(const binstruction[126]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x1C140805, // 0001 EQ R5 R4 R5
+ 0x78160004, // 0002 JMPF R5 #0008
+ 0xB8160000, // 0003 GETNGBL R5 K0
+ 0x8C140B01, // 0004 GETMET R5 R5 K1
+ 0x581C0002, // 0005 LDCONST R7 K2
+ 0x7C140400, // 0006 CALL R5 2
+ 0x80040A00, // 0007 RET 1 R5
+ 0xB8160000, // 0008 GETNGBL R5 K0
+ 0x8C140B03, // 0009 GETMET R5 R5 K3
+ 0x5C1C0800, // 000A MOVE R7 R4
+ 0x58200004, // 000B LDCONST R8 K4
+ 0x7C140600, // 000C CALL R5 3
+ 0xB81A0000, // 000D GETNGBL R6 K0
+ 0x8C180D03, // 000E GETMET R6 R6 K3
+ 0x5C200800, // 000F MOVE R8 R4
+ 0x58240005, // 0010 LDCONST R9 K5
+ 0x7C180600, // 0011 CALL R6 3
+ 0x74160000, // 0012 JMPT R5 #0014
+ 0x781A0064, // 0013 JMPF R6 #0079
+ 0x4C1C0000, // 0014 LDNIL R7
+ 0x78160010, // 0015 JMPF R5 #0027
+ 0x60200009, // 0016 GETGBL R8 G9
+ 0x94240805, // 0017 GETIDX R9 R4 R5
+ 0x7C200200, // 0018 CALL R8 1
+ 0x18241106, // 0019 LE R9 R8 K6
+ 0x78260004, // 001A JMPF R9 #0020
+ 0xB8260000, // 001B GETNGBL R9 K0
+ 0x8C241301, // 001C GETMET R9 R9 K1
+ 0x582C0007, // 001D LDCONST R11 K7
+ 0x7C240400, // 001E CALL R9 2
+ 0x80041200, // 001F RET 1 R9
+ 0x8C240108, // 0020 GETMET R9 R0 K8
+ 0x5C2C1000, // 0021 MOVE R11 R8
+ 0x7C240400, // 0022 CALL R9 2
+ 0x5C1C1200, // 0023 MOVE R7 R9
+ 0x8C240909, // 0024 GETMET R9 R4 K9
+ 0x5C2C0A00, // 0025 MOVE R11 R5
+ 0x7C240400, // 0026 CALL R9 2
+ 0x781A0009, // 0027 JMPF R6 #0032
+ 0x4C200000, // 0028 LDNIL R8
+ 0x1C200E08, // 0029 EQ R8 R7 R8
+ 0x78220003, // 002A JMPF R8 #002F
+ 0x8C20010A, // 002B GETMET R8 R0 K10
+ 0x94280806, // 002C GETIDX R10 R4 R6
+ 0x7C200400, // 002D CALL R8 2
+ 0x5C1C1000, // 002E MOVE R7 R8
+ 0x8C200909, // 002F GETMET R8 R4 K9
+ 0x5C280C00, // 0030 MOVE R10 R6
+ 0x7C200400, // 0031 CALL R8 2
+ 0x4C200000, // 0032 LDNIL R8
+ 0x1C200E08, // 0033 EQ R8 R7 R8
+ 0x78220004, // 0034 JMPF R8 #003A
+ 0xB8220000, // 0035 GETNGBL R8 K0
+ 0x8C201101, // 0036 GETMET R8 R8 K1
+ 0x5828000B, // 0037 LDCONST R10 K11
+ 0x7C200400, // 0038 CALL R8 2
+ 0x80041000, // 0039 RET 1 R8
+ 0x88200F0C, // 003A GETMBR R8 R7 K12
+ 0x74220004, // 003B JMPT R8 #0041
+ 0xB8220000, // 003C GETNGBL R8 K0
+ 0x8C201101, // 003D GETMET R8 R8 K1
+ 0x5828000D, // 003E LDCONST R10 K13
+ 0x7C200400, // 003F CALL R8 2
+ 0x80041000, // 0040 RET 1 R8
+ 0x8C200F0E, // 0041 GETMET R8 R7 K14
+ 0x7C200200, // 0042 CALL R8 1
+ 0x60240013, // 0043 GETGBL R9 G19
+ 0x7C240000, // 0044 CALL R9 0
+ 0x60280010, // 0045 GETGBL R10 G16
+ 0x8C2C090F, // 0046 GETMET R11 R4 K15
+ 0x7C2C0200, // 0047 CALL R11 1
+ 0x7C280200, // 0048 CALL R10 1
+ 0xA8020016, // 0049 EXBLK 0 #0061
+ 0x5C2C1400, // 004A MOVE R11 R10
+ 0x7C2C0000, // 004B CALL R11 0
+ 0xB8320000, // 004C GETNGBL R12 K0
+ 0x8C301910, // 004D GETMET R12 R12 K16
+ 0x5C381000, // 004E MOVE R14 R8
+ 0x5C3C1600, // 004F MOVE R15 R11
+ 0x7C300600, // 0050 CALL R12 3
+ 0x4C340000, // 0051 LDNIL R13
+ 0x1C34180D, // 0052 EQ R13 R12 R13
+ 0x78360008, // 0053 JMPF R13 #005D
+ 0xB8360000, // 0054 GETNGBL R13 K0
+ 0x8C341B01, // 0055 GETMET R13 R13 K1
+ 0x603C0018, // 0056 GETGBL R15 G24
+ 0x58400011, // 0057 LDCONST R16 K17
+ 0x5C441600, // 0058 MOVE R17 R11
+ 0x7C3C0400, // 0059 CALL R15 2
+ 0x7C340400, // 005A CALL R13 2
+ 0xA8040001, // 005B EXBLK 1 1
+ 0x80001A00, // 005C RET 0
+ 0x9434100C, // 005D GETIDX R13 R8 R12
+ 0x9438080B, // 005E GETIDX R14 R4 R11
+ 0x98241A0E, // 005F SETIDX R9 R13 R14
+ 0x7001FFE8, // 0060 JMP #004A
+ 0x58280012, // 0061 LDCONST R10 K18
+ 0xAC280200, // 0062 CATCH R10 1 0
+ 0xB0080000, // 0063 RAISE 2 R0 R0
+ 0x8C280F13, // 0064 GETMET R10 R7 K19
+ 0x5C301200, // 0065 MOVE R12 R9
+ 0x7C280400, // 0066 CALL R10 2
+ 0x8C280F14, // 0067 GETMET R10 R7 K20
+ 0x7C280200, // 0068 CALL R10 1
+ 0x782A000A, // 0069 JMPF R10 #0075
+ 0x602C0018, // 006A GETGBL R11 G24
+ 0x58300015, // 006B LDCONST R12 K21
+ 0x5C340200, // 006C MOVE R13 R1
+ 0x5C381400, // 006D MOVE R14 R10
+ 0x7C2C0600, // 006E CALL R11 3
+ 0xB8320000, // 006F GETNGBL R12 K0
+ 0x8C301916, // 0070 GETMET R12 R12 K22
+ 0x5C381600, // 0071 MOVE R14 R11
+ 0x7C300400, // 0072 CALL R12 2
+ 0x80041800, // 0073 RET 1 R12
+ 0x70020003, // 0074 JMP #0079
+ 0xB82E0000, // 0075 GETNGBL R11 K0
+ 0x8C2C1717, // 0076 GETMET R11 R11 K23
+ 0x7C2C0200, // 0077 CALL R11 1
+ 0x80041600, // 0078 RET 1 R11
+ 0xB81E0000, // 0079 GETNGBL R7 K0
+ 0x8C1C0F01, // 007A GETMET R7 R7 K1
+ 0x58240018, // 007B LDCONST R9 K24
+ 0x7C1C0400, // 007C CALL R7 2
+ 0x80000000, // 007D RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_announce_op_discovery
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_mdns_announce_op_discovery, /* name */
+ be_nested_proto(
+ 14, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[27]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns),
+ /* K1 */ be_nested_str_weak(get_device_id),
+ /* K2 */ be_nested_str_weak(copy),
+ /* K3 */ be_nested_str_weak(reverse),
+ /* K4 */ be_nested_str_weak(get_fabric_compressed),
+ /* K5 */ be_nested_str_weak(tohex),
+ /* K6 */ be_nested_str_weak(_X2D),
+ /* K7 */ be_nested_str_weak(log),
+ /* K8 */ be_nested_str_weak(MTR_X3A_X20Operational_X20Discovery_X20node_X20_X3D_X20),
+ /* K9 */ be_const_int(3),
+ /* K10 */ be_nested_str_weak(tasmota),
+ /* K11 */ be_nested_str_weak(eth),
+ /* K12 */ be_nested_str_weak(find),
+ /* K13 */ be_nested_str_weak(up),
+ /* K14 */ be_nested_str_weak(MTR_X3A_X20adding_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27_X20ptr_X20to_X20_X60_X25s_X2Elocal_X60),
+ /* K15 */ be_nested_str_weak(hostname_eth),
+ /* K16 */ be_nested_str_weak(add_service),
+ /* K17 */ be_nested_str_weak(_matter),
+ /* K18 */ be_nested_str_weak(_tcp),
+ /* K19 */ be_nested_str_weak(_I),
+ /* K20 */ be_nested_str_weak(MTR_X3A_X20adding_X20subtype_X3A_X20),
+ /* K21 */ be_nested_str_weak(add_subtype),
+ /* K22 */ be_nested_str_weak(wifi),
+ /* K23 */ be_nested_str_weak(hostname_wifi),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K25 */ be_nested_str_weak(_X7C),
+ /* K26 */ be_const_int(2),
+ }),
+ be_str_weak(mdns_announce_op_discovery),
+ &be_const_str_solidified,
+ ( &(const binstruction[115]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0xA802005F, // 0001 EXBLK 0 #0062
+ 0x8C0C0301, // 0002 GETMET R3 R1 K1
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x8C0C0702, // 0004 GETMET R3 R3 K2
+ 0x7C0C0200, // 0005 CALL R3 1
+ 0x8C0C0703, // 0006 GETMET R3 R3 K3
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0x8C100304, // 0008 GETMET R4 R1 K4
+ 0x7C100200, // 0009 CALL R4 1
+ 0x8C140905, // 000A GETMET R5 R4 K5
+ 0x7C140200, // 000B CALL R5 1
+ 0x00140B06, // 000C ADD R5 R5 K6
+ 0x8C180705, // 000D GETMET R6 R3 K5
+ 0x7C180200, // 000E CALL R6 1
+ 0x00140A06, // 000F ADD R5 R5 R6
+ 0xB81A0E00, // 0010 GETNGBL R6 K7
+ 0x001E1005, // 0011 ADD R7 K8 R5
+ 0x58200009, // 0012 LDCONST R8 K9
+ 0x7C180400, // 0013 CALL R6 2
+ 0xB81A1400, // 0014 GETNGBL R6 K10
+ 0x8C180D0B, // 0015 GETMET R6 R6 K11
+ 0x7C180200, // 0016 CALL R6 1
+ 0x8C180D0C, // 0017 GETMET R6 R6 K12
+ 0x5820000D, // 0018 LDCONST R8 K13
+ 0x7C180400, // 0019 CALL R6 2
+ 0x781A001E, // 001A JMPF R6 #003A
+ 0xB81A0E00, // 001B GETNGBL R6 K7
+ 0x601C0018, // 001C GETGBL R7 G24
+ 0x5820000E, // 001D LDCONST R8 K14
+ 0x5824000B, // 001E LDCONST R9 K11
+ 0x5C280A00, // 001F MOVE R10 R5
+ 0x882C010F, // 0020 GETMBR R11 R0 K15
+ 0x7C1C0800, // 0021 CALL R7 4
+ 0x58200009, // 0022 LDCONST R8 K9
+ 0x7C180400, // 0023 CALL R6 2
+ 0x8C180510, // 0024 GETMET R6 R2 K16
+ 0x58200011, // 0025 LDCONST R8 K17
+ 0x58240012, // 0026 LDCONST R9 K18
+ 0x542A15A3, // 0027 LDINT R10 5540
+ 0x4C2C0000, // 0028 LDNIL R11
+ 0x5C300A00, // 0029 MOVE R12 R5
+ 0x8834010F, // 002A GETMBR R13 R0 K15
+ 0x7C180E00, // 002B CALL R6 7
+ 0x8C180905, // 002C GETMET R6 R4 K5
+ 0x7C180200, // 002D CALL R6 1
+ 0x001A2606, // 002E ADD R6 K19 R6
+ 0xB81E0E00, // 002F GETNGBL R7 K7
+ 0x00222806, // 0030 ADD R8 K20 R6
+ 0x58240009, // 0031 LDCONST R9 K9
+ 0x7C1C0400, // 0032 CALL R7 2
+ 0x8C1C0515, // 0033 GETMET R7 R2 K21
+ 0x58240011, // 0034 LDCONST R9 K17
+ 0x58280012, // 0035 LDCONST R10 K18
+ 0x5C2C0A00, // 0036 MOVE R11 R5
+ 0x8830010F, // 0037 GETMBR R12 R0 K15
+ 0x5C340C00, // 0038 MOVE R13 R6
+ 0x7C1C0C00, // 0039 CALL R7 6
+ 0xB81A1400, // 003A GETNGBL R6 K10
+ 0x8C180D16, // 003B GETMET R6 R6 K22
+ 0x7C180200, // 003C CALL R6 1
+ 0x8C180D0C, // 003D GETMET R6 R6 K12
+ 0x5820000D, // 003E LDCONST R8 K13
+ 0x7C180400, // 003F CALL R6 2
+ 0x781A001E, // 0040 JMPF R6 #0060
+ 0xB81A0E00, // 0041 GETNGBL R6 K7
+ 0x601C0018, // 0042 GETGBL R7 G24
+ 0x5820000E, // 0043 LDCONST R8 K14
+ 0x58240016, // 0044 LDCONST R9 K22
+ 0x5C280A00, // 0045 MOVE R10 R5
+ 0x882C0117, // 0046 GETMBR R11 R0 K23
+ 0x7C1C0800, // 0047 CALL R7 4
+ 0x58200009, // 0048 LDCONST R8 K9
+ 0x7C180400, // 0049 CALL R6 2
+ 0x8C180510, // 004A GETMET R6 R2 K16
+ 0x58200011, // 004B LDCONST R8 K17
+ 0x58240012, // 004C LDCONST R9 K18
+ 0x542A15A3, // 004D LDINT R10 5540
+ 0x4C2C0000, // 004E LDNIL R11
+ 0x5C300A00, // 004F MOVE R12 R5
+ 0x88340117, // 0050 GETMBR R13 R0 K23
+ 0x7C180E00, // 0051 CALL R6 7
+ 0x8C180905, // 0052 GETMET R6 R4 K5
+ 0x7C180200, // 0053 CALL R6 1
+ 0x001A2606, // 0054 ADD R6 K19 R6
+ 0xB81E0E00, // 0055 GETNGBL R7 K7
+ 0x00222806, // 0056 ADD R8 K20 R6
+ 0x58240009, // 0057 LDCONST R9 K9
+ 0x7C1C0400, // 0058 CALL R7 2
+ 0x8C1C0515, // 0059 GETMET R7 R2 K21
+ 0x58240011, // 005A LDCONST R9 K17
+ 0x58280012, // 005B LDCONST R10 K18
+ 0x5C2C0A00, // 005C MOVE R11 R5
+ 0x88300117, // 005D GETMBR R12 R0 K23
+ 0x5C340C00, // 005E MOVE R13 R6
+ 0x7C1C0C00, // 005F CALL R7 6
+ 0xA8040001, // 0060 EXBLK 1 1
+ 0x7002000F, // 0061 JMP #0072
+ 0xAC0C0002, // 0062 CATCH R3 0 2
+ 0x7002000C, // 0063 JMP #0071
+ 0xB8160E00, // 0064 GETNGBL R5 K7
+ 0x60180008, // 0065 GETGBL R6 G8
+ 0x5C1C0600, // 0066 MOVE R7 R3
+ 0x7C180200, // 0067 CALL R6 1
+ 0x001A3006, // 0068 ADD R6 K24 R6
+ 0x00180D19, // 0069 ADD R6 R6 K25
+ 0x601C0008, // 006A GETGBL R7 G8
+ 0x5C200800, // 006B MOVE R8 R4
+ 0x7C1C0200, // 006C CALL R7 1
+ 0x00180C07, // 006D ADD R6 R6 R7
+ 0x581C001A, // 006E LDCONST R7 K26
+ 0x7C140400, // 006F CALL R5 2
+ 0x70020000, // 0070 JMP #0072
+ 0xB0080000, // 0071 RAISE 2 R0 R0
+ 0x80000000, // 0072 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_remove_op_discovery_all_fabrics
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_mdns_remove_op_discovery_all_fabrics, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(sessions),
+ /* K1 */ be_nested_str_weak(active_fabrics),
+ /* K2 */ be_nested_str_weak(get_device_id),
+ /* K3 */ be_nested_str_weak(get_fabric_id),
+ /* K4 */ be_nested_str_weak(mdns_remove_op_discovery),
+ /* K5 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(mdns_remove_op_discovery_all_fabrics),
+ &be_const_str_solidified,
+ ( &(const binstruction[22]) { /* code */
+ 0x60040010, // 0000 GETGBL R1 G16
+ 0x88080100, // 0001 GETMBR R2 R0 K0
+ 0x8C080501, // 0002 GETMET R2 R2 K1
+ 0x7C080200, // 0003 CALL R2 1
+ 0x7C040200, // 0004 CALL R1 1
+ 0xA802000B, // 0005 EXBLK 0 #0012
+ 0x5C080200, // 0006 MOVE R2 R1
+ 0x7C080000, // 0007 CALL R2 0
+ 0x8C0C0502, // 0008 GETMET R3 R2 K2
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x780E0005, // 000A JMPF R3 #0011
+ 0x8C0C0503, // 000B GETMET R3 R2 K3
+ 0x7C0C0200, // 000C CALL R3 1
+ 0x780E0002, // 000D JMPF R3 #0011
+ 0x8C0C0104, // 000E GETMET R3 R0 K4
+ 0x5C140400, // 000F MOVE R5 R2
+ 0x7C0C0400, // 0010 CALL R3 2
+ 0x7001FFF3, // 0011 JMP #0006
+ 0x58040005, // 0012 LDCONST R1 K5
+ 0xAC040200, // 0013 CATCH R1 1 0
+ 0xB0080000, // 0014 RAISE 2 R0 R0
+ 0x80000000, // 0015 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: save_param
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_save_param, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[31]) { /* constants */
+ /* K0 */ be_nested_str_weak(json),
+ /* K1 */ be_nested_str_weak(update_remotes_info),
+ /* K2 */ be_nested_str_weak(_X7B_X22distinguish_X22_X3A_X25i_X2C_X22passcode_X22_X3A_X25i_X2C_X22ipv4only_X22_X3A_X25s_X2C_X22disable_bridge_mode_X22_X3A_X25s_X2C_X22nextep_X22_X3A_X25i),
+ /* K3 */ be_nested_str_weak(root_discriminator),
+ /* K4 */ be_nested_str_weak(root_passcode),
+ /* K5 */ be_nested_str_weak(ipv4only),
+ /* K6 */ be_nested_str_weak(true),
+ /* K7 */ be_nested_str_weak(false),
+ /* K8 */ be_nested_str_weak(disable_bridge_mode),
+ /* K9 */ be_nested_str_weak(next_ep),
+ /* K10 */ be_nested_str_weak(debug),
+ /* K11 */ be_nested_str_weak(_X2C_X22debug_X22_X3Atrue),
+ /* K12 */ be_nested_str_weak(plugins_persist),
+ /* K13 */ be_nested_str_weak(_X2C_X0A_X22config_X22_X3A),
+ /* K14 */ be_nested_str_weak(dump),
+ /* K15 */ be_nested_str_weak(plugins_config),
+ /* K16 */ be_nested_str_weak(plugins_config_remotes),
+ /* K17 */ be_const_int(0),
+ /* K18 */ be_nested_str_weak(_X2C_X0A_X22remotes_X22_X3A),
+ /* K19 */ be_nested_str_weak(_X7D),
+ /* K20 */ be_nested_str_weak(FILENAME),
+ /* K21 */ be_nested_str_weak(w),
+ /* K22 */ be_nested_str_weak(write),
+ /* K23 */ be_nested_str_weak(close),
+ /* K24 */ be_nested_str_weak(log),
+ /* K25 */ be_nested_str_weak(MTR_X3A_X20_X3DSaved_X20_X20_X20_X20_X20parameters_X25s),
+ /* K26 */ be_nested_str_weak(_X20and_X20configuration),
+ /* K27 */ be_nested_str_weak(),
+ /* K28 */ be_const_int(2),
+ /* K29 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Asave_X20Exception_X3A),
+ /* K30 */ be_nested_str_weak(_X7C),
+ }),
+ be_str_weak(save_param),
+ &be_const_str_solidified,
+ ( &(const binstruction[83]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x8C080101, // 0001 GETMET R2 R0 K1
+ 0x7C080200, // 0002 CALL R2 1
+ 0x60080018, // 0003 GETGBL R2 G24
+ 0x580C0002, // 0004 LDCONST R3 K2
+ 0x88100103, // 0005 GETMBR R4 R0 K3
+ 0x88140104, // 0006 GETMBR R5 R0 K4
+ 0x88180105, // 0007 GETMBR R6 R0 K5
+ 0x781A0001, // 0008 JMPF R6 #000B
+ 0x58180006, // 0009 LDCONST R6 K6
+ 0x70020000, // 000A JMP #000C
+ 0x58180007, // 000B LDCONST R6 K7
+ 0x881C0108, // 000C GETMBR R7 R0 K8
+ 0x781E0001, // 000D JMPF R7 #0010
+ 0x581C0006, // 000E LDCONST R7 K6
+ 0x70020000, // 000F JMP #0011
+ 0x581C0007, // 0010 LDCONST R7 K7
+ 0x88200109, // 0011 GETMBR R8 R0 K9
+ 0x7C080C00, // 0012 CALL R2 6
+ 0x880C010A, // 0013 GETMBR R3 R0 K10
+ 0x780E0000, // 0014 JMPF R3 #0016
+ 0x0008050B, // 0015 ADD R2 R2 K11
+ 0x880C010C, // 0016 GETMBR R3 R0 K12
+ 0x780E000E, // 0017 JMPF R3 #0027
+ 0x0008050D, // 0018 ADD R2 R2 K13
+ 0x8C0C030E, // 0019 GETMET R3 R1 K14
+ 0x8814010F, // 001A GETMBR R5 R0 K15
+ 0x7C0C0400, // 001B CALL R3 2
+ 0x00080403, // 001C ADD R2 R2 R3
+ 0x600C000C, // 001D GETGBL R3 G12
+ 0x88100110, // 001E GETMBR R4 R0 K16
+ 0x7C0C0200, // 001F CALL R3 1
+ 0x240C0711, // 0020 GT R3 R3 K17
+ 0x780E0004, // 0021 JMPF R3 #0027
+ 0x00080512, // 0022 ADD R2 R2 K18
+ 0x8C0C030E, // 0023 GETMET R3 R1 K14
+ 0x88140110, // 0024 GETMBR R5 R0 K16
+ 0x7C0C0400, // 0025 CALL R3 2
+ 0x00080403, // 0026 ADD R2 R2 R3
+ 0x00080513, // 0027 ADD R2 R2 K19
+ 0xA8020017, // 0028 EXBLK 0 #0041
+ 0x600C0011, // 0029 GETGBL R3 G17
+ 0x88100114, // 002A GETMBR R4 R0 K20
+ 0x58140015, // 002B LDCONST R5 K21
+ 0x7C0C0400, // 002C CALL R3 2
+ 0x8C100716, // 002D GETMET R4 R3 K22
+ 0x5C180400, // 002E MOVE R6 R2
+ 0x7C100400, // 002F CALL R4 2
+ 0x8C100717, // 0030 GETMET R4 R3 K23
+ 0x7C100200, // 0031 CALL R4 1
+ 0xB8123000, // 0032 GETNGBL R4 K24
+ 0x60140018, // 0033 GETGBL R5 G24
+ 0x58180019, // 0034 LDCONST R6 K25
+ 0x881C010C, // 0035 GETMBR R7 R0 K12
+ 0x781E0001, // 0036 JMPF R7 #0039
+ 0x581C001A, // 0037 LDCONST R7 K26
+ 0x70020000, // 0038 JMP #003A
+ 0x581C001B, // 0039 LDCONST R7 K27
+ 0x7C140400, // 003A CALL R5 2
+ 0x5818001C, // 003B LDCONST R6 K28
+ 0x7C100400, // 003C CALL R4 2
+ 0xA8040001, // 003D EXBLK 1 1
+ 0x80040400, // 003E RET 1 R2
+ 0xA8040001, // 003F EXBLK 1 1
+ 0x70020010, // 0040 JMP #0052
+ 0xAC0C0002, // 0041 CATCH R3 0 2
+ 0x7002000D, // 0042 JMP #0051
+ 0xB8163000, // 0043 GETNGBL R5 K24
+ 0x60180008, // 0044 GETGBL R6 G8
+ 0x5C1C0600, // 0045 MOVE R7 R3
+ 0x7C180200, // 0046 CALL R6 1
+ 0x001A3A06, // 0047 ADD R6 K29 R6
+ 0x00180D1E, // 0048 ADD R6 R6 K30
+ 0x601C0008, // 0049 GETGBL R7 G8
+ 0x5C200800, // 004A MOVE R8 R4
+ 0x7C1C0200, // 004B CALL R7 1
+ 0x00180C07, // 004C ADD R6 R6 R7
+ 0x581C001C, // 004D LDCONST R7 K28
+ 0x7C140400, // 004E CALL R5 2
+ 0x80040400, // 004F RET 1 R2
+ 0x70020000, // 0050 JMP #0052
+ 0xB0080000, // 0051 RAISE 2 R0 R0
+ 0x80000000, // 0052 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_operational_discovery_deferred
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_operational_discovery_deferred, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 2]) {
+ be_nested_proto(
+ 3, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 2]) { /* upvals */
+ be_local_const_upval(1, 0),
+ be_local_const_upval(1, 1),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(start_operational_discovery),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x68080001, // 0002 GETUPV R2 U1
+ 0x7C000400, // 0003 CALL R0 2
+ 0x80040000, // 0004 RET 1 R0
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(set_timer),
+ /* K2 */ be_const_int(0),
+ }),
+ be_str_weak(start_operational_discovery_deferred),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0xB80A0000, // 0000 GETNGBL R2 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x58100002, // 0002 LDCONST R4 K2
+ 0x84140000, // 0003 CLOSURE R5 P0
+ 0x7C080600, // 0004 CALL R2 3
+ 0xA0000000, // 0005 CLOSE R0
+ 0x80000000, // 0006 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _init_basic_commissioning
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device__init_basic_commissioning, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(sessions),
+ /* K1 */ be_nested_str_weak(count_active_fabrics),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(start_root_basic_commissioning),
+ }),
+ be_str_weak(_init_basic_commissioning),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x1C040302, // 0003 EQ R1 R1 K2
+ 0x78060001, // 0004 JMPF R1 #0007
+ 0x8C040103, // 0005 GETMET R1 R0 K3
+ 0x7C040200, // 0006 CALL R1 1
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: msg_received
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_msg_received, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(msg_received),
+ }),
+ be_str_weak(msg_received),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88100100, // 0000 GETMBR R4 R0 K0
+ 0x8C100901, // 0001 GETMET R4 R4 K1
+ 0x5C180200, // 0002 MOVE R6 R1
+ 0x5C1C0400, // 0003 MOVE R7 R2
+ 0x5C200600, // 0004 MOVE R8 R3
+ 0x7C100800, // 0005 CALL R4 4
+ 0x80040800, // 0006 RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: autoconf_sensors_list
********************************************************************/
@@ -6060,10 +4796,585 @@ be_local_closure(class_Matter_Device_autoconf_sensors_list, /* name */
/********************************************************************
-** Solidified function: is_commissioning_open
+** Solidified function: MtrInfo
********************************************************************/
extern const bclass be_class_Matter_Device;
-be_local_closure(class_Matter_Device_is_commissioning_open, /* name */
+be_local_closure(class_Matter_Device_MtrInfo, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(),
+ /* K1 */ be_nested_str_weak(plugins),
+ /* K2 */ be_nested_str_weak(MtrInfo_one),
+ /* K3 */ be_nested_str_weak(endpoint),
+ /* K4 */ be_nested_str_weak(stop_iteration),
+ /* K5 */ be_nested_str_weak(int),
+ /* K6 */ be_nested_str_weak(find_plugin_by_friendly_name),
+ /* K7 */ be_nested_str_weak(tasmota),
+ /* K8 */ be_nested_str_weak(resp_cmnd_done),
+ }),
+ be_str_weak(MtrInfo),
+ &be_const_str_solidified,
+ ( &(const binstruction[40]) { /* code */
+ 0x1C140700, // 0000 EQ R5 R3 K0
+ 0x7815FFFF, // 0001 JMPF R5 #0002
+ 0x1C140700, // 0002 EQ R5 R3 K0
+ 0x7816000D, // 0003 JMPF R5 #0012
+ 0x60140010, // 0004 GETGBL R5 G16
+ 0x88180101, // 0005 GETMBR R6 R0 K1
+ 0x7C140200, // 0006 CALL R5 1
+ 0xA8020005, // 0007 EXBLK 0 #000E
+ 0x5C180A00, // 0008 MOVE R6 R5
+ 0x7C180000, // 0009 CALL R6 0
+ 0x8C1C0102, // 000A GETMET R7 R0 K2
+ 0x88240D03, // 000B GETMBR R9 R6 K3
+ 0x7C1C0400, // 000C CALL R7 2
+ 0x7001FFF9, // 000D JMP #0008
+ 0x58140004, // 000E LDCONST R5 K4
+ 0xAC140200, // 000F CATCH R5 1 0
+ 0xB0080000, // 0010 RAISE 2 R0 R0
+ 0x70020011, // 0011 JMP #0024
+ 0x60140004, // 0012 GETGBL R5 G4
+ 0x5C180800, // 0013 MOVE R6 R4
+ 0x7C140200, // 0014 CALL R5 1
+ 0x1C140B05, // 0015 EQ R5 R5 K5
+ 0x78160003, // 0016 JMPF R5 #001B
+ 0x8C140102, // 0017 GETMET R5 R0 K2
+ 0x5C1C0800, // 0018 MOVE R7 R4
+ 0x7C140400, // 0019 CALL R5 2
+ 0x70020008, // 001A JMP #0024
+ 0x8C140106, // 001B GETMET R5 R0 K6
+ 0x5C1C0600, // 001C MOVE R7 R3
+ 0x7C140400, // 001D CALL R5 2
+ 0x4C180000, // 001E LDNIL R6
+ 0x20180A06, // 001F NE R6 R5 R6
+ 0x781A0002, // 0020 JMPF R6 #0024
+ 0x8C180102, // 0021 GETMET R6 R0 K2
+ 0x88200B03, // 0022 GETMBR R8 R5 K3
+ 0x7C180400, // 0023 CALL R6 2
+ 0xB8160E00, // 0024 GETNGBL R5 K7
+ 0x8C140B08, // 0025 GETMET R5 R5 K8
+ 0x7C140200, // 0026 CALL R5 1
+ 0x80000000, // 0027 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: compute_manual_pairing_code
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_compute_manual_pairing_code, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(root_discriminator),
+ /* K1 */ be_nested_str_weak(root_passcode),
+ /* K2 */ be_nested_str_weak(_X251i_X2505i_X2504i),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(Verhoeff),
+ /* K5 */ be_nested_str_weak(checksum),
+ }),
+ be_str_weak(compute_manual_pairing_code),
+ &be_const_str_solidified,
+ ( &(const binstruction[30]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x540A0FFE, // 0001 LDINT R2 4095
+ 0x2C040202, // 0002 AND R1 R1 R2
+ 0x540A0009, // 0003 LDINT R2 10
+ 0x3C040202, // 0004 SHR R1 R1 R2
+ 0x88080100, // 0005 GETMBR R2 R0 K0
+ 0x540E02FF, // 0006 LDINT R3 768
+ 0x2C080403, // 0007 AND R2 R2 R3
+ 0x540E0005, // 0008 LDINT R3 6
+ 0x38080403, // 0009 SHL R2 R2 R3
+ 0x880C0101, // 000A GETMBR R3 R0 K1
+ 0x54123FFE, // 000B LDINT R4 16383
+ 0x2C0C0604, // 000C AND R3 R3 R4
+ 0x30080403, // 000D OR R2 R2 R3
+ 0x880C0101, // 000E GETMBR R3 R0 K1
+ 0x5412000D, // 000F LDINT R4 14
+ 0x3C0C0604, // 0010 SHR R3 R3 R4
+ 0x60100018, // 0011 GETGBL R4 G24
+ 0x58140002, // 0012 LDCONST R5 K2
+ 0x5C180200, // 0013 MOVE R6 R1
+ 0x5C1C0400, // 0014 MOVE R7 R2
+ 0x5C200600, // 0015 MOVE R8 R3
+ 0x7C100800, // 0016 CALL R4 4
+ 0xB8160600, // 0017 GETNGBL R5 K3
+ 0x88140B04, // 0018 GETMBR R5 R5 K4
+ 0x8C140B05, // 0019 GETMET R5 R5 K5
+ 0x5C1C0800, // 001A MOVE R7 R4
+ 0x7C140400, // 001B CALL R5 2
+ 0x00100805, // 001C ADD R4 R4 R5
+ 0x80040800, // 001D RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: signal_endpoints_changed
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_signal_endpoints_changed, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(attribute_updated),
+ /* K1 */ be_const_int(0),
+ /* K2 */ be_const_int(3),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(AGGREGATOR_ENDPOINT),
+ }),
+ be_str_weak(signal_endpoints_changed),
+ &be_const_str_solidified,
+ ( &(const binstruction[14]) { /* code */
+ 0x8C040100, // 0000 GETMET R1 R0 K0
+ 0x580C0001, // 0001 LDCONST R3 K1
+ 0x5412001C, // 0002 LDINT R4 29
+ 0x58140002, // 0003 LDCONST R5 K2
+ 0x50180000, // 0004 LDBOOL R6 0 0
+ 0x7C040A00, // 0005 CALL R1 5
+ 0x8C040100, // 0006 GETMET R1 R0 K0
+ 0xB80E0600, // 0007 GETNGBL R3 K3
+ 0x880C0704, // 0008 GETMBR R3 R3 K4
+ 0x5412001C, // 0009 LDINT R4 29
+ 0x58140002, // 000A LDCONST R5 K2
+ 0x50180000, // 000B LDBOOL R6 0 0
+ 0x7C040A00, // 000C CALL R1 5
+ 0x80000000, // 000D RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: MtrJoin
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_MtrJoin, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(start_root_basic_commissioning),
+ /* K1 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K2 */ be_nested_str_weak(tasmota),
+ /* K3 */ be_nested_str_weak(resp_cmnd_done),
+ }),
+ be_str_weak(MtrJoin),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* code */
+ 0x60140009, // 0000 GETGBL R5 G9
+ 0x5C180600, // 0001 MOVE R6 R3
+ 0x7C140200, // 0002 CALL R5 1
+ 0x78160002, // 0003 JMPF R5 #0007
+ 0x8C180100, // 0004 GETMET R6 R0 K0
+ 0x7C180200, // 0005 CALL R6 1
+ 0x70020001, // 0006 JMP #0009
+ 0x8C180101, // 0007 GETMET R6 R0 K1
+ 0x7C180200, // 0008 CALL R6 1
+ 0xB81A0400, // 0009 GETNGBL R6 K2
+ 0x8C180D03, // 000A GETMET R6 R6 K3
+ 0x7C180200, // 000B CALL R6 1
+ 0x80000000, // 000C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: bridge_add_endpoint
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_bridge_add_endpoint, /* name */
+ be_nested_proto(
+ 16, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[20]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_classes),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(log),
+ /* K3 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
+ /* K4 */ be_nested_str_weak(_X27_X20skipping),
+ /* K5 */ be_const_int(3),
+ /* K6 */ be_nested_str_weak(next_ep),
+ /* K7 */ be_nested_str_weak(plugins),
+ /* K8 */ be_nested_str_weak(push),
+ /* K9 */ be_nested_str_weak(type),
+ /* K10 */ be_nested_str_weak(keys),
+ /* K11 */ be_nested_str_weak(stop_iteration),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20adding_X20endpoint_X20_X3D_X20_X25i_X20type_X3A_X25s_X25s),
+ /* K13 */ be_nested_str_weak(conf_to_log),
+ /* K14 */ be_const_int(2),
+ /* K15 */ be_nested_str_weak(plugins_config),
+ /* K16 */ be_nested_str_weak(plugins_persist),
+ /* K17 */ be_const_int(1),
+ /* K18 */ be_nested_str_weak(save_param),
+ /* K19 */ be_nested_str_weak(signal_endpoints_changed),
+ }),
+ be_str_weak(bridge_add_endpoint),
+ &be_const_str_solidified,
+ ( &(const binstruction[68]) { /* code */
+ 0x880C0100, // 0000 GETMBR R3 R0 K0
+ 0x8C0C0701, // 0001 GETMET R3 R3 K1
+ 0x5C140200, // 0002 MOVE R5 R1
+ 0x7C0C0400, // 0003 CALL R3 2
+ 0x4C100000, // 0004 LDNIL R4
+ 0x1C100604, // 0005 EQ R4 R3 R4
+ 0x78120008, // 0006 JMPF R4 #0010
+ 0xB8120400, // 0007 GETNGBL R4 K2
+ 0x60140008, // 0008 GETGBL R5 G8
+ 0x5C180200, // 0009 MOVE R6 R1
+ 0x7C140200, // 000A CALL R5 1
+ 0x00160605, // 000B ADD R5 K3 R5
+ 0x00140B04, // 000C ADD R5 R5 K4
+ 0x58180005, // 000D LDCONST R6 K5
+ 0x7C100400, // 000E CALL R4 2
+ 0x80000800, // 000F RET 0
+ 0x88100106, // 0010 GETMBR R4 R0 K6
+ 0x60140008, // 0011 GETGBL R5 G8
+ 0x5C180800, // 0012 MOVE R6 R4
+ 0x7C140200, // 0013 CALL R5 1
+ 0x5C180600, // 0014 MOVE R6 R3
+ 0x5C1C0000, // 0015 MOVE R7 R0
+ 0x5C200800, // 0016 MOVE R8 R4
+ 0x5C240400, // 0017 MOVE R9 R2
+ 0x7C180600, // 0018 CALL R6 3
+ 0x881C0107, // 0019 GETMBR R7 R0 K7
+ 0x8C1C0F08, // 001A GETMET R7 R7 K8
+ 0x5C240C00, // 001B MOVE R9 R6
+ 0x7C1C0400, // 001C CALL R7 2
+ 0x601C0013, // 001D GETGBL R7 G19
+ 0x7C1C0000, // 001E CALL R7 0
+ 0x981E1201, // 001F SETIDX R7 K9 R1
+ 0x60200010, // 0020 GETGBL R8 G16
+ 0x8C24050A, // 0021 GETMET R9 R2 K10
+ 0x7C240200, // 0022 CALL R9 1
+ 0x7C200200, // 0023 CALL R8 1
+ 0xA8020004, // 0024 EXBLK 0 #002A
+ 0x5C241000, // 0025 MOVE R9 R8
+ 0x7C240000, // 0026 CALL R9 0
+ 0x94280409, // 0027 GETIDX R10 R2 R9
+ 0x981C120A, // 0028 SETIDX R7 R9 R10
+ 0x7001FFFA, // 0029 JMP #0025
+ 0x5820000B, // 002A LDCONST R8 K11
+ 0xAC200200, // 002B CATCH R8 1 0
+ 0xB0080000, // 002C RAISE 2 R0 R0
+ 0xB8220400, // 002D GETNGBL R8 K2
+ 0x60240018, // 002E GETGBL R9 G24
+ 0x5828000C, // 002F LDCONST R10 K12
+ 0x5C2C0800, // 0030 MOVE R11 R4
+ 0x5C300200, // 0031 MOVE R12 R1
+ 0x8C34010D, // 0032 GETMET R13 R0 K13
+ 0x5C3C0400, // 0033 MOVE R15 R2
+ 0x7C340400, // 0034 CALL R13 2
+ 0x7C240800, // 0035 CALL R9 4
+ 0x5828000E, // 0036 LDCONST R10 K14
+ 0x7C200400, // 0037 CALL R8 2
+ 0x8820010F, // 0038 GETMBR R8 R0 K15
+ 0x98200A07, // 0039 SETIDX R8 R5 R7
+ 0x50200200, // 003A LDBOOL R8 1 0
+ 0x90022008, // 003B SETMBR R0 K16 R8
+ 0x88200106, // 003C GETMBR R8 R0 K6
+ 0x00201111, // 003D ADD R8 R8 K17
+ 0x90020C08, // 003E SETMBR R0 K6 R8
+ 0x8C200112, // 003F GETMET R8 R0 K18
+ 0x7C200200, // 0040 CALL R8 1
+ 0x8C200113, // 0041 GETMET R8 R0 K19
+ 0x7C200200, // 0042 CALL R8 1
+ 0x80040800, // 0043 RET 1 R4
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: every_second
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_every_second, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(sessions),
+ /* K1 */ be_nested_str_weak(every_second),
+ /* K2 */ be_nested_str_weak(message_handler),
+ /* K3 */ be_nested_str_weak(commissioning_open),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(time_reached),
+ }),
+ be_str_weak(every_second),
+ &be_const_str_solidified,
+ ( &(const binstruction[18]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x88040102, // 0003 GETMBR R1 R0 K2
+ 0x8C040301, // 0004 GETMET R1 R1 K1
+ 0x7C040200, // 0005 CALL R1 1
+ 0x88040103, // 0006 GETMBR R1 R0 K3
+ 0x4C080000, // 0007 LDNIL R2
+ 0x20040202, // 0008 NE R1 R1 R2
+ 0x78060006, // 0009 JMPF R1 #0011
+ 0xB8060800, // 000A GETNGBL R1 K4
+ 0x8C040305, // 000B GETMET R1 R1 K5
+ 0x880C0103, // 000C GETMBR R3 R0 K3
+ 0x7C040400, // 000D CALL R1 2
+ 0x78060001, // 000E JMPF R1 #0011
+ 0x4C040000, // 000F LDNIL R1
+ 0x90020601, // 0010 SETMBR R0 K3 R1
+ 0x80000000, // 0011 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: received_ack
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_received_ack, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(udp_server),
+ /* K1 */ be_nested_str_weak(received_ack),
+ }),
+ be_str_weak(received_ack),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 5]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x7C080400, // 0003 CALL R2 2
+ 0x80040400, // 0004 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: clean_remotes
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_clean_remotes, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_nested_str_weak(introspect),
+ /* K1 */ be_nested_str_weak(http_remotes),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ /* K4 */ be_nested_str_weak(plugins),
+ /* K5 */ be_nested_str_weak(get),
+ /* K6 */ be_nested_str_weak(http_remote),
+ /* K7 */ be_nested_str_weak(find),
+ /* K8 */ be_const_int(1),
+ /* K9 */ be_nested_str_weak(keys),
+ /* K10 */ be_nested_str_weak(push),
+ /* K11 */ be_nested_str_weak(log),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20unused_X20remote_X3A_X20),
+ /* K13 */ be_nested_str_weak(addr),
+ /* K14 */ be_const_int(3),
+ /* K15 */ be_nested_str_weak(close),
+ /* K16 */ be_nested_str_weak(remove),
+ }),
+ be_str_weak(clean_remotes),
+ &be_const_str_solidified,
+ ( &(const binstruction[80]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x780A004B, // 0002 JMPF R2 #004F
+ 0x60080013, // 0003 GETGBL R2 G19
+ 0x7C080000, // 0004 CALL R2 0
+ 0x600C0010, // 0005 GETGBL R3 G16
+ 0x88100101, // 0006 GETMBR R4 R0 K1
+ 0x7C0C0200, // 0007 CALL R3 1
+ 0xA8020003, // 0008 EXBLK 0 #000D
+ 0x5C100600, // 0009 MOVE R4 R3
+ 0x7C100000, // 000A CALL R4 0
+ 0x98080902, // 000B SETIDX R2 R4 K2
+ 0x7001FFFB, // 000C JMP #0009
+ 0x580C0003, // 000D LDCONST R3 K3
+ 0xAC0C0200, // 000E CATCH R3 1 0
+ 0xB0080000, // 000F RAISE 2 R0 R0
+ 0x600C0010, // 0010 GETGBL R3 G16
+ 0x88100104, // 0011 GETMBR R4 R0 K4
+ 0x7C0C0200, // 0012 CALL R3 1
+ 0xA802000F, // 0013 EXBLK 0 #0024
+ 0x5C100600, // 0014 MOVE R4 R3
+ 0x7C100000, // 0015 CALL R4 0
+ 0x8C140305, // 0016 GETMET R5 R1 K5
+ 0x5C1C0800, // 0017 MOVE R7 R4
+ 0x58200006, // 0018 LDCONST R8 K6
+ 0x7C140600, // 0019 CALL R5 3
+ 0x4C180000, // 001A LDNIL R6
+ 0x20180A06, // 001B NE R6 R5 R6
+ 0x781A0005, // 001C JMPF R6 #0023
+ 0x8C180507, // 001D GETMET R6 R2 K7
+ 0x5C200A00, // 001E MOVE R8 R5
+ 0x58240002, // 001F LDCONST R9 K2
+ 0x7C180600, // 0020 CALL R6 3
+ 0x00180D08, // 0021 ADD R6 R6 K8
+ 0x98080A06, // 0022 SETIDX R2 R5 R6
+ 0x7001FFEF, // 0023 JMP #0014
+ 0x580C0003, // 0024 LDCONST R3 K3
+ 0xAC0C0200, // 0025 CATCH R3 1 0
+ 0xB0080000, // 0026 RAISE 2 R0 R0
+ 0x600C0012, // 0027 GETGBL R3 G18
+ 0x7C0C0000, // 0028 CALL R3 0
+ 0x60100010, // 0029 GETGBL R4 G16
+ 0x8C140509, // 002A GETMET R5 R2 K9
+ 0x7C140200, // 002B CALL R5 1
+ 0x7C100200, // 002C CALL R4 1
+ 0xA8020008, // 002D EXBLK 0 #0037
+ 0x5C140800, // 002E MOVE R5 R4
+ 0x7C140000, // 002F CALL R5 0
+ 0x94180405, // 0030 GETIDX R6 R2 R5
+ 0x1C180D02, // 0031 EQ R6 R6 K2
+ 0x781A0002, // 0032 JMPF R6 #0036
+ 0x8C18070A, // 0033 GETMET R6 R3 K10
+ 0x5C200A00, // 0034 MOVE R8 R5
+ 0x7C180400, // 0035 CALL R6 2
+ 0x7001FFF6, // 0036 JMP #002E
+ 0x58100003, // 0037 LDCONST R4 K3
+ 0xAC100200, // 0038 CATCH R4 1 0
+ 0xB0080000, // 0039 RAISE 2 R0 R0
+ 0x60100010, // 003A GETGBL R4 G16
+ 0x5C140600, // 003B MOVE R5 R3
+ 0x7C100200, // 003C CALL R4 1
+ 0xA802000D, // 003D EXBLK 0 #004C
+ 0x5C140800, // 003E MOVE R5 R4
+ 0x7C140000, // 003F CALL R5 0
+ 0xB81A1600, // 0040 GETNGBL R6 K11
+ 0x881C0B0D, // 0041 GETMBR R7 R5 K13
+ 0x001E1807, // 0042 ADD R7 K12 R7
+ 0x5820000E, // 0043 LDCONST R8 K14
+ 0x7C180400, // 0044 CALL R6 2
+ 0x8C180B0F, // 0045 GETMET R6 R5 K15
+ 0x7C180200, // 0046 CALL R6 1
+ 0x88180101, // 0047 GETMBR R6 R0 K1
+ 0x8C180D10, // 0048 GETMET R6 R6 K16
+ 0x88200B0D, // 0049 GETMBR R8 R5 K13
+ 0x7C180400, // 004A CALL R6 2
+ 0x7001FFF1, // 004B JMP #003E
+ 0x58100003, // 004C LDCONST R4 K3
+ 0xAC100200, // 004D CATCH R4 1 0
+ 0xB0080000, // 004E RAISE 2 R0 R0
+ 0x80000000, // 004F RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_plugin_class_displayname
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_get_plugin_class_displayname, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_classes),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(DISPLAY_NAME),
+ /* K3 */ be_nested_str_weak(),
+ }),
+ be_str_weak(get_plugin_class_displayname),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 9]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x7C080400, // 0003 CALL R2 2
+ 0x780A0001, // 0004 JMPF R2 #0007
+ 0x880C0502, // 0005 GETMBR R3 R2 K2
+ 0x70020000, // 0006 JMP #0008
+ 0x580C0003, // 0007 LDCONST R3 K3
+ 0x80040600, // 0008 RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: is_root_commissioning_open
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_is_root_commissioning_open, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@@ -6073,16 +5384,712 @@ be_local_closure(class_Matter_Device_is_commissioning_open, /* name */
0, /* has sup protos */
&be_class_Matter_Device,
1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
+ ( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(commissioning_open),
+ /* K1 */ be_nested_str_weak(commissioning_admin_fabric),
}),
- be_str_weak(is_commissioning_open),
+ be_str_weak(is_root_commissioning_open),
&be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
+ ( &(const binstruction[11]) { /* code */
0x88040100, // 0000 GETMBR R1 R0 K0
0x4C080000, // 0001 LDNIL R2
0x20040202, // 0002 NE R1 R1 R2
- 0x80040200, // 0003 RET 1 R1
+ 0x78060003, // 0003 JMPF R1 #0008
+ 0x88040101, // 0004 GETMBR R1 R0 K1
+ 0x4C080000, // 0005 LDNIL R2
+ 0x1C040202, // 0006 EQ R1 R1 R2
+ 0x74060000, // 0007 JMPT R1 #0009
+ 0x50040001, // 0008 LDBOOL R1 0 1
+ 0x50040200, // 0009 LDBOOL R1 1 0
+ 0x80040200, // 000A RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_plugin_remote_info
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_get_plugin_remote_info, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(plugins_config_remotes),
+ /* K1 */ be_nested_str_weak(find),
+ }),
+ be_str_weak(get_plugin_remote_info),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x5C100200, // 0002 MOVE R4 R1
+ 0x60140013, // 0003 GETGBL R5 G19
+ 0x7C140000, // 0004 CALL R5 0
+ 0x7C080600, // 0005 CALL R2 3
+ 0x80040400, // 0006 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _start_udp
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device__start_udp, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 2]) {
+ be_nested_proto(
+ 8, /* nstack */
+ 3, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(msg_received),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 7]) { /* code */
+ 0x680C0000, // 0000 GETUPV R3 U0
+ 0x8C0C0700, // 0001 GETMET R3 R3 K0
+ 0x5C140000, // 0002 MOVE R5 R0
+ 0x5C180200, // 0003 MOVE R6 R1
+ 0x5C1C0400, // 0004 MOVE R7 R2
+ 0x7C0C0800, // 0005 CALL R3 4
+ 0x80040600, // 0006 RET 1 R3
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_nested_str_weak(udp_server),
+ /* K1 */ be_nested_str_weak(log),
+ /* K2 */ be_nested_str_weak(MTR_X3A_X20Starting_X20UDP_X20server_X20on_X20port_X3A_X20),
+ /* K3 */ be_const_int(2),
+ /* K4 */ be_nested_str_weak(matter),
+ /* K5 */ be_nested_str_weak(UDPServer),
+ /* K6 */ be_nested_str_weak(),
+ /* K7 */ be_nested_str_weak(start),
+ }),
+ be_str_weak(_start_udp),
+ &be_const_str_solidified,
+ ( &(const binstruction[27]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x780A0000, // 0001 JMPF R2 #0003
+ 0x80000400, // 0002 RET 0
+ 0x4C080000, // 0003 LDNIL R2
+ 0x1C080202, // 0004 EQ R2 R1 R2
+ 0x780A0000, // 0005 JMPF R2 #0007
+ 0x540615A3, // 0006 LDINT R1 5540
+ 0xB80A0200, // 0007 GETNGBL R2 K1
+ 0x600C0008, // 0008 GETGBL R3 G8
+ 0x5C100200, // 0009 MOVE R4 R1
+ 0x7C0C0200, // 000A CALL R3 1
+ 0x000E0403, // 000B ADD R3 K2 R3
+ 0x58100003, // 000C LDCONST R4 K3
+ 0x7C080400, // 000D CALL R2 2
+ 0xB80A0800, // 000E GETNGBL R2 K4
+ 0x8C080505, // 000F GETMET R2 R2 K5
+ 0x5C100000, // 0010 MOVE R4 R0
+ 0x58140006, // 0011 LDCONST R5 K6
+ 0x5C180200, // 0012 MOVE R6 R1
+ 0x7C080800, // 0013 CALL R2 4
+ 0x90020002, // 0014 SETMBR R0 K0 R2
+ 0x88080100, // 0015 GETMBR R2 R0 K0
+ 0x8C080507, // 0016 GETMET R2 R2 K7
+ 0x84100000, // 0017 CLOSURE R4 P0
+ 0x7C080400, // 0018 CALL R2 2
+ 0xA0000000, // 0019 CLOSE R0
+ 0x80000000, // 001A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: register_commands
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_register_commands, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 4]) {
+ be_nested_proto(
+ 10, /* nstack */
+ 4, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(MtrJoin),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x68100000, // 0000 GETUPV R4 U0
+ 0x8C100900, // 0001 GETMET R4 R4 K0
+ 0x5C180000, // 0002 MOVE R6 R0
+ 0x5C1C0200, // 0003 MOVE R7 R1
+ 0x5C200400, // 0004 MOVE R8 R2
+ 0x5C240600, // 0005 MOVE R9 R3
+ 0x7C100A00, // 0006 CALL R4 5
+ 0x80040800, // 0007 RET 1 R4
+ })
+ ),
+ be_nested_proto(
+ 10, /* nstack */
+ 4, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(MtrUpdate),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x68100000, // 0000 GETUPV R4 U0
+ 0x8C100900, // 0001 GETMET R4 R4 K0
+ 0x5C180000, // 0002 MOVE R6 R0
+ 0x5C1C0200, // 0003 MOVE R7 R1
+ 0x5C200400, // 0004 MOVE R8 R2
+ 0x5C240600, // 0005 MOVE R9 R3
+ 0x7C100A00, // 0006 CALL R4 5
+ 0x80040800, // 0007 RET 1 R4
+ })
+ ),
+ be_nested_proto(
+ 10, /* nstack */
+ 4, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(MtrInfo),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x68100000, // 0000 GETUPV R4 U0
+ 0x8C100900, // 0001 GETMET R4 R4 K0
+ 0x5C180000, // 0002 MOVE R6 R0
+ 0x5C1C0200, // 0003 MOVE R7 R1
+ 0x5C200400, // 0004 MOVE R8 R2
+ 0x5C240600, // 0005 MOVE R9 R3
+ 0x7C100A00, // 0006 CALL R4 5
+ 0x80040800, // 0007 RET 1 R4
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(add_cmd),
+ /* K2 */ be_nested_str_weak(MtrJoin),
+ /* K3 */ be_nested_str_weak(MtrUpdate),
+ /* K4 */ be_nested_str_weak(MtrInfo),
+ }),
+ be_str_weak(register_commands),
+ &be_const_str_solidified,
+ ( &(const binstruction[17]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x580C0002, // 0002 LDCONST R3 K2
+ 0x84100000, // 0003 CLOSURE R4 P0
+ 0x7C040600, // 0004 CALL R1 3
+ 0xB8060000, // 0005 GETNGBL R1 K0
+ 0x8C040301, // 0006 GETMET R1 R1 K1
+ 0x580C0003, // 0007 LDCONST R3 K3
+ 0x84100001, // 0008 CLOSURE R4 P1
+ 0x7C040600, // 0009 CALL R1 3
+ 0xB8060000, // 000A GETNGBL R1 K0
+ 0x8C040301, // 000B GETMET R1 R1 K1
+ 0x580C0004, // 000C LDCONST R3 K4
+ 0x84100002, // 000D CLOSURE R4 P2
+ 0x7C040600, // 000E CALL R1 3
+ 0xA0000000, // 000F CLOSE R0
+ 0x80000000, // 0010 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_mdns_announce_hostnames
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_start_mdns_announce_hostnames, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 3]) {
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(_mdns_announce_hostname),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K4 */ be_nested_str_weak(matter_mdns_host),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[10]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x50080000, // 0002 LDBOOL R2 0 0
+ 0x7C000400, // 0003 CALL R0 2
+ 0xB8020200, // 0004 GETNGBL R0 K1
+ 0x8C000102, // 0005 GETMET R0 R0 K2
+ 0x58080003, // 0006 LDCONST R2 K3
+ 0x580C0004, // 0007 LDCONST R3 K4
+ 0x7C000600, // 0008 CALL R0 3
+ 0x80000000, // 0009 RET 0
+ })
+ ),
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(_mdns_announce_hostname),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Eth_X23Connected),
+ /* K4 */ be_nested_str_weak(matter_mdns_host),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[10]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x50080200, // 0002 LDBOOL R2 1 0
+ 0x7C000400, // 0003 CALL R0 2
+ 0xB8020200, // 0004 GETNGBL R0 K1
+ 0x8C000102, // 0005 GETMET R0 R0 K2
+ 0x58080003, // 0006 LDCONST R2 K3
+ 0x580C0004, // 0007 LDCONST R3 K4
+ 0x7C000600, // 0008 CALL R0 3
+ 0x80000000, // 0009 RET 0
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(wifi),
+ /* K2 */ be_nested_str_weak(up),
+ /* K3 */ be_nested_str_weak(_mdns_announce_hostname),
+ /* K4 */ be_nested_str_weak(add_rule),
+ /* K5 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K6 */ be_nested_str_weak(matter_mdns_host),
+ /* K7 */ be_nested_str_weak(eth),
+ /* K8 */ be_nested_str_weak(Eth_X23Connected),
+ }),
+ be_str_weak(start_mdns_announce_hostnames),
+ &be_const_str_solidified,
+ ( &(const binstruction[32]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x94040302, // 0003 GETIDX R1 R1 K2
+ 0x78060003, // 0004 JMPF R1 #0009
+ 0x8C040103, // 0005 GETMET R1 R0 K3
+ 0x500C0000, // 0006 LDBOOL R3 0 0
+ 0x7C040400, // 0007 CALL R1 2
+ 0x70020005, // 0008 JMP #000F
+ 0xB8060000, // 0009 GETNGBL R1 K0
+ 0x8C040304, // 000A GETMET R1 R1 K4
+ 0x580C0005, // 000B LDCONST R3 K5
+ 0x84100000, // 000C CLOSURE R4 P0
+ 0x58140006, // 000D LDCONST R5 K6
+ 0x7C040800, // 000E CALL R1 4
+ 0xB8060000, // 000F GETNGBL R1 K0
+ 0x8C040307, // 0010 GETMET R1 R1 K7
+ 0x7C040200, // 0011 CALL R1 1
+ 0x94040302, // 0012 GETIDX R1 R1 K2
+ 0x78060003, // 0013 JMPF R1 #0018
+ 0x8C040103, // 0014 GETMET R1 R0 K3
+ 0x500C0200, // 0015 LDBOOL R3 1 0
+ 0x7C040400, // 0016 CALL R1 2
+ 0x70020005, // 0017 JMP #001E
+ 0xB8060000, // 0018 GETNGBL R1 K0
+ 0x8C040304, // 0019 GETMET R1 R1 K4
+ 0x580C0008, // 001A LDCONST R3 K8
+ 0x84100001, // 001B CLOSURE R4 P1
+ 0x58140006, // 001C LDCONST R5 K6
+ 0x7C040800, // 001D CALL R1 4
+ 0xA0000000, // 001E CLOSE R0
+ 0x80000000, // 001F RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_init, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 3]) {
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(start),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K4 */ be_nested_str_weak(matter_start),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 9]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0xB8020200, // 0003 GETNGBL R0 K1
+ 0x8C000102, // 0004 GETMET R0 R0 K2
+ 0x58080003, // 0005 LDCONST R2 K3
+ 0x580C0004, // 0006 LDCONST R3 K4
+ 0x7C000600, // 0007 CALL R0 3
+ 0x80000000, // 0008 RET 0
+ })
+ ),
+ be_nested_proto(
+ 4, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL,
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(start),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(remove_rule),
+ /* K3 */ be_nested_str_weak(Eth_X23Connected),
+ /* K4 */ be_nested_str_weak(matter_start),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 9]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0xB8020200, // 0003 GETNGBL R0 K1
+ 0x8C000102, // 0004 GETMET R0 R0 K2
+ 0x58080003, // 0005 LDCONST R2 K3
+ 0x580C0004, // 0006 LDCONST R3 K4
+ 0x7C000600, // 0007 CALL R0 3
+ 0x80000000, // 0008 RET 0
+ })
+ ),
+ &be_class_Matter_Device,
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[46]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(get_option),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(MATTER_OPTION),
+ /* K5 */ be_nested_str_weak(UI),
+ /* K6 */ be_nested_str_weak(profiler),
+ /* K7 */ be_nested_str_weak(Profiler),
+ /* K8 */ be_nested_str_weak(started),
+ /* K9 */ be_nested_str_weak(tick),
+ /* K10 */ be_const_int(0),
+ /* K11 */ be_nested_str_weak(plugins),
+ /* K12 */ be_nested_str_weak(plugins_persist),
+ /* K13 */ be_nested_str_weak(plugins_config_remotes),
+ /* K14 */ be_nested_str_weak(vendorid),
+ /* K15 */ be_nested_str_weak(VENDOR_ID),
+ /* K16 */ be_nested_str_weak(productid),
+ /* K17 */ be_nested_str_weak(PRODUCT_ID),
+ /* K18 */ be_nested_str_weak(root_iterations),
+ /* K19 */ be_nested_str_weak(PBKDF_ITERATIONS),
+ /* K20 */ be_nested_str_weak(next_ep),
+ /* K21 */ be_const_int(1),
+ /* K22 */ be_nested_str_weak(root_salt),
+ /* K23 */ be_nested_str_weak(random),
+ /* K24 */ be_nested_str_weak(ipv4only),
+ /* K25 */ be_nested_str_weak(disable_bridge_mode),
+ /* K26 */ be_nested_str_weak(load_param),
+ /* K27 */ be_nested_str_weak(sessions),
+ /* K28 */ be_nested_str_weak(Session_Store),
+ /* K29 */ be_nested_str_weak(load_fabrics),
+ /* K30 */ be_nested_str_weak(message_handler),
+ /* K31 */ be_nested_str_weak(MessageHandler),
+ /* K32 */ be_nested_str_weak(events),
+ /* K33 */ be_nested_str_weak(EventHandler),
+ /* K34 */ be_nested_str_weak(ui),
+ /* K35 */ be_nested_str_weak(wifi),
+ /* K36 */ be_nested_str_weak(up),
+ /* K37 */ be_nested_str_weak(eth),
+ /* K38 */ be_nested_str_weak(start),
+ /* K39 */ be_nested_str_weak(add_rule),
+ /* K40 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K41 */ be_nested_str_weak(matter_start),
+ /* K42 */ be_nested_str_weak(Eth_X23Connected),
+ /* K43 */ be_nested_str_weak(_init_basic_commissioning),
+ /* K44 */ be_nested_str_weak(add_driver),
+ /* K45 */ be_nested_str_weak(register_commands),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[112]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xB80A0200, // 0001 GETNGBL R2 K1
+ 0x8C080502, // 0002 GETMET R2 R2 K2
+ 0xB8120600, // 0003 GETNGBL R4 K3
+ 0x88100904, // 0004 GETMBR R4 R4 K4
+ 0x7C080400, // 0005 CALL R2 2
+ 0x740A0004, // 0006 JMPT R2 #000C
+ 0xB80A0600, // 0007 GETNGBL R2 K3
+ 0x8C080505, // 0008 GETMET R2 R2 K5
+ 0x5C100000, // 0009 MOVE R4 R0
+ 0x7C080400, // 000A CALL R2 2
+ 0x80000400, // 000B RET 0
+ 0xB80A0600, // 000C GETNGBL R2 K3
+ 0xB80E0600, // 000D GETNGBL R3 K3
+ 0x8C0C0707, // 000E GETMET R3 R3 K7
+ 0x7C0C0200, // 000F CALL R3 1
+ 0x900A0C03, // 0010 SETMBR R2 K6 R3
+ 0x50080000, // 0011 LDBOOL R2 0 0
+ 0x90021002, // 0012 SETMBR R0 K8 R2
+ 0x9002130A, // 0013 SETMBR R0 K9 K10
+ 0x60080012, // 0014 GETGBL R2 G18
+ 0x7C080000, // 0015 CALL R2 0
+ 0x90021602, // 0016 SETMBR R0 K11 R2
+ 0x50080000, // 0017 LDBOOL R2 0 0
+ 0x90021802, // 0018 SETMBR R0 K12 R2
+ 0x60080013, // 0019 GETGBL R2 G19
+ 0x7C080000, // 001A CALL R2 0
+ 0x90021A02, // 001B SETMBR R0 K13 R2
+ 0x8808010F, // 001C GETMBR R2 R0 K15
+ 0x90021C02, // 001D SETMBR R0 K14 R2
+ 0x88080111, // 001E GETMBR R2 R0 K17
+ 0x90022002, // 001F SETMBR R0 K16 R2
+ 0x88080113, // 0020 GETMBR R2 R0 K19
+ 0x90022402, // 0021 SETMBR R0 K18 R2
+ 0x90022915, // 0022 SETMBR R0 K20 K21
+ 0x8C080317, // 0023 GETMET R2 R1 K23
+ 0x5412000F, // 0024 LDINT R4 16
+ 0x7C080400, // 0025 CALL R2 2
+ 0x90022C02, // 0026 SETMBR R0 K22 R2
+ 0x50080000, // 0027 LDBOOL R2 0 0
+ 0x90023002, // 0028 SETMBR R0 K24 R2
+ 0x50080000, // 0029 LDBOOL R2 0 0
+ 0x90023202, // 002A SETMBR R0 K25 R2
+ 0x8C08011A, // 002B GETMET R2 R0 K26
+ 0x7C080200, // 002C CALL R2 1
+ 0xB80A0600, // 002D GETNGBL R2 K3
+ 0x8C08051C, // 002E GETMET R2 R2 K28
+ 0x5C100000, // 002F MOVE R4 R0
+ 0x7C080400, // 0030 CALL R2 2
+ 0x90023602, // 0031 SETMBR R0 K27 R2
+ 0x8808011B, // 0032 GETMBR R2 R0 K27
+ 0x8C08051D, // 0033 GETMET R2 R2 K29
+ 0x7C080200, // 0034 CALL R2 1
+ 0xB80A0600, // 0035 GETNGBL R2 K3
+ 0x8C08051F, // 0036 GETMET R2 R2 K31
+ 0x5C100000, // 0037 MOVE R4 R0
+ 0x7C080400, // 0038 CALL R2 2
+ 0x90023C02, // 0039 SETMBR R0 K30 R2
+ 0xB80A0600, // 003A GETNGBL R2 K3
+ 0x8C080521, // 003B GETMET R2 R2 K33
+ 0x5C100000, // 003C MOVE R4 R0
+ 0x7C080400, // 003D CALL R2 2
+ 0x90024002, // 003E SETMBR R0 K32 R2
+ 0xB80A0600, // 003F GETNGBL R2 K3
+ 0x8C080505, // 0040 GETMET R2 R2 K5
+ 0x5C100000, // 0041 MOVE R4 R0
+ 0x7C080400, // 0042 CALL R2 2
+ 0x90024402, // 0043 SETMBR R0 K34 R2
+ 0xB80A0200, // 0044 GETNGBL R2 K1
+ 0x8C080523, // 0045 GETMET R2 R2 K35
+ 0x7C080200, // 0046 CALL R2 1
+ 0x94080524, // 0047 GETIDX R2 R2 K36
+ 0x740A0004, // 0048 JMPT R2 #004E
+ 0xB80A0200, // 0049 GETNGBL R2 K1
+ 0x8C080525, // 004A GETMET R2 R2 K37
+ 0x7C080200, // 004B CALL R2 1
+ 0x94080524, // 004C GETIDX R2 R2 K36
+ 0x780A0001, // 004D JMPF R2 #0050
+ 0x8C080126, // 004E GETMET R2 R0 K38
+ 0x7C080200, // 004F CALL R2 1
+ 0xB80A0200, // 0050 GETNGBL R2 K1
+ 0x8C080523, // 0051 GETMET R2 R2 K35
+ 0x7C080200, // 0052 CALL R2 1
+ 0x94080524, // 0053 GETIDX R2 R2 K36
+ 0x740A0005, // 0054 JMPT R2 #005B
+ 0xB80A0200, // 0055 GETNGBL R2 K1
+ 0x8C080527, // 0056 GETMET R2 R2 K39
+ 0x58100028, // 0057 LDCONST R4 K40
+ 0x84140000, // 0058 CLOSURE R5 P0
+ 0x58180029, // 0059 LDCONST R6 K41
+ 0x7C080800, // 005A CALL R2 4
+ 0xB80A0200, // 005B GETNGBL R2 K1
+ 0x8C080525, // 005C GETMET R2 R2 K37
+ 0x7C080200, // 005D CALL R2 1
+ 0x94080524, // 005E GETIDX R2 R2 K36
+ 0x740A0005, // 005F JMPT R2 #0066
+ 0xB80A0200, // 0060 GETNGBL R2 K1
+ 0x8C080527, // 0061 GETMET R2 R2 K39
+ 0x5810002A, // 0062 LDCONST R4 K42
+ 0x84140001, // 0063 CLOSURE R5 P1
+ 0x58180029, // 0064 LDCONST R6 K41
+ 0x7C080800, // 0065 CALL R2 4
+ 0x8C08012B, // 0066 GETMET R2 R0 K43
+ 0x7C080200, // 0067 CALL R2 1
+ 0xB80A0200, // 0068 GETNGBL R2 K1
+ 0x8C08052C, // 0069 GETMET R2 R2 K44
+ 0x5C100000, // 006A MOVE R4 R0
+ 0x7C080400, // 006B CALL R2 2
+ 0x8C08012D, // 006C GETMET R2 R0 K45
+ 0x7C080200, // 006D CALL R2 1
+ 0xA0000000, // 006E CLOSE R0
+ 0x80000000, // 006F RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_announce_op_discovery_all_fabrics
+********************************************************************/
+extern const bclass be_class_Matter_Device;
+be_local_closure(class_Matter_Device_mdns_announce_op_discovery_all_fabrics, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ &be_class_Matter_Device,
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(sessions),
+ /* K1 */ be_nested_str_weak(active_fabrics),
+ /* K2 */ be_nested_str_weak(get_device_id),
+ /* K3 */ be_nested_str_weak(get_fabric_id),
+ /* K4 */ be_nested_str_weak(mdns_announce_op_discovery),
+ /* K5 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(mdns_announce_op_discovery_all_fabrics),
+ &be_const_str_solidified,
+ ( &(const binstruction[22]) { /* code */
+ 0x60040010, // 0000 GETGBL R1 G16
+ 0x88080100, // 0001 GETMBR R2 R0 K0
+ 0x8C080501, // 0002 GETMET R2 R2 K1
+ 0x7C080200, // 0003 CALL R2 1
+ 0x7C040200, // 0004 CALL R1 1
+ 0xA802000B, // 0005 EXBLK 0 #0012
+ 0x5C080200, // 0006 MOVE R2 R1
+ 0x7C080000, // 0007 CALL R2 0
+ 0x8C0C0502, // 0008 GETMET R3 R2 K2
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x780E0005, // 000A JMPF R3 #0011
+ 0x8C0C0503, // 000B GETMET R3 R2 K3
+ 0x7C0C0200, // 000C CALL R3 1
+ 0x780E0002, // 000D JMPF R3 #0011
+ 0x8C0C0104, // 000E GETMET R3 R0 K4
+ 0x5C140400, // 000F MOVE R5 R2
+ 0x7C0C0400, // 0010 CALL R3 2
+ 0x7001FFF3, // 0011 JMP #0006
+ 0x58040005, // 0012 LDCONST R1 K5
+ 0xAC040200, // 0013 CATCH R1 1 0
+ 0xB0080000, // 0014 RAISE 2 R0 R0
+ 0x80000000, // 0015 RET 0
})
)
);
@@ -6093,133 +6100,21 @@ be_local_closure(class_Matter_Device_is_commissioning_open, /* name */
** Solidified class: Matter_Device
********************************************************************/
be_local_class(Matter_Device,
- 39,
+ 40,
NULL,
- be_nested_map(118,
+ be_nested_map(119,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(vendorid, -1), be_const_var(22) },
- { be_const_key_weak(mdns_remove_op_discovery, -1), be_const_closure(class_Matter_Device_mdns_remove_op_discovery_closure) },
- { be_const_key_weak(commissioning_discriminator, 11), be_const_var(13) },
- { be_const_key_weak(MtrJoin, -1), be_const_closure(class_Matter_Device_MtrJoin_closure) },
- { be_const_key_weak(probe_sensor_time, -1), be_const_var(37) },
- { be_const_key_weak(generate_random_passcode, 94), be_const_closure(class_Matter_Device_generate_random_passcode_closure) },
- { be_const_key_weak(plugins_classes, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
- be_const_map( * be_nested_map(52,
- ( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(v_rain, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Rain) },
- { be_const_key_weak(http_contact, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Contact) },
- { be_const_key_weak(v_pressure, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Pressure) },
- { be_const_key_weak(http_occupancy, 4), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Occupancy) },
- { be_const_key_weak(http_humidity, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Humidity) },
- { be_const_key_weak(flow, -1), be_const_class(be_class_Matter_Plugin_Sensor_Flow) },
- { be_const_key_weak(relay, 17), be_const_class(be_class_Matter_Plugin_OnOff) },
- { be_const_key_weak(v_light3, -1), be_const_class(be_class_Matter_Plugin_Virt_Light3) },
- { be_const_key_weak(v_temp, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Temp) },
- { be_const_key_weak(v_light1, -1), be_const_class(be_class_Matter_Plugin_Virt_Light1) },
- { be_const_key_weak(fan, -1), be_const_class(be_class_Matter_Plugin_Fan) },
- { be_const_key_weak(v_relay, -1), be_const_class(be_class_Matter_Plugin_Virt_OnOff) },
- { be_const_key_weak(v_fan, -1), be_const_class(be_class_Matter_Plugin_Virt_Fan) },
- { be_const_key_weak(onoff, 2), be_const_class(be_class_Matter_Plugin_Sensor_OnOff) },
- { be_const_key_weak(http_waterleak, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Waterleak) },
- { be_const_key_weak(humidity, -1), be_const_class(be_class_Matter_Plugin_Sensor_Humidity) },
- { be_const_key_weak(http_light2, 49), be_const_class(be_class_Matter_Plugin_Bridge_Light2) },
- { be_const_key_weak(v_flow, 14), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Flow) },
- { be_const_key_weak(http_light0, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light0) },
- { be_const_key_weak(waterleak, -1), be_const_class(be_class_Matter_Plugin_Sensor_Waterleak) },
- { be_const_key_weak(rain, -1), be_const_class(be_class_Matter_Plugin_Sensor_Rain) },
- { be_const_key_weak(v_waterleak, 41), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Waterleak) },
- { be_const_key_weak(http_rain, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Rain) },
- { be_const_key_weak(light2, -1), be_const_class(be_class_Matter_Plugin_Light2) },
- { be_const_key_weak(shutter_X2Btilt, -1), be_const_class(be_class_Matter_Plugin_ShutterTilt) },
- { be_const_key_weak(light0, -1), be_const_class(be_class_Matter_Plugin_Light0) },
- { be_const_key_weak(pressure, -1), be_const_class(be_class_Matter_Plugin_Sensor_Pressure) },
- { be_const_key_weak(v_illuminance, 12), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Illuminance) },
- { be_const_key_weak(temperature, -1), be_const_class(be_class_Matter_Plugin_Sensor_Temp) },
- { be_const_key_weak(http_pressure, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Pressure) },
- { be_const_key_weak(occupancy, -1), be_const_class(be_class_Matter_Plugin_Sensor_Occupancy) },
- { be_const_key_weak(v_humidity, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Humidity) },
- { be_const_key_weak(v_light2, -1), be_const_class(be_class_Matter_Plugin_Virt_Light2) },
- { be_const_key_weak(v_occupancy, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Occupancy) },
- { be_const_key_weak(v_light0, 1), be_const_class(be_class_Matter_Plugin_Virt_Light0) },
- { be_const_key_weak(http_relay, 20), be_const_class(be_class_Matter_Plugin_Bridge_OnOff) },
- { be_const_key_weak(http_temperature, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Temp) },
- { be_const_key_weak(root, 28), be_const_class(be_class_Matter_Plugin_Root) },
- { be_const_key_weak(illuminance, -1), be_const_class(be_class_Matter_Plugin_Sensor_Illuminance) },
- { be_const_key_weak(v_airquality, 33), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Air_Quality) },
- { be_const_key_weak(aggregator, 22), be_const_class(be_class_Matter_Plugin_Aggregator) },
- { be_const_key_weak(v_contact, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Contact) },
- { be_const_key_weak(http_flow, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Flow) },
- { be_const_key_weak(http_light3, 44), be_const_class(be_class_Matter_Plugin_Bridge_Light3) },
- { be_const_key_weak(http_airquality, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Air_Quality) },
- { be_const_key_weak(http_light1, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light1) },
- { be_const_key_weak(shutter, 21), be_const_class(be_class_Matter_Plugin_Shutter) },
- { be_const_key_weak(contact, -1), be_const_class(be_class_Matter_Plugin_Sensor_Contact) },
- { be_const_key_weak(light3, 15), be_const_class(be_class_Matter_Plugin_Light3) },
- { be_const_key_weak(airquality, 0), be_const_class(be_class_Matter_Plugin_Sensor_Air_Quality) },
- { be_const_key_weak(light1, -1), be_const_class(be_class_Matter_Plugin_Light1) },
- { be_const_key_weak(http_illuminance, 31), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Illuminance) },
- })) ) } )) },
- { be_const_key_weak(start_operational_discovery, -1), be_const_closure(class_Matter_Device_start_operational_discovery_closure) },
- { be_const_key_weak(tick, -1), be_const_var(10) },
- { be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Device_invoke_request_closure) },
- { be_const_key_weak(VENDOR_ID, -1), be_const_int(65521) },
- { be_const_key_weak(autoconf_sensors_list, -1), be_const_closure(class_Matter_Device_autoconf_sensors_list_closure) },
- { be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_Device_every_250ms_closure) },
- { be_const_key_weak(root_passcode, 16), be_const_var(28) },
- { be_const_key_weak(hostname_eth, -1), be_const_var(21) },
- { be_const_key_weak(add_read_sensors_schedule, 117), be_const_closure(class_Matter_Device_add_read_sensors_schedule_closure) },
- { be_const_key_weak(udp_server, -1), be_const_var(5) },
+ { be_const_key_weak(commissioning_L, -1), be_const_var(17) },
{ be_const_key_weak(save_before_restart, -1), be_const_closure(class_Matter_Device_save_before_restart_closure) },
- { be_const_key_weak(stop_basic_commissioning, -1), be_const_closure(class_Matter_Device_stop_basic_commissioning_closure) },
- { be_const_key_weak(MtrUpdate, -1), be_const_closure(class_Matter_Device_MtrUpdate_closure) },
- { be_const_key_weak(root_discriminator, -1), be_const_var(27) },
- { be_const_key_weak(_start_udp, -1), be_const_closure(class_Matter_Device__start_udp_closure) },
- { be_const_key_weak(conf_to_log, 32), be_const_static_closure(class_Matter_Device_conf_to_log_closure) },
- { be_const_key_weak(remove_fabric, -1), be_const_closure(class_Matter_Device_remove_fabric_closure) },
- { be_const_key_weak(k2l, 70), be_const_static_closure(class_Matter_Device_k2l_closure) },
- { be_const_key_weak(http_remotes, -1), be_const_var(26) },
- { be_const_key_weak(every_50ms, -1), be_const_closure(class_Matter_Device_every_50ms_closure) },
- { be_const_key_weak(commissioning_open, 114), be_const_var(11) },
- { be_const_key_weak(root_iterations, -1), be_const_var(33) },
- { be_const_key_weak(get_plugin_class_arg, -1), be_const_closure(class_Matter_Device_get_plugin_class_arg_closure) },
- { be_const_key_weak(get_plugin_class_displayname, -1), be_const_closure(class_Matter_Device_get_plugin_class_displayname_closure) },
- { be_const_key_weak(init, -1), be_const_closure(class_Matter_Device_init_closure) },
- { be_const_key_weak(root_L, 3), be_const_var(36) },
- { be_const_key_weak(start_operational_discovery_deferred, -1), be_const_closure(class_Matter_Device_start_operational_discovery_deferred_closure) },
- { be_const_key_weak(UDP_PORT, -1), be_const_int(5540) },
- { be_const_key_weak(_compute_pbkdf, 49), be_const_closure(class_Matter_Device__compute_pbkdf_closure) },
- { be_const_key_weak(msg_received, 78), be_const_closure(class_Matter_Device_msg_received_closure) },
- { be_const_key_weak(MtrInfo_one, -1), be_const_closure(class_Matter_Device_MtrInfo_one_closure) },
- { be_const_key_weak(ipv4only, -1), be_const_var(29) },
- { be_const_key_weak(start_commissioning_complete, 77), be_const_closure(class_Matter_Device_start_commissioning_complete_closure) },
- { be_const_key_weak(root_salt, 21), be_const_var(34) },
- { be_const_key_weak(start_commissioning_complete_deferred, 67), be_const_closure(class_Matter_Device_start_commissioning_complete_deferred_closure) },
- { be_const_key_weak(plugins_config, 17), be_const_var(3) },
- { be_const_key_weak(commissioning_admin_fabric, 26), be_const_var(17) },
- { be_const_key_weak(profiler, -1), be_const_var(6) },
- { be_const_key_weak(process_attribute_expansion, -1), be_const_closure(class_Matter_Device_process_attribute_expansion_closure) },
- { be_const_key_weak(MtrInfo, -1), be_const_closure(class_Matter_Device_MtrInfo_closure) },
- { be_const_key_weak(mdns_announce_op_discovery, -1), be_const_closure(class_Matter_Device_mdns_announce_op_discovery_closure) },
- { be_const_key_weak(PASE_TIMEOUT, -1), be_const_int(600) },
- { be_const_key_weak(read_sensors_scheduler, -1), be_const_closure(class_Matter_Device_read_sensors_scheduler_closure) },
- { be_const_key_weak(started, 34), be_const_var(0) },
- { be_const_key_weak(is_root_commissioning_open, -1), be_const_closure(class_Matter_Device_is_root_commissioning_open_closure) },
- { be_const_key_weak(autoconf_device, -1), be_const_closure(class_Matter_Device_autoconf_device_closure) },
- { be_const_key_weak(update_remotes_info, -1), be_const_closure(class_Matter_Device_update_remotes_info_closure) },
- { be_const_key_weak(find_plugin_by_endpoint, 96), be_const_closure(class_Matter_Device_find_plugin_by_endpoint_closure) },
- { be_const_key_weak(register_commands, -1), be_const_closure(class_Matter_Device_register_commands_closure) },
- { be_const_key_weak(commissioning_instance_wifi, 104), be_const_var(18) },
- { be_const_key_weak(bridge_remove_endpoint, -1), be_const_closure(class_Matter_Device_bridge_remove_endpoint_closure) },
- { be_const_key_weak(mdns_remove_PASE, 38), be_const_closure(class_Matter_Device_mdns_remove_PASE_closure) },
- { be_const_key_weak(root_w0, 45), be_const_var(35) },
- { be_const_key_weak(plugins_persist, 40), be_const_var(2) },
- { be_const_key_weak(message_handler, -1), be_const_var(7) },
- { be_const_key_weak(check_config_ep, -1), be_const_closure(class_Matter_Device_check_config_ep_closure) },
- { be_const_key_weak(disable_bridge_mode, 2), be_const_var(30) },
- { be_const_key_weak(debug, 8), be_const_var(32) },
- { be_const_key_weak(commissioning_instance_eth, 72), be_const_var(19) },
- { be_const_key_weak(commissioning_w0, -1), be_const_var(15) },
- { be_const_key_weak(PASSCODE_INVALID, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
+ { be_const_key_weak(mdns_pase_eth, -1), be_const_var(25) },
+ { be_const_key_weak(start_operational_discovery, 30), be_const_closure(class_Matter_Device_start_operational_discovery_closure) },
+ { be_const_key_weak(mdns_announce_op_discovery_all_fabrics, -1), be_const_closure(class_Matter_Device_mdns_announce_op_discovery_all_fabrics_closure) },
+ { be_const_key_weak(productid, -1), be_const_var(24) },
+ { be_const_key_weak(find_plugin_by_endpoint, -1), be_const_closure(class_Matter_Device_find_plugin_by_endpoint_closure) },
+ { be_const_key_weak(read_sensors_scheduler, 22), be_const_closure(class_Matter_Device_read_sensors_scheduler_closure) },
+ { be_const_key_weak(start_root_basic_commissioning, -1), be_const_closure(class_Matter_Device_start_root_basic_commissioning_closure) },
+ { be_const_key_weak(mdns_announce_PASE, -1), be_const_closure(class_Matter_Device_mdns_announce_PASE_closure) },
+ { be_const_key_weak(PASSCODE_INVALID, 51), 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),
@@ -6235,56 +6130,170 @@ be_local_class(Matter_Device,
be_const_int(12345678),
be_const_int(87654321),
})) ) } )) },
- { be_const_key_weak(bridge_add_endpoint, 54), be_const_closure(class_Matter_Device_bridge_add_endpoint_closure) },
- { be_const_key_weak(mdns_pase_wifi, -1), be_const_var(25) },
- { be_const_key_weak(received_ack, 4), be_const_closure(class_Matter_Device_received_ack_closure) },
- { be_const_key_weak(probe_sensor_timestamp, -1), be_const_var(38) },
- { be_const_key_weak(compute_manual_pairing_code, 111), be_const_closure(class_Matter_Device_compute_manual_pairing_code_closure) },
- { be_const_key_weak(mdns_announce_PASE, -1), be_const_closure(class_Matter_Device_mdns_announce_PASE_closure) },
- { be_const_key_weak(hostname_wifi, -1), be_const_var(20) },
- { be_const_key_weak(PBKDF_ITERATIONS, 90), be_const_int(1000) },
- { be_const_key_weak(plugins_config_remotes, -1), be_const_var(4) },
- { be_const_key_weak(get_plugin_remote_info, 112), be_const_closure(class_Matter_Device_get_plugin_remote_info_closure) },
- { be_const_key_weak(sessions, 47), be_const_var(8) },
- { be_const_key_weak(mdns_pase_eth, -1), be_const_var(24) },
- { be_const_key_weak(find_plugin_by_friendly_name, -1), be_const_closure(class_Matter_Device_find_plugin_by_friendly_name_closure) },
- { be_const_key_weak(_trigger_read_sensors, 52), be_const_closure(class_Matter_Device__trigger_read_sensors_closure) },
- { be_const_key_weak(adjust_next_ep, -1), be_const_closure(class_Matter_Device_adjust_next_ep_closure) },
- { be_const_key_weak(get_active_endpoints, 10), be_const_closure(class_Matter_Device_get_active_endpoints_closure) },
- { be_const_key_weak(mdns_remove_op_discovery_all_fabrics, -1), be_const_closure(class_Matter_Device_mdns_remove_op_discovery_all_fabrics_closure) },
- { be_const_key_weak(_instantiate_plugins_from_config, 83), be_const_closure(class_Matter_Device__instantiate_plugins_from_config_closure) },
{ be_const_key_weak(FILENAME, -1), be_nested_str_weak(_matter_device_X2Ejson) },
- { be_const_key_weak(every_second, -1), be_const_closure(class_Matter_Device_every_second_closure) },
- { be_const_key_weak(clean_remotes, -1), be_const_closure(class_Matter_Device_clean_remotes_closure) },
- { be_const_key_weak(load_param, -1), be_const_closure(class_Matter_Device_load_param_closure) },
- { be_const_key_weak(start_mdns_announce_hostnames, -1), be_const_closure(class_Matter_Device_start_mdns_announce_hostnames_closure) },
- { be_const_key_weak(start_root_basic_commissioning, -1), be_const_closure(class_Matter_Device_start_root_basic_commissioning_closure) },
- { be_const_key_weak(process_attribute_read_solo, 65), be_const_closure(class_Matter_Device_process_attribute_read_solo_closure) },
- { be_const_key_weak(start, 57), be_const_closure(class_Matter_Device_start_closure) },
- { be_const_key_weak(_init_basic_commissioning, -1), be_const_closure(class_Matter_Device__init_basic_commissioning_closure) },
- { be_const_key_weak(attribute_updated, 53), be_const_closure(class_Matter_Device_attribute_updated_closure) },
- { be_const_key_weak(save_param, -1), be_const_closure(class_Matter_Device_save_param_closure) },
- { be_const_key_weak(compute_qrcode_content, 35), be_const_closure(class_Matter_Device_compute_qrcode_content_closure) },
- { be_const_key_weak(_mdns_announce_hostname, -1), be_const_closure(class_Matter_Device__mdns_announce_hostname_closure) },
- { be_const_key_weak(commissioning_salt, -1), be_const_var(14) },
- { be_const_key_weak(PRODUCT_ID, 43), be_const_int(32768) },
- { be_const_key_weak(msg_send, -1), be_const_closure(class_Matter_Device_msg_send_closure) },
- { be_const_key_weak(register_http_remote, -1), be_const_closure(class_Matter_Device_register_http_remote_closure) },
- { be_const_key_weak(k2l_num, 37), be_const_static_closure(class_Matter_Device_k2l_num_closure) },
- { be_const_key_weak(sort_distinct, -1), be_const_static_closure(class_Matter_Device_sort_distinct_closure) },
- { be_const_key_weak(signal_endpoints_changed, -1), be_const_closure(class_Matter_Device_signal_endpoints_changed_closure) },
- { be_const_key_weak(next_ep, -1), be_const_var(31) },
- { be_const_key_weak(commissioning_iterations, -1), be_const_var(12) },
- { be_const_key_weak(autoconf_device_map, -1), be_const_closure(class_Matter_Device_autoconf_device_map_closure) },
- { be_const_key_weak(ui, -1), be_const_var(9) },
- { be_const_key_weak(start_basic_commissioning, 13), be_const_closure(class_Matter_Device_start_basic_commissioning_closure) },
+ { be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Device_invoke_request_closure) },
+ { be_const_key_weak(generate_random_passcode, -1), be_const_closure(class_Matter_Device_generate_random_passcode_closure) },
+ { be_const_key_weak(UDP_PORT, 74), be_const_int(5540) },
{ be_const_key_weak(event_fabrics_saved, -1), be_const_closure(class_Matter_Device_event_fabrics_saved_closure) },
- { be_const_key_weak(productid, -1), be_const_var(23) },
+ { be_const_key_weak(debug, -1), be_const_var(33) },
{ be_const_key_weak(plugins, -1), be_const_var(1) },
- { be_const_key_weak(mdns_announce_op_discovery_all_fabrics, -1), be_const_closure(class_Matter_Device_mdns_announce_op_discovery_all_fabrics_closure) },
- { be_const_key_weak(commissioning_L, -1), be_const_var(16) },
+ { be_const_key_weak(process_attribute_expansion, 59), be_const_closure(class_Matter_Device_process_attribute_expansion_closure) },
+ { be_const_key_weak(commissioning_open, -1), be_const_var(12) },
+ { be_const_key_weak(plugins_config, -1), be_const_var(3) },
+ { be_const_key_weak(vendorid, -1), be_const_var(23) },
+ { be_const_key_weak(start_mdns_announce_hostnames, 12), be_const_closure(class_Matter_Device_start_mdns_announce_hostnames_closure) },
+ { be_const_key_weak(register_commands, 61), be_const_closure(class_Matter_Device_register_commands_closure) },
+ { be_const_key_weak(k2l, 32), be_const_static_closure(class_Matter_Device_k2l_closure) },
+ { be_const_key_weak(_start_udp, -1), be_const_closure(class_Matter_Device__start_udp_closure) },
+ { be_const_key_weak(find_plugin_by_friendly_name, -1), be_const_closure(class_Matter_Device_find_plugin_by_friendly_name_closure) },
+ { be_const_key_weak(remove_fabric, -1), be_const_closure(class_Matter_Device_remove_fabric_closure) },
+ { be_const_key_weak(load_param, -1), be_const_closure(class_Matter_Device_load_param_closure) },
+ { be_const_key_weak(plugins_classes, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ be_const_map( * be_nested_map(53,
+ ( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_weak(occupancy, -1), be_const_class(be_class_Matter_Plugin_Sensor_Occupancy) },
+ { be_const_key_weak(light0, -1), be_const_class(be_class_Matter_Plugin_Light0) },
+ { be_const_key_weak(http_light2, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light2) },
+ { be_const_key_weak(v_contact, 36), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Contact) },
+ { be_const_key_weak(v_occupancy, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Occupancy) },
+ { be_const_key_weak(flow, 8), be_const_class(be_class_Matter_Plugin_Sensor_Flow) },
+ { be_const_key_weak(http_contact, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Contact) },
+ { be_const_key_weak(shutter, -1), be_const_class(be_class_Matter_Plugin_Shutter) },
+ { be_const_key_weak(v_pressure, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Pressure) },
+ { be_const_key_weak(http_rain, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Rain) },
+ { be_const_key_weak(http_pressure, 32), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Pressure) },
+ { be_const_key_weak(v_light2, -1), be_const_class(be_class_Matter_Plugin_Virt_Light2) },
+ { be_const_key_weak(temperature, -1), be_const_class(be_class_Matter_Plugin_Sensor_Temp) },
+ { be_const_key_weak(relay, -1), be_const_class(be_class_Matter_Plugin_OnOff) },
+ { be_const_key_weak(v_illuminance, 15), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Illuminance) },
+ { be_const_key_weak(contact, 1), be_const_class(be_class_Matter_Plugin_Sensor_Contact) },
+ { be_const_key_weak(http_relay, 12), be_const_class(be_class_Matter_Plugin_Bridge_OnOff) },
+ { be_const_key_weak(waterleak, -1), be_const_class(be_class_Matter_Plugin_Sensor_Waterleak) },
+ { be_const_key_weak(v_fan, -1), be_const_class(be_class_Matter_Plugin_Virt_Fan) },
+ { be_const_key_weak(http_occupancy, 6), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Occupancy) },
+ { be_const_key_weak(v_airquality, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Air_Quality) },
+ { be_const_key_weak(fan, -1), be_const_class(be_class_Matter_Plugin_Fan) },
+ { be_const_key_weak(light1, -1), be_const_class(be_class_Matter_Plugin_Light1) },
+ { be_const_key_weak(root, -1), be_const_class(be_class_Matter_Plugin_Root) },
+ { be_const_key_weak(illuminance, -1), be_const_class(be_class_Matter_Plugin_Sensor_Illuminance) },
+ { be_const_key_weak(v_temp, 20), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Temp) },
+ { be_const_key_weak(v_light1, -1), be_const_class(be_class_Matter_Plugin_Virt_Light1) },
+ { be_const_key_weak(v_waterleak, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Waterleak) },
+ { be_const_key_weak(v_relay, -1), be_const_class(be_class_Matter_Plugin_Virt_OnOff) },
+ { be_const_key_weak(pressure, -1), be_const_class(be_class_Matter_Plugin_Sensor_Pressure) },
+ { be_const_key_weak(light2, 27), be_const_class(be_class_Matter_Plugin_Light2) },
+ { be_const_key_weak(http_light1, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light1) },
+ { be_const_key_weak(v_flow, -1), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Flow) },
+ { be_const_key_weak(onoff, -1), be_const_class(be_class_Matter_Plugin_Sensor_OnOff) },
+ { be_const_key_weak(v_light0, -1), be_const_class(be_class_Matter_Plugin_Virt_Light0) },
+ { be_const_key_weak(light3, -1), be_const_class(be_class_Matter_Plugin_Light3) },
+ { be_const_key_weak(http_humidity, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Humidity) },
+ { be_const_key_weak(http_illuminance, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Illuminance) },
+ { be_const_key_weak(v_rain, 43), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Rain) },
+ { be_const_key_weak(http_light0, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light0) },
+ { be_const_key_weak(http_waterleak, 45), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Waterleak) },
+ { be_const_key_weak(shutter_X2Btilt, -1), be_const_class(be_class_Matter_Plugin_ShutterTilt) },
+ { be_const_key_weak(v_light3, -1), be_const_class(be_class_Matter_Plugin_Virt_Light3) },
+ { be_const_key_weak(airquality, 35), be_const_class(be_class_Matter_Plugin_Sensor_Air_Quality) },
+ { be_const_key_weak(http_flow, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Flow) },
+ { be_const_key_weak(humidity, -1), be_const_class(be_class_Matter_Plugin_Sensor_Humidity) },
+ { be_const_key_weak(http_temperature, 41), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Temp) },
+ { be_const_key_weak(http_light3, -1), be_const_class(be_class_Matter_Plugin_Bridge_Light3) },
+ { be_const_key_weak(v_humidity, 29), be_const_class(be_class_Matter_Plugin_Virt_Sensor_Humidity) },
+ { be_const_key_weak(http_airquality, -1), be_const_class(be_class_Matter_Plugin_Bridge_Sensor_Air_Quality) },
+ { be_const_key_weak(aggregator, 11), be_const_class(be_class_Matter_Plugin_Aggregator) },
+ { be_const_key_weak(rain, -1), be_const_class(be_class_Matter_Plugin_Sensor_Rain) },
+ { be_const_key_weak(gensw, -1), be_const_class(be_class_Matter_Plugin_Sensor_GenericSwitch) },
+ })) ) } )) },
+ { be_const_key_weak(get_plugin_remote_info, 35), be_const_closure(class_Matter_Device_get_plugin_remote_info_closure) },
+ { be_const_key_weak(message_handler, -1), be_const_var(7) },
+ { be_const_key_weak(k2l_num, -1), be_const_static_closure(class_Matter_Device_k2l_num_closure) },
+ { be_const_key_weak(root_salt, 87), be_const_var(35) },
+ { be_const_key_weak(start_basic_commissioning, 8), be_const_closure(class_Matter_Device_start_basic_commissioning_closure) },
+ { be_const_key_weak(hostname_wifi, -1), be_const_var(21) },
{ be_const_key_weak(is_commissioning_open, -1), be_const_closure(class_Matter_Device_is_commissioning_open_closure) },
- { be_const_key_weak(stop, -1), be_const_closure(class_Matter_Device_stop_closure) },
+ { be_const_key_weak(get_plugin_class_arg, -1), be_const_closure(class_Matter_Device_get_plugin_class_arg_closure) },
+ { be_const_key_weak(commissioning_discriminator, -1), be_const_var(14) },
+ { be_const_key_weak(MtrInfo_one, -1), be_const_closure(class_Matter_Device_MtrInfo_one_closure) },
+ { be_const_key_weak(VENDOR_ID, -1), be_const_int(65521) },
+ { be_const_key_weak(autoconf_device, -1), be_const_closure(class_Matter_Device_autoconf_device_closure) },
+ { be_const_key_weak(PBKDF_ITERATIONS, -1), be_const_int(1000) },
+ { be_const_key_weak(resolve_attribute_read_solo, -1), be_const_closure(class_Matter_Device_resolve_attribute_read_solo_closure) },
+ { be_const_key_weak(http_remotes, -1), be_const_var(27) },
+ { be_const_key_weak(mdns_pase_wifi, 71), be_const_var(26) },
+ { be_const_key_weak(_instantiate_plugins_from_config, 107), be_const_closure(class_Matter_Device__instantiate_plugins_from_config_closure) },
+ { be_const_key_weak(commissioning_w0, 114), be_const_var(16) },
+ { be_const_key_weak(start, -1), be_const_closure(class_Matter_Device_start_closure) },
+ { be_const_key_weak(plugins_persist, 63), be_const_var(2) },
+ { be_const_key_weak(_trigger_read_sensors, -1), be_const_closure(class_Matter_Device__trigger_read_sensors_closure) },
+ { be_const_key_weak(update_remotes_info, -1), be_const_closure(class_Matter_Device_update_remotes_info_closure) },
+ { be_const_key_weak(mdns_remove_PASE, -1), be_const_closure(class_Matter_Device_mdns_remove_PASE_closure) },
+ { be_const_key_weak(get_active_endpoints, 40), be_const_closure(class_Matter_Device_get_active_endpoints_closure) },
+ { be_const_key_weak(bridge_remove_endpoint, 103), be_const_closure(class_Matter_Device_bridge_remove_endpoint_closure) },
+ { be_const_key_weak(clean_remotes, -1), be_const_closure(class_Matter_Device_clean_remotes_closure) },
+ { be_const_key_weak(commissioning_instance_wifi, -1), be_const_var(19) },
+ { be_const_key_weak(sort_distinct, -1), be_const_static_closure(class_Matter_Device_sort_distinct_closure) },
+ { be_const_key_weak(adjust_next_ep, 110), be_const_closure(class_Matter_Device_adjust_next_ep_closure) },
+ { be_const_key_weak(check_config_ep, -1), be_const_closure(class_Matter_Device_check_config_ep_closure) },
+ { be_const_key_weak(attribute_updated, 34), be_const_closure(class_Matter_Device_attribute_updated_closure) },
+ { be_const_key_weak(next_ep, -1), be_const_var(32) },
+ { be_const_key_weak(every_second, -1), be_const_closure(class_Matter_Device_every_second_closure) },
+ { be_const_key_weak(commissioning_admin_fabric, -1), be_const_var(18) },
+ { be_const_key_weak(msg_send, -1), be_const_closure(class_Matter_Device_msg_send_closure) },
+ { be_const_key_weak(register_http_remote, 41), be_const_closure(class_Matter_Device_register_http_remote_closure) },
+ { be_const_key_weak(tick, -1), be_const_var(10) },
+ { be_const_key_weak(udp_server, 45), be_const_var(5) },
+ { be_const_key_weak(bridge_add_endpoint, 97), be_const_closure(class_Matter_Device_bridge_add_endpoint_closure) },
+ { be_const_key_weak(MtrJoin, -1), be_const_closure(class_Matter_Device_MtrJoin_closure) },
+ { be_const_key_weak(PASE_TIMEOUT, -1), be_const_int(600) },
+ { be_const_key_weak(mdns_announce_op_discovery, -1), be_const_closure(class_Matter_Device_mdns_announce_op_discovery_closure) },
+ { be_const_key_weak(root_iterations, 112), be_const_var(34) },
+ { be_const_key_weak(start_commissioning_complete, 62), be_const_closure(class_Matter_Device_start_commissioning_complete_closure) },
+ { be_const_key_weak(compute_manual_pairing_code, -1), be_const_closure(class_Matter_Device_compute_manual_pairing_code_closure) },
+ { be_const_key_weak(MtrInfo, 98), be_const_closure(class_Matter_Device_MtrInfo_closure) },
+ { be_const_key_weak(ipv4only, 96), be_const_var(30) },
+ { be_const_key_weak(commissioning_instance_eth, -1), be_const_var(20) },
+ { be_const_key_weak(MtrUpdate, 25), be_const_closure(class_Matter_Device_MtrUpdate_closure) },
+ { be_const_key_weak(profiler, -1), be_const_var(6) },
+ { be_const_key_weak(root_L, -1), be_const_var(37) },
+ { be_const_key_weak(start_operational_discovery_deferred, 72), be_const_closure(class_Matter_Device_start_operational_discovery_deferred_closure) },
+ { be_const_key_weak(add_read_sensors_schedule, 92), be_const_closure(class_Matter_Device_add_read_sensors_schedule_closure) },
+ { be_const_key_weak(hostname_eth, 91), be_const_var(22) },
+ { be_const_key_weak(save_param, -1), be_const_closure(class_Matter_Device_save_param_closure) },
+ { be_const_key_weak(every_250ms, 77), be_const_closure(class_Matter_Device_every_250ms_closure) },
+ { be_const_key_weak(compute_qrcode_content, 81), be_const_closure(class_Matter_Device_compute_qrcode_content_closure) },
+ { be_const_key_weak(_init_basic_commissioning, -1), be_const_closure(class_Matter_Device__init_basic_commissioning_closure) },
+ { be_const_key_weak(msg_received, -1), be_const_closure(class_Matter_Device_msg_received_closure) },
+ { be_const_key_weak(autoconf_sensors_list, -1), be_const_closure(class_Matter_Device_autoconf_sensors_list_closure) },
+ { be_const_key_weak(root_discriminator, 75), be_const_var(28) },
+ { be_const_key_weak(events, -1), be_const_var(11) },
+ { be_const_key_weak(mdns_remove_op_discovery_all_fabrics, -1), be_const_closure(class_Matter_Device_mdns_remove_op_discovery_all_fabrics_closure) },
+ { be_const_key_weak(signal_endpoints_changed, -1), be_const_closure(class_Matter_Device_signal_endpoints_changed_closure) },
+ { be_const_key_weak(ui, 69), be_const_var(9) },
+ { be_const_key_weak(_mdns_announce_hostname, 68), be_const_closure(class_Matter_Device__mdns_announce_hostname_closure) },
+ { be_const_key_weak(_compute_pbkdf, -1), be_const_closure(class_Matter_Device__compute_pbkdf_closure) },
+ { be_const_key_weak(stop_basic_commissioning, -1), be_const_closure(class_Matter_Device_stop_basic_commissioning_closure) },
+ { be_const_key_weak(mdns_remove_op_discovery, -1), be_const_closure(class_Matter_Device_mdns_remove_op_discovery_closure) },
+ { be_const_key_weak(root_w0, -1), be_const_var(36) },
+ { be_const_key_weak(received_ack, 55), be_const_closure(class_Matter_Device_received_ack_closure) },
+ { be_const_key_weak(get_plugin_class_displayname, -1), be_const_closure(class_Matter_Device_get_plugin_class_displayname_closure) },
+ { be_const_key_weak(PRODUCT_ID, 49), be_const_int(32768) },
+ { be_const_key_weak(autoconf_device_map, 26), be_const_closure(class_Matter_Device_autoconf_device_map_closure) },
+ { be_const_key_weak(conf_to_log, 44), be_const_static_closure(class_Matter_Device_conf_to_log_closure) },
+ { be_const_key_weak(sessions, -1), be_const_var(8) },
+ { be_const_key_weak(probe_sensor_time, -1), be_const_var(38) },
+ { be_const_key_weak(plugins_config_remotes, -1), be_const_var(4) },
+ { be_const_key_weak(probe_sensor_timestamp, -1), be_const_var(39) },
+ { be_const_key_weak(is_root_commissioning_open, -1), be_const_closure(class_Matter_Device_is_root_commissioning_open_closure) },
+ { be_const_key_weak(started, -1), be_const_var(0) },
+ { be_const_key_weak(disable_bridge_mode, -1), be_const_var(31) },
+ { be_const_key_weak(every_50ms, -1), be_const_closure(class_Matter_Device_every_50ms_closure) },
+ { be_const_key_weak(commissioning_salt, 23), be_const_var(15) },
+ { be_const_key_weak(root_passcode, -1), be_const_var(29) },
+ { be_const_key_weak(stop, 20), be_const_closure(class_Matter_Device_stop_closure) },
+ { be_const_key_weak(commissioning_iterations, -1), be_const_var(13) },
+ { be_const_key_weak(init, -1), be_const_closure(class_Matter_Device_init_closure) },
+ { be_const_key_weak(start_commissioning_complete_deferred, 4), be_const_closure(class_Matter_Device_start_commissioning_complete_deferred_closure) },
})),
be_str_weak(Matter_Device)
);