From a014f5495b406d03243f56cb59c2779af0ec3191 Mon Sep 17 00:00:00 2001
From: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Date: Sun, 11 Jun 2023 19:10:12 +0200
Subject: [PATCH] Matter redesigned UI (#18855)
---
CHANGELOG.md | 1 +
.../src/embedded/Matter_Device.be | 99 +-
.../src/embedded/Matter_Plugin.be | 20 +-
.../src/embedded/Matter_Plugin_Bridge_HTTP.be | 37 +-
.../embedded/Matter_Plugin_Bridge_Light0.be | 2 +-
.../embedded/Matter_Plugin_Bridge_Light1.be | 2 +-
.../embedded/Matter_Plugin_Bridge_Light2.be | 2 +-
.../embedded/Matter_Plugin_Bridge_Light3.be | 2 +-
.../embedded/Matter_Plugin_Bridge_OnOff.be | 2 +-
.../embedded/Matter_Plugin_Bridge_Sensor.be | 9 +-
.../Matter_Plugin_Bridge_Sensor_Humidity.be | 2 +-
...Matter_Plugin_Bridge_Sensor_Illuminance.be | 2 +-
.../Matter_Plugin_Bridge_Sensor_Occupancy.be | 2 +-
.../Matter_Plugin_Bridge_Sensor_Pressure.be | 2 +-
.../Matter_Plugin_Bridge_Sensor_Temp.be | 2 +-
.../src/embedded/Matter_Plugin_Light0.be | 4 +-
.../src/embedded/Matter_Plugin_OnOff.be | 13 +-
.../src/embedded/Matter_Plugin_Root.be | 6 +-
.../src/embedded/Matter_Plugin_Sensor.be | 9 +-
.../Matter_Plugin_Sensor_Occupancy.be | 9 +-
.../embedded/Matter_Plugin_Sensor_OnOff.be | 9 +-
.../src/embedded/Matter_Plugin_Shutter.be | 9 +-
.../berry_matter/src/embedded/Matter_UI.be | 682 +-
.../src/solidify/solidified_Matter_Device.h | 6548 +++++++++--------
.../src/solidify/solidified_Matter_Plugin.h | 1215 +--
.../solidified_Matter_Plugin_Bridge_HTTP.h | 627 +-
.../solidified_Matter_Plugin_Bridge_Light0.h | 2 +-
.../solidified_Matter_Plugin_Bridge_Light1.h | 2 +-
.../solidified_Matter_Plugin_Bridge_Light2.h | 2 +-
.../solidified_Matter_Plugin_Bridge_Light3.h | 2 +-
.../solidified_Matter_Plugin_Bridge_OnOff.h | 2 +-
.../solidified_Matter_Plugin_Bridge_Sensor.h | 125 +-
...ied_Matter_Plugin_Bridge_Sensor_Humidity.h | 2 +-
..._Matter_Plugin_Bridge_Sensor_Illuminance.h | 2 +-
...ed_Matter_Plugin_Bridge_Sensor_Occupancy.h | 2 +-
...ied_Matter_Plugin_Bridge_Sensor_Pressure.h | 2 +-
...idified_Matter_Plugin_Bridge_Sensor_Temp.h | 2 +-
.../solidify/solidified_Matter_Plugin_OnOff.h | 366 +-
.../solidify/solidified_Matter_Plugin_Root.h | 2087 +++---
.../solidified_Matter_Plugin_Sensor.h | 71 +-
...olidified_Matter_Plugin_Sensor_Occupancy.h | 67 +-
.../solidified_Matter_Plugin_Sensor_OnOff.h | 99 +-
.../solidified_Matter_Plugin_Shutter.h | 75 +-
.../src/solidify/solidified_Matter_UI.h | 4296 +++++++----
44 files changed, 9117 insertions(+), 7406 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a008d72ce..b26a93f6b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
### Added
- Matter ability to add or remove endpoint in bridge mode (code only)
- Matter add controller's Vendor Name to logs and UI
+- Matter redesigned UI
### Breaking Changed
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Device.be b/lib/libesp32/berry_matter/src/embedded/Matter_Device.be
index 0107f345b..f4db53a39 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Device.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Device.be
@@ -62,7 +62,7 @@ class Matter_Device
var root_discriminator # as `int`
var root_passcode # as `int`
var ipv4only # advertize only IPv4 addresses (no IPv6)
- var next_ep # next endpoint to be allocated for bridge, start at 51
+ var next_ep # next endpoint to be allocated for bridge, start at 1
# context for PBKDF
var root_iterations # PBKDF number of iterations
# PBKDF information used only during PASE (freed afterwards)
@@ -88,7 +88,7 @@ class Matter_Device
self.vendorid = self.VENDOR_ID
self.productid = self.PRODUCT_ID
self.root_iterations = self.PBKDF_ITERATIONS
- self.next_ep = 51 # start at endpoint 51 for dynamically allocated endpoints
+ self.next_ep = 1 # start at endpoint 1 for dynamically allocated endpoints
self.root_salt = crypto.random(16)
self.ipv4only = false
self.load_param()
@@ -605,6 +605,20 @@ class Matter_Device
return ret
end
+ #############################################################
+ # Find plugin by endpoint
+ def find_plugin_by_endpoint(ep)
+ var idx = 0
+ while idx < size(self.plugins)
+ var pl = self.plugins[idx]
+ if pl.get_endpoint() == ep
+ return pl
+ end
+ idx += 1
+ end
+ return nil
+ end
+
#############################################################
# Persistance of Matter Device parameters
#
@@ -1090,13 +1104,30 @@ class Matter_Device
# auto-detect sensors
var sensors = json.load(tasmota.read_sensors())
+ var sensors_list = self.autoconf_sensors_list(sensors)
+
+ for s: sensors_list
+ m[str(endpoint)] = s
+ endpoint += 1
+ end
+
+ # tasmota.publish_result('{"Matter":{"Initialized":1}}', 'Matter') # MQTT is not yet connected
+ return m
+ end
+
+
+ #############################################################
+ # Autoconfigure from sensors
+ #
+ # Returns an ordered list
+ def autoconf_sensors_list(sensors)
+ var ret = []
# temperature sensors
for k1:self.k2l(sensors)
var sensor_2 = sensors[k1]
if isinstance(sensor_2, map) && sensor_2.contains("Temperature")
var temp_rule = k1 + "#Temperature"
- m[str(endpoint)] = {'type':'temperature','filter':temp_rule}
- endpoint += 1
+ ret.push({'type':'temperature','filter':temp_rule})
end
end
@@ -1105,8 +1136,7 @@ class Matter_Device
var sensor_2 = sensors[k1]
if isinstance(sensor_2, map) && sensor_2.contains("Pressure")
var temp_rule = k1 + "#Pressure"
- m[str(endpoint)] = {'type':'pressure','filter':temp_rule}
- endpoint += 1
+ ret.push({'type':'pressure','filter':temp_rule})
end
end
@@ -1115,8 +1145,7 @@ class Matter_Device
var sensor_2 = sensors[k1]
if isinstance(sensor_2, map) && sensor_2.contains("Illuminance")
var temp_rule = k1 + "#Illuminance"
- m[str(endpoint)] = {'type':'illuminance','filter':temp_rule}
- endpoint += 1
+ ret.push({'type':'illuminance','filter':temp_rule})
end
end
@@ -1125,12 +1154,11 @@ class Matter_Device
var sensor_2 = sensors[k1]
if isinstance(sensor_2, map) && sensor_2.contains("Humidity")
var temp_rule = k1 + "#Humidity"
- m[str(endpoint)] = {'type':'humidity','filter':temp_rule}
- endpoint += 1
+ ret.push({'type':'humidity','filter':temp_rule})
end
end
- # tasmota.publish_result('{"Matter":{"Initialized":1}}', 'Matter') # MQTT is not yet connected
- return m
+
+ return ret
end
# get keys of a map in sorted order
@@ -1262,6 +1290,8 @@ class Matter_Device
idx += 1
end
end
+ # clean any orphan remote
+ self.clean_remotes()
end
#############################################################
@@ -1337,6 +1367,51 @@ class Matter_Device
return http_remote
end
+ #####################################################################
+ # Remove HTTP remotes that are no longer referenced
+ def clean_remotes()
+ import introspect
+ import string
+
+ var remotes_map = {} # key: remote object, value: count of references
+
+ # init all remotes with count 0
+ for http_remote: self.http_remotes
+ remotes_map[http_remote] = 0
+ end
+
+ # scan all endpoints
+ for pi: self.plugins
+ var http_remote = introspect.get(pi, "http_remote")
+ if http_remote != nil
+ remotes_map[http_remote] = remotes_map.find(http_remote, 0) + 1
+ end
+ end
+
+ tasmota.log("MTR: remotes references: " + str(remotes_map))
+
+ for remote:remotes_map.keys()
+ if remotes_map[remote] == 0
+ # remove
+ tasmota.log("MTR: remove unused remote: " + remote.addr, 3)
+ remote.close()
+ self.http_remotes.remove(remote)
+ end
+ end
+
+ end
+
+ # def get_remotes_list()
+ #####################################################################
+ # Get sorted list of remote endpoints
+ # def get_remotes_list()
+ # var ret = []
+ # for hr: self.http_remotes
+ # ret.push(hr.addr)
+ # end
+ # return self.sort_distinct(ret)
+ # end
+
#####################################################################
# Commands `Mtr___`
#####################################################################
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin.be
index dafeb7793..4084b1260 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin.be
@@ -55,10 +55,28 @@ class Matter_Plugin
# device: contains the root device object so the plugin can "call home"
# endpoint: (int) the endpoint number (16 bits)
# arguments: (map) the map for all complementary arguments that are plugin specific
- def init(device, endpoint, arguments)
+ def init(device, endpoint, config)
self.device = device
self.endpoint = endpoint
self.clusters = self.consolidate_clusters()
+ self.parse_configuration(config)
+ end
+
+ #############################################################
+ # parse_configuration
+ #
+ # Parse configuration map
+ # TO BE OVERRIDEN
+ def parse_configuration(config)
+ end
+
+ #############################################################
+ # is_local_device
+ #
+ # Returns true if it's a local device, or false for a
+ # remotely device controlled via HTTP
+ def is_local_device()
+ return true
end
#############################################################
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_HTTP.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_HTTP.be
index 6a08b3427..2afe4f79f 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_HTTP.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_HTTP.be
@@ -60,6 +60,15 @@ class Matter_Plugin_Bridge_HTTP : Matter_Plugin_Device
self.register_cmd_cb()
end
+ #############################################################
+ # is_local_device
+ #
+ # Returns true if it's a local device, or false for a
+ # remotely device controlled via HTTP
+ def is_local_device()
+ return false
+ end
+
#############################################################
# register_cmd_cb
#
@@ -196,34 +205,6 @@ class Matter_Plugin_Bridge_HTTP : Matter_Plugin_Device
# avoid calling update_shadow() since it's not applicable for HTTP remote
end
- #############################################################
- # UI Methods
- #############################################################
- # ui_conf_to_string
- #
- # Convert the current plugin parameters to a single string
- static def ui_conf_to_string(cl, conf)
- var s = super(_class).ui_conf_to_string(cl, conf)
-
- var url = str(conf.find(_class.ARG_HTTP, ''))
- var arg = s + "," + url
- # print("MTR: ui_conf_to_string", conf, cl, arg)
- return arg
- end
-
- #############################################################
- # ui_string_to_conf
- #
- # Convert the string in UI to actual parameters added to the map
- static def ui_string_to_conf(cl, conf, arg)
- import string
- var elts = string.split(arg + ',', ',', 3) # add ',' at the end to be sure to have at least 2 arguments
- conf[_class.ARG_HTTP] = elts[1]
- super(_class).ui_string_to_conf(cl, conf, elts[0])
- # print("ui_string_to_conf", conf, arg)
- return conf
- end
-
#############################################################
# web_values
#
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light0.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light0.be
index b58d42de9..3b692d6b9 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light0.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light0.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_HTTP end
class Matter_Plugin_Bridge_Light0 : Matter_Plugin_Bridge_HTTP
static var TYPE = "http_light0" # name of the plug-in in json
- static var NAME = "🔗 Light 0 On" # display name of the plug-in
+ static var NAME = "Light 0 On" # display name of the plug-in
static var ARG = "relay" # additional argument name (or empty if none)
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
# static var UPDATE_TIME = 3000 # update every 3s
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light1.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light1.be
index a8caa761f..3de4c5a30 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light1.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light1.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Light0 end
class Matter_Plugin_Bridge_Light1 : Matter_Plugin_Bridge_Light0
static var TYPE = "http_light1" # name of the plug-in in json
- static var NAME = "🔗 Light 1 Dimmer" # display name of the plug-in
+ static var NAME = "Light 1 Dimmer" # display name of the plug-in
# static var ARG = "relay" # additional argument name (or empty if none)
# static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
static var CLUSTERS = {
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light2.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light2.be
index 4e0217eac..d2ee48b6c 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light2.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light2.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Light1 end
class Matter_Plugin_Bridge_Light2 : Matter_Plugin_Bridge_Light1
static var TYPE = "http_light2" # name of the plug-in in json
- static var NAME = "🔗 Light 2 CT" # display name of the plug-in
+ static var NAME = "Light 2 CT" # display name of the plug-in
# static var ARG = "relay" # additional argument name (or empty if none)
# static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
static var CLUSTERS = {
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light3.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light3.be
index c9856a318..a2e9bcec6 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light3.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Light3.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Light1 end
class Matter_Plugin_Bridge_Light3 : Matter_Plugin_Bridge_Light1
static var TYPE = "http_light3" # name of the plug-in in json
- static var NAME = "🔗 Light 3 RGB" # display name of the plug-in
+ static var NAME = "Light 3 RGB" # display name of the plug-in
# static var ARG = "relay" # additional argument name (or empty if none)
# static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
static var CLUSTERS = {
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_OnOff.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_OnOff.be
index 1552c0e6e..8d8832bae 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_OnOff.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_OnOff.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Light0 end
class Matter_Plugin_Bridge_OnOff : Matter_Plugin_Bridge_Light0
static var TYPE = "http_relay" # name of the plug-in in json
- static var NAME = "🔗 Relay" # display name of the plug-in
+ static var NAME = "Relay" # display name of the plug-in
static var TYPES = { 0x010A: 2 } # On/Off Plug-in Unit
#############################################################
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor.be
index a220a7370..e2e0a191a 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor.be
@@ -40,10 +40,11 @@ class Matter_Plugin_Bridge_Sensor : Matter_Plugin_Bridge_HTTP
var shadow_value # Last known value
#############################################################
- # Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- self.tasmota_sensor_filter = arguments.find(self.ARG#-'filter'-#)
+ # parse_configuration
+ #
+ # Parse configuration map
+ def parse_configuration(config)
+ self.tasmota_sensor_filter = config.find(self.ARG#-'filter'-#)
if self.tasmota_sensor_filter
self.tasmota_sensor_matcher = tasmota.Rule_Matcher.parse(self.tasmota_sensor_filter)
end
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Humidity.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Humidity.be
index ab314be2b..798225be8 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Humidity.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Humidity.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Sensor end
class Matter_Plugin_Bridge_Sensor_Humidity : Matter_Plugin_Bridge_Sensor
static var TYPE = "http_humidity" # name of the plug-in in json
- static var NAME = "🔗 Humidity" # display name of the plug-in
+ static var NAME = "Humidity" # display name of the plug-in
static var CLUSTERS = {
0x0405: [0,1,2,0xFFFC,0xFFFD], # Humidity Measurement p.102 - no writable
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Illuminance.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Illuminance.be
index 41bcf9c89..be957a101 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Illuminance.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Illuminance.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Sensor end
class Matter_Plugin_Bridge_Sensor_Illuminance : Matter_Plugin_Bridge_Sensor
static var TYPE = "http_illuminance" # name of the plug-in in json
- static var NAME = "🔗 Illuminance" # display name of the plug-in
+ static var NAME = "Illuminance" # display name of the plug-in
static var CLUSTERS = {
0x0400: [0,1,2,0xFFFC,0xFFFD], # Illuminance Measurement p.95 - no writable
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Occupancy.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Occupancy.be
index 1cf6e56fa..1e171b5cd 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Occupancy.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Occupancy.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_HTTP end
class Matter_Plugin_Bridge_Sensor_Occupancy : Matter_Plugin_Bridge_HTTP
static var TYPE = "http_occupancy" # name of the plug-in in json
- static var NAME = "🔗 Occupancy" # display name of the plug-in
+ static var NAME = "Occupancy" # display name of the plug-in
static var ARG = "switch" # additional argument name (or empty if none)
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
static var UPDATE_TIME = 5000 # update every 5s
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Pressure.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Pressure.be
index 3b7930d40..3e185d512 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Pressure.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Pressure.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Sensor end
class Matter_Plugin_Bridge_Sensor_Pressure : Matter_Plugin_Bridge_Sensor
static var TYPE = "http_pressure" # name of the plug-in in json
- static var NAME = "🔗 Pressure" # display name of the plug-in
+ static var NAME = "Pressure" # display name of the plug-in
static var CLUSTERS = {
0x0403: [0,1,2,0xFFFC,0xFFFD], # Pressure Measurement
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Temp.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Temp.be
index 8d8d51969..5948cf5cd 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Temp.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Bridge_Sensor_Temp.be
@@ -28,7 +28,7 @@ class Matter_Plugin_Bridge_Sensor end
class Matter_Plugin_Bridge_Sensor_Temp : Matter_Plugin_Bridge_Sensor
static var TYPE = "http_temperature" # name of the plug-in in json
- static var NAME = "🔗 Temperature" # display name of the plug-in
+ static var NAME = "Temperature" # display name of the plug-in
static var CLUSTERS = {
0x0402: [0,1,2,0xFFFC,0xFFFD], # Temperature Measurement p.97 - no writable
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Light0.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Light0.be
index 2757cd8de..fff50d670 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Light0.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Light0.be
@@ -43,8 +43,8 @@ class Matter_Plugin_Light0 : Matter_Plugin_Device
#############################################################
# Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
+ def init(device, endpoint, config)
+ super(self).init(device, endpoint, config)
self.shadow_onoff = false
end
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_OnOff.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_OnOff.be
index 0dc55cbc7..45a2d0ab7 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_OnOff.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_OnOff.be
@@ -46,10 +46,17 @@ class Matter_Plugin_OnOff : Matter_Plugin_Device
#############################################################
# Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
+ def init(device, endpoint, config)
+ super(self).init(device, endpoint, config)
self.shadow_onoff = false
- self.tasmota_relay_index = int(arguments.find(self.ARG #-'relay'-#, 1))
+ end
+
+ #############################################################
+ # parse_configuration
+ #
+ # Parse configuration map
+ def parse_configuration(config)
+ self.tasmota_relay_index = int(config.find(self.ARG #-'relay'-#, 1))
if self.tasmota_relay_index <= 0 self.tasmota_relay_index = 1 end
end
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Root.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Root.be
index 7d7c1b820..39ab5e064 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Root.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Root.be
@@ -50,9 +50,9 @@ class Matter_Plugin_Root : Matter_Plugin
#############################################################
# Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- end
+ # def init(device, endpoint, config)
+ # super(self).init(device, endpoint, config)
+ # end
#############################################################
# read an attribute
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor.be
index 86ea86680..5cd808209 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor.be
@@ -34,10 +34,11 @@ class Matter_Plugin_Sensor : Matter_Plugin_Device
var shadow_value # Last known value
#############################################################
- # Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- self.tasmota_sensor_filter = arguments.find(self.ARG#-'filter'-#)
+ # parse_configuration
+ #
+ # Parse configuration map
+ def parse_configuration(config)
+ self.tasmota_sensor_filter = config.find(self.ARG#-'filter'-#)
if self.tasmota_sensor_filter
self.tasmota_sensor_matcher = tasmota.Rule_Matcher.parse(self.tasmota_sensor_filter)
end
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_Occupancy.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_Occupancy.be
index 3dacc0925..0203874dd 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_Occupancy.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_Occupancy.be
@@ -41,10 +41,11 @@ class Matter_Plugin_Sensor_Occupancy : Matter_Plugin_Device
var shadow_occupancy
#############################################################
- # Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- self.tasmota_switch_index = int(arguments.find(self.ARG #-'relay'-#, 1))
+ # 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
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_OnOff.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_OnOff.be
index 7df4da0b6..c675c1f0f 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_OnOff.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Sensor_OnOff.be
@@ -39,10 +39,11 @@ class Matter_Plugin_Sensor_OnOff : Matter_Plugin_Device
var shadow_onoff
#############################################################
- # Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- self.tasmota_switch_index = int(arguments.find(self.ARG #-'relay'-#, 1))
+ # 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
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Shutter.be b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Shutter.be
index da881d173..fec02219d 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Shutter.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_Plugin_Shutter.be
@@ -48,10 +48,11 @@ class Matter_Plugin_Shutter : Matter_Plugin_Device
var shadow_shutter_inverted # 1=same as matter 0=matter must invert
#############################################################
- # Constructor
- def init(device, endpoint, arguments)
- super(self).init(device, endpoint, arguments)
- self.tasmota_shutter_index = arguments.find(self.ARG #-'relay'-#)
+ # parse_configuration
+ #
+ # Parse configuration map
+ def parse_configuration(config)
+ self.tasmota_shutter_index = config.find(self.ARG #-'relay'-#)
if self.tasmota_shutter_index == nil self.tasmota_shutter_index = 0 end
self.shadow_shutter_inverted = -1
end
diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_UI.be b/lib/libesp32/berry_matter/src/embedded/Matter_UI.be
index 2043f1851..abf69bb1d 100644
--- a/lib/libesp32/berry_matter/src/embedded/Matter_UI.be
+++ b/lib/libesp32/berry_matter/src/embedded/Matter_UI.be
@@ -34,11 +34,30 @@ import matter
class Matter_UI
static var _CLASSES_TYPES = "|relay|light0|light1|light2|light3|shutter|shutter+tilt"
"|temperature|pressure|illuminance|humidity|occupancy|onoff"
- static var _CLASSES_TYPES2= "-http|http_relay|http_light0|http_light1|http_light2|http_light3"
+ # static var _CLASSES_HTTP = "-http"
+ static var _CLASSES_TYPES2= "|http_relay|http_light0|http_light1|http_light2|http_light3"
"|http_temperature|http_pressure|http_illuminance|http_humidity"
"|http_occupancy"
var device
+ # ####################################################################################################
+ # Static function to compare two maps (shallow compare)
+ # return true if equal
+ static def equal_map(a, b)
+ # all items of a are in b
+ for k: a.keys()
+ if !b.contains(k) return false end
+ if b[k] != a[k] return false end
+ end
+ for k: b.keys()
+ if !a.contains(k) return false end
+ if b[k] != a[k] return false end
+ end
+ return true
+ end
+
+ # ####################################################################################################
+ # Constructor
def init(device)
self.device = device
tasmota.add_driver(self)
@@ -56,29 +75,39 @@ class Matter_UI
webserver.content_send(" Configure Matter
")
end
+ #- ---------------------------------------------------------------------- -#
+ #- Is Matter enabled?
+ #- ---------------------------------------------------------------------- -#
+ def matter_enabled()
+ return bool(tasmota.get_option(matter.MATTER_OPTION))
+ end
+
#- ---------------------------------------------------------------------- -#
#- Show commissioning information and QR Code
#
# Returns true if Matter is enabled
#- ---------------------------------------------------------------------- -#
- def show_enable(p)
+ def show_enable()
import webserver
import string
- var matter_enabled = tasmota.get_option(matter.MATTER_OPTION)
+ var matter_enabled = self.matter_enabled
- webserver.content_send(string.format(" Matter %s
",
- matter_enabled ? "Enabled" : "Disabled"))
+ webserver.content_send(" Matter
"
+ "Check the Matter documentation .
"
+ "")
+ if self.matter_enabled()
+ # checkbox for Matter commissioning
+ webserver.content_send(string.format(" ", self.device.commissioning_open != nil ? "checked" : ""))
+ webserver.content_send("Commissioning open
")
+ end
- webserver.content_send("
")
-
- return matter_enabled
+ webserver.content_send("
Save "
+ "
")
end
#- ---------------------------------------------------------------------- -#
@@ -145,13 +174,11 @@ class Matter_UI
var pairing_code = self.device.compute_manual_pairing_code()
webserver.content_send(string.format("Manual pairing code:%s-%s-%s
", pairing_code[0..3], pairing_code[4..6], pairing_code[7..]))
- webserver.content_send(string.format(""))
+ webserver.content_send("")
var qr_text = self.device.compute_qrcode_content()
self.show_qrcode(qr_text)
webserver.content_send(string.format(" %s
", qr_text))
- webserver.content_send(string.format(" "))
-
- webserver.content_send("
")
+ webserver.content_send("
")
end
@@ -162,24 +189,16 @@ class Matter_UI
import webserver
import string
- webserver.content_send(" Matter Passcode
")
- # button for open/close commissioning
- webserver.content_send("")
+ webserver.content_send(" Matter Advanced Configuration
")
#
- webserver.content_send("")
- webserver.content_send("
")
+ webserver.content_send("
Change "
+ "
")
end
@@ -190,8 +209,8 @@ class Matter_UI
import webserver
import string
- webserver.content_send(" Fabrics
")
- webserver.content_send("Associated fabrics:
")
+ webserver.content_send(" Fabrics
"
+ "Associated fabrics:
")
if size(self.device.sessions.sessions) == 0
webserver.content_send("None
")
@@ -230,68 +249,176 @@ class Matter_UI
def show_plugins_configuration()
import webserver
import string
+ import introspect
webserver.content_send(" Current Configuration
")
- webserver.content_send("")
+ # webserver.content_send("
")
+ # webserver.content_send("
")
- webserver.content_send("")
- webserver.content_send("
")
+ # remote devices
+ webserver.content_send("
")
+
+ # iterate on each remote device
+
+ var remotes = []
+ for conf: self.device.plugins_config
+ var url = conf.find("url")
+ if url != nil
+ remotes.push(url)
+ end
+ end
+ self.device.sort_distinct(remotes)
+ tasmota.log("MTR: remotes: "+str(remotes), 3)
+
+ for remote: remotes
+
+ webserver.content_send(string.format("🔗 %s ", webserver.html_escape(remote), webserver.html_escape(remote)))
+ webserver.content_send("
")
+
+ end # for remote: self.device.get_remotes_list()
+
+
+
+ if !found
+ webserver.content_send("<none>
")
+ end
+
+ webserver.content_send(""
+ "Change configuration ")
+
+ # Add new endpoint section
+ webserver.content_send("Add local sensor or device
"
+ ""
+ "")
+
+ webserver.content_send("
")
+ webserver.content_send("Create new endpoint ")
+
+ # Add remote endpoint
+ webserver.content_send("Add Remote Tasmota
"
+ ""
+ "")
+
+ webserver.content_send("
")
+ webserver.content_send(""
+ "Auto-configure remote Tasmota ")
+
+ # button "Reset and Auto-discover"
+ webserver.content_send(""
+ "Reset and Auto-discover
")
+
+ webserver.content_send("
")
+
+ end
+
+ #- ---------------------------------------------------------------------- -#
+ #- Show pretty name for plugin class
+ #- ---------------------------------------------------------------------- -#
+ def plugin_name(cur, *class_list)
+ if cur == '' return '' end
+ return self.device.get_plugin_class_displayname(cur)
end
#- ---------------------------------------------------------------------- -#
@@ -320,6 +447,28 @@ class Matter_UI
end
end
+
+ #######################################################################
+ # Display the advanced configuration page
+ #######################################################################
+ def page_part_mgr_adv()
+ import webserver
+ import string
+
+ if !webserver.check_privileged_access() return nil end
+
+ webserver.content_start("Matter Advanced Configuration") #- title of the web page -#
+ webserver.content_send_style() #- send standard Tasmota styles -#
+
+ if self.matter_enabled()
+ self.show_passcode_form()
+ self.show_fabric_info()
+ end
+ webserver.content_button(webserver.BUTTON_CONFIGURATION)
+ webserver.content_stop() #- end of web page -#
+ end
+
+
#######################################################################
# Display the complete page
#######################################################################
@@ -332,17 +481,188 @@ class Matter_UI
webserver.content_start("Matter") #- title of the web page -#
webserver.content_send_style() #- send standard Tasmota styles -#
- if self.show_enable()
- self.show_passcode_form()
+ self.show_enable()
+ if self.matter_enabled()
self.show_plugins_configuration()
- self.show_fabric_info()
+ end
+
+ webserver.content_send("
")
+ webserver.content_send("
Advanced Configuration ")
+
+ webserver.content_button(webserver.BUTTON_CONFIGURATION)
+ webserver.content_stop() #- end of web page -#
+ end
+
+ #---------------------------------------------------------------------- -#
+ # Generate configuration map from Status 8 and Status 11
+ #
+ # Returns a list of maps: [ {"type":"temperature", "filter":"ESP32#Temperature"} ]
+ #---------------------------------------------------------------------- -#
+ def generate_config_from_status(status8, status11)
+ var config_list = []
+
+ # count `Power` and `Power`
+ var power_cnt = 0
+ if status11.contains("POWER")
+ power_cnt = 1
+ else
+ var idx = 1
+ while true
+ if status11.contains("POWER" + str(idx))
+ power_cnt = idx
+ idx += 1
+ else
+ break
+ end
+ end
+ end
+ # Now `power_cnt` contains the number of Relays including light
+
+ # detect lights
+ var light1, light2, light3 # contains a relay number of nil
+ if status11.contains("HSBColor")
+ light3 = power_cnt
+ power_cnt -= 1
+ elif status11.contains("CT")
+ light2 = power_cnt
+ power_cnt -= 1
+ elif status11.contains("Dimmer")
+ light1 = power_cnt
+ power_cnt -= 1
+ end
+
+ # rest is relays
+ for i: 1..power_cnt
+ config_list.push({'type': 'light0', 'relay': i})
+ end
+
+ # show lights
+ if light1 != nil
+ config_list.push({'type': 'light1', 'relay': light1})
+ end
+ if light2 != nil
+ config_list.push({'type': 'light2', 'relay': light2})
+ end
+ if light3 != nil
+ config_list.push({'type': 'light3', 'relay': light3})
+ end
+
+
+ # detect sensors
+ config_list += self.device.autoconf_sensors_list(status8)
+
+ return config_list
+ end
+
+ #- ---------------------------------------------------------------------- -#
+ #- Probe remote device
+ #- ---------------------------------------------------------------------- -#
+ def show_remote_autoconf(url)
+ import webserver
+ import string
+ import json
+
+ if url == '' return end
+ var timeout = matter.Plugin_Bridge_HTTP.PROBE_TIMEOUT
+ var http_remote = matter.HTTP_remote(url, timeout)
+ # Status 8
+ var status8 = http_remote.call_sync('Status 8', timeout)
+ if status8 != nil status8 = json.load(status8) end
+ if status8 != nil status8 = status8.find('StatusSNS') end
+ # Status 11
+ var status11
+ if status8 != nil
+ status11 = http_remote.call_sync('Status 11', timeout)
+ if status11 != nil status11 = json.load(status11) end
+ if status11 != nil status11 = status11.find('StatusSTS') end
+ end
+
+ if status8 != nil && status11 != nil
+ tasmota.log(string.format("MTR: probed '%s' status8=%s satus11=%s", url, str(status8), str(status11)), 3)
+
+ var config_list = self.generate_config_from_status(status8, status11)
+
+ webserver.content_send(" Matter Remote Device
"
+ "Add Remote sensor or device
")
+
+ webserver.content_send(string.format("🔗 %s
", webserver.html_escape(url), webserver.html_escape(url)))
+
+ # Add new endpoint section
+ webserver.content_send(""
+ ""
+ "Type Parameter ")
+
+ webserver.content_send(string.format(" ", webserver.html_escape(url)))
+
+ var i = 0
+ while i < size(config_list)
+ var config = config_list[i]
+ var typ = config.find('type', '')
+ if typ != '' typ = "http_" + typ end
+
+ var cl = self.device.plugins_classes.find(typ)
+ var arg = ""
+ if cl != nil
+ arg = cl.ui_conf_to_string(cl, config)
+ end
+
+ webserver.content_send(string.format("", i))
+ self.plugin_option(typ, self._CLASSES_TYPES2)
+ webserver.content_send(" "
+ "")
+ webserver.content_send(string.format(" ",
+ i, webserver.html_escape(arg)))
+ webserver.content_send(" ")
+ i += 1
+ end
+ # empty line for new endpoint
+ webserver.content_send(string.format("", i))
+ self.plugin_option('', self._CLASSES_TYPES2)
+ webserver.content_send(" "
+ "")
+ webserver.content_send(string.format(" ",
+ i, ''))
+ webserver.content_send(" ")
+
+ # end of table
+ webserver.content_send("
")
+
+ webserver.content_send("
")
+ webserver.content_send(""
+ "Add endpoints ")
+
+ webserver.content_send("
")
+
+ else
+ webserver.content_send(string.format("Unable to connect to '%s'
", webserver.html_escape(url)))
+ end
+
+
+ end
+
+ #######################################################################
+ # Display the page for adding a new endpoint
+ #######################################################################
+ def page_part_mgr_add()
+ import webserver
+ import string
+
+ if !webserver.check_privileged_access() return nil end
+
+ webserver.content_start("Matter Create new endpoint") #- title of the web page -#
+ webserver.content_send_style() #- send standard Tasmota styles -#
+
+ var url = webserver.arg("url")
+ if self.matter_enabled()
+ self.show_remote_autoconf(url)
end
webserver.content_button(webserver.BUTTON_CONFIGURATION)
webserver.content_stop() #- end of web page -#
end
+
#######################################################################
- # Web Controller, called by POST to `/part_wiz`
+ # Web Controller, called by POST to `/matterc`
#######################################################################
def page_part_ctl()
import webserver
@@ -356,6 +676,11 @@ class Matter_UI
try
+ # debug information about parameters
+ for i:0..webserver.arg_size()-1
+ tasmota.log(string.format("MTR: Arg%i '%s' = '%s'", i, webserver.arg_name(i), webserver.arg(i)))
+ end
+
#---------------------------------------------------------------------#
# Change Passcode and/or Passcode
#---------------------------------------------------------------------#
@@ -373,33 +698,32 @@ class Matter_UI
#- and force restart -#
webserver.redirect("/?rst=")
- #---------------------------------------------------------------------#
- # Enable or Disable Commissioning
- #---------------------------------------------------------------------#
- elif webserver.has_arg("open_comm")
- self.device.start_root_basic_commissioning()
- webserver.redirect("/")
- elif webserver.has_arg("clos_comm")
- self.device.stop_basic_commissioning()
- webserver.redirect("/")
+ elif webserver.has_arg("save")
+ var matter_enabled_requested = webserver.has_arg("menable")
+ var matter_commissioning_requested = webserver.has_arg("comm")
- #---------------------------------------------------------------------#
- # Enable Matter
- #---------------------------------------------------------------------#
- elif webserver.has_arg("enable")
- tasmota.log(string.format("MTR: /matterc received '%s' command", 'enable'), 3)
- tasmota.cmd("SetOption" + str(matter.MATTER_OPTION) + " 1")
- #- and force restart -#
- webserver.redirect("/?rst=")
-
- #---------------------------------------------------------------------#
- # Disable Matter
- #---------------------------------------------------------------------#
- elif webserver.has_arg("disable")
- tasmota.log(string.format("MTR: /matterc received '%s' command", 'disable'), 3)
- tasmota.cmd("SetOption" + str(matter.MATTER_OPTION) + " 0")
- #- and force restart -#
- webserver.redirect("/?rst=")
+ if matter_enabled_requested != self.matter_enabled()
+ if matter_enabled_requested
+ tasmota.log(string.format("MTR: /matterc received '%s' command", 'enable'), 3)
+ tasmota.cmd("SetOption" + str(matter.MATTER_OPTION) + " 1")
+ else
+ tasmota.log(string.format("MTR: /matterc received '%s' command", 'disable'), 3)
+ tasmota.cmd("SetOption" + str(matter.MATTER_OPTION) + " 0")
+ end
+ #- and force restart -#
+ webserver.redirect("/?rst=")
+ elif matter_commissioning_requested != (self.device.commissioning_open != nil)
+ if matter_commissioning_requested
+ self.device.start_root_basic_commissioning()
+ else
+ self.device.stop_basic_commissioning()
+ end
+
+ #- and force restart -#
+ webserver.redirect("/")
+ else
+ webserver.redirect("/")
+ end
#---------------------------------------------------------------------#
# Delete Fabric
@@ -434,56 +758,130 @@ class Matter_UI
# Apply new configuration template
#---------------------------------------------------------------------#
elif webserver.has_arg("config")
- var config = {}
-
tasmota.log(string.format("MTR: /matterc received '%s' command", 'config'), 3)
- # iterate by id
- var idx = 0
- var idx_str = string.format("%03i", idx)
- while webserver.has_arg('ep'+idx_str)
+ var needs_saving = false
+ # iterate by endpoint number
+ for i:0..webserver.arg_size()-1
+ var arg_name = webserver.arg_name(i)
+ if string.find(arg_name, "arg") == 0
+ var arg_ep = int(arg_name[3..]) # target endpoint as int
+ var arg = webserver.arg(i) # text value
- var ep = webserver.arg('ep'+idx_str)
- var ep_int = int(ep)
- var typ = webserver.arg('pi'+idx_str)
- var arg = webserver.arg('arg'+idx_str)
- tasmota.log(string.format("MTR: ep=%i type=%s arg=%s", ep, typ, arg), 3)
+ var conf_ep = self.device.plugins_config.find(str(arg_ep)) # find the corresponding configuration map
- if ep != '' && typ != '' && ep != '0'
-
- # check if type exists
- var typ_class = self.device.plugins_classes.find(typ)
- if typ_class != nil
- var elt = {'type':typ}
- typ_class.ui_string_to_conf(typ_class, elt, arg)
- # var arg_name = typ_class.ARG
- # var arg_type = typ_class.ARG_TYPE
- # if arg && arg_name
- # elt[arg_name] = arg_type(arg)
- # end
- config[ep] = elt
+ if conf_ep != nil # found
+ var typ_class = self.device.plugins_classes.find(conf_ep.find('type', ''))
+ if typ_class != nil
+ tasmota.log(string.format("MTR: ep=%i arg=%s", arg_ep, arg), 3)
+ # compute the actual value
+ var prev_arg = typ_class.ui_conf_to_string(typ_class, conf_ep)
+ var changed = (prev_arg != arg)
+ tasmota.log(string.format("MTR: ep=%i prev_arg='%s' arg='%s' %s", arg_ep, prev_arg, arg, prev_arg != arg ? "changed" : ""), 3)
- else
- tasmota.log(string.format("MTR: unknown type = %s", typ), 2)
+ if changed
+ needs_saving = true
+ typ_class.ui_string_to_conf(typ_class, conf_ep, arg)
+ var pl = self.device.find_plugin_by_endpoint(arg_ep)
+ if pl
+ tasmota.log(string.format("MTR: apply conf '%s' (%i) to %s", conf_ep, arg_ep, pl), 3)
+ pl.parse_configuration(conf_ep)
+ end
+ end
+
+ end
+ else
+ tasmota.log(string.format("MTR: ep=%i not found", arg_ep), 3)
end
-
- else
- tasmota.log("MTR: skipping parameter", 2)
end
-
- idx += 1
- idx_str = string.format("%03i", idx)
end
- tasmota.log(string.format("MTR: config = %s", str(config)), 3)
+ tasmota.log(string.format("MTR: config = %s", str(self.device.plugins_config)), 3)
if error
tasmota.log(string.format("MTR: config error = %s", error), 3)
else
- self.device.plugins_config = config
- self.device.plugins_persist = true
- self.device.save_param()
- #- and force restart -#
- webserver.redirect("/?rst=")
+ if needs_saving || !self.device.plugins_persist
+ self.device.plugins_persist = true
+ self.device.save_param()
+ end
+ #- and reload -#
+ webserver.redirect("/cn?")
+ end
+ #---------------------------------------------------------------------#
+ # Add new endpoint for local sensor or device
+ #---------------------------------------------------------------------#
+ elif webserver.has_arg("addep")
+ var typ = webserver.arg('pi')
+ var arg = webserver.arg('arg')
+ tasmota.log(string.format("MTR: add endpoint typ='%s' arg='%s'", typ, arg), 3)
+
+ # check if type exists
+ var typ_class = self.device.plugins_classes.find(typ)
+ if typ_class != nil
+ var config = {}
+ typ_class.ui_string_to_conf(typ_class, config, arg)
+ self.device.bridge_add_endpoint(typ, config)
+ end
+ #- and reload -#
+ webserver.redirect("/matterc?")
+
+ #---------------------------------------------------------------------#
+ # Add new endpoint for local sensor or device
+ #---------------------------------------------------------------------#
+ elif webserver.has_arg("addrem")
+ var url = webserver.arg('url')
+ if url == nil || url == '' raise "value_error", "url shouldn't be null" end
+
+ # iterate by id
+ var idx = 0
+ var idx_str = str(idx)
+ while webserver.has_arg('pi'+idx_str)
+ var typ = webserver.arg('pi'+idx_str)
+ var arg = webserver.arg('arg'+idx_str)
+
+ if typ != ''
+ # check if type exists
+ var typ_class = self.device.plugins_classes.find(typ)
+ if typ_class != nil
+ var config = {'url': url, 'type': typ}
+ typ_class.ui_string_to_conf(typ_class, config, arg)
+ # check if configuration is already present
+ var duplicate = false
+ for c: self.device.plugins_config # iterate on values, not on keys()
+ # tasmota.log(string.format("MTR: map_compare '%s' ?= '%s' -> %s", str(c), str(config), str(self.equal_map(c,config))), 3)
+ if self.equal_map(c,config) duplicate = true break end
+ end
+ # not a duplicate, add it
+ if !duplicate
+ tasmota.log(string.format("MTR: remote add url='%s' type='%s' arg='%s'", url, typ, arg), 3)
+ self.device.bridge_add_endpoint(typ, config)
+ end
+ end
+ end
+ idx += 1
+ idx_str = str(idx)
+ end
+ #- and go back to Matter configuration -#
+ webserver.redirect("/matterc?")
+
+ else
+
+ #---------------------------------------------------------------------#
+ # Check if an endpoint needs to be deleted
+ #---------------------------------------------------------------------#
+ var ep_deleted
+ for i:0..webserver.arg_size()-1
+ var arg_name = webserver.arg_name(i)
+ if string.find(arg_name, "del") == 0
+ ep_deleted = int(arg_name[3..])
+ break
+ end
+ end
+ # check if we found an endpoint to be deleted
+ if ep_deleted != nil
+ tasmota.log(string.format("MTR: deleting endpoint %i", ep_deleted), 2)
+ self.device.bridge_remove_endpoint(ep_deleted)
+ webserver.redirect("/matterc?")
end
end
@@ -561,9 +959,7 @@ class Matter_UI
import webserver
import string
- var matter_enabled = tasmota.get_option(matter.MATTER_OPTION)
-
- if matter_enabled
+ if self.matter_enabled()
# mtc0 = close, mtc1 = open commissioning
var fabrics_count = self.device.sessions.count_active_fabrics()
@@ -580,16 +976,6 @@ class Matter_UI
self.show_commissioning_info()
end
- # display the open/close commissioning button only if there is no active session
- if fabrics_count == 0
- webserver.content_send(string.format("", self.device.commissioning_open == nil ? 1 : 0))
- webserver.content_send(matter._LOGO)
- if self.device.commissioning_open == nil
- webserver.content_send(" Open Commissioning ")
- else
- webserver.content_send(" Close Commissioning")
- end
- end
end
end
@@ -611,6 +997,8 @@ class Matter_UI
#- we need to register a closure, not just a function, that captures the current instance -#
webserver.on("/matterc", / -> self.page_part_mgr(), webserver.HTTP_GET)
webserver.on("/matterc", / -> self.page_part_ctl(), webserver.HTTP_POST)
+ webserver.on("/mattera", / -> self.page_part_mgr_adv(), webserver.HTTP_GET) # advanced
+ webserver.on("/matteradd", / -> self.page_part_mgr_add(), webserver.HTTP_GET) # add endpoint
end
end
matter.UI = Matter_UI
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Device.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Device.h
index d8709dbf0..2844d3a78 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Device.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Device.h
@@ -7,44 +7,36 @@
extern const bclass be_class_Matter_Device;
/********************************************************************
-** Solidified function: every_250ms
+** Solidified function: get_plugin_class_arg
********************************************************************/
-be_local_closure(Matter_Device_every_250ms, /* name */
+be_local_closure(Matter_Device_get_plugin_class_arg, /* name */
be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
+ 5, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(message_handler),
- /* K1 */ be_nested_str_weak(every_250ms),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(plugins),
- /* K4 */ be_const_int(1),
+ ( &(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(every_250ms),
+ be_str_weak(get_plugin_class_arg),
&be_const_str_solidified,
- ( &(const binstruction[16]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x7C040200, // 0002 CALL R1 1
- 0x58040002, // 0003 LDCONST R1 K2
- 0x6008000C, // 0004 GETGBL R2 G12
- 0x880C0103, // 0005 GETMBR R3 R0 K3
- 0x7C080200, // 0006 CALL R2 1
- 0x14080202, // 0007 LT R2 R1 R2
- 0x780A0005, // 0008 JMPF R2 #000F
- 0x88080103, // 0009 GETMBR R2 R0 K3
- 0x94080401, // 000A GETIDX R2 R2 R1
- 0x8C080501, // 000B GETMET R2 R2 K1
- 0x7C080200, // 000C CALL R2 1
- 0x00040304, // 000D ADD R1 R1 K4
- 0x7001FFF4, // 000E JMP #0004
- 0x80000000, // 000F RET 0
+ ( &(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
})
)
);
@@ -52,122 +44,72 @@ be_local_closure(Matter_Device_every_250ms, /* name */
/********************************************************************
-** Solidified function: _trigger_read_sensors
+** Solidified function: mdns_remove_op_discovery_all_fabrics
********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[11]) { /* 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(load),
- /* K4 */ be_const_int(0),
- /* K5 */ be_nested_str_weak(plugins),
- /* K6 */ be_nested_str_weak(parse_sensors),
- /* K7 */ be_const_int(1),
- /* K8 */ be_nested_str_weak(log),
- /* K9 */ be_nested_str_weak(MTR_X3A_X20unable_X20to_X20parse_X20read_sensors_X3A_X20),
- /* K10 */ be_const_int(3),
- }),
- be_str_weak(_trigger_read_sensors),
- &be_const_str_solidified,
- ( &(const binstruction[37]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xB80A0200, // 0001 GETNGBL R2 K1
- 0x8C080502, // 0002 GETMET R2 R2 K2
- 0x7C080200, // 0003 CALL R2 1
- 0x4C0C0000, // 0004 LDNIL R3
- 0x1C0C0403, // 0005 EQ R3 R2 R3
- 0x780E0000, // 0006 JMPF R3 #0008
- 0x80000600, // 0007 RET 0
- 0x8C0C0303, // 0008 GETMET R3 R1 K3
- 0x5C140400, // 0009 MOVE R5 R2
- 0x7C0C0400, // 000A CALL R3 2
- 0x4C100000, // 000B LDNIL R4
- 0x20100604, // 000C NE R4 R3 R4
- 0x7812000D, // 000D JMPF R4 #001C
- 0x58100004, // 000E LDCONST R4 K4
- 0x6014000C, // 000F GETGBL R5 G12
- 0x88180105, // 0010 GETMBR R6 R0 K5
- 0x7C140200, // 0011 CALL R5 1
- 0x14140805, // 0012 LT R5 R4 R5
- 0x78160006, // 0013 JMPF R5 #001B
- 0x88140105, // 0014 GETMBR R5 R0 K5
- 0x94140A04, // 0015 GETIDX R5 R5 R4
- 0x8C140B06, // 0016 GETMET R5 R5 K6
- 0x5C1C0600, // 0017 MOVE R7 R3
- 0x7C140400, // 0018 CALL R5 2
- 0x00100907, // 0019 ADD R4 R4 K7
- 0x7001FFF3, // 001A JMP #000F
- 0x70020007, // 001B JMP #0024
- 0xB8120200, // 001C GETNGBL R4 K1
- 0x8C100908, // 001D GETMET R4 R4 K8
- 0x60180008, // 001E GETGBL R6 G8
- 0x5C1C0400, // 001F MOVE R7 R2
- 0x7C180200, // 0020 CALL R6 1
- 0x001A1206, // 0021 ADD R6 K9 R6
- 0x581C000A, // 0022 LDCONST R7 K10
- 0x7C100600, // 0023 CALL R4 3
- 0x80000000, // 0024 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: every_50ms
-********************************************************************/
-be_local_closure(Matter_Device_every_50ms, /* name */
- be_nested_proto(
- 2, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: start
-********************************************************************/
-be_local_closure(Matter_Device_start, /* name */
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: _start_udp
+********************************************************************/
+be_local_closure(Matter_Device__start_udp, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
be_nested_proto(
- 2, /* nstack */
- 0, /* argc */
+ 8, /* nstack */
+ 3, /* argc */
0, /* varg */
1, /* has upvals */
( &(const bupvaldesc[ 1]) { /* upvals */
@@ -177,53 +119,63 @@ be_local_closure(Matter_Device_start, /* name */
NULL, /* no sub protos */
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(_trigger_read_sensors),
+ /* K0 */ be_nested_str_weak(msg_received),
}),
- be_str_weak(_anonymous_),
+ be_str_weak(_X3Clambda_X3E),
&be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x8C000100, // 0001 GETMET R0 R0 K0
- 0x7C000200, // 0002 CALL R0 1
- 0x80000000, // 0003 RET 0
+ ( &(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
})
),
}),
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(started),
- /* K1 */ be_nested_str_weak(autoconf_device),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(add_cron),
- /* K4 */ be_nested_str_weak(_X2A_X2F30_X20_X2A_X20_X2A_X20_X2A_X20_X2A_X20_X2A),
- /* K5 */ be_nested_str_weak(matter_sensors_30s),
- /* K6 */ be_nested_str_weak(_start_udp),
- /* K7 */ be_nested_str_weak(UDP_PORT),
- /* K8 */ be_nested_str_weak(start_mdns_announce_hostnames),
+ /* K0 */ be_nested_str_weak(udp_server),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(log),
+ /* K3 */ be_nested_str_weak(MTR_X3A_X20starting_X20UDP_X20server_X20on_X20port_X3A_X20),
+ /* K4 */ be_const_int(2),
+ /* K5 */ be_nested_str_weak(matter),
+ /* K6 */ be_nested_str_weak(UDPServer),
+ /* K7 */ be_nested_str_weak(),
+ /* K8 */ be_nested_str_weak(start),
}),
- be_str_weak(start),
+ be_str_weak(_start_udp),
&be_const_str_solidified,
- ( &(const binstruction[20]) { /* 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
- 0xB8060400, // 0005 GETNGBL R1 K2
- 0x8C040303, // 0006 GETMET R1 R1 K3
- 0x580C0004, // 0007 LDCONST R3 K4
- 0x84100000, // 0008 CLOSURE R4 P0
- 0x58140005, // 0009 LDCONST R5 K5
- 0x7C040800, // 000A CALL R1 4
- 0x8C040106, // 000B GETMET R1 R0 K6
- 0x880C0107, // 000C GETMBR R3 R0 K7
- 0x7C040400, // 000D CALL R1 2
- 0x8C040108, // 000E GETMET R1 R0 K8
- 0x7C040200, // 000F CALL R1 1
- 0x50040200, // 0010 LDBOOL R1 1 0
- 0x90020001, // 0011 SETMBR R0 K0 R1
- 0xA0000000, // 0012 CLOSE R0
- 0x80000000, // 0013 RET 0
+ ( &(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
+ 0x8C080502, // 0008 GETMET R2 R2 K2
+ 0x60100008, // 0009 GETGBL R4 G8
+ 0x5C140200, // 000A MOVE R5 R1
+ 0x7C100200, // 000B CALL R4 1
+ 0x00120604, // 000C ADD R4 K3 R4
+ 0x58140004, // 000D LDCONST R5 K4
+ 0x7C080600, // 000E CALL R2 3
+ 0xB80A0A00, // 000F GETNGBL R2 K5
+ 0x8C080506, // 0010 GETMET R2 R2 K6
+ 0x58100007, // 0011 LDCONST R4 K7
+ 0x5C140200, // 0012 MOVE R5 R1
+ 0x7C080600, // 0013 CALL R2 3
+ 0x90020002, // 0014 SETMBR R0 K0 R2
+ 0x88080100, // 0015 GETMBR R2 R0 K0
+ 0x8C080508, // 0016 GETMET R2 R2 K8
+ 0x84100000, // 0017 CLOSURE R4 P0
+ 0x7C080400, // 0018 CALL R2 2
+ 0xA0000000, // 0019 CLOSE R0
+ 0x80000000, // 001A RET 0
})
)
);
@@ -231,11 +183,114 @@ be_local_closure(Matter_Device_start, /* name */
/********************************************************************
-** Solidified function: compute_manual_pairing_code
+** Solidified function: find_plugin_by_endpoint
********************************************************************/
-be_local_closure(Matter_Device_compute_manual_pairing_code, /* name */
+be_local_closure(Matter_Device_find_plugin_by_endpoint, /* name */
be_nested_proto(
- 11, /* nstack */
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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),
+ /* K3 */ be_const_int(1),
+ }),
+ be_str_weak(find_plugin_by_endpoint),
+ &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
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_active_endpoints
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: is_root_commissioning_open
+********************************************************************/
+be_local_closure(Matter_Device_is_root_commissioning_open, /* name */
+ be_nested_proto(
+ 3, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -243,50 +298,24 @@ be_local_closure(Matter_Device_compute_manual_pairing_code, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(root_discriminator),
- /* K2 */ be_nested_str_weak(root_passcode),
- /* K3 */ be_nested_str_weak(format),
- /* K4 */ be_nested_str_weak(_X251i_X2505i_X2504i),
- /* K5 */ be_nested_str_weak(matter),
- /* K6 */ be_nested_str_weak(Verhoeff),
- /* K7 */ be_nested_str_weak(checksum),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(commissioning_open),
+ /* K1 */ be_nested_str_weak(commissioning_admin_fabric),
}),
- be_str_weak(compute_manual_pairing_code),
+ be_str_weak(is_root_commissioning_open),
&be_const_str_solidified,
- ( &(const binstruction[31]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x88080101, // 0001 GETMBR R2 R0 K1
- 0x540E0FFE, // 0002 LDINT R3 4095
- 0x2C080403, // 0003 AND R2 R2 R3
- 0x540E0009, // 0004 LDINT R3 10
- 0x3C080403, // 0005 SHR R2 R2 R3
- 0x880C0101, // 0006 GETMBR R3 R0 K1
- 0x541202FF, // 0007 LDINT R4 768
- 0x2C0C0604, // 0008 AND R3 R3 R4
- 0x54120005, // 0009 LDINT R4 6
- 0x380C0604, // 000A SHL R3 R3 R4
- 0x88100102, // 000B GETMBR R4 R0 K2
- 0x54163FFE, // 000C LDINT R5 16383
- 0x2C100805, // 000D AND R4 R4 R5
- 0x300C0604, // 000E OR R3 R3 R4
- 0x88100102, // 000F GETMBR R4 R0 K2
- 0x5416000D, // 0010 LDINT R5 14
- 0x3C100805, // 0011 SHR R4 R4 R5
- 0x8C140303, // 0012 GETMET R5 R1 K3
- 0x581C0004, // 0013 LDCONST R7 K4
- 0x5C200400, // 0014 MOVE R8 R2
- 0x5C240600, // 0015 MOVE R9 R3
- 0x5C280800, // 0016 MOVE R10 R4
- 0x7C140A00, // 0017 CALL R5 5
- 0xB81A0A00, // 0018 GETNGBL R6 K5
- 0x88180D06, // 0019 GETMBR R6 R6 K6
- 0x8C180D07, // 001A GETMET R6 R6 K7
- 0x5C200A00, // 001B MOVE R8 R5
- 0x7C180400, // 001C CALL R6 2
- 0x00140A06, // 001D ADD R5 R5 R6
- 0x80040A00, // 001E RET 1 R5
+ ( &(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
})
)
);
@@ -355,6 +384,597 @@ be_local_closure(Matter_Device_register_commands, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: mdns_remove_PASE
+********************************************************************/
+be_local_closure(Matter_Device_mdns_remove_PASE, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[22]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(mdns_pase_eth),
+ /* K3 */ be_nested_str_weak(tasmota),
+ /* K4 */ be_nested_str_weak(log),
+ /* K5 */ be_nested_str_weak(format),
+ /* K6 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eremove_service_X28_X25s_X2C_X20_X25s_X2C_X20_X25s_X2C_X20_X25s_X29),
+ /* K7 */ be_nested_str_weak(_matterc),
+ /* K8 */ be_nested_str_weak(_udp),
+ /* K9 */ be_nested_str_weak(commissioning_instance_eth),
+ /* K10 */ be_nested_str_weak(hostname_eth),
+ /* K11 */ be_const_int(3),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
+ /* K13 */ be_nested_str_weak(eth),
+ /* K14 */ be_const_int(2),
+ /* K15 */ be_nested_str_weak(remove_service),
+ /* K16 */ be_nested_str_weak(mdns_pase_wifi),
+ /* K17 */ be_nested_str_weak(commissioning_instance_wifi),
+ /* K18 */ be_nested_str_weak(hostname_wifi),
+ /* K19 */ be_nested_str_weak(wifi),
+ /* K20 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K21 */ be_nested_str_weak(_X7C),
+ }),
+ be_str_weak(mdns_remove_PASE),
+ &be_const_str_solidified,
+ ( &(const binstruction[83]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0xA802003D, // 0002 EXBLK 0 #0041
+ 0x880C0102, // 0003 GETMBR R3 R0 K2
+ 0x780E001B, // 0004 JMPF R3 #0021
+ 0xB80E0600, // 0005 GETNGBL R3 K3
+ 0x8C0C0704, // 0006 GETMET R3 R3 K4
+ 0x8C140505, // 0007 GETMET R5 R2 K5
+ 0x581C0006, // 0008 LDCONST R7 K6
+ 0x58200007, // 0009 LDCONST R8 K7
+ 0x58240008, // 000A LDCONST R9 K8
+ 0x88280109, // 000B GETMBR R10 R0 K9
+ 0x882C010A, // 000C GETMBR R11 R0 K10
+ 0x7C140C00, // 000D CALL R5 6
+ 0x5818000B, // 000E LDCONST R6 K11
+ 0x7C0C0600, // 000F CALL R3 3
+ 0xB80E0600, // 0010 GETNGBL R3 K3
+ 0x8C0C0704, // 0011 GETMET R3 R3 K4
+ 0x8C140505, // 0012 GETMET R5 R2 K5
+ 0x581C000C, // 0013 LDCONST R7 K12
+ 0x5820000D, // 0014 LDCONST R8 K13
+ 0x88240109, // 0015 GETMBR R9 R0 K9
+ 0x7C140800, // 0016 CALL R5 4
+ 0x5818000E, // 0017 LDCONST R6 K14
+ 0x7C0C0600, // 0018 CALL R3 3
+ 0x500C0000, // 0019 LDBOOL R3 0 0
+ 0x90020403, // 001A SETMBR R0 K2 R3
+ 0x8C0C030F, // 001B GETMET R3 R1 K15
+ 0x58140007, // 001C LDCONST R5 K7
+ 0x58180008, // 001D LDCONST R6 K8
+ 0x881C0109, // 001E GETMBR R7 R0 K9
+ 0x8820010A, // 001F GETMBR R8 R0 K10
+ 0x7C0C0A00, // 0020 CALL R3 5
+ 0x880C0110, // 0021 GETMBR R3 R0 K16
+ 0x780E001B, // 0022 JMPF R3 #003F
+ 0xB80E0600, // 0023 GETNGBL R3 K3
+ 0x8C0C0704, // 0024 GETMET R3 R3 K4
+ 0x8C140505, // 0025 GETMET R5 R2 K5
+ 0x581C0006, // 0026 LDCONST R7 K6
+ 0x58200007, // 0027 LDCONST R8 K7
+ 0x58240008, // 0028 LDCONST R9 K8
+ 0x88280111, // 0029 GETMBR R10 R0 K17
+ 0x882C0112, // 002A GETMBR R11 R0 K18
+ 0x7C140C00, // 002B CALL R5 6
+ 0x5818000B, // 002C LDCONST R6 K11
+ 0x7C0C0600, // 002D CALL R3 3
+ 0xB80E0600, // 002E GETNGBL R3 K3
+ 0x8C0C0704, // 002F GETMET R3 R3 K4
+ 0x8C140505, // 0030 GETMET R5 R2 K5
+ 0x581C000C, // 0031 LDCONST R7 K12
+ 0x58200013, // 0032 LDCONST R8 K19
+ 0x88240111, // 0033 GETMBR R9 R0 K17
+ 0x7C140800, // 0034 CALL R5 4
+ 0x5818000E, // 0035 LDCONST R6 K14
+ 0x7C0C0600, // 0036 CALL R3 3
+ 0x500C0000, // 0037 LDBOOL R3 0 0
+ 0x90022003, // 0038 SETMBR R0 K16 R3
+ 0x8C0C030F, // 0039 GETMET R3 R1 K15
+ 0x58140007, // 003A LDCONST R5 K7
+ 0x58180008, // 003B LDCONST R6 K8
+ 0x881C0111, // 003C GETMBR R7 R0 K17
+ 0x88200112, // 003D GETMBR R8 R0 K18
+ 0x7C0C0A00, // 003E CALL R3 5
+ 0xA8040001, // 003F EXBLK 1 1
+ 0x70020010, // 0040 JMP #0052
+ 0xAC0C0002, // 0041 CATCH R3 0 2
+ 0x7002000D, // 0042 JMP #0051
+ 0xB8160600, // 0043 GETNGBL R5 K3
+ 0x8C140B04, // 0044 GETMET R5 R5 K4
+ 0x601C0008, // 0045 GETGBL R7 G8
+ 0x5C200600, // 0046 MOVE R8 R3
+ 0x7C1C0200, // 0047 CALL R7 1
+ 0x001E2807, // 0048 ADD R7 K20 R7
+ 0x001C0F15, // 0049 ADD R7 R7 K21
+ 0x60200008, // 004A GETGBL R8 G8
+ 0x5C240800, // 004B MOVE R9 R4
+ 0x7C200200, // 004C CALL R8 1
+ 0x001C0E08, // 004D ADD R7 R7 R8
+ 0x5820000E, // 004E LDCONST R8 K14
+ 0x7C140600, // 004F CALL R5 3
+ 0x70020000, // 0050 JMP #0052
+ 0xB0080000, // 0051 RAISE 2 R0 R0
+ 0x80000000, // 0052 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: every_250ms
+********************************************************************/
+be_local_closure(Matter_Device_every_250ms, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(message_handler),
+ /* K1 */ be_nested_str_weak(every_250ms),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(plugins),
+ /* K4 */ be_const_int(1),
+ }),
+ be_str_weak(every_250ms),
+ &be_const_str_solidified,
+ ( &(const binstruction[16]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x7C040200, // 0002 CALL R1 1
+ 0x58040002, // 0003 LDCONST R1 K2
+ 0x6008000C, // 0004 GETGBL R2 G12
+ 0x880C0103, // 0005 GETMBR R3 R0 K3
+ 0x7C080200, // 0006 CALL R2 1
+ 0x14080202, // 0007 LT R2 R1 R2
+ 0x780A0005, // 0008 JMPF R2 #000F
+ 0x88080103, // 0009 GETMBR R2 R0 K3
+ 0x94080401, // 000A GETIDX R2 R2 R1
+ 0x8C080501, // 000B GETMET R2 R2 K1
+ 0x7C080200, // 000C CALL R2 1
+ 0x00040304, // 000D ADD R1 R1 K4
+ 0x7001FFF4, // 000E JMP #0004
+ 0x80000000, // 000F RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: adjust_next_ep
+********************************************************************/
+be_local_closure(Matter_Device_adjust_next_ep, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: save_before_restart
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: invoke_request
+********************************************************************/
+be_local_closure(Matter_Device_invoke_request, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(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(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
+********************************************************************/
+be_local_closure(Matter_Device__instantiate_plugins_from_config, /* name */
+ be_nested_proto(
+ 19, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[34]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(k2l_num),
+ /* K2 */ be_nested_str_weak(tasmota),
+ /* K3 */ be_nested_str_weak(log),
+ /* K4 */ be_nested_str_weak(MTR_X3A_X20endpoints_X20to_X20be_X20configured_X20),
+ /* K5 */ be_const_int(3),
+ /* K6 */ be_nested_str_weak(plugins),
+ /* K7 */ be_nested_str_weak(push),
+ /* K8 */ be_nested_str_weak(matter),
+ /* K9 */ be_nested_str_weak(Plugin_Root),
+ /* K10 */ be_const_int(0),
+ /* K11 */ be_nested_str_weak(format),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20endpoint_X3A_X25i_X20type_X3A_X25s_X25s),
+ /* K13 */ be_nested_str_weak(root),
+ /* K14 */ be_nested_str_weak(),
+ /* K15 */ be_const_int(2),
+ /* K16 */ be_nested_str_weak(Plugin_Aggregator),
+ /* K17 */ be_nested_str_weak(aggregator),
+ /* K18 */ be_nested_str_weak(MTR_X3A_X20endpoint_X20_X25i_X20config_X20_X25s),
+ /* K19 */ be_nested_str_weak(find),
+ /* K20 */ be_nested_str_weak(type),
+ /* K21 */ be_nested_str_weak(MTR_X3A_X20no_X20class_X20name_X2C_X20skipping),
+ /* K22 */ be_nested_str_weak(MTR_X3A_X20only_X20one_X20root_X20node_X20allowed),
+ /* K23 */ be_nested_str_weak(plugins_classes),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
+ /* K25 */ be_nested_str_weak(_X27_X20skipping),
+ /* K26 */ be_nested_str_weak(k2l),
+ /* K27 */ be_nested_str_weak(_X20_X25s_X3A_X25s),
+ /* K28 */ be_nested_str_weak(stop_iteration),
+ /* K29 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K30 */ be_nested_str_weak(_X7C),
+ /* K31 */ be_nested_str_weak(publish_result),
+ /* K32 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Initialized_X22_X3A1_X7D_X7D),
+ /* K33 */ be_nested_str_weak(Matter),
+ }),
+ be_str_weak(_instantiate_plugins_from_config),
+ &be_const_str_solidified,
+ ( &(const binstruction[185]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0x8C0C0101, // 0001 GETMET R3 R0 K1
+ 0x5C140200, // 0002 MOVE R5 R1
+ 0x7C0C0400, // 0003 CALL R3 2
+ 0xB8120400, // 0004 GETNGBL R4 K2
+ 0x8C100903, // 0005 GETMET R4 R4 K3
+ 0x60180008, // 0006 GETGBL R6 G8
+ 0x5C1C0600, // 0007 MOVE R7 R3
+ 0x7C180200, // 0008 CALL R6 1
+ 0x001A0806, // 0009 ADD R6 K4 R6
+ 0x581C0005, // 000A LDCONST R7 K5
+ 0x7C100600, // 000B CALL R4 3
+ 0x88100106, // 000C GETMBR R4 R0 K6
+ 0x8C100907, // 000D GETMET R4 R4 K7
+ 0xB81A1000, // 000E GETNGBL R6 K8
+ 0x8C180D09, // 000F GETMET R6 R6 K9
+ 0x5C200000, // 0010 MOVE R8 R0
+ 0x5824000A, // 0011 LDCONST R9 K10
+ 0x60280013, // 0012 GETGBL R10 G19
+ 0x7C280000, // 0013 CALL R10 0
+ 0x7C180800, // 0014 CALL R6 4
+ 0x7C100400, // 0015 CALL R4 2
+ 0xB8120400, // 0016 GETNGBL R4 K2
+ 0x8C100903, // 0017 GETMET R4 R4 K3
+ 0x8C18050B, // 0018 GETMET R6 R2 K11
+ 0x5820000C, // 0019 LDCONST R8 K12
+ 0x5824000A, // 001A LDCONST R9 K10
+ 0x5828000D, // 001B LDCONST R10 K13
+ 0x582C000E, // 001C LDCONST R11 K14
+ 0x7C180A00, // 001D CALL R6 5
+ 0x581C000F, // 001E LDCONST R7 K15
+ 0x7C100600, // 001F CALL R4 3
+ 0x88100106, // 0020 GETMBR R4 R0 K6
+ 0x8C100907, // 0021 GETMET R4 R4 K7
+ 0xB81A1000, // 0022 GETNGBL R6 K8
+ 0x8C180D10, // 0023 GETMET R6 R6 K16
+ 0x5C200000, // 0024 MOVE R8 R0
+ 0x5426FEFF, // 0025 LDINT R9 65280
+ 0x60280013, // 0026 GETGBL R10 G19
+ 0x7C280000, // 0027 CALL R10 0
+ 0x7C180800, // 0028 CALL R6 4
+ 0x7C100400, // 0029 CALL R4 2
+ 0xB8120400, // 002A GETNGBL R4 K2
+ 0x8C100903, // 002B GETMET R4 R4 K3
+ 0x8C18050B, // 002C GETMET R6 R2 K11
+ 0x5820000C, // 002D LDCONST R8 K12
+ 0x5426FEFF, // 002E LDINT R9 65280
+ 0x58280011, // 002F LDCONST R10 K17
+ 0x582C000E, // 0030 LDCONST R11 K14
+ 0x7C180A00, // 0031 CALL R6 5
+ 0x581C000F, // 0032 LDCONST R7 K15
+ 0x7C100600, // 0033 CALL R4 3
+ 0x60100010, // 0034 GETGBL R4 G16
+ 0x5C140600, // 0035 MOVE R5 R3
+ 0x7C100200, // 0036 CALL R4 1
+ 0xA8020077, // 0037 EXBLK 0 #00B0
+ 0x5C140800, // 0038 MOVE R5 R4
+ 0x7C140000, // 0039 CALL R5 0
+ 0x1C180B0A, // 003A EQ R6 R5 K10
+ 0x781A0000, // 003B JMPF R6 #003D
+ 0x7001FFFA, // 003C JMP #0038
+ 0xA802005F, // 003D EXBLK 0 #009E
+ 0x60180008, // 003E GETGBL R6 G8
+ 0x5C1C0A00, // 003F MOVE R7 R5
+ 0x7C180200, // 0040 CALL R6 1
+ 0x94180206, // 0041 GETIDX R6 R1 R6
+ 0xB81E0400, // 0042 GETNGBL R7 K2
+ 0x8C1C0F03, // 0043 GETMET R7 R7 K3
+ 0x8C24050B, // 0044 GETMET R9 R2 K11
+ 0x582C0012, // 0045 LDCONST R11 K18
+ 0x5C300A00, // 0046 MOVE R12 R5
+ 0x5C340C00, // 0047 MOVE R13 R6
+ 0x7C240800, // 0048 CALL R9 4
+ 0x58280005, // 0049 LDCONST R10 K5
+ 0x7C1C0600, // 004A CALL R7 3
+ 0x8C1C0D13, // 004B GETMET R7 R6 K19
+ 0x58240014, // 004C LDCONST R9 K20
+ 0x7C1C0400, // 004D CALL R7 2
+ 0x4C200000, // 004E LDNIL R8
+ 0x1C200E08, // 004F EQ R8 R7 R8
+ 0x78220006, // 0050 JMPF R8 #0058
+ 0xB8220400, // 0051 GETNGBL R8 K2
+ 0x8C201103, // 0052 GETMET R8 R8 K3
+ 0x58280015, // 0053 LDCONST R10 K21
+ 0x582C0005, // 0054 LDCONST R11 K5
+ 0x7C200600, // 0055 CALL R8 3
+ 0xA8040001, // 0056 EXBLK 1 1
+ 0x7001FFDF, // 0057 JMP #0038
+ 0x1C200F0D, // 0058 EQ R8 R7 K13
+ 0x78220006, // 0059 JMPF R8 #0061
+ 0xB8220400, // 005A GETNGBL R8 K2
+ 0x8C201103, // 005B GETMET R8 R8 K3
+ 0x58280016, // 005C LDCONST R10 K22
+ 0x582C0005, // 005D LDCONST R11 K5
+ 0x7C200600, // 005E CALL R8 3
+ 0xA8040001, // 005F EXBLK 1 1
+ 0x7001FFD6, // 0060 JMP #0038
+ 0x88200117, // 0061 GETMBR R8 R0 K23
+ 0x8C201113, // 0062 GETMET R8 R8 K19
+ 0x5C280E00, // 0063 MOVE R10 R7
+ 0x7C200400, // 0064 CALL R8 2
+ 0x4C240000, // 0065 LDNIL R9
+ 0x1C241009, // 0066 EQ R9 R8 R9
+ 0x7826000A, // 0067 JMPF R9 #0073
+ 0xB8260400, // 0068 GETNGBL R9 K2
+ 0x8C241303, // 0069 GETMET R9 R9 K3
+ 0x602C0008, // 006A GETGBL R11 G8
+ 0x5C300E00, // 006B MOVE R12 R7
+ 0x7C2C0200, // 006C CALL R11 1
+ 0x002E300B, // 006D ADD R11 K24 R11
+ 0x002C1719, // 006E ADD R11 R11 K25
+ 0x5830000F, // 006F LDCONST R12 K15
+ 0x7C240600, // 0070 CALL R9 3
+ 0xA8040001, // 0071 EXBLK 1 1
+ 0x7001FFC4, // 0072 JMP #0038
+ 0x5C241000, // 0073 MOVE R9 R8
+ 0x5C280000, // 0074 MOVE R10 R0
+ 0x5C2C0A00, // 0075 MOVE R11 R5
+ 0x5C300C00, // 0076 MOVE R12 R6
+ 0x7C240600, // 0077 CALL R9 3
+ 0x88280106, // 0078 GETMBR R10 R0 K6
+ 0x8C281507, // 0079 GETMET R10 R10 K7
+ 0x5C301200, // 007A MOVE R12 R9
+ 0x7C280400, // 007B CALL R10 2
+ 0x5828000E, // 007C LDCONST R10 K14
+ 0x602C0010, // 007D GETGBL R11 G16
+ 0x8C30011A, // 007E GETMET R12 R0 K26
+ 0x5C380C00, // 007F MOVE R14 R6
+ 0x7C300400, // 0080 CALL R12 2
+ 0x7C2C0200, // 0081 CALL R11 1
+ 0xA802000B, // 0082 EXBLK 0 #008F
+ 0x5C301600, // 0083 MOVE R12 R11
+ 0x7C300000, // 0084 CALL R12 0
+ 0x1C341914, // 0085 EQ R13 R12 K20
+ 0x78360000, // 0086 JMPF R13 #0088
+ 0x7001FFFA, // 0087 JMP #0083
+ 0x8C34050B, // 0088 GETMET R13 R2 K11
+ 0x583C001B, // 0089 LDCONST R15 K27
+ 0x5C401800, // 008A MOVE R16 R12
+ 0x94440C0C, // 008B GETIDX R17 R6 R12
+ 0x7C340800, // 008C CALL R13 4
+ 0x0028140D, // 008D ADD R10 R10 R13
+ 0x7001FFF3, // 008E JMP #0083
+ 0x582C001C, // 008F LDCONST R11 K28
+ 0xAC2C0200, // 0090 CATCH R11 1 0
+ 0xB0080000, // 0091 RAISE 2 R0 R0
+ 0xB82E0400, // 0092 GETNGBL R11 K2
+ 0x8C2C1703, // 0093 GETMET R11 R11 K3
+ 0x8C34050B, // 0094 GETMET R13 R2 K11
+ 0x583C000C, // 0095 LDCONST R15 K12
+ 0x5C400A00, // 0096 MOVE R16 R5
+ 0x5C440E00, // 0097 MOVE R17 R7
+ 0x5C481400, // 0098 MOVE R18 R10
+ 0x7C340A00, // 0099 CALL R13 5
+ 0x5838000F, // 009A LDCONST R14 K15
+ 0x7C2C0600, // 009B CALL R11 3
+ 0xA8040001, // 009C EXBLK 1 1
+ 0x70020010, // 009D JMP #00AF
+ 0xAC180002, // 009E CATCH R6 0 2
+ 0x7002000D, // 009F JMP #00AE
+ 0xB8220400, // 00A0 GETNGBL R8 K2
+ 0x8C201103, // 00A1 GETMET R8 R8 K3
+ 0x60280008, // 00A2 GETGBL R10 G8
+ 0x5C2C0C00, // 00A3 MOVE R11 R6
+ 0x7C280200, // 00A4 CALL R10 1
+ 0x002A3A0A, // 00A5 ADD R10 K29 R10
+ 0x0028151E, // 00A6 ADD R10 R10 K30
+ 0x602C0008, // 00A7 GETGBL R11 G8
+ 0x5C300E00, // 00A8 MOVE R12 R7
+ 0x7C2C0200, // 00A9 CALL R11 1
+ 0x0028140B, // 00AA ADD R10 R10 R11
+ 0x582C000F, // 00AB LDCONST R11 K15
+ 0x7C200600, // 00AC CALL R8 3
+ 0x70020000, // 00AD JMP #00AF
+ 0xB0080000, // 00AE RAISE 2 R0 R0
+ 0x7001FF87, // 00AF JMP #0038
+ 0x5810001C, // 00B0 LDCONST R4 K28
+ 0xAC100200, // 00B1 CATCH R4 1 0
+ 0xB0080000, // 00B2 RAISE 2 R0 R0
+ 0xB8120400, // 00B3 GETNGBL R4 K2
+ 0x8C10091F, // 00B4 GETMET R4 R4 K31
+ 0x58180020, // 00B5 LDCONST R6 K32
+ 0x581C0021, // 00B6 LDCONST R7 K33
+ 0x7C100600, // 00B7 CALL R4 3
+ 0x80000000, // 00B8 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_commissioning_complete
+********************************************************************/
+be_local_closure(Matter_Device_start_commissioning_complete, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(log),
+ /* K2 */ be_nested_str_weak(MTR_X3A_X20_X2A_X2A_X2A_X20Commissioning_X20complete_X20_X2A_X2A_X2A),
+ /* K3 */ be_const_int(2),
+ /* K4 */ be_nested_str_weak(stop_basic_commissioning),
+ }),
+ be_str_weak(start_commissioning_complete),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0xB80A0000, // 0000 GETNGBL R2 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x58100002, // 0002 LDCONST R4 K2
+ 0x58140003, // 0003 LDCONST R5 K3
+ 0x7C080600, // 0004 CALL R2 3
+ 0x8C080104, // 0005 GETMET R2 R0 K4
+ 0x7C080200, // 0006 CALL R2 1
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: k2l
********************************************************************/
@@ -436,11 +1056,71 @@ be_local_closure(Matter_Device_k2l, /* name */
/********************************************************************
-** Solidified function: is_commissioning_open
+** Solidified function: start_operational_discovery_deferred
********************************************************************/
-be_local_closure(Matter_Device_is_commissioning_open, /* name */
+be_local_closure(Matter_Device_start_operational_discovery_deferred, /* name */
be_nested_proto(
- 3, /* nstack */
+ 6, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 1]) {
+ 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, /* no sub protos */
+ 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
+ })
+ ),
+ }),
+ 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: compute_qrcode_content
+********************************************************************/
+be_local_closure(Matter_Device_compute_qrcode_content, /* name */
+ be_nested_proto(
+ 8, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -448,16 +1128,207 @@ be_local_closure(Matter_Device_is_commissioning_open, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(commissioning_open),
+ ( &(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(is_commissioning_open),
+ be_str_weak(compute_qrcode_content),
&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
+ ( &(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: sort_distinct
+********************************************************************/
+be_local_closure(Matter_Device_sort_distinct, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 1, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: register_http_remote
+********************************************************************/
+be_local_closure(Matter_Device_register_http_remote, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* 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),
+ }),
+ be_str_weak(register_http_remote),
+ &be_const_str_solidified,
+ ( &(const binstruction[32]) { /* 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
+ 0x70020007, // 0016 JMP #001F
+ 0xB8120800, // 0017 GETNGBL R4 K4
+ 0x8C100905, // 0018 GETMET R4 R4 K5
+ 0x5C180200, // 0019 MOVE R6 R1
+ 0x5C1C0400, // 001A MOVE R7 R2
+ 0x7C100600, // 001B CALL R4 3
+ 0x5C0C0800, // 001C MOVE R3 R4
+ 0x88100100, // 001D GETMBR R4 R0 K0
+ 0x98100203, // 001E SETIDX R4 R1 R3
+ 0x80040600, // 001F RET 1 R3
})
)
);
@@ -502,154 +1373,11 @@ be_local_closure(Matter_Device_register_plugin_class, /* name */
/********************************************************************
-** Solidified function: start_basic_commissioning
+** Solidified function: clean_remotes
********************************************************************/
-be_local_closure(Matter_Device_start_basic_commissioning, /* name */
+be_local_closure(Matter_Device_clean_remotes, /* name */
be_nested_proto(
- 13, /* nstack */
- 8, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 2]) {
- 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, /* no sub protos */
- 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, /* no sub protos */
- 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
- })
- ),
- }),
- 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: load_param
-********************************************************************/
-be_local_closure(Matter_Device_load_param, /* name */
- be_nested_proto(
- 12, /* nstack */
+ 11, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -657,148 +1385,231 @@ be_local_closure(Matter_Device_load_param, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[32]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(crypto),
- /* K2 */ be_nested_str_weak(FILENAME),
- /* K3 */ be_nested_str_weak(read),
- /* K4 */ be_nested_str_weak(close),
- /* K5 */ be_nested_str_weak(json),
- /* K6 */ be_nested_str_weak(load),
- /* K7 */ be_nested_str_weak(root_discriminator),
+ ( &(const bvalue[19]) { /* constants */
+ /* K0 */ be_nested_str_weak(introspect),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(http_remotes),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(stop_iteration),
+ /* K5 */ be_nested_str_weak(plugins),
+ /* K6 */ be_nested_str_weak(get),
+ /* K7 */ be_nested_str_weak(http_remote),
/* K8 */ be_nested_str_weak(find),
- /* K9 */ be_nested_str_weak(distinguish),
- /* K10 */ be_nested_str_weak(root_passcode),
- /* K11 */ be_nested_str_weak(passcode),
- /* K12 */ be_nested_str_weak(ipv4only),
- /* K13 */ be_nested_str_weak(next_ep),
- /* K14 */ be_nested_str_weak(nextep),
- /* K15 */ be_nested_str_weak(plugins_config),
- /* K16 */ be_nested_str_weak(config),
- /* K17 */ be_nested_str_weak(tasmota),
- /* K18 */ be_nested_str_weak(log),
- /* K19 */ be_nested_str_weak(MTR_X3A_X20load_config_X20_X3D_X20),
- /* K20 */ be_const_int(3),
- /* K21 */ be_nested_str_weak(adjust_next_ep),
- /* K22 */ be_nested_str_weak(plugins_persist),
- /* K23 */ be_nested_str_weak(io_error),
- /* K24 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Aload_X20Exception_X3A),
- /* K25 */ be_nested_str_weak(_X7C),
- /* K26 */ be_const_int(2),
- /* K27 */ be_nested_str_weak(random),
- /* K28 */ be_nested_str_weak(get),
- /* K29 */ be_const_int(0),
- /* K30 */ be_nested_str_weak(generate_random_passcode),
- /* K31 */ be_nested_str_weak(save_param),
+ /* K9 */ be_const_int(1),
+ /* K10 */ be_nested_str_weak(tasmota),
+ /* K11 */ be_nested_str_weak(log),
+ /* K12 */ be_nested_str_weak(MTR_X3A_X20remotes_X20references_X3A_X20),
+ /* K13 */ be_nested_str_weak(keys),
+ /* K14 */ be_nested_str_weak(MTR_X3A_X20remove_X20unused_X20remote_X3A_X20),
+ /* K15 */ be_nested_str_weak(addr),
+ /* K16 */ be_const_int(3),
+ /* K17 */ be_nested_str_weak(close),
+ /* K18 */ be_nested_str_weak(remove),
}),
- be_str_weak(load_param),
+ be_str_weak(clean_remotes),
&be_const_str_solidified,
- ( &(const binstruction[105]) { /* code */
+ ( &(const binstruction[72]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
- 0xA8020036, // 0002 EXBLK 0 #003A
- 0x600C0011, // 0003 GETGBL R3 G17
- 0x88100102, // 0004 GETMBR R4 R0 K2
- 0x7C0C0200, // 0005 CALL R3 1
- 0x8C100703, // 0006 GETMET R4 R3 K3
- 0x7C100200, // 0007 CALL R4 1
- 0x8C140704, // 0008 GETMET R5 R3 K4
- 0x7C140200, // 0009 CALL R5 1
- 0xA4160A00, // 000A IMPORT R5 K5
- 0x8C180B06, // 000B GETMET R6 R5 K6
- 0x5C200800, // 000C MOVE R8 R4
- 0x7C180400, // 000D CALL R6 2
- 0x8C1C0D08, // 000E GETMET R7 R6 K8
- 0x58240009, // 000F LDCONST R9 K9
- 0x88280107, // 0010 GETMBR R10 R0 K7
- 0x7C1C0600, // 0011 CALL R7 3
- 0x90020E07, // 0012 SETMBR R0 K7 R7
- 0x8C1C0D08, // 0013 GETMET R7 R6 K8
- 0x5824000B, // 0014 LDCONST R9 K11
- 0x8828010A, // 0015 GETMBR R10 R0 K10
- 0x7C1C0600, // 0016 CALL R7 3
- 0x90021407, // 0017 SETMBR R0 K10 R7
- 0x601C0017, // 0018 GETGBL R7 G23
- 0x8C200D08, // 0019 GETMET R8 R6 K8
- 0x5828000C, // 001A LDCONST R10 K12
- 0x502C0000, // 001B LDBOOL R11 0 0
- 0x7C200600, // 001C CALL R8 3
- 0x7C1C0200, // 001D CALL R7 1
- 0x90021807, // 001E SETMBR R0 K12 R7
- 0x8C1C0D08, // 001F GETMET R7 R6 K8
- 0x5824000E, // 0020 LDCONST R9 K14
- 0x8828010D, // 0021 GETMBR R10 R0 K13
- 0x7C1C0600, // 0022 CALL R7 3
- 0x90021A07, // 0023 SETMBR R0 K13 R7
- 0x8C1C0D08, // 0024 GETMET R7 R6 K8
- 0x58240010, // 0025 LDCONST R9 K16
- 0x7C1C0400, // 0026 CALL R7 2
- 0x90021E07, // 0027 SETMBR R0 K15 R7
- 0x881C010F, // 0028 GETMBR R7 R0 K15
- 0x4C200000, // 0029 LDNIL R8
- 0x201C0E08, // 002A NE R7 R7 R8
- 0x781E000B, // 002B JMPF R7 #0038
- 0xB81E2200, // 002C GETNGBL R7 K17
- 0x8C1C0F12, // 002D GETMET R7 R7 K18
- 0x60240008, // 002E GETGBL R9 G8
- 0x8828010F, // 002F GETMBR R10 R0 K15
- 0x7C240200, // 0030 CALL R9 1
- 0x00262609, // 0031 ADD R9 K19 R9
- 0x58280014, // 0032 LDCONST R10 K20
- 0x7C1C0600, // 0033 CALL R7 3
- 0x8C1C0115, // 0034 GETMET R7 R0 K21
- 0x7C1C0200, // 0035 CALL R7 1
- 0x501C0200, // 0036 LDBOOL R7 1 0
- 0x90022C07, // 0037 SETMBR R0 K22 R7
- 0xA8040001, // 0038 EXBLK 1 1
- 0x70020012, // 0039 JMP #004D
- 0xAC0C0002, // 003A CATCH R3 0 2
- 0x7002000F, // 003B JMP #004C
- 0x20140717, // 003C NE R5 R3 K23
- 0x7816000C, // 003D JMPF R5 #004B
- 0xB8162200, // 003E GETNGBL R5 K17
- 0x8C140B12, // 003F GETMET R5 R5 K18
- 0x601C0008, // 0040 GETGBL R7 G8
- 0x5C200600, // 0041 MOVE R8 R3
- 0x7C1C0200, // 0042 CALL R7 1
- 0x001E3007, // 0043 ADD R7 K24 R7
- 0x001C0F19, // 0044 ADD R7 R7 K25
- 0x60200008, // 0045 GETGBL R8 G8
- 0x5C240800, // 0046 MOVE R9 R4
- 0x7C200200, // 0047 CALL R8 1
- 0x001C0E08, // 0048 ADD R7 R7 R8
- 0x5820001A, // 0049 LDCONST R8 K26
- 0x7C140600, // 004A CALL R5 3
- 0x70020000, // 004B JMP #004D
- 0xB0080000, // 004C RAISE 2 R0 R0
- 0x500C0000, // 004D LDBOOL R3 0 0
- 0x88100107, // 004E GETMBR R4 R0 K7
- 0x4C140000, // 004F LDNIL R5
- 0x1C100805, // 0050 EQ R4 R4 R5
- 0x7812000A, // 0051 JMPF R4 #005D
- 0x8C10051B, // 0052 GETMET R4 R2 K27
- 0x5818001A, // 0053 LDCONST R6 K26
- 0x7C100400, // 0054 CALL R4 2
- 0x8C10091C, // 0055 GETMET R4 R4 K28
- 0x5818001D, // 0056 LDCONST R6 K29
- 0x581C001A, // 0057 LDCONST R7 K26
- 0x7C100600, // 0058 CALL R4 3
- 0x54160FFE, // 0059 LDINT R5 4095
- 0x2C100805, // 005A AND R4 R4 R5
- 0x90020E04, // 005B SETMBR R0 K7 R4
- 0x500C0200, // 005C LDBOOL R3 1 0
- 0x8810010A, // 005D GETMBR R4 R0 K10
- 0x4C140000, // 005E LDNIL R5
- 0x1C100805, // 005F EQ R4 R4 R5
- 0x78120003, // 0060 JMPF R4 #0065
- 0x8C10011E, // 0061 GETMET R4 R0 K30
- 0x7C100200, // 0062 CALL R4 1
- 0x90021404, // 0063 SETMBR R0 K10 R4
- 0x500C0200, // 0064 LDBOOL R3 1 0
- 0x780E0001, // 0065 JMPF R3 #0068
- 0x8C10011F, // 0066 GETMET R4 R0 K31
- 0x7C100200, // 0067 CALL R4 1
- 0x80000000, // 0068 RET 0
+ 0x600C0013, // 0002 GETGBL R3 G19
+ 0x7C0C0000, // 0003 CALL R3 0
+ 0x60100010, // 0004 GETGBL R4 G16
+ 0x88140102, // 0005 GETMBR R5 R0 K2
+ 0x7C100200, // 0006 CALL R4 1
+ 0xA8020003, // 0007 EXBLK 0 #000C
+ 0x5C140800, // 0008 MOVE R5 R4
+ 0x7C140000, // 0009 CALL R5 0
+ 0x980C0B03, // 000A SETIDX R3 R5 K3
+ 0x7001FFFB, // 000B JMP #0008
+ 0x58100004, // 000C LDCONST R4 K4
+ 0xAC100200, // 000D CATCH R4 1 0
+ 0xB0080000, // 000E RAISE 2 R0 R0
+ 0x60100010, // 000F GETGBL R4 G16
+ 0x88140105, // 0010 GETMBR R5 R0 K5
+ 0x7C100200, // 0011 CALL R4 1
+ 0xA802000F, // 0012 EXBLK 0 #0023
+ 0x5C140800, // 0013 MOVE R5 R4
+ 0x7C140000, // 0014 CALL R5 0
+ 0x8C180306, // 0015 GETMET R6 R1 K6
+ 0x5C200A00, // 0016 MOVE R8 R5
+ 0x58240007, // 0017 LDCONST R9 K7
+ 0x7C180600, // 0018 CALL R6 3
+ 0x4C1C0000, // 0019 LDNIL R7
+ 0x201C0C07, // 001A NE R7 R6 R7
+ 0x781E0005, // 001B JMPF R7 #0022
+ 0x8C1C0708, // 001C GETMET R7 R3 K8
+ 0x5C240C00, // 001D MOVE R9 R6
+ 0x58280003, // 001E LDCONST R10 K3
+ 0x7C1C0600, // 001F CALL R7 3
+ 0x001C0F09, // 0020 ADD R7 R7 K9
+ 0x980C0C07, // 0021 SETIDX R3 R6 R7
+ 0x7001FFEF, // 0022 JMP #0013
+ 0x58100004, // 0023 LDCONST R4 K4
+ 0xAC100200, // 0024 CATCH R4 1 0
+ 0xB0080000, // 0025 RAISE 2 R0 R0
+ 0xB8121400, // 0026 GETNGBL R4 K10
+ 0x8C10090B, // 0027 GETMET R4 R4 K11
+ 0x60180008, // 0028 GETGBL R6 G8
+ 0x5C1C0600, // 0029 MOVE R7 R3
+ 0x7C180200, // 002A CALL R6 1
+ 0x001A1806, // 002B ADD R6 K12 R6
+ 0x7C100400, // 002C CALL R4 2
+ 0x60100010, // 002D GETGBL R4 G16
+ 0x8C14070D, // 002E GETMET R5 R3 K13
+ 0x7C140200, // 002F CALL R5 1
+ 0x7C100200, // 0030 CALL R4 1
+ 0xA8020011, // 0031 EXBLK 0 #0044
+ 0x5C140800, // 0032 MOVE R5 R4
+ 0x7C140000, // 0033 CALL R5 0
+ 0x94180605, // 0034 GETIDX R6 R3 R5
+ 0x1C180D03, // 0035 EQ R6 R6 K3
+ 0x781A000B, // 0036 JMPF R6 #0043
+ 0xB81A1400, // 0037 GETNGBL R6 K10
+ 0x8C180D0B, // 0038 GETMET R6 R6 K11
+ 0x88200B0F, // 0039 GETMBR R8 R5 K15
+ 0x00221C08, // 003A ADD R8 K14 R8
+ 0x58240010, // 003B LDCONST R9 K16
+ 0x7C180600, // 003C CALL R6 3
+ 0x8C180B11, // 003D GETMET R6 R5 K17
+ 0x7C180200, // 003E CALL R6 1
+ 0x88180102, // 003F GETMBR R6 R0 K2
+ 0x8C180D12, // 0040 GETMET R6 R6 K18
+ 0x5C200A00, // 0041 MOVE R8 R5
+ 0x7C180400, // 0042 CALL R6 2
+ 0x7001FFED, // 0043 JMP #0032
+ 0x58100004, // 0044 LDCONST R4 K4
+ 0xAC100200, // 0045 CATCH R4 1 0
+ 0xB0080000, // 0046 RAISE 2 R0 R0
+ 0x80000000, // 0047 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: mdns_announce_op_discovery_all_fabrics
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: signal_endpoints_changed
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(attribute_updated),
+ /* K1 */ be_const_int(0),
+ /* K2 */ be_const_int(3),
+ }),
+ be_str_weak(signal_endpoints_changed),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* 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
+ 0x540EFEFF, // 0007 LDINT R3 65280
+ 0x5412001C, // 0008 LDINT R4 29
+ 0x58140002, // 0009 LDCONST R5 K2
+ 0x50180000, // 000A LDBOOL R6 0 0
+ 0x7C040A00, // 000B CALL R1 5
+ 0x80000000, // 000C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: get_plugin_class_displayname
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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(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
})
)
);
@@ -872,6 +1683,126 @@ be_local_closure(Matter_Device_generate_random_passcode, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: MtrJoin
+********************************************************************/
+be_local_closure(Matter_Device_MtrJoin, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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
+********************************************************************/
+be_local_closure(Matter_Device_remove_fabric, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[12]) { /* constants */
+ /* K0 */ be_nested_str_weak(sessions),
+ /* K1 */ be_nested_str_weak(find_children_fabrics),
+ /* K2 */ be_nested_str_weak(get_fabric_index),
+ /* K3 */ be_nested_str_weak(find_fabric_by_index),
+ /* K4 */ be_nested_str_weak(message_handler),
+ /* K5 */ be_nested_str_weak(im),
+ /* K6 */ be_nested_str_weak(subs_shop),
+ /* K7 */ be_nested_str_weak(remove_by_fabric),
+ /* K8 */ be_nested_str_weak(mdns_remove_op_discovery),
+ /* K9 */ be_nested_str_weak(remove_fabric),
+ /* K10 */ be_nested_str_weak(stop_iteration),
+ /* K11 */ be_nested_str_weak(save_fabrics),
+ }),
+ be_str_weak(remove_fabric),
+ &be_const_str_solidified,
+ ( &(const binstruction[43]) { /* code */
+ 0x88080100, // 0000 GETMBR R2 R0 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x8C100302, // 0002 GETMET R4 R1 K2
+ 0x7C100200, // 0003 CALL R4 1
+ 0x7C080400, // 0004 CALL R2 2
+ 0x4C0C0000, // 0005 LDNIL R3
+ 0x1C0C0403, // 0006 EQ R3 R2 R3
+ 0x780E0000, // 0007 JMPF R3 #0009
+ 0x80000600, // 0008 RET 0
+ 0x600C0010, // 0009 GETGBL R3 G16
+ 0x5C100400, // 000A MOVE R4 R2
+ 0x7C0C0200, // 000B CALL R3 1
+ 0xA8020016, // 000C EXBLK 0 #0024
+ 0x5C100600, // 000D MOVE R4 R3
+ 0x7C100000, // 000E CALL R4 0
+ 0x88140100, // 000F GETMBR R5 R0 K0
+ 0x8C140B03, // 0010 GETMET R5 R5 K3
+ 0x5C1C0800, // 0011 MOVE R7 R4
+ 0x7C140400, // 0012 CALL R5 2
+ 0x4C180000, // 0013 LDNIL R6
+ 0x20180A06, // 0014 NE R6 R5 R6
+ 0x781A000C, // 0015 JMPF R6 #0023
+ 0x88180104, // 0016 GETMBR R6 R0 K4
+ 0x88180D05, // 0017 GETMBR R6 R6 K5
+ 0x88180D06, // 0018 GETMBR R6 R6 K6
+ 0x8C180D07, // 0019 GETMET R6 R6 K7
+ 0x5C200A00, // 001A MOVE R8 R5
+ 0x7C180400, // 001B CALL R6 2
+ 0x8C180108, // 001C GETMET R6 R0 K8
+ 0x5C200A00, // 001D MOVE R8 R5
+ 0x7C180400, // 001E CALL R6 2
+ 0x88180100, // 001F GETMBR R6 R0 K0
+ 0x8C180D09, // 0020 GETMET R6 R6 K9
+ 0x5C200A00, // 0021 MOVE R8 R5
+ 0x7C180400, // 0022 CALL R6 2
+ 0x7001FFE8, // 0023 JMP #000D
+ 0x580C000A, // 0024 LDCONST R3 K10
+ 0xAC0C0200, // 0025 CATCH R3 1 0
+ 0xB0080000, // 0026 RAISE 2 R0 R0
+ 0x880C0100, // 0027 GETMBR R3 R0 K0
+ 0x8C0C070B, // 0028 GETMET R3 R3 K11
+ 0x7C0C0200, // 0029 CALL R3 1
+ 0x80000000, // 002A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: process_attribute_expansion
********************************************************************/
@@ -1202,11 +2133,11 @@ be_local_closure(Matter_Device_process_attribute_expansion, /* name */
/********************************************************************
-** Solidified function: received_ack
+** Solidified function: mdns_remove_op_discovery
********************************************************************/
-be_local_closure(Matter_Device_received_ack, /* name */
+be_local_closure(Matter_Device_mdns_remove_op_discovery, /* name */
be_nested_proto(
- 5, /* nstack */
+ 14, /* nstack */
2, /* argc */
2, /* varg */
0, /* has upvals */
@@ -1214,156 +2145,116 @@ be_local_closure(Matter_Device_received_ack, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(udp_server),
- /* K1 */ be_nested_str_weak(received_ack),
+ ( &(const bvalue[24]) { /* constants */
+ /* K0 */ be_nested_str_weak(mdns),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(get_device_id),
+ /* K3 */ be_nested_str_weak(copy),
+ /* K4 */ be_nested_str_weak(reverse),
+ /* K5 */ be_nested_str_weak(get_fabric_compressed),
+ /* K6 */ be_nested_str_weak(tohex),
+ /* K7 */ be_nested_str_weak(_X2D),
+ /* K8 */ be_nested_str_weak(tasmota),
+ /* K9 */ be_nested_str_weak(eth),
+ /* K10 */ be_nested_str_weak(find),
+ /* K11 */ be_nested_str_weak(up),
+ /* K12 */ be_nested_str_weak(log),
+ /* K13 */ be_nested_str_weak(format),
+ /* K14 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
+ /* K15 */ be_const_int(2),
+ /* K16 */ be_nested_str_weak(remove_service),
+ /* K17 */ be_nested_str_weak(_matter),
+ /* K18 */ be_nested_str_weak(_tcp),
+ /* K19 */ be_nested_str_weak(hostname_eth),
+ /* K20 */ be_nested_str_weak(wifi),
+ /* K21 */ be_nested_str_weak(hostname_wifi),
+ /* K22 */ be_nested_str_weak(MTR_X3A_X20Exception),
+ /* K23 */ be_nested_str_weak(_X7C),
}),
- be_str_weak(received_ack),
+ be_str_weak(mdns_remove_op_discovery),
&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: sort_distinct
-********************************************************************/
-be_local_closure(Matter_Device_sort_distinct, /* name */
- be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: invoke_request
-********************************************************************/
-be_local_closure(Matter_Device_invoke_request, /* name */
- be_nested_proto(
- 12, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(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(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
+ ( &(const binstruction[81]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0xA40E0200, // 0001 IMPORT R3 K1
+ 0xA802003B, // 0002 EXBLK 0 #003F
+ 0x8C100302, // 0003 GETMET R4 R1 K2
+ 0x7C100200, // 0004 CALL R4 1
+ 0x8C100903, // 0005 GETMET R4 R4 K3
+ 0x7C100200, // 0006 CALL R4 1
+ 0x8C100904, // 0007 GETMET R4 R4 K4
+ 0x7C100200, // 0008 CALL R4 1
+ 0x8C140305, // 0009 GETMET R5 R1 K5
+ 0x7C140200, // 000A CALL R5 1
+ 0x8C180B06, // 000B GETMET R6 R5 K6
+ 0x7C180200, // 000C CALL R6 1
+ 0x00180D07, // 000D ADD R6 R6 K7
+ 0x8C1C0906, // 000E GETMET R7 R4 K6
+ 0x7C1C0200, // 000F CALL R7 1
+ 0x00180C07, // 0010 ADD R6 R6 R7
+ 0xB81E1000, // 0011 GETNGBL R7 K8
+ 0x8C1C0F09, // 0012 GETMET R7 R7 K9
+ 0x7C1C0200, // 0013 CALL R7 1
+ 0x8C1C0F0A, // 0014 GETMET R7 R7 K10
+ 0x5824000B, // 0015 LDCONST R9 K11
+ 0x7C1C0400, // 0016 CALL R7 2
+ 0x781E000E, // 0017 JMPF R7 #0027
+ 0xB81E1000, // 0018 GETNGBL R7 K8
+ 0x8C1C0F0C, // 0019 GETMET R7 R7 K12
+ 0x8C24070D, // 001A GETMET R9 R3 K13
+ 0x582C000E, // 001B LDCONST R11 K14
+ 0x58300009, // 001C LDCONST R12 K9
+ 0x5C340C00, // 001D MOVE R13 R6
+ 0x7C240800, // 001E CALL R9 4
+ 0x5828000F, // 001F LDCONST R10 K15
+ 0x7C1C0600, // 0020 CALL R7 3
+ 0x8C1C0510, // 0021 GETMET R7 R2 K16
+ 0x58240011, // 0022 LDCONST R9 K17
+ 0x58280012, // 0023 LDCONST R10 K18
+ 0x5C2C0C00, // 0024 MOVE R11 R6
+ 0x88300113, // 0025 GETMBR R12 R0 K19
+ 0x7C1C0A00, // 0026 CALL R7 5
+ 0xB81E1000, // 0027 GETNGBL R7 K8
+ 0x8C1C0F14, // 0028 GETMET R7 R7 K20
+ 0x7C1C0200, // 0029 CALL R7 1
+ 0x8C1C0F0A, // 002A GETMET R7 R7 K10
+ 0x5824000B, // 002B LDCONST R9 K11
+ 0x7C1C0400, // 002C CALL R7 2
+ 0x781E000E, // 002D JMPF R7 #003D
+ 0xB81E1000, // 002E GETNGBL R7 K8
+ 0x8C1C0F0C, // 002F GETMET R7 R7 K12
+ 0x8C24070D, // 0030 GETMET R9 R3 K13
+ 0x582C000E, // 0031 LDCONST R11 K14
+ 0x58300014, // 0032 LDCONST R12 K20
+ 0x5C340C00, // 0033 MOVE R13 R6
+ 0x7C240800, // 0034 CALL R9 4
+ 0x5828000F, // 0035 LDCONST R10 K15
+ 0x7C1C0600, // 0036 CALL R7 3
+ 0x8C1C0510, // 0037 GETMET R7 R2 K16
+ 0x58240011, // 0038 LDCONST R9 K17
+ 0x58280012, // 0039 LDCONST R10 K18
+ 0x5C2C0C00, // 003A MOVE R11 R6
+ 0x88300115, // 003B GETMBR R12 R0 K21
+ 0x7C1C0A00, // 003C CALL R7 5
+ 0xA8040001, // 003D EXBLK 1 1
+ 0x70020010, // 003E JMP #0050
+ 0xAC100002, // 003F CATCH R4 0 2
+ 0x7002000D, // 0040 JMP #004F
+ 0xB81A1000, // 0041 GETNGBL R6 K8
+ 0x8C180D0C, // 0042 GETMET R6 R6 K12
+ 0x60200008, // 0043 GETGBL R8 G8
+ 0x5C240800, // 0044 MOVE R9 R4
+ 0x7C200200, // 0045 CALL R8 1
+ 0x00222C08, // 0046 ADD R8 K22 R8
+ 0x00201117, // 0047 ADD R8 R8 K23
+ 0x60240008, // 0048 GETGBL R9 G8
+ 0x5C280A00, // 0049 MOVE R10 R5
+ 0x7C240200, // 004A CALL R9 1
+ 0x00201009, // 004B ADD R8 R8 R9
+ 0x5824000F, // 004C LDCONST R9 K15
+ 0x7C180600, // 004D CALL R6 3
+ 0x70020000, // 004E JMP #0050
+ 0xB0080000, // 004F RAISE 2 R0 R0
+ 0x80000000, // 0050 RET 0
})
)
);
@@ -1706,81 +2597,40 @@ be_local_closure(Matter_Device_mdns_announce_PASE, /* name */
/********************************************************************
-** Solidified function: k2l_num
+** Solidified function: event_fabrics_saved
********************************************************************/
-be_local_closure(Matter_Device_k2l_num, /* name */
+be_local_closure(Matter_Device_event_fabrics_saved, /* name */
be_nested_proto(
- 9, /* nstack */
+ 3, /* nstack */
1, /* argc */
- 4, /* varg */
+ 2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
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),
+ ( &(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(k2l_num),
+ be_str_weak(event_fabrics_saved),
&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
+ ( &(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
})
)
);
@@ -1788,242 +2638,35 @@ be_local_closure(Matter_Device_k2l_num, /* name */
/********************************************************************
-** Solidified function: _instantiate_plugins_from_config
+** Solidified function: _init_basic_commissioning
********************************************************************/
-be_local_closure(Matter_Device__instantiate_plugins_from_config, /* name */
+be_local_closure(Matter_Device__init_basic_commissioning, /* name */
be_nested_proto(
- 19, /* nstack */
- 2, /* argc */
+ 3, /* nstack */
+ 1, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[34]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(k2l_num),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(log),
- /* K4 */ be_nested_str_weak(MTR_X3A_X20endpoints_X20to_X20be_X20configured_X20),
- /* K5 */ be_const_int(3),
- /* K6 */ be_nested_str_weak(plugins),
- /* K7 */ be_nested_str_weak(push),
- /* K8 */ be_nested_str_weak(matter),
- /* K9 */ be_nested_str_weak(Plugin_Root),
- /* K10 */ be_const_int(0),
- /* K11 */ be_nested_str_weak(format),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20endpoint_X3A_X25i_X20type_X3A_X25s_X25s),
- /* K13 */ be_nested_str_weak(root),
- /* K14 */ be_nested_str_weak(),
- /* K15 */ be_const_int(2),
- /* K16 */ be_nested_str_weak(Plugin_Aggregator),
- /* K17 */ be_nested_str_weak(aggregator),
- /* K18 */ be_nested_str_weak(MTR_X3A_X20endpoint_X20_X25i_X20config_X20_X25s),
- /* K19 */ be_nested_str_weak(find),
- /* K20 */ be_nested_str_weak(type),
- /* K21 */ be_nested_str_weak(MTR_X3A_X20no_X20class_X20name_X2C_X20skipping),
- /* K22 */ be_nested_str_weak(MTR_X3A_X20only_X20one_X20root_X20node_X20allowed),
- /* K23 */ be_nested_str_weak(plugins_classes),
- /* K24 */ be_nested_str_weak(MTR_X3A_X20unknown_X20class_X20name_X20_X27),
- /* K25 */ be_nested_str_weak(_X27_X20skipping),
- /* K26 */ be_nested_str_weak(k2l),
- /* K27 */ be_nested_str_weak(_X20_X25s_X3A_X25s),
- /* K28 */ be_nested_str_weak(stop_iteration),
- /* K29 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K30 */ be_nested_str_weak(_X7C),
- /* K31 */ be_nested_str_weak(publish_result),
- /* K32 */ be_nested_str_weak(_X7B_X22Matter_X22_X3A_X7B_X22Initialized_X22_X3A1_X7D_X7D),
- /* K33 */ be_nested_str_weak(Matter),
+ ( &(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(_instantiate_plugins_from_config),
+ be_str_weak(_init_basic_commissioning),
&be_const_str_solidified,
- ( &(const binstruction[185]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0x8C0C0101, // 0001 GETMET R3 R0 K1
- 0x5C140200, // 0002 MOVE R5 R1
- 0x7C0C0400, // 0003 CALL R3 2
- 0xB8120400, // 0004 GETNGBL R4 K2
- 0x8C100903, // 0005 GETMET R4 R4 K3
- 0x60180008, // 0006 GETGBL R6 G8
- 0x5C1C0600, // 0007 MOVE R7 R3
- 0x7C180200, // 0008 CALL R6 1
- 0x001A0806, // 0009 ADD R6 K4 R6
- 0x581C0005, // 000A LDCONST R7 K5
- 0x7C100600, // 000B CALL R4 3
- 0x88100106, // 000C GETMBR R4 R0 K6
- 0x8C100907, // 000D GETMET R4 R4 K7
- 0xB81A1000, // 000E GETNGBL R6 K8
- 0x8C180D09, // 000F GETMET R6 R6 K9
- 0x5C200000, // 0010 MOVE R8 R0
- 0x5824000A, // 0011 LDCONST R9 K10
- 0x60280013, // 0012 GETGBL R10 G19
- 0x7C280000, // 0013 CALL R10 0
- 0x7C180800, // 0014 CALL R6 4
- 0x7C100400, // 0015 CALL R4 2
- 0xB8120400, // 0016 GETNGBL R4 K2
- 0x8C100903, // 0017 GETMET R4 R4 K3
- 0x8C18050B, // 0018 GETMET R6 R2 K11
- 0x5820000C, // 0019 LDCONST R8 K12
- 0x5824000A, // 001A LDCONST R9 K10
- 0x5828000D, // 001B LDCONST R10 K13
- 0x582C000E, // 001C LDCONST R11 K14
- 0x7C180A00, // 001D CALL R6 5
- 0x581C000F, // 001E LDCONST R7 K15
- 0x7C100600, // 001F CALL R4 3
- 0x88100106, // 0020 GETMBR R4 R0 K6
- 0x8C100907, // 0021 GETMET R4 R4 K7
- 0xB81A1000, // 0022 GETNGBL R6 K8
- 0x8C180D10, // 0023 GETMET R6 R6 K16
- 0x5C200000, // 0024 MOVE R8 R0
- 0x5426FEFF, // 0025 LDINT R9 65280
- 0x60280013, // 0026 GETGBL R10 G19
- 0x7C280000, // 0027 CALL R10 0
- 0x7C180800, // 0028 CALL R6 4
- 0x7C100400, // 0029 CALL R4 2
- 0xB8120400, // 002A GETNGBL R4 K2
- 0x8C100903, // 002B GETMET R4 R4 K3
- 0x8C18050B, // 002C GETMET R6 R2 K11
- 0x5820000C, // 002D LDCONST R8 K12
- 0x5426FEFF, // 002E LDINT R9 65280
- 0x58280011, // 002F LDCONST R10 K17
- 0x582C000E, // 0030 LDCONST R11 K14
- 0x7C180A00, // 0031 CALL R6 5
- 0x581C000F, // 0032 LDCONST R7 K15
- 0x7C100600, // 0033 CALL R4 3
- 0x60100010, // 0034 GETGBL R4 G16
- 0x5C140600, // 0035 MOVE R5 R3
- 0x7C100200, // 0036 CALL R4 1
- 0xA8020077, // 0037 EXBLK 0 #00B0
- 0x5C140800, // 0038 MOVE R5 R4
- 0x7C140000, // 0039 CALL R5 0
- 0x1C180B0A, // 003A EQ R6 R5 K10
- 0x781A0000, // 003B JMPF R6 #003D
- 0x7001FFFA, // 003C JMP #0038
- 0xA802005F, // 003D EXBLK 0 #009E
- 0x60180008, // 003E GETGBL R6 G8
- 0x5C1C0A00, // 003F MOVE R7 R5
- 0x7C180200, // 0040 CALL R6 1
- 0x94180206, // 0041 GETIDX R6 R1 R6
- 0xB81E0400, // 0042 GETNGBL R7 K2
- 0x8C1C0F03, // 0043 GETMET R7 R7 K3
- 0x8C24050B, // 0044 GETMET R9 R2 K11
- 0x582C0012, // 0045 LDCONST R11 K18
- 0x5C300A00, // 0046 MOVE R12 R5
- 0x5C340C00, // 0047 MOVE R13 R6
- 0x7C240800, // 0048 CALL R9 4
- 0x58280005, // 0049 LDCONST R10 K5
- 0x7C1C0600, // 004A CALL R7 3
- 0x8C1C0D13, // 004B GETMET R7 R6 K19
- 0x58240014, // 004C LDCONST R9 K20
- 0x7C1C0400, // 004D CALL R7 2
- 0x4C200000, // 004E LDNIL R8
- 0x1C200E08, // 004F EQ R8 R7 R8
- 0x78220006, // 0050 JMPF R8 #0058
- 0xB8220400, // 0051 GETNGBL R8 K2
- 0x8C201103, // 0052 GETMET R8 R8 K3
- 0x58280015, // 0053 LDCONST R10 K21
- 0x582C0005, // 0054 LDCONST R11 K5
- 0x7C200600, // 0055 CALL R8 3
- 0xA8040001, // 0056 EXBLK 1 1
- 0x7001FFDF, // 0057 JMP #0038
- 0x1C200F0D, // 0058 EQ R8 R7 K13
- 0x78220006, // 0059 JMPF R8 #0061
- 0xB8220400, // 005A GETNGBL R8 K2
- 0x8C201103, // 005B GETMET R8 R8 K3
- 0x58280016, // 005C LDCONST R10 K22
- 0x582C0005, // 005D LDCONST R11 K5
- 0x7C200600, // 005E CALL R8 3
- 0xA8040001, // 005F EXBLK 1 1
- 0x7001FFD6, // 0060 JMP #0038
- 0x88200117, // 0061 GETMBR R8 R0 K23
- 0x8C201113, // 0062 GETMET R8 R8 K19
- 0x5C280E00, // 0063 MOVE R10 R7
- 0x7C200400, // 0064 CALL R8 2
- 0x4C240000, // 0065 LDNIL R9
- 0x1C241009, // 0066 EQ R9 R8 R9
- 0x7826000A, // 0067 JMPF R9 #0073
- 0xB8260400, // 0068 GETNGBL R9 K2
- 0x8C241303, // 0069 GETMET R9 R9 K3
- 0x602C0008, // 006A GETGBL R11 G8
- 0x5C300E00, // 006B MOVE R12 R7
- 0x7C2C0200, // 006C CALL R11 1
- 0x002E300B, // 006D ADD R11 K24 R11
- 0x002C1719, // 006E ADD R11 R11 K25
- 0x5830000F, // 006F LDCONST R12 K15
- 0x7C240600, // 0070 CALL R9 3
- 0xA8040001, // 0071 EXBLK 1 1
- 0x7001FFC4, // 0072 JMP #0038
- 0x5C241000, // 0073 MOVE R9 R8
- 0x5C280000, // 0074 MOVE R10 R0
- 0x5C2C0A00, // 0075 MOVE R11 R5
- 0x5C300C00, // 0076 MOVE R12 R6
- 0x7C240600, // 0077 CALL R9 3
- 0x88280106, // 0078 GETMBR R10 R0 K6
- 0x8C281507, // 0079 GETMET R10 R10 K7
- 0x5C301200, // 007A MOVE R12 R9
- 0x7C280400, // 007B CALL R10 2
- 0x5828000E, // 007C LDCONST R10 K14
- 0x602C0010, // 007D GETGBL R11 G16
- 0x8C30011A, // 007E GETMET R12 R0 K26
- 0x5C380C00, // 007F MOVE R14 R6
- 0x7C300400, // 0080 CALL R12 2
- 0x7C2C0200, // 0081 CALL R11 1
- 0xA802000B, // 0082 EXBLK 0 #008F
- 0x5C301600, // 0083 MOVE R12 R11
- 0x7C300000, // 0084 CALL R12 0
- 0x1C341914, // 0085 EQ R13 R12 K20
- 0x78360000, // 0086 JMPF R13 #0088
- 0x7001FFFA, // 0087 JMP #0083
- 0x8C34050B, // 0088 GETMET R13 R2 K11
- 0x583C001B, // 0089 LDCONST R15 K27
- 0x5C401800, // 008A MOVE R16 R12
- 0x94440C0C, // 008B GETIDX R17 R6 R12
- 0x7C340800, // 008C CALL R13 4
- 0x0028140D, // 008D ADD R10 R10 R13
- 0x7001FFF3, // 008E JMP #0083
- 0x582C001C, // 008F LDCONST R11 K28
- 0xAC2C0200, // 0090 CATCH R11 1 0
- 0xB0080000, // 0091 RAISE 2 R0 R0
- 0xB82E0400, // 0092 GETNGBL R11 K2
- 0x8C2C1703, // 0093 GETMET R11 R11 K3
- 0x8C34050B, // 0094 GETMET R13 R2 K11
- 0x583C000C, // 0095 LDCONST R15 K12
- 0x5C400A00, // 0096 MOVE R16 R5
- 0x5C440E00, // 0097 MOVE R17 R7
- 0x5C481400, // 0098 MOVE R18 R10
- 0x7C340A00, // 0099 CALL R13 5
- 0x5838000F, // 009A LDCONST R14 K15
- 0x7C2C0600, // 009B CALL R11 3
- 0xA8040001, // 009C EXBLK 1 1
- 0x70020010, // 009D JMP #00AF
- 0xAC180002, // 009E CATCH R6 0 2
- 0x7002000D, // 009F JMP #00AE
- 0xB8220400, // 00A0 GETNGBL R8 K2
- 0x8C201103, // 00A1 GETMET R8 R8 K3
- 0x60280008, // 00A2 GETGBL R10 G8
- 0x5C2C0C00, // 00A3 MOVE R11 R6
- 0x7C280200, // 00A4 CALL R10 1
- 0x002A3A0A, // 00A5 ADD R10 K29 R10
- 0x0028151E, // 00A6 ADD R10 R10 K30
- 0x602C0008, // 00A7 GETGBL R11 G8
- 0x5C300E00, // 00A8 MOVE R12 R7
- 0x7C2C0200, // 00A9 CALL R11 1
- 0x0028140B, // 00AA ADD R10 R10 R11
- 0x582C000F, // 00AB LDCONST R11 K15
- 0x7C200600, // 00AC CALL R8 3
- 0x70020000, // 00AD JMP #00AF
- 0xB0080000, // 00AE RAISE 2 R0 R0
- 0x7001FF87, // 00AF JMP #0038
- 0x5810001C, // 00B0 LDCONST R4 K28
- 0xAC100200, // 00B1 CATCH R4 1 0
- 0xB0080000, // 00B2 RAISE 2 R0 R0
- 0xB8120400, // 00B3 GETNGBL R4 K2
- 0x8C10091F, // 00B4 GETMET R4 R4 K31
- 0x58180020, // 00B5 LDCONST R6 K32
- 0x581C0021, // 00B6 LDCONST R7 K33
- 0x7C100600, // 00B7 CALL R4 3
- 0x80000000, // 00B8 RET 0
+ ( &(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
})
)
);
@@ -2254,119 +2897,6 @@ be_local_closure(Matter_Device__mdns_announce_hostname, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: _compute_pbkdf
-********************************************************************/
-be_local_closure(Matter_Device__compute_pbkdf, /* name */
- be_nested_proto(
- 14, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[11]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(add),
- /* K3 */ be_nested_str_weak(PBKDF2_HMAC_SHA256),
- /* K4 */ be_nested_str_weak(derive),
- /* K5 */ be_const_int(0),
- /* K6 */ be_nested_str_weak(root_w0),
- /* K7 */ be_nested_str_weak(EC_P256),
- /* K8 */ be_nested_str_weak(mod),
- /* K9 */ be_nested_str_weak(root_L),
- /* K10 */ be_nested_str_weak(public_key),
- }),
- be_str_weak(_compute_pbkdf),
- &be_const_str_solidified,
- ( &(const binstruction[41]) { /* code */
- 0xA4120000, // 0000 IMPORT R4 K0
- 0xA4160200, // 0001 IMPORT R5 K1
- 0x60180015, // 0002 GETGBL R6 G21
- 0x7C180000, // 0003 CALL R6 0
- 0x8C180D02, // 0004 GETMET R6 R6 K2
- 0x5C200200, // 0005 MOVE R8 R1
- 0x54260003, // 0006 LDINT R9 4
- 0x7C180600, // 0007 CALL R6 3
- 0x8C1C0903, // 0008 GETMET R7 R4 K3
- 0x7C1C0200, // 0009 CALL R7 1
- 0x8C1C0F04, // 000A GETMET R7 R7 K4
- 0x5C240C00, // 000B MOVE R9 R6
- 0x5C280600, // 000C MOVE R10 R3
- 0x5C2C0400, // 000D MOVE R11 R2
- 0x5432004F, // 000E LDINT R12 80
- 0x7C1C0A00, // 000F CALL R7 5
- 0x54220026, // 0010 LDINT R8 39
- 0x40220A08, // 0011 CONNECT R8 K5 R8
- 0x94200E08, // 0012 GETIDX R8 R7 R8
- 0x54260027, // 0013 LDINT R9 40
- 0x542A004E, // 0014 LDINT R10 79
- 0x4024120A, // 0015 CONNECT R9 R9 R10
- 0x94240E09, // 0016 GETIDX R9 R7 R9
- 0x8C280907, // 0017 GETMET R10 R4 K7
- 0x7C280200, // 0018 CALL R10 1
- 0x8C281508, // 0019 GETMET R10 R10 K8
- 0x5C301000, // 001A MOVE R12 R8
- 0x7C280400, // 001B CALL R10 2
- 0x90020C0A, // 001C SETMBR R0 K6 R10
- 0x8C280907, // 001D GETMET R10 R4 K7
- 0x7C280200, // 001E CALL R10 1
- 0x8C281508, // 001F GETMET R10 R10 K8
- 0x5C301200, // 0020 MOVE R12 R9
- 0x7C280400, // 0021 CALL R10 2
- 0x8C2C0907, // 0022 GETMET R11 R4 K7
- 0x7C2C0200, // 0023 CALL R11 1
- 0x8C2C170A, // 0024 GETMET R11 R11 K10
- 0x5C341400, // 0025 MOVE R13 R10
- 0x7C2C0400, // 0026 CALL R11 2
- 0x9002120B, // 0027 SETMBR R0 K9 R11
- 0x80000000, // 0028 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_commissioning_complete
-********************************************************************/
-be_local_closure(Matter_Device_start_commissioning_complete, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(log),
- /* K2 */ be_nested_str_weak(MTR_X3A_X20_X2A_X2A_X2A_X20Commissioning_X20complete_X20_X2A_X2A_X2A),
- /* K3 */ be_const_int(2),
- /* K4 */ be_nested_str_weak(stop_basic_commissioning),
- }),
- be_str_weak(start_commissioning_complete),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0xB80A0000, // 0000 GETNGBL R2 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x58100002, // 0002 LDCONST R4 K2
- 0x58140003, // 0003 LDCONST R5 K3
- 0x7C080600, // 0004 CALL R2 3
- 0x8C080104, // 0005 GETMET R2 R0 K4
- 0x7C080200, // 0006 CALL R2 1
- 0x80000000, // 0007 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: register_native_classes
********************************************************************/
@@ -2452,11 +2982,11 @@ be_local_closure(Matter_Device_register_native_classes, /* name */
/********************************************************************
-** Solidified function: save_before_restart
+** Solidified function: every_50ms
********************************************************************/
-be_local_closure(Matter_Device_save_before_restart, /* name */
+be_local_closure(Matter_Device_every_50ms, /* name */
be_nested_proto(
- 3, /* nstack */
+ 2, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -2465,17 +2995,16 @@ be_local_closure(Matter_Device_save_before_restart, /* name */
NULL, /* no sub protos */
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),
+ /* K0 */ be_nested_str_weak(tick),
+ /* K1 */ be_const_int(1),
}),
- be_str_weak(save_before_restart),
+ be_str_weak(every_50ms),
&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
+ ( &(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
})
)
);
@@ -2483,111 +3012,12 @@ be_local_closure(Matter_Device_save_before_restart, /* name */
/********************************************************************
-** Solidified function: register_http_remote
+** Solidified function: start_basic_commissioning
********************************************************************/
-be_local_closure(Matter_Device_register_http_remote, /* name */
+be_local_closure(Matter_Device_start_basic_commissioning, /* name */
be_nested_proto(
- 8, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* 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),
- }),
- be_str_weak(register_http_remote),
- &be_const_str_solidified,
- ( &(const binstruction[32]) { /* 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
- 0x70020007, // 0016 JMP #001F
- 0xB8120800, // 0017 GETNGBL R4 K4
- 0x8C100905, // 0018 GETMET R4 R4 K5
- 0x5C180200, // 0019 MOVE R6 R1
- 0x5C1C0400, // 001A MOVE R7 R2
- 0x7C100600, // 001B CALL R4 3
- 0x5C0C0800, // 001C MOVE R3 R4
- 0x88100100, // 001D GETMBR R4 R0 K0
- 0x98100203, // 001E SETIDX R4 R1 R3
- 0x80040600, // 001F RET 1 R3
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: get_plugin_class_arg
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: init
-********************************************************************/
-be_local_closure(Matter_Device_init, /* name */
- be_nested_proto(
- 8, /* nstack */
- 1, /* argc */
+ 13, /* nstack */
+ 8, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
@@ -2604,12 +3034,11 @@ be_local_closure(Matter_Device_init, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(start),
+ ( &(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),
- /* K4 */ be_nested_str_weak(matter_start),
}),
be_str_weak(_anonymous_),
&be_const_str_solidified,
@@ -2620,7 +3049,7 @@ be_local_closure(Matter_Device_init, /* name */
0xB8020200, // 0003 GETNGBL R0 K1
0x8C000102, // 0004 GETMET R0 R0 K2
0x58080003, // 0005 LDCONST R2 K3
- 0x580C0004, // 0006 LDCONST R3 K4
+ 0x580C0000, // 0006 LDCONST R3 K0
0x7C000600, // 0007 CALL R0 3
0x80000000, // 0008 RET 0
})
@@ -2636,12 +3065,11 @@ be_local_closure(Matter_Device_init, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(start),
+ ( &(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),
- /* K4 */ be_nested_str_weak(matter_start),
}),
be_str_weak(_anonymous_),
&be_const_str_solidified,
@@ -2652,164 +3080,74 @@ be_local_closure(Matter_Device_init, /* name */
0xB8020200, // 0003 GETNGBL R0 K1
0x8C000102, // 0004 GETMET R0 R0 K2
0x58080003, // 0005 LDCONST R2 K3
- 0x580C0004, // 0006 LDCONST R3 K4
+ 0x580C0000, // 0006 LDCONST R3 K0
0x7C000600, // 0007 CALL R0 3
0x80000000, // 0008 RET 0
})
),
}),
1, /* has constants */
- ( &(const bvalue[42]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(get_option),
- /* K4 */ be_nested_str_weak(matter),
- /* K5 */ be_nested_str_weak(MATTER_OPTION),
- /* K6 */ be_nested_str_weak(UI),
- /* K7 */ be_nested_str_weak(started),
- /* K8 */ be_nested_str_weak(tick),
- /* K9 */ be_const_int(0),
- /* K10 */ be_nested_str_weak(plugins),
- /* K11 */ be_nested_str_weak(plugins_persist),
- /* K12 */ be_nested_str_weak(plugins_classes),
- /* K13 */ be_nested_str_weak(register_native_classes),
- /* 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_nested_str_weak(root_salt),
- /* K22 */ be_nested_str_weak(random),
- /* K23 */ be_nested_str_weak(ipv4only),
- /* K24 */ be_nested_str_weak(load_param),
- /* K25 */ be_nested_str_weak(sessions),
- /* K26 */ be_nested_str_weak(Session_Store),
- /* K27 */ be_nested_str_weak(load_fabrics),
- /* K28 */ be_nested_str_weak(message_handler),
- /* K29 */ be_nested_str_weak(MessageHandler),
- /* K30 */ be_nested_str_weak(ui),
- /* K31 */ be_nested_str_weak(wifi),
- /* K32 */ be_nested_str_weak(up),
- /* K33 */ be_nested_str_weak(eth),
- /* K34 */ be_nested_str_weak(start),
- /* K35 */ be_nested_str_weak(add_rule),
- /* K36 */ be_nested_str_weak(Wifi_X23Connected),
- /* K37 */ be_nested_str_weak(matter_start),
- /* K38 */ be_nested_str_weak(Eth_X23Connected),
- /* K39 */ be_nested_str_weak(_init_basic_commissioning),
- /* K40 */ be_nested_str_weak(add_driver),
- /* K41 */ be_nested_str_weak(register_commands),
+ ( &(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(init),
+ be_str_weak(start_basic_commissioning),
&be_const_str_solidified,
- ( &(const binstruction[104]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0xB80E0400, // 0002 GETNGBL R3 K2
- 0x8C0C0703, // 0003 GETMET R3 R3 K3
- 0xB8160800, // 0004 GETNGBL R5 K4
- 0x88140B05, // 0005 GETMBR R5 R5 K5
- 0x7C0C0400, // 0006 CALL R3 2
- 0x740E0004, // 0007 JMPT R3 #000D
- 0xB80E0800, // 0008 GETNGBL R3 K4
- 0x8C0C0706, // 0009 GETMET R3 R3 K6
- 0x5C140000, // 000A MOVE R5 R0
- 0x7C0C0400, // 000B CALL R3 2
- 0x80000600, // 000C RET 0
- 0x500C0000, // 000D LDBOOL R3 0 0
- 0x90020E03, // 000E SETMBR R0 K7 R3
- 0x90021109, // 000F SETMBR R0 K8 K9
- 0x600C0012, // 0010 GETGBL R3 G18
- 0x7C0C0000, // 0011 CALL R3 0
- 0x90021403, // 0012 SETMBR R0 K10 R3
- 0x500C0000, // 0013 LDBOOL R3 0 0
- 0x90021603, // 0014 SETMBR R0 K11 R3
- 0x600C0013, // 0015 GETGBL R3 G19
- 0x7C0C0000, // 0016 CALL R3 0
- 0x90021803, // 0017 SETMBR R0 K12 R3
- 0x8C0C010D, // 0018 GETMET R3 R0 K13
- 0x7C0C0200, // 0019 CALL R3 1
- 0x880C010F, // 001A GETMBR R3 R0 K15
- 0x90021C03, // 001B SETMBR R0 K14 R3
- 0x880C0111, // 001C GETMBR R3 R0 K17
- 0x90022003, // 001D SETMBR R0 K16 R3
- 0x880C0113, // 001E GETMBR R3 R0 K19
- 0x90022403, // 001F SETMBR R0 K18 R3
- 0x540E0032, // 0020 LDINT R3 51
- 0x90022803, // 0021 SETMBR R0 K20 R3
- 0x8C0C0316, // 0022 GETMET R3 R1 K22
- 0x5416000F, // 0023 LDINT R5 16
- 0x7C0C0400, // 0024 CALL R3 2
- 0x90022A03, // 0025 SETMBR R0 K21 R3
- 0x500C0000, // 0026 LDBOOL R3 0 0
- 0x90022E03, // 0027 SETMBR R0 K23 R3
- 0x8C0C0118, // 0028 GETMET R3 R0 K24
- 0x7C0C0200, // 0029 CALL R3 1
- 0xB80E0800, // 002A GETNGBL R3 K4
- 0x8C0C071A, // 002B GETMET R3 R3 K26
- 0x5C140000, // 002C MOVE R5 R0
- 0x7C0C0400, // 002D CALL R3 2
- 0x90023203, // 002E SETMBR R0 K25 R3
- 0x880C0119, // 002F GETMBR R3 R0 K25
- 0x8C0C071B, // 0030 GETMET R3 R3 K27
- 0x7C0C0200, // 0031 CALL R3 1
- 0xB80E0800, // 0032 GETNGBL R3 K4
- 0x8C0C071D, // 0033 GETMET R3 R3 K29
- 0x5C140000, // 0034 MOVE R5 R0
- 0x7C0C0400, // 0035 CALL R3 2
- 0x90023803, // 0036 SETMBR R0 K28 R3
- 0xB80E0800, // 0037 GETNGBL R3 K4
- 0x8C0C0706, // 0038 GETMET R3 R3 K6
- 0x5C140000, // 0039 MOVE R5 R0
- 0x7C0C0400, // 003A CALL R3 2
- 0x90023C03, // 003B SETMBR R0 K30 R3
- 0xB80E0400, // 003C GETNGBL R3 K2
- 0x8C0C071F, // 003D GETMET R3 R3 K31
- 0x7C0C0200, // 003E CALL R3 1
- 0x940C0720, // 003F GETIDX R3 R3 K32
- 0x740E0004, // 0040 JMPT R3 #0046
- 0xB80E0400, // 0041 GETNGBL R3 K2
- 0x8C0C0721, // 0042 GETMET R3 R3 K33
- 0x7C0C0200, // 0043 CALL R3 1
- 0x940C0720, // 0044 GETIDX R3 R3 K32
- 0x780E0001, // 0045 JMPF R3 #0048
- 0x8C0C0122, // 0046 GETMET R3 R0 K34
- 0x7C0C0200, // 0047 CALL R3 1
- 0xB80E0400, // 0048 GETNGBL R3 K2
- 0x8C0C071F, // 0049 GETMET R3 R3 K31
- 0x7C0C0200, // 004A CALL R3 1
- 0x940C0720, // 004B GETIDX R3 R3 K32
- 0x740E0005, // 004C JMPT R3 #0053
- 0xB80E0400, // 004D GETNGBL R3 K2
- 0x8C0C0723, // 004E GETMET R3 R3 K35
- 0x58140024, // 004F LDCONST R5 K36
- 0x84180000, // 0050 CLOSURE R6 P0
- 0x581C0025, // 0051 LDCONST R7 K37
- 0x7C0C0800, // 0052 CALL R3 4
- 0xB80E0400, // 0053 GETNGBL R3 K2
- 0x8C0C0721, // 0054 GETMET R3 R3 K33
- 0x7C0C0200, // 0055 CALL R3 1
- 0x940C0720, // 0056 GETIDX R3 R3 K32
- 0x740E0005, // 0057 JMPT R3 #005E
- 0xB80E0400, // 0058 GETNGBL R3 K2
- 0x8C0C0723, // 0059 GETMET R3 R3 K35
- 0x58140026, // 005A LDCONST R5 K38
- 0x84180001, // 005B CLOSURE R6 P1
- 0x581C0025, // 005C LDCONST R7 K37
- 0x7C0C0800, // 005D CALL R3 4
- 0x8C0C0127, // 005E GETMET R3 R0 K39
- 0x7C0C0200, // 005F CALL R3 1
- 0xB80E0400, // 0060 GETNGBL R3 K2
- 0x8C0C0728, // 0061 GETMET R3 R3 K40
- 0x5C140000, // 0062 MOVE R5 R0
- 0x7C0C0400, // 0063 CALL R3 2
- 0x8C0C0129, // 0064 GETMET R3 R0 K41
- 0x7C0C0200, // 0065 CALL R3 1
- 0xA0000000, // 0066 CLOSE R0
- 0x80000000, // 0067 RET 0
+ ( &(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
})
)
);
@@ -2817,128 +3155,236 @@ be_local_closure(Matter_Device_init, /* name */
/********************************************************************
-** Solidified function: mdns_remove_PASE
+** Solidified function: _compute_pbkdf
********************************************************************/
-be_local_closure(Matter_Device_mdns_remove_PASE, /* name */
+be_local_closure(Matter_Device__compute_pbkdf, /* name */
be_nested_proto(
- 12, /* nstack */
- 1, /* argc */
+ 14, /* nstack */
+ 4, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[22]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns),
+ ( &(const bvalue[11]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
/* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(mdns_pase_eth),
- /* K3 */ be_nested_str_weak(tasmota),
- /* K4 */ be_nested_str_weak(log),
- /* K5 */ be_nested_str_weak(format),
- /* K6 */ be_nested_str_weak(MTR_X3A_X20calling_X20mdns_X2Eremove_service_X28_X25s_X2C_X20_X25s_X2C_X20_X25s_X2C_X20_X25s_X29),
- /* K7 */ be_nested_str_weak(_matterc),
- /* K8 */ be_nested_str_weak(_udp),
- /* K9 */ be_nested_str_weak(commissioning_instance_eth),
- /* K10 */ be_nested_str_weak(hostname_eth),
- /* K11 */ be_const_int(3),
- /* K12 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
- /* K13 */ be_nested_str_weak(eth),
- /* K14 */ be_const_int(2),
- /* K15 */ be_nested_str_weak(remove_service),
- /* K16 */ be_nested_str_weak(mdns_pase_wifi),
- /* K17 */ be_nested_str_weak(commissioning_instance_wifi),
- /* K18 */ be_nested_str_weak(hostname_wifi),
- /* K19 */ be_nested_str_weak(wifi),
- /* K20 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K21 */ be_nested_str_weak(_X7C),
+ /* K2 */ be_nested_str_weak(add),
+ /* K3 */ be_nested_str_weak(PBKDF2_HMAC_SHA256),
+ /* K4 */ be_nested_str_weak(derive),
+ /* K5 */ be_const_int(0),
+ /* K6 */ be_nested_str_weak(root_w0),
+ /* K7 */ be_nested_str_weak(EC_P256),
+ /* K8 */ be_nested_str_weak(mod),
+ /* K9 */ be_nested_str_weak(root_L),
+ /* K10 */ be_nested_str_weak(public_key),
}),
- be_str_weak(mdns_remove_PASE),
+ be_str_weak(_compute_pbkdf),
&be_const_str_solidified,
- ( &(const binstruction[83]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0xA802003D, // 0002 EXBLK 0 #0041
- 0x880C0102, // 0003 GETMBR R3 R0 K2
- 0x780E001B, // 0004 JMPF R3 #0021
- 0xB80E0600, // 0005 GETNGBL R3 K3
- 0x8C0C0704, // 0006 GETMET R3 R3 K4
- 0x8C140505, // 0007 GETMET R5 R2 K5
- 0x581C0006, // 0008 LDCONST R7 K6
- 0x58200007, // 0009 LDCONST R8 K7
- 0x58240008, // 000A LDCONST R9 K8
- 0x88280109, // 000B GETMBR R10 R0 K9
- 0x882C010A, // 000C GETMBR R11 R0 K10
- 0x7C140C00, // 000D CALL R5 6
- 0x5818000B, // 000E LDCONST R6 K11
- 0x7C0C0600, // 000F CALL R3 3
- 0xB80E0600, // 0010 GETNGBL R3 K3
- 0x8C0C0704, // 0011 GETMET R3 R3 K4
- 0x8C140505, // 0012 GETMET R5 R2 K5
- 0x581C000C, // 0013 LDCONST R7 K12
- 0x5820000D, // 0014 LDCONST R8 K13
- 0x88240109, // 0015 GETMBR R9 R0 K9
- 0x7C140800, // 0016 CALL R5 4
- 0x5818000E, // 0017 LDCONST R6 K14
- 0x7C0C0600, // 0018 CALL R3 3
- 0x500C0000, // 0019 LDBOOL R3 0 0
- 0x90020403, // 001A SETMBR R0 K2 R3
- 0x8C0C030F, // 001B GETMET R3 R1 K15
- 0x58140007, // 001C LDCONST R5 K7
- 0x58180008, // 001D LDCONST R6 K8
- 0x881C0109, // 001E GETMBR R7 R0 K9
- 0x8820010A, // 001F GETMBR R8 R0 K10
- 0x7C0C0A00, // 0020 CALL R3 5
- 0x880C0110, // 0021 GETMBR R3 R0 K16
- 0x780E001B, // 0022 JMPF R3 #003F
- 0xB80E0600, // 0023 GETNGBL R3 K3
- 0x8C0C0704, // 0024 GETMET R3 R3 K4
- 0x8C140505, // 0025 GETMET R5 R2 K5
- 0x581C0006, // 0026 LDCONST R7 K6
- 0x58200007, // 0027 LDCONST R8 K7
- 0x58240008, // 0028 LDCONST R9 K8
- 0x88280111, // 0029 GETMBR R10 R0 K17
- 0x882C0112, // 002A GETMBR R11 R0 K18
- 0x7C140C00, // 002B CALL R5 6
- 0x5818000B, // 002C LDCONST R6 K11
- 0x7C0C0600, // 002D CALL R3 3
- 0xB80E0600, // 002E GETNGBL R3 K3
- 0x8C0C0704, // 002F GETMET R3 R3 K4
- 0x8C140505, // 0030 GETMET R5 R2 K5
- 0x581C000C, // 0031 LDCONST R7 K12
- 0x58200013, // 0032 LDCONST R8 K19
- 0x88240111, // 0033 GETMBR R9 R0 K17
- 0x7C140800, // 0034 CALL R5 4
- 0x5818000E, // 0035 LDCONST R6 K14
- 0x7C0C0600, // 0036 CALL R3 3
- 0x500C0000, // 0037 LDBOOL R3 0 0
- 0x90022003, // 0038 SETMBR R0 K16 R3
- 0x8C0C030F, // 0039 GETMET R3 R1 K15
- 0x58140007, // 003A LDCONST R5 K7
- 0x58180008, // 003B LDCONST R6 K8
- 0x881C0111, // 003C GETMBR R7 R0 K17
- 0x88200112, // 003D GETMBR R8 R0 K18
- 0x7C0C0A00, // 003E CALL R3 5
- 0xA8040001, // 003F EXBLK 1 1
- 0x70020010, // 0040 JMP #0052
- 0xAC0C0002, // 0041 CATCH R3 0 2
- 0x7002000D, // 0042 JMP #0051
- 0xB8160600, // 0043 GETNGBL R5 K3
- 0x8C140B04, // 0044 GETMET R5 R5 K4
- 0x601C0008, // 0045 GETGBL R7 G8
- 0x5C200600, // 0046 MOVE R8 R3
- 0x7C1C0200, // 0047 CALL R7 1
- 0x001E2807, // 0048 ADD R7 K20 R7
- 0x001C0F15, // 0049 ADD R7 R7 K21
- 0x60200008, // 004A GETGBL R8 G8
- 0x5C240800, // 004B MOVE R9 R4
- 0x7C200200, // 004C CALL R8 1
- 0x001C0E08, // 004D ADD R7 R7 R8
- 0x5820000E, // 004E LDCONST R8 K14
- 0x7C140600, // 004F CALL R5 3
- 0x70020000, // 0050 JMP #0052
- 0xB0080000, // 0051 RAISE 2 R0 R0
- 0x80000000, // 0052 RET 0
+ ( &(const binstruction[41]) { /* code */
+ 0xA4120000, // 0000 IMPORT R4 K0
+ 0xA4160200, // 0001 IMPORT R5 K1
+ 0x60180015, // 0002 GETGBL R6 G21
+ 0x7C180000, // 0003 CALL R6 0
+ 0x8C180D02, // 0004 GETMET R6 R6 K2
+ 0x5C200200, // 0005 MOVE R8 R1
+ 0x54260003, // 0006 LDINT R9 4
+ 0x7C180600, // 0007 CALL R6 3
+ 0x8C1C0903, // 0008 GETMET R7 R4 K3
+ 0x7C1C0200, // 0009 CALL R7 1
+ 0x8C1C0F04, // 000A GETMET R7 R7 K4
+ 0x5C240C00, // 000B MOVE R9 R6
+ 0x5C280600, // 000C MOVE R10 R3
+ 0x5C2C0400, // 000D MOVE R11 R2
+ 0x5432004F, // 000E LDINT R12 80
+ 0x7C1C0A00, // 000F CALL R7 5
+ 0x54220026, // 0010 LDINT R8 39
+ 0x40220A08, // 0011 CONNECT R8 K5 R8
+ 0x94200E08, // 0012 GETIDX R8 R7 R8
+ 0x54260027, // 0013 LDINT R9 40
+ 0x542A004E, // 0014 LDINT R10 79
+ 0x4024120A, // 0015 CONNECT R9 R9 R10
+ 0x94240E09, // 0016 GETIDX R9 R7 R9
+ 0x8C280907, // 0017 GETMET R10 R4 K7
+ 0x7C280200, // 0018 CALL R10 1
+ 0x8C281508, // 0019 GETMET R10 R10 K8
+ 0x5C301000, // 001A MOVE R12 R8
+ 0x7C280400, // 001B CALL R10 2
+ 0x90020C0A, // 001C SETMBR R0 K6 R10
+ 0x8C280907, // 001D GETMET R10 R4 K7
+ 0x7C280200, // 001E CALL R10 1
+ 0x8C281508, // 001F GETMET R10 R10 K8
+ 0x5C301200, // 0020 MOVE R12 R9
+ 0x7C280400, // 0021 CALL R10 2
+ 0x8C2C0907, // 0022 GETMET R11 R4 K7
+ 0x7C2C0200, // 0023 CALL R11 1
+ 0x8C2C170A, // 0024 GETMET R11 R11 K10
+ 0x5C341400, // 0025 MOVE R13 R10
+ 0x7C2C0400, // 0026 CALL R11 2
+ 0x9002120B, // 0027 SETMBR R0 K9 R11
+ 0x80000000, // 0028 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: autoconf_sensors_list
+********************************************************************/
+be_local_closure(Matter_Device_autoconf_sensors_list, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[18]) { /* constants */
+ /* K0 */ be_nested_str_weak(k2l),
+ /* K1 */ be_nested_str_weak(contains),
+ /* K2 */ be_nested_str_weak(Temperature),
+ /* K3 */ be_nested_str_weak(_X23Temperature),
+ /* K4 */ be_nested_str_weak(push),
+ /* K5 */ be_nested_str_weak(type),
+ /* K6 */ be_nested_str_weak(temperature),
+ /* K7 */ be_nested_str_weak(filter),
+ /* K8 */ be_nested_str_weak(stop_iteration),
+ /* K9 */ be_nested_str_weak(Pressure),
+ /* K10 */ be_nested_str_weak(_X23Pressure),
+ /* K11 */ be_nested_str_weak(pressure),
+ /* K12 */ be_nested_str_weak(Illuminance),
+ /* K13 */ be_nested_str_weak(_X23Illuminance),
+ /* K14 */ be_nested_str_weak(illuminance),
+ /* K15 */ be_nested_str_weak(Humidity),
+ /* K16 */ be_nested_str_weak(_X23Humidity),
+ /* K17 */ be_nested_str_weak(humidity),
+ }),
+ be_str_weak(autoconf_sensors_list),
+ &be_const_str_solidified,
+ ( &(const binstruction[119]) { /* code */
+ 0x60080012, // 0000 GETGBL R2 G18
+ 0x7C080000, // 0001 CALL R2 0
+ 0x600C0010, // 0002 GETGBL R3 G16
+ 0x8C100100, // 0003 GETMET R4 R0 K0
+ 0x5C180200, // 0004 MOVE R6 R1
+ 0x7C100400, // 0005 CALL R4 2
+ 0x7C0C0200, // 0006 CALL R3 1
+ 0xA8020013, // 0007 EXBLK 0 #001C
+ 0x5C100600, // 0008 MOVE R4 R3
+ 0x7C100000, // 0009 CALL R4 0
+ 0x94140204, // 000A GETIDX R5 R1 R4
+ 0x6018000F, // 000B GETGBL R6 G15
+ 0x5C1C0A00, // 000C MOVE R7 R5
+ 0x60200013, // 000D GETGBL R8 G19
+ 0x7C180400, // 000E CALL R6 2
+ 0x781A000A, // 000F JMPF R6 #001B
+ 0x8C180B01, // 0010 GETMET R6 R5 K1
+ 0x58200002, // 0011 LDCONST R8 K2
+ 0x7C180400, // 0012 CALL R6 2
+ 0x781A0006, // 0013 JMPF R6 #001B
+ 0x00180903, // 0014 ADD R6 R4 K3
+ 0x8C1C0504, // 0015 GETMET R7 R2 K4
+ 0x60240013, // 0016 GETGBL R9 G19
+ 0x7C240000, // 0017 CALL R9 0
+ 0x98260B06, // 0018 SETIDX R9 K5 K6
+ 0x98260E06, // 0019 SETIDX R9 K7 R6
+ 0x7C1C0400, // 001A CALL R7 2
+ 0x7001FFEB, // 001B JMP #0008
+ 0x580C0008, // 001C LDCONST R3 K8
+ 0xAC0C0200, // 001D CATCH R3 1 0
+ 0xB0080000, // 001E RAISE 2 R0 R0
+ 0x600C0010, // 001F GETGBL R3 G16
+ 0x8C100100, // 0020 GETMET R4 R0 K0
+ 0x5C180200, // 0021 MOVE R6 R1
+ 0x7C100400, // 0022 CALL R4 2
+ 0x7C0C0200, // 0023 CALL R3 1
+ 0xA8020013, // 0024 EXBLK 0 #0039
+ 0x5C100600, // 0025 MOVE R4 R3
+ 0x7C100000, // 0026 CALL R4 0
+ 0x94140204, // 0027 GETIDX R5 R1 R4
+ 0x6018000F, // 0028 GETGBL R6 G15
+ 0x5C1C0A00, // 0029 MOVE R7 R5
+ 0x60200013, // 002A GETGBL R8 G19
+ 0x7C180400, // 002B CALL R6 2
+ 0x781A000A, // 002C JMPF R6 #0038
+ 0x8C180B01, // 002D GETMET R6 R5 K1
+ 0x58200009, // 002E LDCONST R8 K9
+ 0x7C180400, // 002F CALL R6 2
+ 0x781A0006, // 0030 JMPF R6 #0038
+ 0x0018090A, // 0031 ADD R6 R4 K10
+ 0x8C1C0504, // 0032 GETMET R7 R2 K4
+ 0x60240013, // 0033 GETGBL R9 G19
+ 0x7C240000, // 0034 CALL R9 0
+ 0x98260B0B, // 0035 SETIDX R9 K5 K11
+ 0x98260E06, // 0036 SETIDX R9 K7 R6
+ 0x7C1C0400, // 0037 CALL R7 2
+ 0x7001FFEB, // 0038 JMP #0025
+ 0x580C0008, // 0039 LDCONST R3 K8
+ 0xAC0C0200, // 003A CATCH R3 1 0
+ 0xB0080000, // 003B RAISE 2 R0 R0
+ 0x600C0010, // 003C GETGBL R3 G16
+ 0x8C100100, // 003D GETMET R4 R0 K0
+ 0x5C180200, // 003E MOVE R6 R1
+ 0x7C100400, // 003F CALL R4 2
+ 0x7C0C0200, // 0040 CALL R3 1
+ 0xA8020013, // 0041 EXBLK 0 #0056
+ 0x5C100600, // 0042 MOVE R4 R3
+ 0x7C100000, // 0043 CALL R4 0
+ 0x94140204, // 0044 GETIDX R5 R1 R4
+ 0x6018000F, // 0045 GETGBL R6 G15
+ 0x5C1C0A00, // 0046 MOVE R7 R5
+ 0x60200013, // 0047 GETGBL R8 G19
+ 0x7C180400, // 0048 CALL R6 2
+ 0x781A000A, // 0049 JMPF R6 #0055
+ 0x8C180B01, // 004A GETMET R6 R5 K1
+ 0x5820000C, // 004B LDCONST R8 K12
+ 0x7C180400, // 004C CALL R6 2
+ 0x781A0006, // 004D JMPF R6 #0055
+ 0x0018090D, // 004E ADD R6 R4 K13
+ 0x8C1C0504, // 004F GETMET R7 R2 K4
+ 0x60240013, // 0050 GETGBL R9 G19
+ 0x7C240000, // 0051 CALL R9 0
+ 0x98260B0E, // 0052 SETIDX R9 K5 K14
+ 0x98260E06, // 0053 SETIDX R9 K7 R6
+ 0x7C1C0400, // 0054 CALL R7 2
+ 0x7001FFEB, // 0055 JMP #0042
+ 0x580C0008, // 0056 LDCONST R3 K8
+ 0xAC0C0200, // 0057 CATCH R3 1 0
+ 0xB0080000, // 0058 RAISE 2 R0 R0
+ 0x600C0010, // 0059 GETGBL R3 G16
+ 0x8C100100, // 005A GETMET R4 R0 K0
+ 0x5C180200, // 005B MOVE R6 R1
+ 0x7C100400, // 005C CALL R4 2
+ 0x7C0C0200, // 005D CALL R3 1
+ 0xA8020013, // 005E EXBLK 0 #0073
+ 0x5C100600, // 005F MOVE R4 R3
+ 0x7C100000, // 0060 CALL R4 0
+ 0x94140204, // 0061 GETIDX R5 R1 R4
+ 0x6018000F, // 0062 GETGBL R6 G15
+ 0x5C1C0A00, // 0063 MOVE R7 R5
+ 0x60200013, // 0064 GETGBL R8 G19
+ 0x7C180400, // 0065 CALL R6 2
+ 0x781A000A, // 0066 JMPF R6 #0072
+ 0x8C180B01, // 0067 GETMET R6 R5 K1
+ 0x5820000F, // 0068 LDCONST R8 K15
+ 0x7C180400, // 0069 CALL R6 2
+ 0x781A0006, // 006A JMPF R6 #0072
+ 0x00180910, // 006B ADD R6 R4 K16
+ 0x8C1C0504, // 006C GETMET R7 R2 K4
+ 0x60240013, // 006D GETGBL R9 G19
+ 0x7C240000, // 006E CALL R9 0
+ 0x98260B11, // 006F SETIDX R9 K5 K17
+ 0x98260E06, // 0070 SETIDX R9 K7 R6
+ 0x7C1C0400, // 0071 CALL R7 2
+ 0x7001FFEB, // 0072 JMP #005F
+ 0x580C0008, // 0073 LDCONST R3 K8
+ 0xAC0C0200, // 0074 CATCH R3 1 0
+ 0xB0080000, // 0075 RAISE 2 R0 R0
+ 0x80040400, // 0076 RET 1 R2
})
)
);
@@ -2983,6 +3429,478 @@ be_local_closure(Matter_Device_stop, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: bridge_remove_endpoint
+********************************************************************/
+be_local_closure(Matter_Device_bridge_remove_endpoint, /* name */
+ be_nested_proto(
+ 11, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(json),
+ /* K2 */ be_nested_str_weak(plugins_config),
+ /* K3 */ be_nested_str_weak(contains),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(log),
+ /* K6 */ be_nested_str_weak(MTR_X3A_X20Cannot_X20remove_X20an_X20enpoint_X20not_X20configured_X3A_X20),
+ /* K7 */ be_const_int(3),
+ /* K8 */ be_nested_str_weak(remove),
+ /* K9 */ be_nested_str_weak(plugins_persist),
+ /* K10 */ be_nested_str_weak(save_param),
+ /* K11 */ be_nested_str_weak(signal_endpoints_changed),
+ /* K12 */ be_const_int(0),
+ /* K13 */ be_nested_str_weak(plugins),
+ /* K14 */ be_nested_str_weak(get_endpoint),
+ /* K15 */ be_const_int(1),
+ /* K16 */ be_nested_str_weak(clean_remotes),
+ }),
+ be_str_weak(bridge_remove_endpoint),
+ &be_const_str_solidified,
+ ( &(const binstruction[53]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0xA40E0200, // 0001 IMPORT R3 K1
+ 0x60100008, // 0002 GETGBL R4 G8
+ 0x5C140200, // 0003 MOVE R5 R1
+ 0x7C100200, // 0004 CALL R4 1
+ 0x4C140000, // 0005 LDNIL R5
+ 0x4C180000, // 0006 LDNIL R6
+ 0x881C0102, // 0007 GETMBR R7 R0 K2
+ 0x8C1C0F03, // 0008 GETMET R7 R7 K3
+ 0x5C240800, // 0009 MOVE R9 R4
+ 0x7C1C0400, // 000A CALL R7 2
+ 0x741E0005, // 000B JMPT R7 #0012
+ 0xB81E0800, // 000C GETNGBL R7 K4
+ 0x8C1C0F05, // 000D GETMET R7 R7 K5
+ 0x00260C04, // 000E ADD R9 K6 R4
+ 0x58280007, // 000F LDCONST R10 K7
+ 0x7C1C0600, // 0010 CALL R7 3
+ 0x80000E00, // 0011 RET 0
+ 0x881C0102, // 0012 GETMBR R7 R0 K2
+ 0x8C1C0F08, // 0013 GETMET R7 R7 K8
+ 0x5C240800, // 0014 MOVE R9 R4
+ 0x7C1C0400, // 0015 CALL R7 2
+ 0x501C0200, // 0016 LDBOOL R7 1 0
+ 0x90021207, // 0017 SETMBR R0 K9 R7
+ 0x8C1C010A, // 0018 GETMET R7 R0 K10
+ 0x7C1C0200, // 0019 CALL R7 1
+ 0x8C1C010B, // 001A GETMET R7 R0 K11
+ 0x7C1C0200, // 001B CALL R7 1
+ 0x581C000C, // 001C LDCONST R7 K12
+ 0x6020000C, // 001D GETGBL R8 G12
+ 0x8824010D, // 001E GETMBR R9 R0 K13
+ 0x7C200200, // 001F CALL R8 1
+ 0x14200E08, // 0020 LT R8 R7 R8
+ 0x7822000F, // 0021 JMPF R8 #0032
+ 0x8820010D, // 0022 GETMBR R8 R0 K13
+ 0x94201007, // 0023 GETIDX R8 R8 R7
+ 0x8C20110E, // 0024 GETMET R8 R8 K14
+ 0x7C200200, // 0025 CALL R8 1
+ 0x1C200208, // 0026 EQ R8 R1 R8
+ 0x78220007, // 0027 JMPF R8 #0030
+ 0x8820010D, // 0028 GETMBR R8 R0 K13
+ 0x8C201108, // 0029 GETMET R8 R8 K8
+ 0x5C280E00, // 002A MOVE R10 R7
+ 0x7C200400, // 002B CALL R8 2
+ 0x8C20010B, // 002C GETMET R8 R0 K11
+ 0x7C200200, // 002D CALL R8 1
+ 0x70020002, // 002E JMP #0032
+ 0x70020000, // 002F JMP #0031
+ 0x001C0F0F, // 0030 ADD R7 R7 K15
+ 0x7001FFEA, // 0031 JMP #001D
+ 0x8C200110, // 0032 GETMET R8 R0 K16
+ 0x7C200200, // 0033 CALL R8 1
+ 0x80000000, // 0034 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: _trigger_read_sensors
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[11]) { /* 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(load),
+ /* K4 */ be_const_int(0),
+ /* K5 */ be_nested_str_weak(plugins),
+ /* K6 */ be_nested_str_weak(parse_sensors),
+ /* K7 */ be_const_int(1),
+ /* K8 */ be_nested_str_weak(log),
+ /* K9 */ be_nested_str_weak(MTR_X3A_X20unable_X20to_X20parse_X20read_sensors_X3A_X20),
+ /* K10 */ be_const_int(3),
+ }),
+ be_str_weak(_trigger_read_sensors),
+ &be_const_str_solidified,
+ ( &(const binstruction[37]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xB80A0200, // 0001 GETNGBL R2 K1
+ 0x8C080502, // 0002 GETMET R2 R2 K2
+ 0x7C080200, // 0003 CALL R2 1
+ 0x4C0C0000, // 0004 LDNIL R3
+ 0x1C0C0403, // 0005 EQ R3 R2 R3
+ 0x780E0000, // 0006 JMPF R3 #0008
+ 0x80000600, // 0007 RET 0
+ 0x8C0C0303, // 0008 GETMET R3 R1 K3
+ 0x5C140400, // 0009 MOVE R5 R2
+ 0x7C0C0400, // 000A CALL R3 2
+ 0x4C100000, // 000B LDNIL R4
+ 0x20100604, // 000C NE R4 R3 R4
+ 0x7812000D, // 000D JMPF R4 #001C
+ 0x58100004, // 000E LDCONST R4 K4
+ 0x6014000C, // 000F GETGBL R5 G12
+ 0x88180105, // 0010 GETMBR R6 R0 K5
+ 0x7C140200, // 0011 CALL R5 1
+ 0x14140805, // 0012 LT R5 R4 R5
+ 0x78160006, // 0013 JMPF R5 #001B
+ 0x88140105, // 0014 GETMBR R5 R0 K5
+ 0x94140A04, // 0015 GETIDX R5 R5 R4
+ 0x8C140B06, // 0016 GETMET R5 R5 K6
+ 0x5C1C0600, // 0017 MOVE R7 R3
+ 0x7C140400, // 0018 CALL R5 2
+ 0x00100907, // 0019 ADD R4 R4 K7
+ 0x7001FFF3, // 001A JMP #000F
+ 0x70020007, // 001B JMP #0024
+ 0xB8120200, // 001C GETNGBL R4 K1
+ 0x8C100908, // 001D GETMET R4 R4 K8
+ 0x60180008, // 001E GETGBL R6 G8
+ 0x5C1C0400, // 001F MOVE R7 R2
+ 0x7C180200, // 0020 CALL R6 1
+ 0x001A1206, // 0021 ADD R6 K9 R6
+ 0x581C000A, // 0022 LDCONST R7 K10
+ 0x7C100600, // 0023 CALL R4 3
+ 0x80000000, // 0024 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: save_param
+********************************************************************/
+be_local_closure(Matter_Device_save_param, /* name */
+ be_nested_proto(
+ 11, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[27]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(json),
+ /* K2 */ be_nested_str_weak(format),
+ /* K3 */ be_nested_str_weak(_X7B_X22distinguish_X22_X3A_X25i_X2C_X22passcode_X22_X3A_X25i_X2C_X22ipv4only_X22_X3A_X25s_X2C_X22nextep_X22_X3A_X25i),
+ /* K4 */ be_nested_str_weak(root_discriminator),
+ /* K5 */ be_nested_str_weak(root_passcode),
+ /* K6 */ be_nested_str_weak(ipv4only),
+ /* K7 */ be_nested_str_weak(true),
+ /* K8 */ be_nested_str_weak(false),
+ /* K9 */ be_nested_str_weak(next_ep),
+ /* K10 */ be_nested_str_weak(plugins_persist),
+ /* K11 */ be_nested_str_weak(_X2C_X22config_X22_X3A),
+ /* K12 */ be_nested_str_weak(dump),
+ /* K13 */ be_nested_str_weak(plugins_config),
+ /* K14 */ be_nested_str_weak(_X7D),
+ /* K15 */ be_nested_str_weak(FILENAME),
+ /* K16 */ be_nested_str_weak(w),
+ /* K17 */ be_nested_str_weak(write),
+ /* K18 */ be_nested_str_weak(close),
+ /* K19 */ be_nested_str_weak(tasmota),
+ /* K20 */ be_nested_str_weak(log),
+ /* K21 */ be_nested_str_weak(MTR_X3A_X20_X3DSaved_X20_X20_X20_X20_X20parameters_X25s),
+ /* K22 */ be_nested_str_weak(_X20and_X20configuration),
+ /* K23 */ be_nested_str_weak(),
+ /* K24 */ be_const_int(2),
+ /* K25 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Asave_X20Exception_X3A),
+ /* K26 */ be_nested_str_weak(_X7C),
+ }),
+ be_str_weak(save_param),
+ &be_const_str_solidified,
+ ( &(const binstruction[66]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x8C0C0302, // 0002 GETMET R3 R1 K2
+ 0x58140003, // 0003 LDCONST R5 K3
+ 0x88180104, // 0004 GETMBR R6 R0 K4
+ 0x881C0105, // 0005 GETMBR R7 R0 K5
+ 0x88200106, // 0006 GETMBR R8 R0 K6
+ 0x78220001, // 0007 JMPF R8 #000A
+ 0x58200007, // 0008 LDCONST R8 K7
+ 0x70020000, // 0009 JMP #000B
+ 0x58200008, // 000A LDCONST R8 K8
+ 0x88240109, // 000B GETMBR R9 R0 K9
+ 0x7C0C0C00, // 000C CALL R3 6
+ 0x8810010A, // 000D GETMBR R4 R0 K10
+ 0x78120004, // 000E JMPF R4 #0014
+ 0x000C070B, // 000F ADD R3 R3 K11
+ 0x8C10050C, // 0010 GETMET R4 R2 K12
+ 0x8818010D, // 0011 GETMBR R6 R0 K13
+ 0x7C100400, // 0012 CALL R4 2
+ 0x000C0604, // 0013 ADD R3 R3 R4
+ 0x000C070E, // 0014 ADD R3 R3 K14
+ 0xA8020018, // 0015 EXBLK 0 #002F
+ 0x60100011, // 0016 GETGBL R4 G17
+ 0x8814010F, // 0017 GETMBR R5 R0 K15
+ 0x58180010, // 0018 LDCONST R6 K16
+ 0x7C100400, // 0019 CALL R4 2
+ 0x8C140911, // 001A GETMET R5 R4 K17
+ 0x5C1C0600, // 001B MOVE R7 R3
+ 0x7C140400, // 001C CALL R5 2
+ 0x8C140912, // 001D GETMET R5 R4 K18
+ 0x7C140200, // 001E CALL R5 1
+ 0xB8162600, // 001F GETNGBL R5 K19
+ 0x8C140B14, // 0020 GETMET R5 R5 K20
+ 0x8C1C0302, // 0021 GETMET R7 R1 K2
+ 0x58240015, // 0022 LDCONST R9 K21
+ 0x8828010A, // 0023 GETMBR R10 R0 K10
+ 0x782A0001, // 0024 JMPF R10 #0027
+ 0x58280016, // 0025 LDCONST R10 K22
+ 0x70020000, // 0026 JMP #0028
+ 0x58280017, // 0027 LDCONST R10 K23
+ 0x7C1C0600, // 0028 CALL R7 3
+ 0x58200018, // 0029 LDCONST R8 K24
+ 0x7C140600, // 002A CALL R5 3
+ 0xA8040001, // 002B EXBLK 1 1
+ 0x80040600, // 002C RET 1 R3
+ 0xA8040001, // 002D EXBLK 1 1
+ 0x70020011, // 002E JMP #0041
+ 0xAC100002, // 002F CATCH R4 0 2
+ 0x7002000E, // 0030 JMP #0040
+ 0xB81A2600, // 0031 GETNGBL R6 K19
+ 0x8C180D14, // 0032 GETMET R6 R6 K20
+ 0x60200008, // 0033 GETGBL R8 G8
+ 0x5C240800, // 0034 MOVE R9 R4
+ 0x7C200200, // 0035 CALL R8 1
+ 0x00223208, // 0036 ADD R8 K25 R8
+ 0x0020111A, // 0037 ADD R8 R8 K26
+ 0x60240008, // 0038 GETGBL R9 G8
+ 0x5C280A00, // 0039 MOVE R10 R5
+ 0x7C240200, // 003A CALL R9 1
+ 0x00201009, // 003B ADD R8 R8 R9
+ 0x58240018, // 003C LDCONST R9 K24
+ 0x7C180600, // 003D CALL R6 3
+ 0x80040600, // 003E RET 1 R3
+ 0x70020000, // 003F JMP #0041
+ 0xB0080000, // 0040 RAISE 2 R0 R0
+ 0x80000000, // 0041 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: k2l_num
+********************************************************************/
+be_local_closure(Matter_Device_k2l_num, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: compute_manual_pairing_code
+********************************************************************/
+be_local_closure(Matter_Device_compute_manual_pairing_code, /* name */
+ be_nested_proto(
+ 11, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(root_discriminator),
+ /* K2 */ be_nested_str_weak(root_passcode),
+ /* K3 */ be_nested_str_weak(format),
+ /* K4 */ be_nested_str_weak(_X251i_X2505i_X2504i),
+ /* K5 */ be_nested_str_weak(matter),
+ /* K6 */ be_nested_str_weak(Verhoeff),
+ /* K7 */ be_nested_str_weak(checksum),
+ }),
+ be_str_weak(compute_manual_pairing_code),
+ &be_const_str_solidified,
+ ( &(const binstruction[31]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x88080101, // 0001 GETMBR R2 R0 K1
+ 0x540E0FFE, // 0002 LDINT R3 4095
+ 0x2C080403, // 0003 AND R2 R2 R3
+ 0x540E0009, // 0004 LDINT R3 10
+ 0x3C080403, // 0005 SHR R2 R2 R3
+ 0x880C0101, // 0006 GETMBR R3 R0 K1
+ 0x541202FF, // 0007 LDINT R4 768
+ 0x2C0C0604, // 0008 AND R3 R3 R4
+ 0x54120005, // 0009 LDINT R4 6
+ 0x380C0604, // 000A SHL R3 R3 R4
+ 0x88100102, // 000B GETMBR R4 R0 K2
+ 0x54163FFE, // 000C LDINT R5 16383
+ 0x2C100805, // 000D AND R4 R4 R5
+ 0x300C0604, // 000E OR R3 R3 R4
+ 0x88100102, // 000F GETMBR R4 R0 K2
+ 0x5416000D, // 0010 LDINT R5 14
+ 0x3C100805, // 0011 SHR R4 R4 R5
+ 0x8C140303, // 0012 GETMET R5 R1 K3
+ 0x581C0004, // 0013 LDCONST R7 K4
+ 0x5C200400, // 0014 MOVE R8 R2
+ 0x5C240600, // 0015 MOVE R9 R3
+ 0x5C280800, // 0016 MOVE R10 R4
+ 0x7C140A00, // 0017 CALL R5 5
+ 0xB81A0A00, // 0018 GETNGBL R6 K5
+ 0x88180D06, // 0019 GETMBR R6 R6 K6
+ 0x8C180D07, // 001A GETMET R6 R6 K7
+ 0x5C200A00, // 001B MOVE R8 R5
+ 0x7C180400, // 001C CALL R6 2
+ 0x00140A06, // 001D ADD R5 R5 R6
+ 0x80040A00, // 001E RET 1 R5
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_operational_discovery
+********************************************************************/
+be_local_closure(Matter_Device_start_operational_discovery, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(mdns),
+ /* K2 */ be_nested_str_weak(string),
+ /* K3 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K4 */ be_nested_str_weak(root_w0),
+ /* K5 */ be_nested_str_weak(root_L),
+ /* K6 */ be_nested_str_weak(mdns_announce_op_discovery),
+ }),
+ be_str_weak(start_operational_discovery),
+ &be_const_str_solidified,
+ ( &(const binstruction[13]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0xA40E0200, // 0001 IMPORT R3 K1
+ 0xA4120400, // 0002 IMPORT R4 K2
+ 0x8C140103, // 0003 GETMET R5 R0 K3
+ 0x7C140200, // 0004 CALL R5 1
+ 0x4C140000, // 0005 LDNIL R5
+ 0x90020805, // 0006 SETMBR R0 K4 R5
+ 0x4C140000, // 0007 LDNIL R5
+ 0x90020A05, // 0008 SETMBR R0 K5 R5
+ 0x8C140106, // 0009 GETMET R5 R0 K6
+ 0x5C1C0200, // 000A MOVE R7 R1
+ 0x7C140400, // 000B CALL R5 2
+ 0x80000000, // 000C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: stop_basic_commissioning
********************************************************************/
@@ -3045,126 +3963,6 @@ be_local_closure(Matter_Device_stop_basic_commissioning, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: start_commissioning_complete_deferred
-********************************************************************/
-be_local_closure(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*[ 1]) {
- 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, /* no sub protos */
- 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
- })
- ),
- }),
- 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_operational_discovery_deferred
-********************************************************************/
-be_local_closure(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*[ 1]) {
- 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, /* no sub protos */
- 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
- })
- ),
- }),
- 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: bridge_add_endpoint
********************************************************************/
@@ -3265,275 +4063,6 @@ be_local_closure(Matter_Device_bridge_add_endpoint, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: event_fabrics_saved
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: remove_fabric
-********************************************************************/
-be_local_closure(Matter_Device_remove_fabric, /* name */
- be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[12]) { /* constants */
- /* K0 */ be_nested_str_weak(sessions),
- /* K1 */ be_nested_str_weak(find_children_fabrics),
- /* K2 */ be_nested_str_weak(get_fabric_index),
- /* K3 */ be_nested_str_weak(find_fabric_by_index),
- /* K4 */ be_nested_str_weak(message_handler),
- /* K5 */ be_nested_str_weak(im),
- /* K6 */ be_nested_str_weak(subs_shop),
- /* K7 */ be_nested_str_weak(remove_by_fabric),
- /* K8 */ be_nested_str_weak(mdns_remove_op_discovery),
- /* K9 */ be_nested_str_weak(remove_fabric),
- /* K10 */ be_nested_str_weak(stop_iteration),
- /* K11 */ be_nested_str_weak(save_fabrics),
- }),
- be_str_weak(remove_fabric),
- &be_const_str_solidified,
- ( &(const binstruction[43]) { /* code */
- 0x88080100, // 0000 GETMBR R2 R0 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x8C100302, // 0002 GETMET R4 R1 K2
- 0x7C100200, // 0003 CALL R4 1
- 0x7C080400, // 0004 CALL R2 2
- 0x4C0C0000, // 0005 LDNIL R3
- 0x1C0C0403, // 0006 EQ R3 R2 R3
- 0x780E0000, // 0007 JMPF R3 #0009
- 0x80000600, // 0008 RET 0
- 0x600C0010, // 0009 GETGBL R3 G16
- 0x5C100400, // 000A MOVE R4 R2
- 0x7C0C0200, // 000B CALL R3 1
- 0xA8020016, // 000C EXBLK 0 #0024
- 0x5C100600, // 000D MOVE R4 R3
- 0x7C100000, // 000E CALL R4 0
- 0x88140100, // 000F GETMBR R5 R0 K0
- 0x8C140B03, // 0010 GETMET R5 R5 K3
- 0x5C1C0800, // 0011 MOVE R7 R4
- 0x7C140400, // 0012 CALL R5 2
- 0x4C180000, // 0013 LDNIL R6
- 0x20180A06, // 0014 NE R6 R5 R6
- 0x781A000C, // 0015 JMPF R6 #0023
- 0x88180104, // 0016 GETMBR R6 R0 K4
- 0x88180D05, // 0017 GETMBR R6 R6 K5
- 0x88180D06, // 0018 GETMBR R6 R6 K6
- 0x8C180D07, // 0019 GETMET R6 R6 K7
- 0x5C200A00, // 001A MOVE R8 R5
- 0x7C180400, // 001B CALL R6 2
- 0x8C180108, // 001C GETMET R6 R0 K8
- 0x5C200A00, // 001D MOVE R8 R5
- 0x7C180400, // 001E CALL R6 2
- 0x88180100, // 001F GETMBR R6 R0 K0
- 0x8C180D09, // 0020 GETMET R6 R6 K9
- 0x5C200A00, // 0021 MOVE R8 R5
- 0x7C180400, // 0022 CALL R6 2
- 0x7001FFE8, // 0023 JMP #000D
- 0x580C000A, // 0024 LDCONST R3 K10
- 0xAC0C0200, // 0025 CATCH R3 1 0
- 0xB0080000, // 0026 RAISE 2 R0 R0
- 0x880C0100, // 0027 GETMBR R3 R0 K0
- 0x8C0C070B, // 0028 GETMET R3 R3 K11
- 0x7C0C0200, // 0029 CALL R3 1
- 0x80000000, // 002A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: _init_basic_commissioning
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: get_plugin_class_displayname
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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(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: compute_qrcode_content
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: mdns_announce_op_discovery
********************************************************************/
@@ -3710,11 +4239,107 @@ be_local_closure(Matter_Device_mdns_announce_op_discovery, /* name */
/********************************************************************
-** Solidified function: mdns_remove_op_discovery_all_fabrics
+** Solidified function: start_root_basic_commissioning
********************************************************************/
-be_local_closure(Matter_Device_mdns_remove_op_discovery_all_fabrics, /* name */
+be_local_closure(Matter_Device_start_root_basic_commissioning, /* name */
be_nested_proto(
- 6, /* nstack */
+ 14, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[23]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(PASE_TIMEOUT),
+ /* K2 */ be_nested_str_weak(compute_manual_pairing_code),
+ /* K3 */ be_nested_str_weak(tasmota),
+ /* K4 */ be_nested_str_weak(log),
+ /* K5 */ be_nested_str_weak(format),
+ /* K6 */ be_nested_str_weak(MTR_X3A_X20Manual_X20pairing_X20code_X3A_X20_X25s_X2D_X25s_X2D_X25s),
+ /* K7 */ be_const_int(0),
+ /* K8 */ be_const_int(3),
+ /* K9 */ be_const_int(2147483647),
+ /* K10 */ be_const_int(2),
+ /* K11 */ be_nested_str_weak(compute_qrcode_content),
+ /* K12 */ be_nested_str_weak(publish_result),
+ /* K13 */ 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),
+ /* K14 */ be_nested_str_weak(Matter),
+ /* K15 */ be_nested_str_weak(_compute_pbkdf),
+ /* K16 */ be_nested_str_weak(root_passcode),
+ /* K17 */ be_nested_str_weak(root_iterations),
+ /* K18 */ be_nested_str_weak(root_salt),
+ /* K19 */ be_nested_str_weak(start_basic_commissioning),
+ /* K20 */ be_nested_str_weak(root_discriminator),
+ /* K21 */ be_nested_str_weak(root_w0),
+ /* K22 */ be_nested_str_weak(root_L),
+ }),
+ be_str_weak(start_root_basic_commissioning),
+ &be_const_str_solidified,
+ ( &(const binstruction[49]) { /* code */
+ 0xA40A0000, // 0000 IMPORT R2 K0
+ 0x4C0C0000, // 0001 LDNIL R3
+ 0x1C0C0203, // 0002 EQ R3 R1 R3
+ 0x780E0000, // 0003 JMPF R3 #0005
+ 0x88040101, // 0004 GETMBR R1 R0 K1
+ 0x8C0C0102, // 0005 GETMET R3 R0 K2
+ 0x7C0C0200, // 0006 CALL R3 1
+ 0xB8120600, // 0007 GETNGBL R4 K3
+ 0x8C100904, // 0008 GETMET R4 R4 K4
+ 0x8C180505, // 0009 GETMET R6 R2 K5
+ 0x58200006, // 000A LDCONST R8 K6
+ 0x40260F08, // 000B CONNECT R9 K7 K8
+ 0x94240609, // 000C GETIDX R9 R3 R9
+ 0x542A0003, // 000D LDINT R10 4
+ 0x542E0005, // 000E LDINT R11 6
+ 0x4028140B, // 000F CONNECT R10 R10 R11
+ 0x9428060A, // 0010 GETIDX R10 R3 R10
+ 0x542E0006, // 0011 LDINT R11 7
+ 0x402C1709, // 0012 CONNECT R11 R11 K9
+ 0x942C060B, // 0013 GETIDX R11 R3 R11
+ 0x7C180A00, // 0014 CALL R6 5
+ 0x581C000A, // 0015 LDCONST R7 K10
+ 0x7C100600, // 0016 CALL R4 3
+ 0x8C10010B, // 0017 GETMET R4 R0 K11
+ 0x7C100200, // 0018 CALL R4 1
+ 0xB8160600, // 0019 GETNGBL R5 K3
+ 0x8C140B0C, // 001A GETMET R5 R5 K12
+ 0x8C1C0505, // 001B GETMET R7 R2 K5
+ 0x5824000D, // 001C LDCONST R9 K13
+ 0x5C280600, // 001D MOVE R10 R3
+ 0x5C2C0800, // 001E MOVE R11 R4
+ 0x7C1C0800, // 001F CALL R7 4
+ 0x5820000E, // 0020 LDCONST R8 K14
+ 0x7C140600, // 0021 CALL R5 3
+ 0x8C14010F, // 0022 GETMET R5 R0 K15
+ 0x881C0110, // 0023 GETMBR R7 R0 K16
+ 0x88200111, // 0024 GETMBR R8 R0 K17
+ 0x88240112, // 0025 GETMBR R9 R0 K18
+ 0x7C140800, // 0026 CALL R5 4
+ 0x8C140113, // 0027 GETMET R5 R0 K19
+ 0x5C1C0200, // 0028 MOVE R7 R1
+ 0x88200111, // 0029 GETMBR R8 R0 K17
+ 0x88240114, // 002A GETMBR R9 R0 K20
+ 0x88280112, // 002B GETMBR R10 R0 K18
+ 0x882C0115, // 002C GETMBR R11 R0 K21
+ 0x88300116, // 002D GETMBR R12 R0 K22
+ 0x4C340000, // 002E LDNIL R13
+ 0x7C141000, // 002F CALL R5 8
+ 0x80000000, // 0030 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: load_param
+********************************************************************/
+be_local_closure(Matter_Device_load_param, /* name */
+ be_nested_proto(
+ 12, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -3722,39 +4347,148 @@ be_local_closure(Matter_Device_mdns_remove_op_discovery_all_fabrics, /* name *
0, /* has sup protos */
NULL, /* no sub protos */
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),
+ ( &(const bvalue[32]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(crypto),
+ /* K2 */ be_nested_str_weak(FILENAME),
+ /* K3 */ be_nested_str_weak(read),
+ /* K4 */ be_nested_str_weak(close),
+ /* K5 */ be_nested_str_weak(json),
+ /* K6 */ be_nested_str_weak(load),
+ /* K7 */ be_nested_str_weak(root_discriminator),
+ /* K8 */ be_nested_str_weak(find),
+ /* K9 */ be_nested_str_weak(distinguish),
+ /* K10 */ be_nested_str_weak(root_passcode),
+ /* K11 */ be_nested_str_weak(passcode),
+ /* K12 */ be_nested_str_weak(ipv4only),
+ /* K13 */ be_nested_str_weak(next_ep),
+ /* K14 */ be_nested_str_weak(nextep),
+ /* K15 */ be_nested_str_weak(plugins_config),
+ /* K16 */ be_nested_str_weak(config),
+ /* K17 */ be_nested_str_weak(tasmota),
+ /* K18 */ be_nested_str_weak(log),
+ /* K19 */ be_nested_str_weak(MTR_X3A_X20load_config_X20_X3D_X20),
+ /* K20 */ be_const_int(3),
+ /* K21 */ be_nested_str_weak(adjust_next_ep),
+ /* K22 */ be_nested_str_weak(plugins_persist),
+ /* K23 */ be_nested_str_weak(io_error),
+ /* K24 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Aload_X20Exception_X3A),
+ /* K25 */ be_nested_str_weak(_X7C),
+ /* K26 */ be_const_int(2),
+ /* K27 */ be_nested_str_weak(random),
+ /* K28 */ be_nested_str_weak(get),
+ /* K29 */ be_const_int(0),
+ /* K30 */ be_nested_str_weak(generate_random_passcode),
+ /* K31 */ be_nested_str_weak(save_param),
}),
- be_str_weak(mdns_remove_op_discovery_all_fabrics),
+ be_str_weak(load_param),
&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[105]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0xA8020036, // 0002 EXBLK 0 #003A
+ 0x600C0011, // 0003 GETGBL R3 G17
+ 0x88100102, // 0004 GETMBR R4 R0 K2
+ 0x7C0C0200, // 0005 CALL R3 1
+ 0x8C100703, // 0006 GETMET R4 R3 K3
+ 0x7C100200, // 0007 CALL R4 1
+ 0x8C140704, // 0008 GETMET R5 R3 K4
+ 0x7C140200, // 0009 CALL R5 1
+ 0xA4160A00, // 000A IMPORT R5 K5
+ 0x8C180B06, // 000B GETMET R6 R5 K6
+ 0x5C200800, // 000C MOVE R8 R4
+ 0x7C180400, // 000D CALL R6 2
+ 0x8C1C0D08, // 000E GETMET R7 R6 K8
+ 0x58240009, // 000F LDCONST R9 K9
+ 0x88280107, // 0010 GETMBR R10 R0 K7
+ 0x7C1C0600, // 0011 CALL R7 3
+ 0x90020E07, // 0012 SETMBR R0 K7 R7
+ 0x8C1C0D08, // 0013 GETMET R7 R6 K8
+ 0x5824000B, // 0014 LDCONST R9 K11
+ 0x8828010A, // 0015 GETMBR R10 R0 K10
+ 0x7C1C0600, // 0016 CALL R7 3
+ 0x90021407, // 0017 SETMBR R0 K10 R7
+ 0x601C0017, // 0018 GETGBL R7 G23
+ 0x8C200D08, // 0019 GETMET R8 R6 K8
+ 0x5828000C, // 001A LDCONST R10 K12
+ 0x502C0000, // 001B LDBOOL R11 0 0
+ 0x7C200600, // 001C CALL R8 3
+ 0x7C1C0200, // 001D CALL R7 1
+ 0x90021807, // 001E SETMBR R0 K12 R7
+ 0x8C1C0D08, // 001F GETMET R7 R6 K8
+ 0x5824000E, // 0020 LDCONST R9 K14
+ 0x8828010D, // 0021 GETMBR R10 R0 K13
+ 0x7C1C0600, // 0022 CALL R7 3
+ 0x90021A07, // 0023 SETMBR R0 K13 R7
+ 0x8C1C0D08, // 0024 GETMET R7 R6 K8
+ 0x58240010, // 0025 LDCONST R9 K16
+ 0x7C1C0400, // 0026 CALL R7 2
+ 0x90021E07, // 0027 SETMBR R0 K15 R7
+ 0x881C010F, // 0028 GETMBR R7 R0 K15
+ 0x4C200000, // 0029 LDNIL R8
+ 0x201C0E08, // 002A NE R7 R7 R8
+ 0x781E000B, // 002B JMPF R7 #0038
+ 0xB81E2200, // 002C GETNGBL R7 K17
+ 0x8C1C0F12, // 002D GETMET R7 R7 K18
+ 0x60240008, // 002E GETGBL R9 G8
+ 0x8828010F, // 002F GETMBR R10 R0 K15
+ 0x7C240200, // 0030 CALL R9 1
+ 0x00262609, // 0031 ADD R9 K19 R9
+ 0x58280014, // 0032 LDCONST R10 K20
+ 0x7C1C0600, // 0033 CALL R7 3
+ 0x8C1C0115, // 0034 GETMET R7 R0 K21
+ 0x7C1C0200, // 0035 CALL R7 1
+ 0x501C0200, // 0036 LDBOOL R7 1 0
+ 0x90022C07, // 0037 SETMBR R0 K22 R7
+ 0xA8040001, // 0038 EXBLK 1 1
+ 0x70020012, // 0039 JMP #004D
+ 0xAC0C0002, // 003A CATCH R3 0 2
+ 0x7002000F, // 003B JMP #004C
+ 0x20140717, // 003C NE R5 R3 K23
+ 0x7816000C, // 003D JMPF R5 #004B
+ 0xB8162200, // 003E GETNGBL R5 K17
+ 0x8C140B12, // 003F GETMET R5 R5 K18
+ 0x601C0008, // 0040 GETGBL R7 G8
+ 0x5C200600, // 0041 MOVE R8 R3
+ 0x7C1C0200, // 0042 CALL R7 1
+ 0x001E3007, // 0043 ADD R7 K24 R7
+ 0x001C0F19, // 0044 ADD R7 R7 K25
+ 0x60200008, // 0045 GETGBL R8 G8
+ 0x5C240800, // 0046 MOVE R9 R4
+ 0x7C200200, // 0047 CALL R8 1
+ 0x001C0E08, // 0048 ADD R7 R7 R8
+ 0x5820001A, // 0049 LDCONST R8 K26
+ 0x7C140600, // 004A CALL R5 3
+ 0x70020000, // 004B JMP #004D
+ 0xB0080000, // 004C RAISE 2 R0 R0
+ 0x500C0000, // 004D LDBOOL R3 0 0
+ 0x88100107, // 004E GETMBR R4 R0 K7
+ 0x4C140000, // 004F LDNIL R5
+ 0x1C100805, // 0050 EQ R4 R4 R5
+ 0x7812000A, // 0051 JMPF R4 #005D
+ 0x8C10051B, // 0052 GETMET R4 R2 K27
+ 0x5818001A, // 0053 LDCONST R6 K26
+ 0x7C100400, // 0054 CALL R4 2
+ 0x8C10091C, // 0055 GETMET R4 R4 K28
+ 0x5818001D, // 0056 LDCONST R6 K29
+ 0x581C001A, // 0057 LDCONST R7 K26
+ 0x7C100600, // 0058 CALL R4 3
+ 0x54160FFE, // 0059 LDINT R5 4095
+ 0x2C100805, // 005A AND R4 R4 R5
+ 0x90020E04, // 005B SETMBR R0 K7 R4
+ 0x500C0200, // 005C LDBOOL R3 1 0
+ 0x8810010A, // 005D GETMBR R4 R0 K10
+ 0x4C140000, // 005E LDNIL R5
+ 0x1C100805, // 005F EQ R4 R4 R5
+ 0x78120003, // 0060 JMPF R4 #0065
+ 0x8C10011E, // 0061 GETMET R4 R0 K30
+ 0x7C100200, // 0062 CALL R4 1
+ 0x90021404, // 0063 SETMBR R0 K10 R4
+ 0x500C0200, // 0064 LDBOOL R3 1 0
+ 0x780E0001, // 0065 JMPF R3 #0068
+ 0x8C10011F, // 0066 GETMET R4 R0 K31
+ 0x7C100200, // 0067 CALL R4 1
+ 0x80000000, // 0068 RET 0
})
)
);
@@ -3793,100 +4527,30 @@ be_local_closure(Matter_Device_msg_send, /* name */
/********************************************************************
-** Solidified function: adjust_next_ep
+** Solidified function: received_ack
********************************************************************/
-be_local_closure(Matter_Device_adjust_next_ep, /* name */
+be_local_closure(Matter_Device_received_ack, /* name */
be_nested_proto(
5, /* nstack */
- 1, /* argc */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
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),
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(udp_server),
+ /* K1 */ be_nested_str_weak(received_ack),
}),
- be_str_weak(adjust_next_ep),
+ be_str_weak(received_ack),
&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: attribute_updated
-********************************************************************/
-be_local_closure(Matter_Device_attribute_updated, /* name */
- be_nested_proto(
- 10, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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
+ ( &(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
})
)
);
@@ -3942,9 +4606,546 @@ be_local_closure(Matter_Device_every_second, /* name */
/********************************************************************
-** Solidified function: signal_endpoints_changed
+** Solidified function: msg_received
********************************************************************/
-be_local_closure(Matter_Device_signal_endpoints_changed, /* name */
+be_local_closure(Matter_Device_msg_received, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: init
+********************************************************************/
+be_local_closure(Matter_Device_init, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 2]) {
+ 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, /* no sub protos */
+ 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, /* no sub protos */
+ 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
+ })
+ ),
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[43]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(tasmota),
+ /* K3 */ be_nested_str_weak(get_option),
+ /* K4 */ be_nested_str_weak(matter),
+ /* K5 */ be_nested_str_weak(MATTER_OPTION),
+ /* K6 */ be_nested_str_weak(UI),
+ /* K7 */ be_nested_str_weak(started),
+ /* K8 */ be_nested_str_weak(tick),
+ /* K9 */ be_const_int(0),
+ /* K10 */ be_nested_str_weak(plugins),
+ /* K11 */ be_nested_str_weak(plugins_persist),
+ /* K12 */ be_nested_str_weak(plugins_classes),
+ /* K13 */ be_nested_str_weak(register_native_classes),
+ /* 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(load_param),
+ /* K26 */ be_nested_str_weak(sessions),
+ /* K27 */ be_nested_str_weak(Session_Store),
+ /* K28 */ be_nested_str_weak(load_fabrics),
+ /* K29 */ be_nested_str_weak(message_handler),
+ /* K30 */ be_nested_str_weak(MessageHandler),
+ /* K31 */ be_nested_str_weak(ui),
+ /* K32 */ be_nested_str_weak(wifi),
+ /* K33 */ be_nested_str_weak(up),
+ /* K34 */ be_nested_str_weak(eth),
+ /* K35 */ be_nested_str_weak(start),
+ /* K36 */ be_nested_str_weak(add_rule),
+ /* K37 */ be_nested_str_weak(Wifi_X23Connected),
+ /* K38 */ be_nested_str_weak(matter_start),
+ /* K39 */ be_nested_str_weak(Eth_X23Connected),
+ /* K40 */ be_nested_str_weak(_init_basic_commissioning),
+ /* K41 */ be_nested_str_weak(add_driver),
+ /* K42 */ be_nested_str_weak(register_commands),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[103]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0xB80E0400, // 0002 GETNGBL R3 K2
+ 0x8C0C0703, // 0003 GETMET R3 R3 K3
+ 0xB8160800, // 0004 GETNGBL R5 K4
+ 0x88140B05, // 0005 GETMBR R5 R5 K5
+ 0x7C0C0400, // 0006 CALL R3 2
+ 0x740E0004, // 0007 JMPT R3 #000D
+ 0xB80E0800, // 0008 GETNGBL R3 K4
+ 0x8C0C0706, // 0009 GETMET R3 R3 K6
+ 0x5C140000, // 000A MOVE R5 R0
+ 0x7C0C0400, // 000B CALL R3 2
+ 0x80000600, // 000C RET 0
+ 0x500C0000, // 000D LDBOOL R3 0 0
+ 0x90020E03, // 000E SETMBR R0 K7 R3
+ 0x90021109, // 000F SETMBR R0 K8 K9
+ 0x600C0012, // 0010 GETGBL R3 G18
+ 0x7C0C0000, // 0011 CALL R3 0
+ 0x90021403, // 0012 SETMBR R0 K10 R3
+ 0x500C0000, // 0013 LDBOOL R3 0 0
+ 0x90021603, // 0014 SETMBR R0 K11 R3
+ 0x600C0013, // 0015 GETGBL R3 G19
+ 0x7C0C0000, // 0016 CALL R3 0
+ 0x90021803, // 0017 SETMBR R0 K12 R3
+ 0x8C0C010D, // 0018 GETMET R3 R0 K13
+ 0x7C0C0200, // 0019 CALL R3 1
+ 0x880C010F, // 001A GETMBR R3 R0 K15
+ 0x90021C03, // 001B SETMBR R0 K14 R3
+ 0x880C0111, // 001C GETMBR R3 R0 K17
+ 0x90022003, // 001D SETMBR R0 K16 R3
+ 0x880C0113, // 001E GETMBR R3 R0 K19
+ 0x90022403, // 001F SETMBR R0 K18 R3
+ 0x90022915, // 0020 SETMBR R0 K20 K21
+ 0x8C0C0317, // 0021 GETMET R3 R1 K23
+ 0x5416000F, // 0022 LDINT R5 16
+ 0x7C0C0400, // 0023 CALL R3 2
+ 0x90022C03, // 0024 SETMBR R0 K22 R3
+ 0x500C0000, // 0025 LDBOOL R3 0 0
+ 0x90023003, // 0026 SETMBR R0 K24 R3
+ 0x8C0C0119, // 0027 GETMET R3 R0 K25
+ 0x7C0C0200, // 0028 CALL R3 1
+ 0xB80E0800, // 0029 GETNGBL R3 K4
+ 0x8C0C071B, // 002A GETMET R3 R3 K27
+ 0x5C140000, // 002B MOVE R5 R0
+ 0x7C0C0400, // 002C CALL R3 2
+ 0x90023403, // 002D SETMBR R0 K26 R3
+ 0x880C011A, // 002E GETMBR R3 R0 K26
+ 0x8C0C071C, // 002F GETMET R3 R3 K28
+ 0x7C0C0200, // 0030 CALL R3 1
+ 0xB80E0800, // 0031 GETNGBL R3 K4
+ 0x8C0C071E, // 0032 GETMET R3 R3 K30
+ 0x5C140000, // 0033 MOVE R5 R0
+ 0x7C0C0400, // 0034 CALL R3 2
+ 0x90023A03, // 0035 SETMBR R0 K29 R3
+ 0xB80E0800, // 0036 GETNGBL R3 K4
+ 0x8C0C0706, // 0037 GETMET R3 R3 K6
+ 0x5C140000, // 0038 MOVE R5 R0
+ 0x7C0C0400, // 0039 CALL R3 2
+ 0x90023E03, // 003A SETMBR R0 K31 R3
+ 0xB80E0400, // 003B GETNGBL R3 K2
+ 0x8C0C0720, // 003C GETMET R3 R3 K32
+ 0x7C0C0200, // 003D CALL R3 1
+ 0x940C0721, // 003E GETIDX R3 R3 K33
+ 0x740E0004, // 003F JMPT R3 #0045
+ 0xB80E0400, // 0040 GETNGBL R3 K2
+ 0x8C0C0722, // 0041 GETMET R3 R3 K34
+ 0x7C0C0200, // 0042 CALL R3 1
+ 0x940C0721, // 0043 GETIDX R3 R3 K33
+ 0x780E0001, // 0044 JMPF R3 #0047
+ 0x8C0C0123, // 0045 GETMET R3 R0 K35
+ 0x7C0C0200, // 0046 CALL R3 1
+ 0xB80E0400, // 0047 GETNGBL R3 K2
+ 0x8C0C0720, // 0048 GETMET R3 R3 K32
+ 0x7C0C0200, // 0049 CALL R3 1
+ 0x940C0721, // 004A GETIDX R3 R3 K33
+ 0x740E0005, // 004B JMPT R3 #0052
+ 0xB80E0400, // 004C GETNGBL R3 K2
+ 0x8C0C0724, // 004D GETMET R3 R3 K36
+ 0x58140025, // 004E LDCONST R5 K37
+ 0x84180000, // 004F CLOSURE R6 P0
+ 0x581C0026, // 0050 LDCONST R7 K38
+ 0x7C0C0800, // 0051 CALL R3 4
+ 0xB80E0400, // 0052 GETNGBL R3 K2
+ 0x8C0C0722, // 0053 GETMET R3 R3 K34
+ 0x7C0C0200, // 0054 CALL R3 1
+ 0x940C0721, // 0055 GETIDX R3 R3 K33
+ 0x740E0005, // 0056 JMPT R3 #005D
+ 0xB80E0400, // 0057 GETNGBL R3 K2
+ 0x8C0C0724, // 0058 GETMET R3 R3 K36
+ 0x58140027, // 0059 LDCONST R5 K39
+ 0x84180001, // 005A CLOSURE R6 P1
+ 0x581C0026, // 005B LDCONST R7 K38
+ 0x7C0C0800, // 005C CALL R3 4
+ 0x8C0C0128, // 005D GETMET R3 R0 K40
+ 0x7C0C0200, // 005E CALL R3 1
+ 0xB80E0400, // 005F GETNGBL R3 K2
+ 0x8C0C0729, // 0060 GETMET R3 R3 K41
+ 0x5C140000, // 0061 MOVE R5 R0
+ 0x7C0C0400, // 0062 CALL R3 2
+ 0x8C0C012A, // 0063 GETMET R3 R0 K42
+ 0x7C0C0200, // 0064 CALL R3 1
+ 0xA0000000, // 0065 CLOSE R0
+ 0x80000000, // 0066 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start
+********************************************************************/
+be_local_closure(Matter_Device_start, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 1]) {
+ be_nested_proto(
+ 2, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(_trigger_read_sensors),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0x80000000, // 0003 RET 0
+ })
+ ),
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(started),
+ /* K1 */ be_nested_str_weak(autoconf_device),
+ /* K2 */ be_nested_str_weak(tasmota),
+ /* K3 */ be_nested_str_weak(add_cron),
+ /* K4 */ be_nested_str_weak(_X2A_X2F30_X20_X2A_X20_X2A_X20_X2A_X20_X2A_X20_X2A),
+ /* K5 */ be_nested_str_weak(matter_sensors_30s),
+ /* K6 */ be_nested_str_weak(_start_udp),
+ /* K7 */ be_nested_str_weak(UDP_PORT),
+ /* K8 */ be_nested_str_weak(start_mdns_announce_hostnames),
+ }),
+ be_str_weak(start),
+ &be_const_str_solidified,
+ ( &(const binstruction[20]) { /* 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
+ 0xB8060400, // 0005 GETNGBL R1 K2
+ 0x8C040303, // 0006 GETMET R1 R1 K3
+ 0x580C0004, // 0007 LDCONST R3 K4
+ 0x84100000, // 0008 CLOSURE R4 P0
+ 0x58140005, // 0009 LDCONST R5 K5
+ 0x7C040800, // 000A CALL R1 4
+ 0x8C040106, // 000B GETMET R1 R0 K6
+ 0x880C0107, // 000C GETMBR R3 R0 K7
+ 0x7C040400, // 000D CALL R1 2
+ 0x8C040108, // 000E GETMET R1 R0 K8
+ 0x7C040200, // 000F CALL R1 1
+ 0x50040200, // 0010 LDBOOL R1 1 0
+ 0x90020001, // 0011 SETMBR R0 K0 R1
+ 0xA0000000, // 0012 CLOSE R0
+ 0x80000000, // 0013 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: start_commissioning_complete_deferred
+********************************************************************/
+be_local_closure(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*[ 1]) {
+ 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, /* no sub protos */
+ 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
+ })
+ ),
+ }),
+ 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_mdns_announce_hostnames
+********************************************************************/
+be_local_closure(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*[ 2]) {
+ 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, /* no sub protos */
+ 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, /* no sub protos */
+ 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
+ })
+ ),
+ }),
+ 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: autoconf_device
+********************************************************************/
+be_local_closure(Matter_Device_autoconf_device, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@@ -3954,79 +5155,65 @@ be_local_closure(Matter_Device_signal_endpoints_changed, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(attribute_updated),
- /* K1 */ be_const_int(0),
- /* K2 */ be_const_int(3),
+ ( &(const bvalue[16]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(json),
+ /* K2 */ be_nested_str_weak(plugins),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(plugins_persist),
+ /* K5 */ be_nested_str_weak(plugins_config),
+ /* K6 */ be_nested_str_weak(autoconf_device_map),
+ /* K7 */ be_nested_str_weak(adjust_next_ep),
+ /* K8 */ be_nested_str_weak(tasmota),
+ /* K9 */ be_nested_str_weak(log),
+ /* K10 */ be_nested_str_weak(MTR_X3A_X20autoconfig_X20_X3D_X20),
+ /* K11 */ be_const_int(3),
+ /* K12 */ be_nested_str_weak(_instantiate_plugins_from_config),
+ /* K13 */ be_nested_str_weak(sessions),
+ /* K14 */ be_nested_str_weak(count_active_fabrics),
+ /* K15 */ be_nested_str_weak(save_param),
}),
- be_str_weak(signal_endpoints_changed),
+ be_str_weak(autoconf_device),
&be_const_str_solidified,
- ( &(const binstruction[13]) { /* 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
- 0x540EFEFF, // 0007 LDINT R3 65280
- 0x5412001C, // 0008 LDINT R4 29
- 0x58140002, // 0009 LDCONST R5 K2
- 0x50180000, // 000A LDBOOL R6 0 0
- 0x7C040A00, // 000B CALL R1 5
- 0x80000000, // 000C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: mdns_announce_op_discovery_all_fabrics
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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
+ ( &(const binstruction[38]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x600C000C, // 0002 GETGBL R3 G12
+ 0x88100102, // 0003 GETMBR R4 R0 K2
+ 0x7C0C0200, // 0004 CALL R3 1
+ 0x240C0703, // 0005 GT R3 R3 K3
+ 0x780E0000, // 0006 JMPF R3 #0008
+ 0x80000600, // 0007 RET 0
+ 0x880C0104, // 0008 GETMBR R3 R0 K4
+ 0x740E000C, // 0009 JMPT R3 #0017
+ 0x8C0C0106, // 000A GETMET R3 R0 K6
+ 0x7C0C0200, // 000B CALL R3 1
+ 0x90020A03, // 000C SETMBR R0 K5 R3
+ 0x8C0C0107, // 000D GETMET R3 R0 K7
+ 0x7C0C0200, // 000E CALL R3 1
+ 0xB80E1000, // 000F GETNGBL R3 K8
+ 0x8C0C0709, // 0010 GETMET R3 R3 K9
+ 0x60140008, // 0011 GETGBL R5 G8
+ 0x88180105, // 0012 GETMBR R6 R0 K5
+ 0x7C140200, // 0013 CALL R5 1
+ 0x00161405, // 0014 ADD R5 K10 R5
+ 0x5818000B, // 0015 LDCONST R6 K11
+ 0x7C0C0600, // 0016 CALL R3 3
+ 0x8C0C010C, // 0017 GETMET R3 R0 K12
+ 0x88140105, // 0018 GETMBR R5 R0 K5
+ 0x7C0C0400, // 0019 CALL R3 2
+ 0x880C0104, // 001A GETMBR R3 R0 K4
+ 0x740E0008, // 001B JMPT R3 #0025
+ 0x880C010D, // 001C GETMBR R3 R0 K13
+ 0x8C0C070E, // 001D GETMET R3 R3 K14
+ 0x7C0C0200, // 001E CALL R3 1
+ 0x240C0703, // 001F GT R3 R3 K3
+ 0x780E0003, // 0020 JMPF R3 #0025
+ 0x500C0200, // 0021 LDBOOL R3 1 0
+ 0x90020803, // 0022 SETMBR R0 K4 R3
+ 0x8C0C010F, // 0023 GETMET R3 R0 K15
+ 0x7C0C0200, // 0024 CALL R3 1
+ 0x80000000, // 0025 RET 0
})
)
);
@@ -4046,7 +5233,7 @@ be_local_closure(Matter_Device_autoconf_device_map, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[51]) { /* constants */
+ ( &(const bvalue[38]) { /* constants */
/* K0 */ be_nested_str_weak(string),
/* K1 */ be_nested_str_weak(json),
/* K2 */ be_const_int(1),
@@ -4083,25 +5270,12 @@ be_local_closure(Matter_Device_autoconf_device_map, /* name */
/* K33 */ be_nested_str_weak(relay),
/* K34 */ be_nested_str_weak(load),
/* K35 */ be_nested_str_weak(read_sensors),
- /* K36 */ be_nested_str_weak(k2l),
- /* K37 */ be_nested_str_weak(Temperature),
- /* K38 */ be_nested_str_weak(_X23Temperature),
- /* K39 */ be_nested_str_weak(temperature),
- /* K40 */ be_nested_str_weak(filter),
- /* K41 */ be_nested_str_weak(stop_iteration),
- /* K42 */ be_nested_str_weak(Pressure),
- /* K43 */ be_nested_str_weak(_X23Pressure),
- /* K44 */ be_nested_str_weak(pressure),
- /* K45 */ be_nested_str_weak(Illuminance),
- /* K46 */ be_nested_str_weak(_X23Illuminance),
- /* K47 */ be_nested_str_weak(illuminance),
- /* K48 */ be_nested_str_weak(Humidity),
- /* K49 */ be_nested_str_weak(_X23Humidity),
- /* K50 */ be_nested_str_weak(humidity),
+ /* K36 */ be_nested_str_weak(autoconf_sensors_list),
+ /* K37 */ be_nested_str_weak(stop_iteration),
}),
be_str_weak(autoconf_device_map),
&be_const_str_solidified,
- ( &(const binstruction[310]) { /* code */
+ ( &(const binstruction[200]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
0x600C0013, // 0002 GETGBL R3 G19
@@ -4283,135 +5457,25 @@ be_local_closure(Matter_Device_autoconf_device_map, /* name */
0x8C381D23, // 00B2 GETMET R14 R14 K35
0x7C380200, // 00B3 CALL R14 1
0x7C300400, // 00B4 CALL R12 2
- 0x60340010, // 00B5 GETGBL R13 G16
- 0x8C380124, // 00B6 GETMET R14 R0 K36
- 0x5C401800, // 00B7 MOVE R16 R12
- 0x7C380400, // 00B8 CALL R14 2
- 0x7C340200, // 00B9 CALL R13 1
- 0xA8020016, // 00BA EXBLK 0 #00D2
- 0x5C381A00, // 00BB MOVE R14 R13
- 0x7C380000, // 00BC CALL R14 0
- 0x943C180E, // 00BD GETIDX R15 R12 R14
- 0x6040000F, // 00BE GETGBL R16 G15
- 0x5C441E00, // 00BF MOVE R17 R15
- 0x60480013, // 00C0 GETGBL R18 G19
- 0x7C400400, // 00C1 CALL R16 2
- 0x7842000D, // 00C2 JMPF R16 #00D1
- 0x8C401F14, // 00C3 GETMET R16 R15 K20
- 0x58480025, // 00C4 LDCONST R18 K37
- 0x7C400400, // 00C5 CALL R16 2
- 0x78420009, // 00C6 JMPF R16 #00D1
- 0x00401D26, // 00C7 ADD R16 R14 K38
- 0x60440008, // 00C8 GETGBL R17 G8
- 0x5C480800, // 00C9 MOVE R18 R4
- 0x7C440200, // 00CA CALL R17 1
- 0x60480013, // 00CB GETGBL R18 G19
- 0x7C480000, // 00CC CALL R18 0
- 0x984A1327, // 00CD SETIDX R18 K9 K39
- 0x984A5010, // 00CE SETIDX R18 K40 R16
- 0x980C2212, // 00CF SETIDX R3 R17 R18
- 0x00100902, // 00D0 ADD R4 R4 K2
- 0x7001FFE8, // 00D1 JMP #00BB
- 0x58340029, // 00D2 LDCONST R13 K41
- 0xAC340200, // 00D3 CATCH R13 1 0
- 0xB0080000, // 00D4 RAISE 2 R0 R0
- 0x60340010, // 00D5 GETGBL R13 G16
- 0x8C380124, // 00D6 GETMET R14 R0 K36
- 0x5C401800, // 00D7 MOVE R16 R12
- 0x7C380400, // 00D8 CALL R14 2
- 0x7C340200, // 00D9 CALL R13 1
- 0xA8020016, // 00DA EXBLK 0 #00F2
- 0x5C381A00, // 00DB MOVE R14 R13
- 0x7C380000, // 00DC CALL R14 0
- 0x943C180E, // 00DD GETIDX R15 R12 R14
- 0x6040000F, // 00DE GETGBL R16 G15
- 0x5C441E00, // 00DF MOVE R17 R15
- 0x60480013, // 00E0 GETGBL R18 G19
- 0x7C400400, // 00E1 CALL R16 2
- 0x7842000D, // 00E2 JMPF R16 #00F1
- 0x8C401F14, // 00E3 GETMET R16 R15 K20
- 0x5848002A, // 00E4 LDCONST R18 K42
- 0x7C400400, // 00E5 CALL R16 2
- 0x78420009, // 00E6 JMPF R16 #00F1
- 0x00401D2B, // 00E7 ADD R16 R14 K43
- 0x60440008, // 00E8 GETGBL R17 G8
- 0x5C480800, // 00E9 MOVE R18 R4
- 0x7C440200, // 00EA CALL R17 1
- 0x60480013, // 00EB GETGBL R18 G19
- 0x7C480000, // 00EC CALL R18 0
- 0x984A132C, // 00ED SETIDX R18 K9 K44
- 0x984A5010, // 00EE SETIDX R18 K40 R16
- 0x980C2212, // 00EF SETIDX R3 R17 R18
- 0x00100902, // 00F0 ADD R4 R4 K2
- 0x7001FFE8, // 00F1 JMP #00DB
- 0x58340029, // 00F2 LDCONST R13 K41
- 0xAC340200, // 00F3 CATCH R13 1 0
- 0xB0080000, // 00F4 RAISE 2 R0 R0
- 0x60340010, // 00F5 GETGBL R13 G16
- 0x8C380124, // 00F6 GETMET R14 R0 K36
- 0x5C401800, // 00F7 MOVE R16 R12
- 0x7C380400, // 00F8 CALL R14 2
- 0x7C340200, // 00F9 CALL R13 1
- 0xA8020016, // 00FA EXBLK 0 #0112
- 0x5C381A00, // 00FB MOVE R14 R13
- 0x7C380000, // 00FC CALL R14 0
- 0x943C180E, // 00FD GETIDX R15 R12 R14
- 0x6040000F, // 00FE GETGBL R16 G15
- 0x5C441E00, // 00FF MOVE R17 R15
- 0x60480013, // 0100 GETGBL R18 G19
- 0x7C400400, // 0101 CALL R16 2
- 0x7842000D, // 0102 JMPF R16 #0111
- 0x8C401F14, // 0103 GETMET R16 R15 K20
- 0x5848002D, // 0104 LDCONST R18 K45
- 0x7C400400, // 0105 CALL R16 2
- 0x78420009, // 0106 JMPF R16 #0111
- 0x00401D2E, // 0107 ADD R16 R14 K46
- 0x60440008, // 0108 GETGBL R17 G8
- 0x5C480800, // 0109 MOVE R18 R4
- 0x7C440200, // 010A CALL R17 1
- 0x60480013, // 010B GETGBL R18 G19
- 0x7C480000, // 010C CALL R18 0
- 0x984A132F, // 010D SETIDX R18 K9 K47
- 0x984A5010, // 010E SETIDX R18 K40 R16
- 0x980C2212, // 010F SETIDX R3 R17 R18
- 0x00100902, // 0110 ADD R4 R4 K2
- 0x7001FFE8, // 0111 JMP #00FB
- 0x58340029, // 0112 LDCONST R13 K41
- 0xAC340200, // 0113 CATCH R13 1 0
- 0xB0080000, // 0114 RAISE 2 R0 R0
- 0x60340010, // 0115 GETGBL R13 G16
- 0x8C380124, // 0116 GETMET R14 R0 K36
- 0x5C401800, // 0117 MOVE R16 R12
- 0x7C380400, // 0118 CALL R14 2
- 0x7C340200, // 0119 CALL R13 1
- 0xA8020016, // 011A EXBLK 0 #0132
- 0x5C381A00, // 011B MOVE R14 R13
- 0x7C380000, // 011C CALL R14 0
- 0x943C180E, // 011D GETIDX R15 R12 R14
- 0x6040000F, // 011E GETGBL R16 G15
- 0x5C441E00, // 011F MOVE R17 R15
- 0x60480013, // 0120 GETGBL R18 G19
- 0x7C400400, // 0121 CALL R16 2
- 0x7842000D, // 0122 JMPF R16 #0131
- 0x8C401F14, // 0123 GETMET R16 R15 K20
- 0x58480030, // 0124 LDCONST R18 K48
- 0x7C400400, // 0125 CALL R16 2
- 0x78420009, // 0126 JMPF R16 #0131
- 0x00401D31, // 0127 ADD R16 R14 K49
- 0x60440008, // 0128 GETGBL R17 G8
- 0x5C480800, // 0129 MOVE R18 R4
- 0x7C440200, // 012A CALL R17 1
- 0x60480013, // 012B GETGBL R18 G19
- 0x7C480000, // 012C CALL R18 0
- 0x984A1332, // 012D SETIDX R18 K9 K50
- 0x984A5010, // 012E SETIDX R18 K40 R16
- 0x980C2212, // 012F SETIDX R3 R17 R18
- 0x00100902, // 0130 ADD R4 R4 K2
- 0x7001FFE8, // 0131 JMP #011B
- 0x58340029, // 0132 LDCONST R13 K41
- 0xAC340200, // 0133 CATCH R13 1 0
- 0xB0080000, // 0134 RAISE 2 R0 R0
- 0x80040600, // 0135 RET 1 R3
+ 0x8C340124, // 00B5 GETMET R13 R0 K36
+ 0x5C3C1800, // 00B6 MOVE R15 R12
+ 0x7C340400, // 00B7 CALL R13 2
+ 0x60380010, // 00B8 GETGBL R14 G16
+ 0x5C3C1A00, // 00B9 MOVE R15 R13
+ 0x7C380200, // 00BA CALL R14 1
+ 0xA8020007, // 00BB EXBLK 0 #00C4
+ 0x5C3C1C00, // 00BC MOVE R15 R14
+ 0x7C3C0000, // 00BD CALL R15 0
+ 0x60400008, // 00BE GETGBL R16 G8
+ 0x5C440800, // 00BF MOVE R17 R4
+ 0x7C400200, // 00C0 CALL R16 1
+ 0x980C200F, // 00C1 SETIDX R3 R16 R15
+ 0x00100902, // 00C2 ADD R4 R4 K2
+ 0x7001FFF7, // 00C3 JMP #00BC
+ 0x58380025, // 00C4 LDCONST R14 K37
+ 0xAC380200, // 00C5 CATCH R14 1 0
+ 0xB0080000, // 00C6 RAISE 2 R0 R0
+ 0x80040600, // 00C7 RET 1 R3
})
)
);
@@ -4419,57 +5483,50 @@ be_local_closure(Matter_Device_autoconf_device_map, /* name */
/********************************************************************
-** Solidified function: get_active_endpoints
+** Solidified function: attribute_updated
********************************************************************/
-be_local_closure(Matter_Device_get_active_endpoints, /* name */
+be_local_closure(Matter_Device_attribute_updated, /* name */
be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
+ 10, /* nstack */
+ 5, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
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[ 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(get_active_endpoints),
+ be_str_weak(attribute_updated),
&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[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
})
)
);
@@ -4477,9 +5534,9 @@ be_local_closure(Matter_Device_get_active_endpoints, /* name */
/********************************************************************
-** Solidified function: is_root_commissioning_open
+** Solidified function: is_commissioning_open
********************************************************************/
-be_local_closure(Matter_Device_is_root_commissioning_open, /* name */
+be_local_closure(Matter_Device_is_commissioning_open, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@@ -4489,872 +5546,16 @@ be_local_closure(Matter_Device_is_root_commissioning_open, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
+ ( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(commissioning_open),
- /* K1 */ be_nested_str_weak(commissioning_admin_fabric),
}),
- be_str_weak(is_root_commissioning_open),
+ be_str_weak(is_commissioning_open),
&be_const_str_solidified,
- ( &(const binstruction[11]) { /* code */
+ ( &(const binstruction[ 4]) { /* 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: start_root_basic_commissioning
-********************************************************************/
-be_local_closure(Matter_Device_start_root_basic_commissioning, /* name */
- be_nested_proto(
- 14, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[23]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(PASE_TIMEOUT),
- /* K2 */ be_nested_str_weak(compute_manual_pairing_code),
- /* K3 */ be_nested_str_weak(tasmota),
- /* K4 */ be_nested_str_weak(log),
- /* K5 */ be_nested_str_weak(format),
- /* K6 */ be_nested_str_weak(MTR_X3A_X20Manual_X20pairing_X20code_X3A_X20_X25s_X2D_X25s_X2D_X25s),
- /* K7 */ be_const_int(0),
- /* K8 */ be_const_int(3),
- /* K9 */ be_const_int(2147483647),
- /* K10 */ be_const_int(2),
- /* K11 */ be_nested_str_weak(compute_qrcode_content),
- /* K12 */ be_nested_str_weak(publish_result),
- /* K13 */ 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),
- /* K14 */ be_nested_str_weak(Matter),
- /* K15 */ be_nested_str_weak(_compute_pbkdf),
- /* K16 */ be_nested_str_weak(root_passcode),
- /* K17 */ be_nested_str_weak(root_iterations),
- /* K18 */ be_nested_str_weak(root_salt),
- /* K19 */ be_nested_str_weak(start_basic_commissioning),
- /* K20 */ be_nested_str_weak(root_discriminator),
- /* K21 */ be_nested_str_weak(root_w0),
- /* K22 */ be_nested_str_weak(root_L),
- }),
- be_str_weak(start_root_basic_commissioning),
- &be_const_str_solidified,
- ( &(const binstruction[49]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0x4C0C0000, // 0001 LDNIL R3
- 0x1C0C0203, // 0002 EQ R3 R1 R3
- 0x780E0000, // 0003 JMPF R3 #0005
- 0x88040101, // 0004 GETMBR R1 R0 K1
- 0x8C0C0102, // 0005 GETMET R3 R0 K2
- 0x7C0C0200, // 0006 CALL R3 1
- 0xB8120600, // 0007 GETNGBL R4 K3
- 0x8C100904, // 0008 GETMET R4 R4 K4
- 0x8C180505, // 0009 GETMET R6 R2 K5
- 0x58200006, // 000A LDCONST R8 K6
- 0x40260F08, // 000B CONNECT R9 K7 K8
- 0x94240609, // 000C GETIDX R9 R3 R9
- 0x542A0003, // 000D LDINT R10 4
- 0x542E0005, // 000E LDINT R11 6
- 0x4028140B, // 000F CONNECT R10 R10 R11
- 0x9428060A, // 0010 GETIDX R10 R3 R10
- 0x542E0006, // 0011 LDINT R11 7
- 0x402C1709, // 0012 CONNECT R11 R11 K9
- 0x942C060B, // 0013 GETIDX R11 R3 R11
- 0x7C180A00, // 0014 CALL R6 5
- 0x581C000A, // 0015 LDCONST R7 K10
- 0x7C100600, // 0016 CALL R4 3
- 0x8C10010B, // 0017 GETMET R4 R0 K11
- 0x7C100200, // 0018 CALL R4 1
- 0xB8160600, // 0019 GETNGBL R5 K3
- 0x8C140B0C, // 001A GETMET R5 R5 K12
- 0x8C1C0505, // 001B GETMET R7 R2 K5
- 0x5824000D, // 001C LDCONST R9 K13
- 0x5C280600, // 001D MOVE R10 R3
- 0x5C2C0800, // 001E MOVE R11 R4
- 0x7C1C0800, // 001F CALL R7 4
- 0x5820000E, // 0020 LDCONST R8 K14
- 0x7C140600, // 0021 CALL R5 3
- 0x8C14010F, // 0022 GETMET R5 R0 K15
- 0x881C0110, // 0023 GETMBR R7 R0 K16
- 0x88200111, // 0024 GETMBR R8 R0 K17
- 0x88240112, // 0025 GETMBR R9 R0 K18
- 0x7C140800, // 0026 CALL R5 4
- 0x8C140113, // 0027 GETMET R5 R0 K19
- 0x5C1C0200, // 0028 MOVE R7 R1
- 0x88200111, // 0029 GETMBR R8 R0 K17
- 0x88240114, // 002A GETMBR R9 R0 K20
- 0x88280112, // 002B GETMBR R10 R0 K18
- 0x882C0115, // 002C GETMBR R11 R0 K21
- 0x88300116, // 002D GETMBR R12 R0 K22
- 0x4C340000, // 002E LDNIL R13
- 0x7C141000, // 002F CALL R5 8
- 0x80000000, // 0030 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: bridge_remove_endpoint
-********************************************************************/
-be_local_closure(Matter_Device_bridge_remove_endpoint, /* name */
- be_nested_proto(
- 11, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[16]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(json),
- /* K2 */ be_nested_str_weak(plugins_config),
- /* K3 */ be_nested_str_weak(contains),
- /* K4 */ be_nested_str_weak(tasmota),
- /* K5 */ be_nested_str_weak(log),
- /* K6 */ be_nested_str_weak(MTR_X3A_X20Cannot_X20remove_X20an_X20enpoint_X20not_X20configured_X3A_X20),
- /* K7 */ be_const_int(3),
- /* K8 */ be_nested_str_weak(remove),
- /* K9 */ be_nested_str_weak(plugins_persist),
- /* K10 */ be_nested_str_weak(save_param),
- /* K11 */ be_nested_str_weak(signal_endpoints_changed),
- /* K12 */ be_const_int(0),
- /* K13 */ be_nested_str_weak(plugins),
- /* K14 */ be_nested_str_weak(get_endpoint),
- /* K15 */ be_const_int(1),
- }),
- be_str_weak(bridge_remove_endpoint),
- &be_const_str_solidified,
- ( &(const binstruction[51]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0xA40E0200, // 0001 IMPORT R3 K1
- 0x60100008, // 0002 GETGBL R4 G8
- 0x5C140200, // 0003 MOVE R5 R1
- 0x7C100200, // 0004 CALL R4 1
- 0x4C140000, // 0005 LDNIL R5
- 0x4C180000, // 0006 LDNIL R6
- 0x881C0102, // 0007 GETMBR R7 R0 K2
- 0x8C1C0F03, // 0008 GETMET R7 R7 K3
- 0x5C240800, // 0009 MOVE R9 R4
- 0x7C1C0400, // 000A CALL R7 2
- 0x741E0005, // 000B JMPT R7 #0012
- 0xB81E0800, // 000C GETNGBL R7 K4
- 0x8C1C0F05, // 000D GETMET R7 R7 K5
- 0x00260C04, // 000E ADD R9 K6 R4
- 0x58280007, // 000F LDCONST R10 K7
- 0x7C1C0600, // 0010 CALL R7 3
- 0x80000E00, // 0011 RET 0
- 0x881C0102, // 0012 GETMBR R7 R0 K2
- 0x8C1C0F08, // 0013 GETMET R7 R7 K8
- 0x5C240800, // 0014 MOVE R9 R4
- 0x7C1C0400, // 0015 CALL R7 2
- 0x501C0200, // 0016 LDBOOL R7 1 0
- 0x90021207, // 0017 SETMBR R0 K9 R7
- 0x8C1C010A, // 0018 GETMET R7 R0 K10
- 0x7C1C0200, // 0019 CALL R7 1
- 0x8C1C010B, // 001A GETMET R7 R0 K11
- 0x7C1C0200, // 001B CALL R7 1
- 0x581C000C, // 001C LDCONST R7 K12
- 0x6020000C, // 001D GETGBL R8 G12
- 0x8824010D, // 001E GETMBR R9 R0 K13
- 0x7C200200, // 001F CALL R8 1
- 0x14200E08, // 0020 LT R8 R7 R8
- 0x7822000F, // 0021 JMPF R8 #0032
- 0x8820010D, // 0022 GETMBR R8 R0 K13
- 0x94201007, // 0023 GETIDX R8 R8 R7
- 0x8C20110E, // 0024 GETMET R8 R8 K14
- 0x7C200200, // 0025 CALL R8 1
- 0x1C200208, // 0026 EQ R8 R1 R8
- 0x78220007, // 0027 JMPF R8 #0030
- 0x8820010D, // 0028 GETMBR R8 R0 K13
- 0x8C201108, // 0029 GETMET R8 R8 K8
- 0x5C280E00, // 002A MOVE R10 R7
- 0x7C200400, // 002B CALL R8 2
- 0x8C20010B, // 002C GETMET R8 R0 K11
- 0x7C200200, // 002D CALL R8 1
- 0x70020002, // 002E JMP #0032
- 0x70020000, // 002F JMP #0031
- 0x001C0F0F, // 0030 ADD R7 R7 K15
- 0x7001FFEA, // 0031 JMP #001D
- 0x80000000, // 0032 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: msg_received
-********************************************************************/
-be_local_closure(Matter_Device_msg_received, /* name */
- be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: start_mdns_announce_hostnames
-********************************************************************/
-be_local_closure(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*[ 2]) {
- 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, /* no sub protos */
- 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, /* no sub protos */
- 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
- })
- ),
- }),
- 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: _start_udp
-********************************************************************/
-be_local_closure(Matter_Device__start_udp, /* name */
- be_nested_proto(
- 6, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 1]) {
- 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, /* no sub protos */
- 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
- })
- ),
- }),
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(udp_server),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(log),
- /* K3 */ be_nested_str_weak(MTR_X3A_X20starting_X20UDP_X20server_X20on_X20port_X3A_X20),
- /* K4 */ be_const_int(2),
- /* K5 */ be_nested_str_weak(matter),
- /* K6 */ be_nested_str_weak(UDPServer),
- /* K7 */ be_nested_str_weak(),
- /* K8 */ 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
- 0x8C080502, // 0008 GETMET R2 R2 K2
- 0x60100008, // 0009 GETGBL R4 G8
- 0x5C140200, // 000A MOVE R5 R1
- 0x7C100200, // 000B CALL R4 1
- 0x00120604, // 000C ADD R4 K3 R4
- 0x58140004, // 000D LDCONST R5 K4
- 0x7C080600, // 000E CALL R2 3
- 0xB80A0A00, // 000F GETNGBL R2 K5
- 0x8C080506, // 0010 GETMET R2 R2 K6
- 0x58100007, // 0011 LDCONST R4 K7
- 0x5C140200, // 0012 MOVE R5 R1
- 0x7C080600, // 0013 CALL R2 3
- 0x90020002, // 0014 SETMBR R0 K0 R2
- 0x88080100, // 0015 GETMBR R2 R0 K0
- 0x8C080508, // 0016 GETMET R2 R2 K8
- 0x84100000, // 0017 CLOSURE R4 P0
- 0x7C080400, // 0018 CALL R2 2
- 0xA0000000, // 0019 CLOSE R0
- 0x80000000, // 001A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: autoconf_device
-********************************************************************/
-be_local_closure(Matter_Device_autoconf_device, /* name */
- be_nested_proto(
- 7, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[16]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(json),
- /* K2 */ be_nested_str_weak(plugins),
- /* K3 */ be_const_int(0),
- /* K4 */ be_nested_str_weak(plugins_persist),
- /* K5 */ be_nested_str_weak(plugins_config),
- /* K6 */ be_nested_str_weak(autoconf_device_map),
- /* K7 */ be_nested_str_weak(adjust_next_ep),
- /* K8 */ be_nested_str_weak(tasmota),
- /* K9 */ be_nested_str_weak(log),
- /* K10 */ be_nested_str_weak(MTR_X3A_X20autoconfig_X20_X3D_X20),
- /* K11 */ be_const_int(3),
- /* K12 */ be_nested_str_weak(_instantiate_plugins_from_config),
- /* K13 */ be_nested_str_weak(sessions),
- /* K14 */ be_nested_str_weak(count_active_fabrics),
- /* K15 */ be_nested_str_weak(save_param),
- }),
- be_str_weak(autoconf_device),
- &be_const_str_solidified,
- ( &(const binstruction[38]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0x600C000C, // 0002 GETGBL R3 G12
- 0x88100102, // 0003 GETMBR R4 R0 K2
- 0x7C0C0200, // 0004 CALL R3 1
- 0x240C0703, // 0005 GT R3 R3 K3
- 0x780E0000, // 0006 JMPF R3 #0008
- 0x80000600, // 0007 RET 0
- 0x880C0104, // 0008 GETMBR R3 R0 K4
- 0x740E000C, // 0009 JMPT R3 #0017
- 0x8C0C0106, // 000A GETMET R3 R0 K6
- 0x7C0C0200, // 000B CALL R3 1
- 0x90020A03, // 000C SETMBR R0 K5 R3
- 0x8C0C0107, // 000D GETMET R3 R0 K7
- 0x7C0C0200, // 000E CALL R3 1
- 0xB80E1000, // 000F GETNGBL R3 K8
- 0x8C0C0709, // 0010 GETMET R3 R3 K9
- 0x60140008, // 0011 GETGBL R5 G8
- 0x88180105, // 0012 GETMBR R6 R0 K5
- 0x7C140200, // 0013 CALL R5 1
- 0x00161405, // 0014 ADD R5 K10 R5
- 0x5818000B, // 0015 LDCONST R6 K11
- 0x7C0C0600, // 0016 CALL R3 3
- 0x8C0C010C, // 0017 GETMET R3 R0 K12
- 0x88140105, // 0018 GETMBR R5 R0 K5
- 0x7C0C0400, // 0019 CALL R3 2
- 0x880C0104, // 001A GETMBR R3 R0 K4
- 0x740E0008, // 001B JMPT R3 #0025
- 0x880C010D, // 001C GETMBR R3 R0 K13
- 0x8C0C070E, // 001D GETMET R3 R3 K14
- 0x7C0C0200, // 001E CALL R3 1
- 0x240C0703, // 001F GT R3 R3 K3
- 0x780E0003, // 0020 JMPF R3 #0025
- 0x500C0200, // 0021 LDBOOL R3 1 0
- 0x90020803, // 0022 SETMBR R0 K4 R3
- 0x8C0C010F, // 0023 GETMET R3 R0 K15
- 0x7C0C0200, // 0024 CALL R3 1
- 0x80000000, // 0025 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: MtrJoin
-********************************************************************/
-be_local_closure(Matter_Device_MtrJoin, /* name */
- be_nested_proto(
- 8, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: mdns_remove_op_discovery
-********************************************************************/
-be_local_closure(Matter_Device_mdns_remove_op_discovery, /* name */
- be_nested_proto(
- 14, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[24]) { /* constants */
- /* K0 */ be_nested_str_weak(mdns),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(get_device_id),
- /* K3 */ be_nested_str_weak(copy),
- /* K4 */ be_nested_str_weak(reverse),
- /* K5 */ be_nested_str_weak(get_fabric_compressed),
- /* K6 */ be_nested_str_weak(tohex),
- /* K7 */ be_nested_str_weak(_X2D),
- /* K8 */ be_nested_str_weak(tasmota),
- /* K9 */ be_nested_str_weak(eth),
- /* K10 */ be_nested_str_weak(find),
- /* K11 */ be_nested_str_weak(up),
- /* K12 */ be_nested_str_weak(log),
- /* K13 */ be_nested_str_weak(format),
- /* K14 */ be_nested_str_weak(MTR_X3A_X20remove_X20mDNS_X20on_X20_X25s_X20_X27_X25s_X27),
- /* K15 */ be_const_int(2),
- /* K16 */ be_nested_str_weak(remove_service),
- /* K17 */ be_nested_str_weak(_matter),
- /* K18 */ be_nested_str_weak(_tcp),
- /* K19 */ be_nested_str_weak(hostname_eth),
- /* K20 */ be_nested_str_weak(wifi),
- /* K21 */ be_nested_str_weak(hostname_wifi),
- /* K22 */ be_nested_str_weak(MTR_X3A_X20Exception),
- /* K23 */ be_nested_str_weak(_X7C),
- }),
- be_str_weak(mdns_remove_op_discovery),
- &be_const_str_solidified,
- ( &(const binstruction[81]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0xA40E0200, // 0001 IMPORT R3 K1
- 0xA802003B, // 0002 EXBLK 0 #003F
- 0x8C100302, // 0003 GETMET R4 R1 K2
- 0x7C100200, // 0004 CALL R4 1
- 0x8C100903, // 0005 GETMET R4 R4 K3
- 0x7C100200, // 0006 CALL R4 1
- 0x8C100904, // 0007 GETMET R4 R4 K4
- 0x7C100200, // 0008 CALL R4 1
- 0x8C140305, // 0009 GETMET R5 R1 K5
- 0x7C140200, // 000A CALL R5 1
- 0x8C180B06, // 000B GETMET R6 R5 K6
- 0x7C180200, // 000C CALL R6 1
- 0x00180D07, // 000D ADD R6 R6 K7
- 0x8C1C0906, // 000E GETMET R7 R4 K6
- 0x7C1C0200, // 000F CALL R7 1
- 0x00180C07, // 0010 ADD R6 R6 R7
- 0xB81E1000, // 0011 GETNGBL R7 K8
- 0x8C1C0F09, // 0012 GETMET R7 R7 K9
- 0x7C1C0200, // 0013 CALL R7 1
- 0x8C1C0F0A, // 0014 GETMET R7 R7 K10
- 0x5824000B, // 0015 LDCONST R9 K11
- 0x7C1C0400, // 0016 CALL R7 2
- 0x781E000E, // 0017 JMPF R7 #0027
- 0xB81E1000, // 0018 GETNGBL R7 K8
- 0x8C1C0F0C, // 0019 GETMET R7 R7 K12
- 0x8C24070D, // 001A GETMET R9 R3 K13
- 0x582C000E, // 001B LDCONST R11 K14
- 0x58300009, // 001C LDCONST R12 K9
- 0x5C340C00, // 001D MOVE R13 R6
- 0x7C240800, // 001E CALL R9 4
- 0x5828000F, // 001F LDCONST R10 K15
- 0x7C1C0600, // 0020 CALL R7 3
- 0x8C1C0510, // 0021 GETMET R7 R2 K16
- 0x58240011, // 0022 LDCONST R9 K17
- 0x58280012, // 0023 LDCONST R10 K18
- 0x5C2C0C00, // 0024 MOVE R11 R6
- 0x88300113, // 0025 GETMBR R12 R0 K19
- 0x7C1C0A00, // 0026 CALL R7 5
- 0xB81E1000, // 0027 GETNGBL R7 K8
- 0x8C1C0F14, // 0028 GETMET R7 R7 K20
- 0x7C1C0200, // 0029 CALL R7 1
- 0x8C1C0F0A, // 002A GETMET R7 R7 K10
- 0x5824000B, // 002B LDCONST R9 K11
- 0x7C1C0400, // 002C CALL R7 2
- 0x781E000E, // 002D JMPF R7 #003D
- 0xB81E1000, // 002E GETNGBL R7 K8
- 0x8C1C0F0C, // 002F GETMET R7 R7 K12
- 0x8C24070D, // 0030 GETMET R9 R3 K13
- 0x582C000E, // 0031 LDCONST R11 K14
- 0x58300014, // 0032 LDCONST R12 K20
- 0x5C340C00, // 0033 MOVE R13 R6
- 0x7C240800, // 0034 CALL R9 4
- 0x5828000F, // 0035 LDCONST R10 K15
- 0x7C1C0600, // 0036 CALL R7 3
- 0x8C1C0510, // 0037 GETMET R7 R2 K16
- 0x58240011, // 0038 LDCONST R9 K17
- 0x58280012, // 0039 LDCONST R10 K18
- 0x5C2C0C00, // 003A MOVE R11 R6
- 0x88300115, // 003B GETMBR R12 R0 K21
- 0x7C1C0A00, // 003C CALL R7 5
- 0xA8040001, // 003D EXBLK 1 1
- 0x70020010, // 003E JMP #0050
- 0xAC100002, // 003F CATCH R4 0 2
- 0x7002000D, // 0040 JMP #004F
- 0xB81A1000, // 0041 GETNGBL R6 K8
- 0x8C180D0C, // 0042 GETMET R6 R6 K12
- 0x60200008, // 0043 GETGBL R8 G8
- 0x5C240800, // 0044 MOVE R9 R4
- 0x7C200200, // 0045 CALL R8 1
- 0x00222C08, // 0046 ADD R8 K22 R8
- 0x00201117, // 0047 ADD R8 R8 K23
- 0x60240008, // 0048 GETGBL R9 G8
- 0x5C280A00, // 0049 MOVE R10 R5
- 0x7C240200, // 004A CALL R9 1
- 0x00201009, // 004B ADD R8 R8 R9
- 0x5824000F, // 004C LDCONST R9 K15
- 0x7C180600, // 004D CALL R6 3
- 0x70020000, // 004E JMP #0050
- 0xB0080000, // 004F RAISE 2 R0 R0
- 0x80000000, // 0050 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: start_operational_discovery
-********************************************************************/
-be_local_closure(Matter_Device_start_operational_discovery, /* name */
- be_nested_proto(
- 8, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 7]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(mdns),
- /* K2 */ be_nested_str_weak(string),
- /* K3 */ be_nested_str_weak(stop_basic_commissioning),
- /* K4 */ be_nested_str_weak(root_w0),
- /* K5 */ be_nested_str_weak(root_L),
- /* K6 */ be_nested_str_weak(mdns_announce_op_discovery),
- }),
- be_str_weak(start_operational_discovery),
- &be_const_str_solidified,
- ( &(const binstruction[13]) { /* code */
- 0xA40A0000, // 0000 IMPORT R2 K0
- 0xA40E0200, // 0001 IMPORT R3 K1
- 0xA4120400, // 0002 IMPORT R4 K2
- 0x8C140103, // 0003 GETMET R5 R0 K3
- 0x7C140200, // 0004 CALL R5 1
- 0x4C140000, // 0005 LDNIL R5
- 0x90020805, // 0006 SETMBR R0 K4 R5
- 0x4C140000, // 0007 LDNIL R5
- 0x90020A05, // 0008 SETMBR R0 K5 R5
- 0x8C140106, // 0009 GETMET R5 R0 K6
- 0x5C1C0200, // 000A MOVE R7 R1
- 0x7C140400, // 000B CALL R5 2
- 0x80000000, // 000C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: save_param
-********************************************************************/
-be_local_closure(Matter_Device_save_param, /* name */
- be_nested_proto(
- 11, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[27]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(json),
- /* K2 */ be_nested_str_weak(format),
- /* K3 */ be_nested_str_weak(_X7B_X22distinguish_X22_X3A_X25i_X2C_X22passcode_X22_X3A_X25i_X2C_X22ipv4only_X22_X3A_X25s_X2C_X22nextep_X22_X3A_X25i),
- /* K4 */ be_nested_str_weak(root_discriminator),
- /* K5 */ be_nested_str_weak(root_passcode),
- /* K6 */ be_nested_str_weak(ipv4only),
- /* K7 */ be_nested_str_weak(true),
- /* K8 */ be_nested_str_weak(false),
- /* K9 */ be_nested_str_weak(next_ep),
- /* K10 */ be_nested_str_weak(plugins_persist),
- /* K11 */ be_nested_str_weak(_X2C_X22config_X22_X3A),
- /* K12 */ be_nested_str_weak(dump),
- /* K13 */ be_nested_str_weak(plugins_config),
- /* K14 */ be_nested_str_weak(_X7D),
- /* K15 */ be_nested_str_weak(FILENAME),
- /* K16 */ be_nested_str_weak(w),
- /* K17 */ be_nested_str_weak(write),
- /* K18 */ be_nested_str_weak(close),
- /* K19 */ be_nested_str_weak(tasmota),
- /* K20 */ be_nested_str_weak(log),
- /* K21 */ be_nested_str_weak(MTR_X3A_X20_X3DSaved_X20_X20_X20_X20_X20parameters_X25s),
- /* K22 */ be_nested_str_weak(_X20and_X20configuration),
- /* K23 */ be_nested_str_weak(),
- /* K24 */ be_const_int(2),
- /* K25 */ be_nested_str_weak(MTR_X3A_X20Session_Store_X3A_X3Asave_X20Exception_X3A),
- /* K26 */ be_nested_str_weak(_X7C),
- }),
- be_str_weak(save_param),
- &be_const_str_solidified,
- ( &(const binstruction[66]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0x8C0C0302, // 0002 GETMET R3 R1 K2
- 0x58140003, // 0003 LDCONST R5 K3
- 0x88180104, // 0004 GETMBR R6 R0 K4
- 0x881C0105, // 0005 GETMBR R7 R0 K5
- 0x88200106, // 0006 GETMBR R8 R0 K6
- 0x78220001, // 0007 JMPF R8 #000A
- 0x58200007, // 0008 LDCONST R8 K7
- 0x70020000, // 0009 JMP #000B
- 0x58200008, // 000A LDCONST R8 K8
- 0x88240109, // 000B GETMBR R9 R0 K9
- 0x7C0C0C00, // 000C CALL R3 6
- 0x8810010A, // 000D GETMBR R4 R0 K10
- 0x78120004, // 000E JMPF R4 #0014
- 0x000C070B, // 000F ADD R3 R3 K11
- 0x8C10050C, // 0010 GETMET R4 R2 K12
- 0x8818010D, // 0011 GETMBR R6 R0 K13
- 0x7C100400, // 0012 CALL R4 2
- 0x000C0604, // 0013 ADD R3 R3 R4
- 0x000C070E, // 0014 ADD R3 R3 K14
- 0xA8020018, // 0015 EXBLK 0 #002F
- 0x60100011, // 0016 GETGBL R4 G17
- 0x8814010F, // 0017 GETMBR R5 R0 K15
- 0x58180010, // 0018 LDCONST R6 K16
- 0x7C100400, // 0019 CALL R4 2
- 0x8C140911, // 001A GETMET R5 R4 K17
- 0x5C1C0600, // 001B MOVE R7 R3
- 0x7C140400, // 001C CALL R5 2
- 0x8C140912, // 001D GETMET R5 R4 K18
- 0x7C140200, // 001E CALL R5 1
- 0xB8162600, // 001F GETNGBL R5 K19
- 0x8C140B14, // 0020 GETMET R5 R5 K20
- 0x8C1C0302, // 0021 GETMET R7 R1 K2
- 0x58240015, // 0022 LDCONST R9 K21
- 0x8828010A, // 0023 GETMBR R10 R0 K10
- 0x782A0001, // 0024 JMPF R10 #0027
- 0x58280016, // 0025 LDCONST R10 K22
- 0x70020000, // 0026 JMP #0028
- 0x58280017, // 0027 LDCONST R10 K23
- 0x7C1C0600, // 0028 CALL R7 3
- 0x58200018, // 0029 LDCONST R8 K24
- 0x7C140600, // 002A CALL R5 3
- 0xA8040001, // 002B EXBLK 1 1
- 0x80040600, // 002C RET 1 R3
- 0xA8040001, // 002D EXBLK 1 1
- 0x70020011, // 002E JMP #0041
- 0xAC100002, // 002F CATCH R4 0 2
- 0x7002000E, // 0030 JMP #0040
- 0xB81A2600, // 0031 GETNGBL R6 K19
- 0x8C180D14, // 0032 GETMET R6 R6 K20
- 0x60200008, // 0033 GETGBL R8 G8
- 0x5C240800, // 0034 MOVE R9 R4
- 0x7C200200, // 0035 CALL R8 1
- 0x00223208, // 0036 ADD R8 K25 R8
- 0x0020111A, // 0037 ADD R8 R8 K26
- 0x60240008, // 0038 GETGBL R9 G8
- 0x5C280A00, // 0039 MOVE R10 R5
- 0x7C240200, // 003A CALL R9 1
- 0x00201009, // 003B ADD R8 R8 R9
- 0x58240018, // 003C LDCONST R9 K24
- 0x7C180600, // 003D CALL R6 3
- 0x80040600, // 003E RET 1 R3
- 0x70020000, // 003F JMP #0041
- 0xB0080000, // 0040 RAISE 2 R0 R0
- 0x80000000, // 0041 RET 0
+ 0x80040200, // 0003 RET 1 R1
})
)
);
@@ -5367,22 +5568,103 @@ be_local_closure(Matter_Device_save_param, /* name */
be_local_class(Matter_Device,
34,
NULL,
- be_nested_map(100,
+ be_nested_map(103,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Device_every_250ms_closure) },
+ { be_const_key_weak(get_plugin_class_arg, -1), be_const_closure(Matter_Device_get_plugin_class_arg_closure) },
+ { be_const_key_weak(mdns_remove_op_discovery_all_fabrics, -1), be_const_closure(Matter_Device_mdns_remove_op_discovery_all_fabrics_closure) },
+ { be_const_key_weak(_start_udp, -1), be_const_closure(Matter_Device__start_udp_closure) },
+ { be_const_key_weak(find_plugin_by_endpoint, -1), be_const_closure(Matter_Device_find_plugin_by_endpoint_closure) },
+ { be_const_key_weak(get_active_endpoints, 97), be_const_closure(Matter_Device_get_active_endpoints_closure) },
+ { be_const_key_weak(is_root_commissioning_open, 102), be_const_closure(Matter_Device_is_root_commissioning_open_closure) },
+ { be_const_key_weak(hostname_wifi, 95), be_const_var(19) },
+ { be_const_key_weak(register_commands, 9), be_const_closure(Matter_Device_register_commands_closure) },
+ { be_const_key_weak(commissioning_open, 70), be_const_var(10) },
+ { be_const_key_weak(vendorid, 57), be_const_var(21) },
+ { be_const_key_weak(mdns_remove_PASE, -1), be_const_closure(Matter_Device_mdns_remove_PASE_closure) },
+ { be_const_key_weak(is_commissioning_open, -1), be_const_closure(Matter_Device_is_commissioning_open_closure) },
+ { be_const_key_weak(adjust_next_ep, 98), be_const_closure(Matter_Device_adjust_next_ep_closure) },
+ { be_const_key_weak(root_L, -1), be_const_var(33) },
+ { be_const_key_weak(autoconf_device_map, -1), be_const_closure(Matter_Device_autoconf_device_map_closure) },
+ { be_const_key_weak(autoconf_device, 18), be_const_closure(Matter_Device_autoconf_device_closure) },
+ { be_const_key_weak(commissioning_discriminator, -1), be_const_var(12) },
+ { be_const_key_weak(tick, 45), be_const_var(9) },
+ { be_const_key_weak(productid, 26), be_const_var(22) },
+ { be_const_key_weak(start_commissioning_complete, 88), be_const_closure(Matter_Device_start_commissioning_complete_closure) },
+ { be_const_key_weak(start_mdns_announce_hostnames, -1), be_const_closure(Matter_Device_start_mdns_announce_hostnames_closure) },
+ { be_const_key_weak(commissioning_iterations, -1), be_const_var(11) },
+ { be_const_key_weak(save_before_restart, 58), be_const_closure(Matter_Device_save_before_restart_closure) },
+ { be_const_key_weak(plugins_persist, 40), be_const_var(2) },
+ { be_const_key_weak(start_operational_discovery_deferred, -1), be_const_closure(Matter_Device_start_operational_discovery_deferred_closure) },
+ { be_const_key_weak(start_commissioning_complete_deferred, -1), be_const_closure(Matter_Device_start_commissioning_complete_deferred_closure) },
+ { be_const_key_weak(plugins_classes, 55), be_const_var(3) },
+ { be_const_key_weak(start, -1), be_const_closure(Matter_Device_start_closure) },
+ { be_const_key_weak(init, -1), be_const_closure(Matter_Device_init_closure) },
+ { be_const_key_weak(register_native_classes, -1), be_const_closure(Matter_Device_register_native_classes_closure) },
+ { be_const_key_weak(root_salt, -1), be_const_var(31) },
+ { be_const_key_weak(FILENAME, -1), be_nested_str_weak(_matter_device_X2Ejson) },
+ { be_const_key_weak(clean_remotes, -1), be_const_closure(Matter_Device_clean_remotes_closure) },
+ { be_const_key_weak(mdns_announce_op_discovery_all_fabrics, -1), be_const_closure(Matter_Device_mdns_announce_op_discovery_all_fabrics_closure) },
+ { be_const_key_weak(signal_endpoints_changed, -1), be_const_closure(Matter_Device_signal_endpoints_changed_closure) },
+ { be_const_key_weak(get_plugin_class_displayname, -1), be_const_closure(Matter_Device_get_plugin_class_displayname_closure) },
+ { be_const_key_weak(msg_received, 53), be_const_closure(Matter_Device_msg_received_closure) },
+ { be_const_key_weak(generate_random_passcode, -1), be_const_closure(Matter_Device_generate_random_passcode_closure) },
+ { be_const_key_weak(MtrJoin, 30), be_const_closure(Matter_Device_MtrJoin_closure) },
+ { be_const_key_weak(remove_fabric, 25), be_const_closure(Matter_Device_remove_fabric_closure) },
+ { be_const_key_weak(every_second, -1), be_const_closure(Matter_Device_every_second_closure) },
+ { be_const_key_weak(PASE_TIMEOUT, 85), be_const_int(600) },
+ { be_const_key_weak(process_attribute_expansion, -1), be_const_closure(Matter_Device_process_attribute_expansion_closure) },
+ { be_const_key_weak(http_remotes, 36), be_const_var(25) },
+ { be_const_key_weak(hostname_eth, -1), be_const_var(20) },
+ { be_const_key_weak(root_discriminator, 89), be_const_var(26) },
+ { be_const_key_weak(register_http_remote, 93), be_const_closure(Matter_Device_register_http_remote_closure) },
+ { be_const_key_weak(mdns_announce_PASE, -1), be_const_closure(Matter_Device_mdns_announce_PASE_closure) },
+ { be_const_key_weak(commissioning_admin_fabric, -1), be_const_var(16) },
+ { be_const_key_weak(event_fabrics_saved, -1), be_const_closure(Matter_Device_event_fabrics_saved_closure) },
+ { be_const_key_weak(_init_basic_commissioning, 61), be_const_closure(Matter_Device__init_basic_commissioning_closure) },
+ { be_const_key_weak(invoke_request, 92), be_const_closure(Matter_Device_invoke_request_closure) },
+ { be_const_key_weak(_compute_pbkdf, -1), be_const_closure(Matter_Device__compute_pbkdf_closure) },
+ { be_const_key_weak(sessions, -1), be_const_var(7) },
+ { be_const_key_weak(root_iterations, -1), be_const_var(30) },
+ { be_const_key_weak(load_param, -1), be_const_closure(Matter_Device_load_param_closure) },
+ { be_const_key_weak(start_basic_commissioning, -1), be_const_closure(Matter_Device_start_basic_commissioning_closure) },
+ { be_const_key_weak(start_root_basic_commissioning, -1), be_const_closure(Matter_Device_start_root_basic_commissioning_closure) },
+ { be_const_key_weak(plugins, 13), be_const_var(1) },
+ { be_const_key_weak(k2l, 52), be_const_static_closure(Matter_Device_k2l_closure) },
+ { be_const_key_weak(autoconf_sensors_list, -1), be_const_closure(Matter_Device_autoconf_sensors_list_closure) },
+ { be_const_key_weak(mdns_announce_op_discovery, -1), be_const_closure(Matter_Device_mdns_announce_op_discovery_closure) },
+ { be_const_key_weak(next_ep, -1), be_const_var(29) },
+ { be_const_key_weak(plugins_config, 27), be_const_var(4) },
+ { be_const_key_weak(sort_distinct, 84), be_const_static_closure(Matter_Device_sort_distinct_closure) },
+ { be_const_key_weak(PRODUCT_ID, 83), be_const_int(32768) },
+ { be_const_key_weak(save_param, 67), be_const_closure(Matter_Device_save_param_closure) },
+ { be_const_key_weak(PBKDF_ITERATIONS, -1), be_const_int(1000) },
+ { be_const_key_weak(k2l_num, -1), be_const_static_closure(Matter_Device_k2l_num_closure) },
+ { be_const_key_weak(_instantiate_plugins_from_config, 81), be_const_closure(Matter_Device__instantiate_plugins_from_config_closure) },
{ be_const_key_weak(VENDOR_ID, -1), be_const_int(65521) },
- { be_const_key_weak(commissioning_w0, -1), be_const_var(14) },
- { be_const_key_weak(register_commands, -1), be_const_closure(Matter_Device_register_commands_closure) },
- { be_const_key_weak(tick, -1), be_const_var(9) },
+ { be_const_key_weak(start_operational_discovery, 28), be_const_closure(Matter_Device_start_operational_discovery_closure) },
{ be_const_key_weak(root_w0, -1), be_const_var(32) },
{ be_const_key_weak(started, -1), be_const_var(0) },
- { be_const_key_weak(_trigger_read_sensors, 92), be_const_closure(Matter_Device__trigger_read_sensors_closure) },
- { be_const_key_weak(every_50ms, -1), be_const_closure(Matter_Device_every_50ms_closure) },
- { be_const_key_weak(save_param, 41), be_const_closure(Matter_Device_save_param_closure) },
+ { be_const_key_weak(stop_basic_commissioning, -1), be_const_closure(Matter_Device_stop_basic_commissioning_closure) },
+ { be_const_key_weak(commissioning_L, -1), be_const_var(15) },
+ { be_const_key_weak(bridge_add_endpoint, -1), be_const_closure(Matter_Device_bridge_add_endpoint_closure) },
+ { be_const_key_weak(compute_qrcode_content, 72), be_const_closure(Matter_Device_compute_qrcode_content_closure) },
+ { be_const_key_weak(UDP_PORT, -1), be_const_int(5540) },
+ { be_const_key_weak(udp_server, -1), be_const_var(5) },
+ { be_const_key_weak(root_passcode, -1), be_const_var(27) },
{ be_const_key_weak(compute_manual_pairing_code, -1), be_const_closure(Matter_Device_compute_manual_pairing_code_closure) },
- { be_const_key_weak(start, 51), be_const_closure(Matter_Device_start_closure) },
- { be_const_key_weak(k2l, -1), be_const_static_closure(Matter_Device_k2l_closure) },
- { be_const_key_weak(PASSCODE_INVALID, 76), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
+ { be_const_key_weak(commissioning_instance_eth, -1), be_const_var(18) },
+ { be_const_key_weak(_trigger_read_sensors, 29), be_const_closure(Matter_Device__trigger_read_sensors_closure) },
+ { be_const_key_weak(bridge_remove_endpoint, -1), be_const_closure(Matter_Device_bridge_remove_endpoint_closure) },
+ { be_const_key_weak(stop, -1), be_const_closure(Matter_Device_stop_closure) },
+ { be_const_key_weak(msg_send, -1), be_const_closure(Matter_Device_msg_send_closure) },
+ { be_const_key_weak(received_ack, -1), be_const_closure(Matter_Device_received_ack_closure) },
+ { be_const_key_weak(commissioning_salt, -1), be_const_var(13) },
+ { be_const_key_weak(ui, -1), be_const_var(8) },
+ { be_const_key_weak(message_handler, -1), be_const_var(6) },
+ { be_const_key_weak(mdns_pase_wifi, -1), be_const_var(24) },
+ { be_const_key_weak(_mdns_announce_hostname, -1), be_const_closure(Matter_Device__mdns_announce_hostname_closure) },
+ { be_const_key_weak(mdns_pase_eth, -1), be_const_var(23) },
+ { be_const_key_weak(PASSCODE_INVALID, 15), 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),
@@ -5398,92 +5680,14 @@ be_local_class(Matter_Device,
be_const_int(12345678),
be_const_int(87654321),
})) ) } )) },
- { be_const_key_weak(is_commissioning_open, -1), be_const_closure(Matter_Device_is_commissioning_open_closure) },
- { be_const_key_weak(commissioning_discriminator, -1), be_const_var(12) },
- { be_const_key_weak(next_ep, -1), be_const_var(29) },
- { be_const_key_weak(register_plugin_class, 43), be_const_closure(Matter_Device_register_plugin_class_closure) },
- { be_const_key_weak(start_basic_commissioning, 96), be_const_closure(Matter_Device_start_basic_commissioning_closure) },
- { be_const_key_weak(load_param, -1), be_const_closure(Matter_Device_load_param_closure) },
- { be_const_key_weak(ipv4only, -1), be_const_var(28) },
- { be_const_key_weak(generate_random_passcode, 25), be_const_closure(Matter_Device_generate_random_passcode_closure) },
- { be_const_key_weak(commissioning_instance_eth, 26), be_const_var(18) },
- { be_const_key_weak(process_attribute_expansion, -1), be_const_closure(Matter_Device_process_attribute_expansion_closure) },
- { be_const_key_weak(received_ack, 48), be_const_closure(Matter_Device_received_ack_closure) },
- { be_const_key_weak(_instantiate_plugins_from_config, -1), be_const_closure(Matter_Device__instantiate_plugins_from_config_closure) },
- { be_const_key_weak(vendorid, 68), be_const_var(21) },
- { be_const_key_weak(mdns_announce_PASE, -1), be_const_closure(Matter_Device_mdns_announce_PASE_closure) },
- { be_const_key_weak(sessions, -1), be_const_var(7) },
- { be_const_key_weak(commissioning_open, 81), be_const_var(10) },
{ be_const_key_weak(mdns_remove_op_discovery, -1), be_const_closure(Matter_Device_mdns_remove_op_discovery_closure) },
- { be_const_key_weak(k2l_num, -1), be_const_static_closure(Matter_Device_k2l_num_closure) },
- { be_const_key_weak(get_plugin_class_arg, 3), be_const_closure(Matter_Device_get_plugin_class_arg_closure) },
- { be_const_key_weak(http_remotes, -1), be_const_var(25) },
- { be_const_key_weak(autoconf_device, -1), be_const_closure(Matter_Device_autoconf_device_closure) },
- { be_const_key_weak(start_commissioning_complete, -1), be_const_closure(Matter_Device_start_commissioning_complete_closure) },
- { be_const_key_weak(plugins_persist, -1), be_const_var(2) },
- { be_const_key_weak(register_native_classes, -1), be_const_closure(Matter_Device_register_native_classes_closure) },
- { be_const_key_weak(save_before_restart, -1), be_const_closure(Matter_Device_save_before_restart_closure) },
- { be_const_key_weak(message_handler, -1), be_const_var(6) },
- { be_const_key_weak(commissioning_admin_fabric, -1), be_const_var(16) },
- { be_const_key_weak(_start_udp, -1), be_const_closure(Matter_Device__start_udp_closure) },
- { be_const_key_weak(root_passcode, -1), be_const_var(27) },
- { be_const_key_weak(stop, -1), be_const_closure(Matter_Device_stop_closure) },
- { be_const_key_weak(hostname_eth, -1), be_const_var(20) },
- { be_const_key_weak(root_salt, 90), be_const_var(31) },
- { be_const_key_weak(PASE_TIMEOUT, -1), be_const_int(600) },
- { be_const_key_weak(bridge_remove_endpoint, 52), be_const_closure(Matter_Device_bridge_remove_endpoint_closure) },
- { be_const_key_weak(stop_basic_commissioning, 91), be_const_closure(Matter_Device_stop_basic_commissioning_closure) },
- { be_const_key_weak(start_commissioning_complete_deferred, -1), be_const_closure(Matter_Device_start_commissioning_complete_deferred_closure) },
- { be_const_key_weak(mdns_remove_PASE, -1), be_const_closure(Matter_Device_mdns_remove_PASE_closure) },
- { be_const_key_weak(is_root_commissioning_open, 32), be_const_closure(Matter_Device_is_root_commissioning_open_closure) },
- { be_const_key_weak(get_active_endpoints, 53), be_const_closure(Matter_Device_get_active_endpoints_closure) },
- { be_const_key_weak(remove_fabric, -1), be_const_closure(Matter_Device_remove_fabric_closure) },
- { be_const_key_weak(sort_distinct, -1), be_const_static_closure(Matter_Device_sort_distinct_closure) },
- { be_const_key_weak(init, 64), be_const_closure(Matter_Device_init_closure) },
- { be_const_key_weak(hostname_wifi, -1), be_const_var(19) },
- { be_const_key_weak(commissioning_iterations, 84), be_const_var(11) },
- { be_const_key_weak(root_L, -1), be_const_var(33) },
- { be_const_key_weak(commissioning_L, -1), be_const_var(15) },
- { be_const_key_weak(register_http_remote, 83), be_const_closure(Matter_Device_register_http_remote_closure) },
- { be_const_key_weak(productid, -1), be_const_var(22) },
- { be_const_key_weak(event_fabrics_saved, -1), be_const_closure(Matter_Device_event_fabrics_saved_closure) },
- { be_const_key_weak(get_plugin_class_displayname, -1), be_const_closure(Matter_Device_get_plugin_class_displayname_closure) },
- { be_const_key_weak(mdns_pase_eth, 49), be_const_var(23) },
- { be_const_key_weak(mdns_pase_wifi, 73), be_const_var(24) },
- { be_const_key_weak(commissioning_instance_wifi, 63), be_const_var(17) },
- { be_const_key_weak(compute_qrcode_content, -1), be_const_closure(Matter_Device_compute_qrcode_content_closure) },
- { be_const_key_weak(mdns_announce_op_discovery, 45), be_const_closure(Matter_Device_mdns_announce_op_discovery_closure) },
- { be_const_key_weak(_compute_pbkdf, -1), be_const_closure(Matter_Device__compute_pbkdf_closure) },
- { be_const_key_weak(udp_server, 77), be_const_var(5) },
- { be_const_key_weak(plugins, -1), be_const_var(1) },
- { be_const_key_weak(FILENAME, -1), be_nested_str_weak(_matter_device_X2Ejson) },
- { be_const_key_weak(every_second, -1), be_const_closure(Matter_Device_every_second_closure) },
- { be_const_key_weak(adjust_next_ep, -1), be_const_closure(Matter_Device_adjust_next_ep_closure) },
+ { be_const_key_weak(every_50ms, 20), be_const_closure(Matter_Device_every_50ms_closure) },
+ { be_const_key_weak(register_plugin_class, -1), be_const_closure(Matter_Device_register_plugin_class_closure) },
+ { be_const_key_weak(commissioning_w0, -1), be_const_var(14) },
+ { be_const_key_weak(commissioning_instance_wifi, 14), be_const_var(17) },
{ be_const_key_weak(attribute_updated, -1), be_const_closure(Matter_Device_attribute_updated_closure) },
- { be_const_key_weak(msg_send, -1), be_const_closure(Matter_Device_msg_send_closure) },
- { be_const_key_weak(mdns_remove_op_discovery_all_fabrics, -1), be_const_closure(Matter_Device_mdns_remove_op_discovery_all_fabrics_closure) },
- { be_const_key_weak(plugins_config, 42), be_const_var(4) },
- { be_const_key_weak(mdns_announce_op_discovery_all_fabrics, 34), be_const_closure(Matter_Device_mdns_announce_op_discovery_all_fabrics_closure) },
- { be_const_key_weak(plugins_classes, -1), be_const_var(3) },
- { be_const_key_weak(_init_basic_commissioning, 69), be_const_closure(Matter_Device__init_basic_commissioning_closure) },
- { be_const_key_weak(autoconf_device_map, -1), be_const_closure(Matter_Device_autoconf_device_map_closure) },
- { be_const_key_weak(bridge_add_endpoint, -1), be_const_closure(Matter_Device_bridge_add_endpoint_closure) },
- { be_const_key_weak(start_operational_discovery_deferred, -1), be_const_closure(Matter_Device_start_operational_discovery_deferred_closure) },
- { be_const_key_weak(start_root_basic_commissioning, -1), be_const_closure(Matter_Device_start_root_basic_commissioning_closure) },
- { be_const_key_weak(root_iterations, -1), be_const_var(30) },
- { be_const_key_weak(invoke_request, 47), be_const_closure(Matter_Device_invoke_request_closure) },
- { be_const_key_weak(msg_received, -1), be_const_closure(Matter_Device_msg_received_closure) },
- { be_const_key_weak(start_mdns_announce_hostnames, -1), be_const_closure(Matter_Device_start_mdns_announce_hostnames_closure) },
- { be_const_key_weak(root_discriminator, 54), be_const_var(26) },
- { be_const_key_weak(PRODUCT_ID, -1), be_const_int(32768) },
- { be_const_key_weak(ui, -1), be_const_var(8) },
- { be_const_key_weak(commissioning_salt, 33), be_const_var(13) },
- { be_const_key_weak(MtrJoin, -1), be_const_closure(Matter_Device_MtrJoin_closure) },
- { be_const_key_weak(signal_endpoints_changed, 30), be_const_closure(Matter_Device_signal_endpoints_changed_closure) },
- { be_const_key_weak(_mdns_announce_hostname, -1), be_const_closure(Matter_Device__mdns_announce_hostname_closure) },
- { be_const_key_weak(start_operational_discovery, -1), be_const_closure(Matter_Device_start_operational_discovery_closure) },
- { be_const_key_weak(UDP_PORT, 9), be_const_int(5540) },
- { be_const_key_weak(PBKDF_ITERATIONS, -1), be_const_int(1000) },
+ { be_const_key_weak(ipv4only, 11), be_const_var(28) },
+ { be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Device_every_250ms_closure) },
})),
be_str_weak(Matter_Device)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin.h
index 505b03178..135f1d210 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin.h
@@ -6,77 +6,6 @@
extern const bclass be_class_Matter_Plugin;
-/********************************************************************
-** Solidified function: read_event
-********************************************************************/
-be_local_closure(Matter_Plugin_read_event, /* name */
- be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: get_cluster_list
-********************************************************************/
-be_local_closure(Matter_Plugin_get_cluster_list, /* name */
- be_nested_proto(
- 8, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(clusters),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(push),
- /* K3 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(get_cluster_list),
- &be_const_str_solidified,
- ( &(const binstruction[18]) { /* code */
- 0x60080012, // 0000 GETGBL R2 G18
- 0x7C080000, // 0001 CALL R2 0
- 0x600C0010, // 0002 GETGBL R3 G16
- 0x88100100, // 0003 GETMBR R4 R0 K0
- 0x8C100901, // 0004 GETMET R4 R4 K1
- 0x7C100200, // 0005 CALL R4 1
- 0x7C0C0200, // 0006 CALL R3 1
- 0xA8020005, // 0007 EXBLK 0 #000E
- 0x5C100600, // 0008 MOVE R4 R3
- 0x7C100000, // 0009 CALL R4 0
- 0x8C140502, // 000A GETMET R5 R2 K2
- 0x5C1C0800, // 000B MOVE R7 R4
- 0x7C140400, // 000C CALL R5 2
- 0x7001FFF9, // 000D JMP #0008
- 0x580C0003, // 000E LDCONST R3 K3
- 0xAC0C0200, // 000F CATCH R3 1 0
- 0xB0080000, // 0010 RAISE 2 R0 R0
- 0x80040400, // 0011 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: get_endpoint
********************************************************************/
@@ -104,375 +33,6 @@ be_local_closure(Matter_Plugin_get_endpoint, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: parse_sensors
-********************************************************************/
-be_local_closure(Matter_Plugin_parse_sensors, /* name */
- be_nested_proto(
- 2, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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:
-********************************************************************/
-be_local_closure(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, /* no sub protos */
- 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: update_shadow_lazy
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: subscribe_event
-********************************************************************/
-be_local_closure(Matter_Plugin_subscribe_event, /* name */
- be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(subscribe_event),
- &be_const_str_solidified,
- ( &(const binstruction[ 2]) { /* code */
- 0x4C140000, // 0000 LDNIL R5
- 0x80040A00, // 0001 RET 1 R5
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: every_250ms
-********************************************************************/
-be_local_closure(Matter_Plugin_every_250ms, /* name */
- be_nested_proto(
- 4, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[10]) { /* constants */
- /* K0 */ be_nested_str_weak(update_next),
- /* K1 */ be_nested_str_weak(matter),
- /* K2 */ be_nested_str_weak(jitter),
- /* K3 */ be_nested_str_weak(UPDATE_TIME),
- /* K4 */ be_nested_str_weak(tasmota),
- /* K5 */ be_nested_str_weak(time_reached),
- /* K6 */ be_nested_str_weak(tick),
- /* K7 */ be_nested_str_weak(device),
- /* K8 */ be_nested_str_weak(update_shadow),
- /* K9 */ be_nested_str_weak(millis),
- }),
- be_str_weak(every_250ms),
- &be_const_str_solidified,
- ( &(const binstruction[28]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x4C080000, // 0001 LDNIL R2
- 0x1C040202, // 0002 EQ R1 R1 R2
- 0x78060005, // 0003 JMPF R1 #000A
- 0xB8060200, // 0004 GETNGBL R1 K1
- 0x8C040302, // 0005 GETMET R1 R1 K2
- 0x880C0103, // 0006 GETMBR R3 R0 K3
- 0x7C040400, // 0007 CALL R1 2
- 0x90020001, // 0008 SETMBR R0 K0 R1
- 0x70020010, // 0009 JMP #001B
- 0xB8060800, // 000A GETNGBL R1 K4
- 0x8C040305, // 000B GETMET R1 R1 K5
- 0x880C0100, // 000C GETMBR R3 R0 K0
- 0x7C040400, // 000D CALL R1 2
- 0x7806000B, // 000E JMPF R1 #001B
- 0x88040106, // 000F GETMBR R1 R0 K6
- 0x88080107, // 0010 GETMBR R2 R0 K7
- 0x88080506, // 0011 GETMBR R2 R2 K6
- 0x20040202, // 0012 NE R1 R1 R2
- 0x78060001, // 0013 JMPF R1 #0016
- 0x8C040108, // 0014 GETMET R1 R0 K8
- 0x7C040200, // 0015 CALL R1 1
- 0xB8060800, // 0016 GETNGBL R1 K4
- 0x8C040309, // 0017 GETMET R1 R1 K9
- 0x880C0103, // 0018 GETMBR R3 R0 K3
- 0x7C040400, // 0019 CALL R1 2
- 0x90020001, // 001A SETMBR R0 K0 R1
- 0x80000000, // 001B RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: ui_conf_to_string
-********************************************************************/
-be_local_closure(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 */
- NULL, /* no sub protos */
- 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: write_attribute
-********************************************************************/
-be_local_closure(Matter_Plugin_write_attribute, /* name */
- be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: subscribe_attribute
-********************************************************************/
-be_local_closure(Matter_Plugin_subscribe_attribute, /* name */
- be_nested_proto(
- 6, /* nstack */
- 5, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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 function: consolidate_clusters
-********************************************************************/
-be_local_closure(Matter_Plugin_consolidate_clusters, /* name */
- be_nested_proto(
- 12, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 1]) {
- be_nested_proto(
- 3, /* nstack */
- 1, /* argc */
- 0, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(real_super),
- &be_const_str_solidified,
- ( &(const binstruction[ 4]) { /* code */
- 0x60040003, // 0000 GETGBL R1 G3
- 0x5C080000, // 0001 MOVE R2 R0
- 0x7C040200, // 0002 CALL R1 1
- 0x80040200, // 0003 RET 1 R1
- })
- ),
- }),
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(CLUSTERS),
- /* K1 */ be_nested_str_weak(keys),
- /* K2 */ be_nested_str_weak(contains),
- /* K3 */ be_nested_str_weak(find),
- /* K4 */ be_nested_str_weak(push),
- /* K5 */ be_nested_str_weak(stop_iteration),
- }),
- be_str_weak(consolidate_clusters),
- &be_const_str_solidified,
- ( &(const binstruction[53]) { /* code */
- 0x84040000, // 0000 CLOSURE R1 P0
- 0x60080013, // 0001 GETGBL R2 G19
- 0x7C080000, // 0002 CALL R2 0
- 0x5C0C0000, // 0003 MOVE R3 R0
- 0x4C100000, // 0004 LDNIL R4
- 0x20100604, // 0005 NE R4 R3 R4
- 0x7812002C, // 0006 JMPF R4 #0034
- 0x88100700, // 0007 GETMBR R4 R3 K0
- 0x60140010, // 0008 GETGBL R5 G16
- 0x8C180901, // 0009 GETMET R6 R4 K1
- 0x7C180200, // 000A CALL R6 1
- 0x7C140200, // 000B CALL R5 1
- 0xA802001E, // 000C EXBLK 0 #002C
- 0x5C180A00, // 000D MOVE R6 R5
- 0x7C180000, // 000E CALL R6 0
- 0x8C1C0502, // 000F GETMET R7 R2 K2
- 0x5C240C00, // 0010 MOVE R9 R6
- 0x7C1C0400, // 0011 CALL R7 2
- 0x741E0002, // 0012 JMPT R7 #0016
- 0x601C0012, // 0013 GETGBL R7 G18
- 0x7C1C0000, // 0014 CALL R7 0
- 0x98080C07, // 0015 SETIDX R2 R6 R7
- 0x601C0010, // 0016 GETGBL R7 G16
- 0x94200806, // 0017 GETIDX R8 R4 R6
- 0x7C1C0200, // 0018 CALL R7 1
- 0xA802000D, // 0019 EXBLK 0 #0028
- 0x5C200E00, // 001A MOVE R8 R7
- 0x7C200000, // 001B CALL R8 0
- 0x94240406, // 001C GETIDX R9 R2 R6
- 0x8C241303, // 001D GETMET R9 R9 K3
- 0x5C2C1000, // 001E MOVE R11 R8
- 0x7C240400, // 001F CALL R9 2
- 0x4C280000, // 0020 LDNIL R10
- 0x1C24120A, // 0021 EQ R9 R9 R10
- 0x78260003, // 0022 JMPF R9 #0027
- 0x94240406, // 0023 GETIDX R9 R2 R6
- 0x8C241304, // 0024 GETMET R9 R9 K4
- 0x5C2C1000, // 0025 MOVE R11 R8
- 0x7C240400, // 0026 CALL R9 2
- 0x7001FFF1, // 0027 JMP #001A
- 0x581C0005, // 0028 LDCONST R7 K5
- 0xAC1C0200, // 0029 CATCH R7 1 0
- 0xB0080000, // 002A RAISE 2 R0 R0
- 0x7001FFE0, // 002B JMP #000D
- 0x58140005, // 002C LDCONST R5 K5
- 0xAC140200, // 002D CATCH R5 1 0
- 0xB0080000, // 002E RAISE 2 R0 R0
- 0x5C140200, // 002F MOVE R5 R1
- 0x5C180600, // 0030 MOVE R6 R3
- 0x7C140200, // 0031 CALL R5 1
- 0x5C0C0A00, // 0032 MOVE R3 R5
- 0x7001FFCF, // 0033 JMP #0004
- 0x80040400, // 0034 RET 1 R2
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
@@ -621,24 +181,39 @@ be_local_closure(Matter_Plugin_read_attribute, /* name */
/********************************************************************
-** Solidified function: invoke_request
+** Solidified function: ui_conf_to_string
********************************************************************/
-be_local_closure(Matter_Plugin_invoke_request, /* name */
+be_local_closure(Matter_Plugin_ui_conf_to_string, /* name */
be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
+ 9, /* nstack */
+ 2, /* argc */
+ 4, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(invoke_request),
+ 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[ 2]) { /* code */
- 0x4C100000, // 0000 LDNIL R4
- 0x80040800, // 0001 RET 1 R4
+ ( &(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
})
)
);
@@ -646,34 +221,9 @@ be_local_closure(Matter_Plugin_invoke_request, /* name */
/********************************************************************
-** Solidified function: timed_request
+** Solidified function: is_local_device
********************************************************************/
-be_local_closure(Matter_Plugin_timed_request, /* name */
- be_nested_proto(
- 5, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: update_shadow
-********************************************************************/
-be_local_closure(Matter_Plugin_update_shadow, /* name */
+be_local_closure(Matter_Plugin_is_local_device, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@@ -682,18 +232,13 @@ be_local_closure(Matter_Plugin_update_shadow, /* name */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(tick),
- /* K1 */ be_nested_str_weak(device),
- }),
- be_str_weak(update_shadow),
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(is_local_device),
&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
+ ( &(const binstruction[ 2]) { /* code */
+ 0x50040200, // 0000 LDBOOL R1 1 0
+ 0x80040200, // 0001 RET 1 R1
})
)
);
@@ -701,71 +246,23 @@ be_local_closure(Matter_Plugin_update_shadow, /* name */
/********************************************************************
-** Solidified function: ui_string_to_conf
+** Solidified function: parse_configuration
********************************************************************/
-be_local_closure(Matter_Plugin_ui_string_to_conf, /* name */
+be_local_closure(Matter_Plugin_parse_configuration, /* name */
be_nested_proto(
- 8, /* nstack */
- 3, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 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: attribute_updated
-********************************************************************/
-be_local_closure(Matter_Plugin_attribute_updated, /* name */
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
+ 2, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
- 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),
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(parse_configuration),
&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
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80000000, // 0000 RET 0
})
)
);
@@ -815,6 +312,109 @@ be_local_closure(Matter_Plugin_has, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: consolidate_clusters
+********************************************************************/
+be_local_closure(Matter_Plugin_consolidate_clusters, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 1]) {
+ be_nested_proto(
+ 3, /* nstack */
+ 1, /* argc */
+ 0, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(real_super),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x60040003, // 0000 GETGBL R1 G3
+ 0x5C080000, // 0001 MOVE R2 R0
+ 0x7C040200, // 0002 CALL R1 1
+ 0x80040200, // 0003 RET 1 R1
+ })
+ ),
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(CLUSTERS),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(contains),
+ /* K3 */ be_nested_str_weak(find),
+ /* K4 */ be_nested_str_weak(push),
+ /* K5 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(consolidate_clusters),
+ &be_const_str_solidified,
+ ( &(const binstruction[53]) { /* code */
+ 0x84040000, // 0000 CLOSURE R1 P0
+ 0x60080013, // 0001 GETGBL R2 G19
+ 0x7C080000, // 0002 CALL R2 0
+ 0x5C0C0000, // 0003 MOVE R3 R0
+ 0x4C100000, // 0004 LDNIL R4
+ 0x20100604, // 0005 NE R4 R3 R4
+ 0x7812002C, // 0006 JMPF R4 #0034
+ 0x88100700, // 0007 GETMBR R4 R3 K0
+ 0x60140010, // 0008 GETGBL R5 G16
+ 0x8C180901, // 0009 GETMET R6 R4 K1
+ 0x7C180200, // 000A CALL R6 1
+ 0x7C140200, // 000B CALL R5 1
+ 0xA802001E, // 000C EXBLK 0 #002C
+ 0x5C180A00, // 000D MOVE R6 R5
+ 0x7C180000, // 000E CALL R6 0
+ 0x8C1C0502, // 000F GETMET R7 R2 K2
+ 0x5C240C00, // 0010 MOVE R9 R6
+ 0x7C1C0400, // 0011 CALL R7 2
+ 0x741E0002, // 0012 JMPT R7 #0016
+ 0x601C0012, // 0013 GETGBL R7 G18
+ 0x7C1C0000, // 0014 CALL R7 0
+ 0x98080C07, // 0015 SETIDX R2 R6 R7
+ 0x601C0010, // 0016 GETGBL R7 G16
+ 0x94200806, // 0017 GETIDX R8 R4 R6
+ 0x7C1C0200, // 0018 CALL R7 1
+ 0xA802000D, // 0019 EXBLK 0 #0028
+ 0x5C200E00, // 001A MOVE R8 R7
+ 0x7C200000, // 001B CALL R8 0
+ 0x94240406, // 001C GETIDX R9 R2 R6
+ 0x8C241303, // 001D GETMET R9 R9 K3
+ 0x5C2C1000, // 001E MOVE R11 R8
+ 0x7C240400, // 001F CALL R9 2
+ 0x4C280000, // 0020 LDNIL R10
+ 0x1C24120A, // 0021 EQ R9 R9 R10
+ 0x78260003, // 0022 JMPF R9 #0027
+ 0x94240406, // 0023 GETIDX R9 R2 R6
+ 0x8C241304, // 0024 GETMET R9 R9 K4
+ 0x5C2C1000, // 0025 MOVE R11 R8
+ 0x7C240400, // 0026 CALL R9 2
+ 0x7001FFF1, // 0027 JMP #001A
+ 0x581C0005, // 0028 LDCONST R7 K5
+ 0xAC1C0200, // 0029 CATCH R7 1 0
+ 0xB0080000, // 002A RAISE 2 R0 R0
+ 0x7001FFE0, // 002B JMP #000D
+ 0x58140005, // 002C LDCONST R5 K5
+ 0xAC140200, // 002D CATCH R5 1 0
+ 0xB0080000, // 002E RAISE 2 R0 R0
+ 0x5C140200, // 002F MOVE R5 R1
+ 0x5C180600, // 0030 MOVE R6 R3
+ 0x7C140200, // 0031 CALL R5 1
+ 0x5C0C0A00, // 0032 MOVE R3 R5
+ 0x7001FFCF, // 0033 JMP #0004
+ 0x80040400, // 0034 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: get_attribute_list
********************************************************************/
@@ -849,11 +449,100 @@ be_local_closure(Matter_Plugin_get_attribute_list, /* name */
/********************************************************************
-** Solidified function: init
+** Solidified function:
********************************************************************/
-be_local_closure(Matter_Plugin_init, /* name */
+be_local_closure(Matter_Plugin__X3Clambda_X3E, /* name */
be_nested_proto(
- 6, /* nstack */
+ 3, /* nstack */
+ 1, /* argc */
+ 0, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: update_shadow_lazy
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: parse_sensors
+********************************************************************/
+be_local_closure(Matter_Plugin_parse_sensors, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: attribute_updated
+********************************************************************/
+be_local_closure(Matter_Plugin_attribute_updated, /* name */
+ be_nested_proto(
+ 10, /* nstack */
4, /* argc */
2, /* varg */
0, /* has upvals */
@@ -861,21 +550,385 @@ be_local_closure(Matter_Plugin_init, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
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: subscribe_event
+********************************************************************/
+be_local_closure(Matter_Plugin_subscribe_event, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(subscribe_event),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 2]) { /* code */
+ 0x4C140000, // 0000 LDNIL R5
+ 0x80040A00, // 0001 RET 1 R5
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: write_attribute
+********************************************************************/
+be_local_closure(Matter_Plugin_write_attribute, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: get_cluster_list
+********************************************************************/
+be_local_closure(Matter_Plugin_get_cluster_list, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(clusters),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(push),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(get_cluster_list),
+ &be_const_str_solidified,
+ ( &(const binstruction[18]) { /* code */
+ 0x60080012, // 0000 GETGBL R2 G18
+ 0x7C080000, // 0001 CALL R2 0
+ 0x600C0010, // 0002 GETGBL R3 G16
+ 0x88100100, // 0003 GETMBR R4 R0 K0
+ 0x8C100901, // 0004 GETMET R4 R4 K1
+ 0x7C100200, // 0005 CALL R4 1
+ 0x7C0C0200, // 0006 CALL R3 1
+ 0xA8020005, // 0007 EXBLK 0 #000E
+ 0x5C100600, // 0008 MOVE R4 R3
+ 0x7C100000, // 0009 CALL R4 0
+ 0x8C140502, // 000A GETMET R5 R2 K2
+ 0x5C1C0800, // 000B MOVE R7 R4
+ 0x7C140400, // 000C CALL R5 2
+ 0x7001FFF9, // 000D JMP #0008
+ 0x580C0003, // 000E LDCONST R3 K3
+ 0xAC0C0200, // 000F CATCH R3 1 0
+ 0xB0080000, // 0010 RAISE 2 R0 R0
+ 0x80040400, // 0011 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: subscribe_attribute
+********************************************************************/
+be_local_closure(Matter_Plugin_subscribe_attribute, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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 function: ui_string_to_conf
+********************************************************************/
+be_local_closure(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 */
+ NULL, /* no sub protos */
+ 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: read_event
+********************************************************************/
+be_local_closure(Matter_Plugin_read_event, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 5, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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
+********************************************************************/
+be_local_closure(Matter_Plugin_update_shadow, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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: every_250ms
+********************************************************************/
+be_local_closure(Matter_Plugin_every_250ms, /* name */
+ be_nested_proto(
+ 4, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[10]) { /* constants */
+ /* K0 */ be_nested_str_weak(update_next),
+ /* K1 */ be_nested_str_weak(matter),
+ /* K2 */ be_nested_str_weak(jitter),
+ /* K3 */ be_nested_str_weak(UPDATE_TIME),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(time_reached),
+ /* K6 */ be_nested_str_weak(tick),
+ /* K7 */ be_nested_str_weak(device),
+ /* K8 */ be_nested_str_weak(update_shadow),
+ /* K9 */ be_nested_str_weak(millis),
+ }),
+ be_str_weak(every_250ms),
+ &be_const_str_solidified,
+ ( &(const binstruction[28]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x4C080000, // 0001 LDNIL R2
+ 0x1C040202, // 0002 EQ R1 R1 R2
+ 0x78060005, // 0003 JMPF R1 #000A
+ 0xB8060200, // 0004 GETNGBL R1 K1
+ 0x8C040302, // 0005 GETMET R1 R1 K2
+ 0x880C0103, // 0006 GETMBR R3 R0 K3
+ 0x7C040400, // 0007 CALL R1 2
+ 0x90020001, // 0008 SETMBR R0 K0 R1
+ 0x70020010, // 0009 JMP #001B
+ 0xB8060800, // 000A GETNGBL R1 K4
+ 0x8C040305, // 000B GETMET R1 R1 K5
+ 0x880C0100, // 000C GETMBR R3 R0 K0
+ 0x7C040400, // 000D CALL R1 2
+ 0x7806000B, // 000E JMPF R1 #001B
+ 0x88040106, // 000F GETMBR R1 R0 K6
+ 0x88080107, // 0010 GETMBR R2 R0 K7
+ 0x88080506, // 0011 GETMBR R2 R2 K6
+ 0x20040202, // 0012 NE R1 R1 R2
+ 0x78060001, // 0013 JMPF R1 #0016
+ 0x8C040108, // 0014 GETMET R1 R0 K8
+ 0x7C040200, // 0015 CALL R1 1
+ 0xB8060800, // 0016 GETNGBL R1 K4
+ 0x8C040309, // 0017 GETMET R1 R1 K9
+ 0x880C0103, // 0018 GETMBR R3 R0 K3
+ 0x7C040400, // 0019 CALL R1 2
+ 0x90020001, // 001A SETMBR R0 K0 R1
+ 0x80000000, // 001B RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: timed_request
+********************************************************************/
+be_local_closure(Matter_Plugin_timed_request, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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
+********************************************************************/
+be_local_closure(Matter_Plugin_init, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(device),
/* K1 */ be_nested_str_weak(endpoint),
/* K2 */ be_nested_str_weak(clusters),
/* K3 */ be_nested_str_weak(consolidate_clusters),
+ /* K4 */ be_nested_str_weak(parse_configuration),
}),
be_str_weak(init),
&be_const_str_solidified,
- ( &(const binstruction[ 6]) { /* code */
+ ( &(const binstruction[ 9]) { /* 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
- 0x80000000, // 0005 RET 0
+ 0x8C100104, // 0005 GETMET R4 R0 K4
+ 0x5C180600, // 0006 MOVE R6 R3
+ 0x7C100400, // 0007 CALL R4 2
+ 0x80000000, // 0008 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: invoke_request
+********************************************************************/
+be_local_closure(Matter_Plugin_invoke_request, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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
})
)
);
@@ -888,17 +941,37 @@ be_local_closure(Matter_Plugin_init, /* name */
be_local_class(Matter_Plugin,
5,
NULL,
- be_nested_map(31,
+ be_nested_map(33,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(read_event, -1), be_const_closure(Matter_Plugin_read_event_closure) },
- { be_const_key_weak(clusters, 21), be_const_var(3) },
- { be_const_key_weak(get_cluster_list, 14), be_const_closure(Matter_Plugin_get_cluster_list_closure) },
- { be_const_key_weak(get_endpoint, -1), be_const_closure(Matter_Plugin_get_endpoint_closure) },
- { be_const_key_weak(tick, 23), be_const_var(4) },
+ { be_const_key_weak(clusters, -1), be_const_var(3) },
+ { be_const_key_weak(get_endpoint, 25), be_const_closure(Matter_Plugin_get_endpoint_closure) },
+ { be_const_key_weak(update_next, -1), be_const_var(0) },
+ { be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_read_attribute_closure) },
+ { be_const_key_weak(ui_conf_to_string, 23), be_const_static_closure(Matter_Plugin_ui_conf_to_string_closure) },
+ { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_init_closure) },
{ be_const_key_weak(NAME, -1), be_nested_str_weak() },
- { be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(Matter_Plugin__X3Clambda_X3E_closure) },
- { be_const_key_weak(update_shadow_lazy, 28), be_const_closure(Matter_Plugin_update_shadow_lazy_closure) },
- { be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(endpoint, -1), be_const_var(2) },
+ { be_const_key_weak(tick, -1), be_const_var(4) },
+ { be_const_key_weak(UPDATE_TIME, 5), be_const_int(5000) },
+ { be_const_key_weak(parse_configuration, 21), be_const_closure(Matter_Plugin_parse_configuration_closure) },
+ { be_const_key_weak(timed_request, -1), be_const_closure(Matter_Plugin_timed_request_closure) },
+ { be_const_key_weak(attribute_updated, -1), be_const_closure(Matter_Plugin_attribute_updated_closure) },
+ { be_const_key_weak(update_shadow, 26), be_const_closure(Matter_Plugin_update_shadow_closure) },
+ { be_const_key_weak(consolidate_clusters, -1), be_const_closure(Matter_Plugin_consolidate_clusters_closure) },
+ { be_const_key_weak(get_attribute_list, 24), be_const_closure(Matter_Plugin_get_attribute_list_closure) },
+ { be_const_key_weak(is_local_device, 31), be_const_closure(Matter_Plugin_is_local_device_closure) },
+ { be_const_key_weak(update_shadow_lazy, -1), be_const_closure(Matter_Plugin_update_shadow_lazy_closure) },
+ { be_const_key_weak(ARG, 30), be_nested_str_weak() },
+ { be_const_key_weak(has, 12), be_const_closure(Matter_Plugin_has_closure) },
+ { be_const_key_weak(subscribe_event, 11), be_const_closure(Matter_Plugin_subscribe_event_closure) },
+ { be_const_key_weak(write_attribute, -1), be_const_closure(Matter_Plugin_write_attribute_closure) },
+ { be_const_key_weak(get_cluster_list, -1), be_const_closure(Matter_Plugin_get_cluster_list_closure) },
+ { be_const_key_weak(TYPE, -1), be_nested_str_weak() },
+ { be_const_key_weak(read_event, -1), be_const_closure(Matter_Plugin_read_event_closure) },
+ { be_const_key_weak(ui_string_to_conf, -1), be_const_static_closure(Matter_Plugin_ui_string_to_conf_closure) },
+ { be_const_key_weak(subscribe_attribute, -1), be_const_closure(Matter_Plugin_subscribe_attribute_closure) },
+ { be_const_key_weak(device, -1), be_const_var(1) },
+ { be_const_key_weak(CLUSTERS, 13), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(2,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(29, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
@@ -917,28 +990,10 @@ be_local_class(Matter_Plugin,
be_const_int(17),
})) ) } )) },
})) ) } )) },
- { be_const_key_weak(subscribe_event, -1), be_const_closure(Matter_Plugin_subscribe_event_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Plugin_every_250ms_closure) },
- { be_const_key_weak(ui_conf_to_string, -1), be_const_static_closure(Matter_Plugin_ui_conf_to_string_closure) },
- { be_const_key_weak(write_attribute, -1), be_const_closure(Matter_Plugin_write_attribute_closure) },
- { be_const_key_weak(parse_sensors, 25), be_const_closure(Matter_Plugin_parse_sensors_closure) },
- { be_const_key_weak(consolidate_clusters, -1), be_const_closure(Matter_Plugin_consolidate_clusters_closure) },
- { be_const_key_weak(UPDATE_TIME, 18), be_const_int(5000) },
- { be_const_key_weak(TYPE, -1), be_nested_str_weak() },
- { be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_read_attribute_closure) },
- { be_const_key_weak(get_attribute_list, -1), be_const_closure(Matter_Plugin_get_attribute_list_closure) },
- { be_const_key_weak(timed_request, -1), be_const_closure(Matter_Plugin_timed_request_closure) },
- { be_const_key_weak(ARG, -1), be_nested_str_weak() },
+ { be_const_key_weak(parse_sensors, -1), be_const_closure(Matter_Plugin_parse_sensors_closure) },
+ { be_const_key_weak(ARG_TYPE, 0), be_const_static_closure(Matter_Plugin__X3Clambda_X3E_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_invoke_request_closure) },
- { be_const_key_weak(ui_string_to_conf, -1), be_const_static_closure(Matter_Plugin_ui_string_to_conf_closure) },
- { be_const_key_weak(update_next, 20), be_const_var(0) },
- { be_const_key_weak(attribute_updated, -1), be_const_closure(Matter_Plugin_attribute_updated_closure) },
- { be_const_key_weak(update_shadow, 30), be_const_closure(Matter_Plugin_update_shadow_closure) },
- { be_const_key_weak(has, -1), be_const_closure(Matter_Plugin_has_closure) },
- { be_const_key_weak(device, 15), be_const_var(1) },
- { be_const_key_weak(endpoint, -1), be_const_var(2) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_init_closure) },
- { be_const_key_weak(subscribe_attribute, -1), be_const_closure(Matter_Plugin_subscribe_attribute_closure) },
})),
be_str_weak(Matter_Plugin)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_HTTP.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_HTTP.h
index 63cd5cde2..037f1108a 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_HTTP.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_HTTP.h
@@ -6,6 +6,111 @@
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
+/********************************************************************
+** Solidified function: read_attribute
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* 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_nested_str_weak(create_TLV),
+ /* K5 */ be_nested_str_weak(BOOL),
+ /* K6 */ be_nested_str_weak(http_remote),
+ /* K7 */ be_nested_str_weak(reachable),
+ /* K8 */ be_nested_str_weak(read_attribute),
+ }),
+ be_str_weak(read_attribute),
+ &be_const_str_solidified,
+ ( &(const binstruction[35]) { /* code */
+ 0xB80E0000, // 0000 GETNGBL R3 K0
+ 0x880C0701, // 0001 GETMBR R3 R3 K1
+ 0x88100502, // 0002 GETMBR R4 R2 K2
+ 0x88140503, // 0003 GETMBR R5 R2 K3
+ 0x541A0038, // 0004 LDINT R6 57
+ 0x1C180806, // 0005 EQ R6 R4 R6
+ 0x781A0012, // 0006 JMPF R6 #001A
+ 0x541A0010, // 0007 LDINT R6 17
+ 0x1C180A06, // 0008 EQ R6 R5 R6
+ 0x781A0006, // 0009 JMPF R6 #0011
+ 0x8C180704, // 000A GETMET R6 R3 K4
+ 0x88200705, // 000B GETMBR R8 R3 K5
+ 0x88240106, // 000C GETMBR R9 R0 K6
+ 0x88241307, // 000D GETMBR R9 R9 K7
+ 0x7C180600, // 000E CALL R6 3
+ 0x80040C00, // 000F RET 1 R6
+ 0x70020007, // 0010 JMP #0019
+ 0x60180003, // 0011 GETGBL R6 G3
+ 0x5C1C0000, // 0012 MOVE R7 R0
+ 0x7C180200, // 0013 CALL R6 1
+ 0x8C180D08, // 0014 GETMET R6 R6 K8
+ 0x5C200200, // 0015 MOVE R8 R1
+ 0x5C240400, // 0016 MOVE R9 R2
+ 0x7C180600, // 0017 CALL R6 3
+ 0x80040C00, // 0018 RET 1 R6
+ 0x70020007, // 0019 JMP #0022
+ 0x60180003, // 001A GETGBL R6 G3
+ 0x5C1C0000, // 001B MOVE R7 R0
+ 0x7C180200, // 001C CALL R6 1
+ 0x8C180D08, // 001D GETMET R6 R6 K8
+ 0x5C200200, // 001E MOVE R8 R1
+ 0x5C240400, // 001F MOVE R9 R2
+ 0x7C180600, // 0020 CALL R6 3
+ 0x80040C00, // 0021 RET 1 R6
+ 0x80000000, // 0022 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: web_value_onoff
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(_X3Cb_X3EOn_X3C_X2Fb_X3E),
+ /* K1 */ be_nested_str_weak(Off),
+ /* K2 */ be_nested_str_weak(),
+ }),
+ be_str_weak(web_value_onoff),
+ &be_const_str_solidified,
+ ( &(const binstruction[10]) { /* code */
+ 0x4C080000, // 0000 LDNIL R2
+ 0x20080202, // 0001 NE R2 R1 R2
+ 0x780A0004, // 0002 JMPF R2 #0008
+ 0x78060001, // 0003 JMPF R1 #0006
+ 0x58080000, // 0004 LDCONST R2 K0
+ 0x70020000, // 0005 JMP #0007
+ 0x58080001, // 0006 LDCONST R2 K1
+ 0x70020000, // 0007 JMP #0009
+ 0x58080002, // 0008 LDCONST R2 K2
+ 0x80040400, // 0009 RET 1 R2
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
@@ -49,116 +154,6 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_update_shadow, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: register_cmd_cb
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 1]) {
- 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, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(parse_http_response),
- }),
- 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
- })
- ),
- }),
- 1, /* has constants */
- ( &(const bvalue[ 4]) { /* constants */
- /* K0 */ be_nested_str_weak(http_remote),
- /* K1 */ be_nested_str_weak(add_schedule),
- /* K2 */ be_nested_str_weak(UPDATE_CMD),
- /* K3 */ be_nested_str_weak(UPDATE_TIME),
- }),
- be_str_weak(register_cmd_cb),
- &be_const_str_solidified,
- ( &(const binstruction[ 8]) { /* code */
- 0x88040100, // 0000 GETMBR R1 R0 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x88100103, // 0003 GETMBR R4 R0 K3
- 0x84140000, // 0004 CLOSURE R5 P0
- 0x7C040800, // 0005 CALL R1 4
- 0xA0000000, // 0006 CLOSE R0
- 0x80000000, // 0007 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: ui_conf_to_string
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_ui_conf_to_string, /* name */
- be_nested_proto(
- 9, /* nstack */
- 2, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Plugin_Bridge_HTTP),
- /* K1 */ be_nested_str_weak(ui_conf_to_string),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG_HTTP),
- /* K4 */ be_nested_str_weak(),
- /* K5 */ be_nested_str_weak(_X2C),
- }),
- be_str_weak(ui_conf_to_string),
- &be_const_str_solidified,
- ( &(const binstruction[17]) { /* code */
- 0x58080000, // 0000 LDCONST R2 K0
- 0x600C0003, // 0001 GETGBL R3 G3
- 0x5C100400, // 0002 MOVE R4 R2
- 0x7C0C0200, // 0003 CALL R3 1
- 0x8C0C0701, // 0004 GETMET R3 R3 K1
- 0x5C140000, // 0005 MOVE R5 R0
- 0x5C180200, // 0006 MOVE R6 R1
- 0x7C0C0600, // 0007 CALL R3 3
- 0x60100008, // 0008 GETGBL R4 G8
- 0x8C140302, // 0009 GETMET R5 R1 K2
- 0x881C0503, // 000A GETMBR R7 R2 K3
- 0x58200004, // 000B LDCONST R8 K4
- 0x7C140600, // 000C CALL R5 3
- 0x7C100200, // 000D CALL R4 1
- 0x00140705, // 000E ADD R5 R3 K5
- 0x00140A04, // 000F ADD R5 R5 R4
- 0x80040A00, // 0010 RET 1 R5
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: parse_http_response
********************************************************************/
@@ -234,60 +229,6 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_parse_http_response, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_init, /* name */
- be_nested_proto(
- 10, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(init),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG_HTTP),
- /* K4 */ be_nested_str_weak(http_remote),
- /* K5 */ be_nested_str_weak(device),
- /* K6 */ be_nested_str_weak(register_http_remote),
- /* K7 */ be_nested_str_weak(PROBE_TIMEOUT),
- /* K8 */ be_nested_str_weak(register_cmd_cb),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[21]) { /* code */
- 0xA4120000, // 0000 IMPORT R4 K0
- 0x60140003, // 0001 GETGBL R5 G3
- 0x5C180000, // 0002 MOVE R6 R0
- 0x7C140200, // 0003 CALL R5 1
- 0x8C140B01, // 0004 GETMET R5 R5 K1
- 0x5C1C0200, // 0005 MOVE R7 R1
- 0x5C200400, // 0006 MOVE R8 R2
- 0x5C240600, // 0007 MOVE R9 R3
- 0x7C140800, // 0008 CALL R5 4
- 0x8C140702, // 0009 GETMET R5 R3 K2
- 0x881C0103, // 000A GETMBR R7 R0 K3
- 0x7C140400, // 000B CALL R5 2
- 0x88180105, // 000C GETMBR R6 R0 K5
- 0x8C180D06, // 000D GETMET R6 R6 K6
- 0x5C200A00, // 000E MOVE R8 R5
- 0x88240107, // 000F GETMBR R9 R0 K7
- 0x7C180600, // 0010 CALL R6 3
- 0x90020806, // 0011 SETMBR R0 K4 R6
- 0x8C180108, // 0012 GETMET R6 R0 K8
- 0x7C180200, // 0013 CALL R6 1
- 0x80000000, // 0014 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: call_remote_sync
********************************************************************/
@@ -370,150 +311,6 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: parse_update
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_parse_update, /* name */
- be_nested_proto(
- 3, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(parse_update),
- &be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80000000, // 0000 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: ui_string_to_conf
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_ui_string_to_conf, /* name */
- be_nested_proto(
- 11, /* nstack */
- 3, /* argc */
- 4, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* constants */
- /* K0 */ be_const_class(be_class_Matter_Plugin_Bridge_HTTP),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(split),
- /* K3 */ be_nested_str_weak(_X2C),
- /* K4 */ be_const_int(3),
- /* K5 */ be_nested_str_weak(ARG_HTTP),
- /* K6 */ be_const_int(1),
- /* K7 */ be_nested_str_weak(ui_string_to_conf),
- /* K8 */ be_const_int(0),
- }),
- be_str_weak(ui_string_to_conf),
- &be_const_str_solidified,
- ( &(const binstruction[19]) { /* code */
- 0x580C0000, // 0000 LDCONST R3 K0
- 0xA4120200, // 0001 IMPORT R4 K1
- 0x8C140902, // 0002 GETMET R5 R4 K2
- 0x001C0503, // 0003 ADD R7 R2 K3
- 0x58200003, // 0004 LDCONST R8 K3
- 0x58240004, // 0005 LDCONST R9 K4
- 0x7C140800, // 0006 CALL R5 4
- 0x88180705, // 0007 GETMBR R6 R3 K5
- 0x941C0B06, // 0008 GETIDX R7 R5 K6
- 0x98040C07, // 0009 SETIDX R1 R6 R7
- 0x60180003, // 000A GETGBL R6 G3
- 0x5C1C0600, // 000B MOVE R7 R3
- 0x7C180200, // 000C CALL R6 1
- 0x8C180D07, // 000D GETMET R6 R6 K7
- 0x5C200000, // 000E MOVE R8 R0
- 0x5C240200, // 000F MOVE R9 R1
- 0x94280B08, // 0010 GETIDX R10 R5 K8
- 0x7C180800, // 0011 CALL R6 4
- 0x80040200, // 0012 RET 1 R1
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: read_attribute
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
- be_nested_proto(
- 10, /* nstack */
- 3, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 9]) { /* 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_nested_str_weak(create_TLV),
- /* K5 */ be_nested_str_weak(BOOL),
- /* K6 */ be_nested_str_weak(http_remote),
- /* K7 */ be_nested_str_weak(reachable),
- /* K8 */ be_nested_str_weak(read_attribute),
- }),
- be_str_weak(read_attribute),
- &be_const_str_solidified,
- ( &(const binstruction[35]) { /* code */
- 0xB80E0000, // 0000 GETNGBL R3 K0
- 0x880C0701, // 0001 GETMBR R3 R3 K1
- 0x88100502, // 0002 GETMBR R4 R2 K2
- 0x88140503, // 0003 GETMBR R5 R2 K3
- 0x541A0038, // 0004 LDINT R6 57
- 0x1C180806, // 0005 EQ R6 R4 R6
- 0x781A0012, // 0006 JMPF R6 #001A
- 0x541A0010, // 0007 LDINT R6 17
- 0x1C180A06, // 0008 EQ R6 R5 R6
- 0x781A0006, // 0009 JMPF R6 #0011
- 0x8C180704, // 000A GETMET R6 R3 K4
- 0x88200705, // 000B GETMBR R8 R3 K5
- 0x88240106, // 000C GETMBR R9 R0 K6
- 0x88241307, // 000D GETMBR R9 R9 K7
- 0x7C180600, // 000E CALL R6 3
- 0x80040C00, // 000F RET 1 R6
- 0x70020007, // 0010 JMP #0019
- 0x60180003, // 0011 GETGBL R6 G3
- 0x5C1C0000, // 0012 MOVE R7 R0
- 0x7C180200, // 0013 CALL R6 1
- 0x8C180D08, // 0014 GETMET R6 R6 K8
- 0x5C200200, // 0015 MOVE R8 R1
- 0x5C240400, // 0016 MOVE R9 R2
- 0x7C180600, // 0017 CALL R6 3
- 0x80040C00, // 0018 RET 1 R6
- 0x70020007, // 0019 JMP #0022
- 0x60180003, // 001A GETGBL R6 G3
- 0x5C1C0000, // 001B MOVE R7 R0
- 0x7C180200, // 001C CALL R6 1
- 0x8C180D08, // 001D GETMET R6 R6 K8
- 0x5C200200, // 001E MOVE R8 R1
- 0x5C240400, // 001F MOVE R9 R2
- 0x7C180600, // 0020 CALL R6 3
- 0x80040C00, // 0021 RET 1 R6
- 0x80000000, // 0022 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
@@ -545,36 +342,24 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_every_250ms, /* name */
/********************************************************************
-** Solidified function: web_value_onoff
+** Solidified function: is_local_device
********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
+be_local_closure(Matter_Plugin_Bridge_HTTP_is_local_device, /* name */
be_nested_proto(
- 3, /* nstack */
- 2, /* argc */
+ 2, /* nstack */
+ 1, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(_X3Cb_X3EOn_X3C_X2Fb_X3E),
- /* K1 */ be_nested_str_weak(Off),
- /* K2 */ be_nested_str_weak(),
- }),
- be_str_weak(web_value_onoff),
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(is_local_device),
&be_const_str_solidified,
- ( &(const binstruction[10]) { /* code */
- 0x4C080000, // 0000 LDNIL R2
- 0x20080202, // 0001 NE R2 R1 R2
- 0x780A0004, // 0002 JMPF R2 #0008
- 0x78060001, // 0003 JMPF R1 #0006
- 0x58080000, // 0004 LDCONST R2 K0
- 0x70020000, // 0005 JMP #0007
- 0x58080001, // 0006 LDCONST R2 K1
- 0x70020000, // 0007 JMP #0009
- 0x58080002, // 0008 LDCONST R2 K2
- 0x80040400, // 0009 RET 1 R2
+ ( &(const binstruction[ 2]) { /* code */
+ 0x50040000, // 0000 LDBOOL R1 0 0
+ 0x80040200, // 0001 RET 1 R1
})
)
);
@@ -617,6 +402,147 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_values, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: parse_update
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_HTTP_parse_update, /* name */
+ be_nested_proto(
+ 3, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(parse_update),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80000000, // 0000 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_HTTP_init, /* name */
+ be_nested_proto(
+ 10, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 9]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(init),
+ /* K2 */ be_nested_str_weak(find),
+ /* K3 */ be_nested_str_weak(ARG_HTTP),
+ /* K4 */ be_nested_str_weak(http_remote),
+ /* K5 */ be_nested_str_weak(device),
+ /* K6 */ be_nested_str_weak(register_http_remote),
+ /* K7 */ be_nested_str_weak(PROBE_TIMEOUT),
+ /* K8 */ be_nested_str_weak(register_cmd_cb),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[21]) { /* code */
+ 0xA4120000, // 0000 IMPORT R4 K0
+ 0x60140003, // 0001 GETGBL R5 G3
+ 0x5C180000, // 0002 MOVE R6 R0
+ 0x7C140200, // 0003 CALL R5 1
+ 0x8C140B01, // 0004 GETMET R5 R5 K1
+ 0x5C1C0200, // 0005 MOVE R7 R1
+ 0x5C200400, // 0006 MOVE R8 R2
+ 0x5C240600, // 0007 MOVE R9 R3
+ 0x7C140800, // 0008 CALL R5 4
+ 0x8C140702, // 0009 GETMET R5 R3 K2
+ 0x881C0103, // 000A GETMBR R7 R0 K3
+ 0x7C140400, // 000B CALL R5 2
+ 0x88180105, // 000C GETMBR R6 R0 K5
+ 0x8C180D06, // 000D GETMET R6 R6 K6
+ 0x5C200A00, // 000E MOVE R8 R5
+ 0x88240107, // 000F GETMBR R9 R0 K7
+ 0x7C180600, // 0010 CALL R6 3
+ 0x90020806, // 0011 SETMBR R0 K4 R6
+ 0x8C180108, // 0012 GETMET R6 R0 K8
+ 0x7C180200, // 0013 CALL R6 1
+ 0x80000000, // 0014 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: register_cmd_cb
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 1]) {
+ 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, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(parse_http_response),
+ }),
+ 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
+ })
+ ),
+ }),
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(http_remote),
+ /* K1 */ be_nested_str_weak(add_schedule),
+ /* K2 */ be_nested_str_weak(UPDATE_CMD),
+ /* K3 */ be_nested_str_weak(UPDATE_TIME),
+ }),
+ be_str_weak(register_cmd_cb),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x88040100, // 0000 GETMBR R1 R0 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x88100103, // 0003 GETMBR R4 R0 K3
+ 0x84140000, // 0004 CLOSURE R5 P0
+ 0x7C040800, // 0005 CALL R1 4
+ 0xA0000000, // 0006 CLOSE R0
+ 0x80000000, // 0007 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified class: Matter_Plugin_Bridge_HTTP
********************************************************************/
@@ -624,33 +550,32 @@ extern const bclass be_class_Matter_Plugin_Device;
be_local_class(Matter_Plugin_Bridge_HTTP,
1,
&be_class_Matter_Plugin_Device,
- be_nested_map(22,
+ be_nested_map(21,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(NAME, 2), be_nested_str_weak() },
- { be_const_key_weak(web_values, 11), be_const_closure(Matter_Plugin_Bridge_HTTP_web_values_closure) },
- { be_const_key_weak(web_value_onoff, 21), be_const_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff_closure) },
- { be_const_key_weak(register_cmd_cb, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb_closure) },
- { be_const_key_weak(ui_conf_to_string, -1), be_const_static_closure(Matter_Plugin_Bridge_HTTP_ui_conf_to_string_closure) },
- { be_const_key_weak(http_remote, -1), be_const_var(0) },
- { be_const_key_weak(CLUSTERS, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_read_attribute_closure) },
+ { be_const_key_weak(web_value_onoff, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff_closure) },
+ { be_const_key_weak(SYNC_TIMEOUT, -1), be_const_int(500) },
+ { be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(0,
( (struct bmapnode*) &(const bmapnode[]) {
})) ) } )) },
+ { be_const_key_weak(is_local_device, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_is_local_device_closure) },
+ { be_const_key_weak(parse_http_response, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_parse_http_response_closure) },
+ { be_const_key_weak(init, 18), be_const_closure(Matter_Plugin_Bridge_HTTP_init_closure) },
+ { be_const_key_weak(update_shadow, 3), be_const_closure(Matter_Plugin_Bridge_HTTP_update_shadow_closure) },
+ { be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_every_250ms_closure) },
+ { be_const_key_weak(UPDATE_TIME, -1), be_const_int(3000) },
+ { be_const_key_weak(TYPE, 4), be_nested_str_weak() },
+ { be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_web_values_closure) },
+ { be_const_key_weak(ARG_HTTP, 6), be_nested_str_weak(url) },
+ { be_const_key_weak(PROBE_TIMEOUT, -1), be_const_int(1700) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak() },
- { be_const_key_weak(UPDATE_CMD, -1), be_nested_str_weak(Status_X2011) },
- { be_const_key_weak(parse_http_response, 19), be_const_closure(Matter_Plugin_Bridge_HTTP_parse_http_response_closure) },
- { be_const_key_weak(call_remote_sync, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync_closure) },
+ { be_const_key_weak(NAME, 14), be_nested_str_weak() },
+ { be_const_key_weak(call_remote_sync, 17), be_const_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_parse_update_closure) },
- { be_const_key_weak(ARG_HTTP, 16), be_nested_str_weak(url) },
- { be_const_key_weak(TYPE, -1), be_nested_str_weak() },
- { be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_read_attribute_closure) },
- { be_const_key_weak(PROBE_TIMEOUT, 13), be_const_int(1700) },
- { be_const_key_weak(ui_string_to_conf, -1), be_const_static_closure(Matter_Plugin_Bridge_HTTP_ui_string_to_conf_closure) },
- { be_const_key_weak(update_shadow, 8), be_const_closure(Matter_Plugin_Bridge_HTTP_update_shadow_closure) },
- { be_const_key_weak(every_250ms, 5), be_const_closure(Matter_Plugin_Bridge_HTTP_every_250ms_closure) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_init_closure) },
- { be_const_key_weak(UPDATE_TIME, 1), be_const_int(3000) },
- { be_const_key_weak(SYNC_TIMEOUT, -1), be_const_int(500) },
+ { be_const_key_weak(UPDATE_CMD, -1), be_nested_str_weak(Status_X2011) },
+ { be_const_key_weak(http_remote, -1), be_const_var(0) },
+ { be_const_key_weak(register_cmd_cb, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb_closure) },
})),
be_str_weak(Matter_Plugin_Bridge_HTTP)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light0.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light0.h
index e3f26664b..3db488780 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light0.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light0.h
@@ -418,7 +418,7 @@ be_local_class(Matter_Plugin_Bridge_Light0,
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Light0_init_closure) },
{ be_const_key_weak(set_onoff, 13), be_const_closure(Matter_Plugin_Bridge_Light0_set_onoff_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light0_invoke_request_closure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Light_X200_X20On) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Light_X200_X20On) },
{ be_const_key_weak(tasmota_relay_index, -1), 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,
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light1.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light1.h
index 9662d78a6..8db24acd6 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light1.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light1.h
@@ -526,7 +526,7 @@ be_local_class(Matter_Plugin_Bridge_Light1,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(set_bri, -1), be_const_closure(Matter_Plugin_Bridge_Light1_set_bri_closure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Light_X201_X20Dimmer) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Light_X201_X20Dimmer) },
{ be_const_key_weak(web_values, 1), be_const_closure(Matter_Plugin_Bridge_Light1_web_values_closure) },
{ be_const_key_weak(invoke_request, 0), be_const_closure(Matter_Plugin_Bridge_Light1_invoke_request_closure) },
})),
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light2.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light2.h
index 726a0fbb5..14ccf465a 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light2.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light2.h
@@ -570,7 +570,7 @@ be_local_class(Matter_Plugin_Bridge_Light2,
{ be_const_key_weak(web_value_ct, -1), be_const_closure(Matter_Plugin_Bridge_Light2_web_value_ct_closure) },
{ be_const_key_weak(set_ct, -1), be_const_closure(Matter_Plugin_Bridge_Light2_set_ct_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Light2_read_attribute_closure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Light_X202_X20CT) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Light_X202_X20CT) },
{ be_const_key_weak(shadow_ct, -1), be_const_var(0) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light2_invoke_request_closure) },
{ be_const_key_weak(update_ct_minmax, 8), be_const_closure(Matter_Plugin_Bridge_Light2_update_ct_minmax_closure) },
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light3.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light3.h
index ca4edad38..190fbe542 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light3.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Light3.h
@@ -713,7 +713,7 @@ be_local_class(Matter_Plugin_Bridge_Light3,
{ be_const_key_weak(web_value_RGB, 1), be_const_closure(Matter_Plugin_Bridge_Light3_web_value_RGB_closure) },
{ be_const_key_weak(shadow_sat, 9), be_const_var(1) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light3_invoke_request_closure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Light_X203_X20RGB) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Light_X203_X20RGB) },
{ be_const_key_weak(TYPES, 11), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_OnOff.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_OnOff.h
index e8ad2ea11..c9b570e5b 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_OnOff.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_OnOff.h
@@ -61,7 +61,7 @@ be_local_class(Matter_Plugin_Bridge_OnOff,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_OnOff_web_values_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_relay) },
- { be_const_key_weak(NAME, 3), be_nested_str_weak(_X26_X23x1F517_X3B_X20Relay) },
+ { be_const_key_weak(NAME, 3), be_nested_str_weak(Relay) },
{ 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[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor.h
index 5569b9ba6..c8e26217a 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor.h
@@ -6,6 +6,30 @@
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
+/********************************************************************
+** Solidified function: pre_value
+********************************************************************/
+be_local_closure(Matter_Plugin_Bridge_Sensor_pre_value, /* name */
+ be_nested_proto(
+ 2, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 0, /* has constants */
+ NULL, /* no const */
+ be_str_weak(pre_value),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 1]) { /* code */
+ 0x80040200, // 0000 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function: filter_name_html
********************************************************************/
@@ -52,76 +76,43 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_filter_name_html, /* name */
/********************************************************************
-** Solidified function: init
+** Solidified function: parse_configuration
********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_Sensor_init, /* name */
+be_local_closure(Matter_Plugin_Bridge_Sensor_parse_configuration, /* name */
be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(tasmota_sensor_filter),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG),
- /* K4 */ be_nested_str_weak(tasmota_sensor_matcher),
- /* K5 */ be_nested_str_weak(tasmota),
- /* K6 */ be_nested_str_weak(Rule_Matcher),
- /* K7 */ be_nested_str_weak(parse),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[21]) { /* 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
- 0x8C100702, // 0008 GETMET R4 R3 K2
- 0x88180103, // 0009 GETMBR R6 R0 K3
- 0x7C100400, // 000A CALL R4 2
- 0x90020204, // 000B SETMBR R0 K1 R4
- 0x88100101, // 000C GETMBR R4 R0 K1
- 0x78120005, // 000D JMPF R4 #0014
- 0xB8120A00, // 000E GETNGBL R4 K5
- 0x88100906, // 000F GETMBR R4 R4 K6
- 0x8C100907, // 0010 GETMET R4 R4 K7
- 0x88180101, // 0011 GETMBR R6 R0 K1
- 0x7C100400, // 0012 CALL R4 2
- 0x90020804, // 0013 SETMBR R0 K4 R4
- 0x80000000, // 0014 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: pre_value
-********************************************************************/
-be_local_closure(Matter_Plugin_Bridge_Sensor_pre_value, /* name */
- be_nested_proto(
- 2, /* nstack */
+ 5, /* nstack */
2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
- 0, /* has constants */
- NULL, /* no const */
- be_str_weak(pre_value),
+ 1, /* has constants */
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota_sensor_filter),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(ARG),
+ /* K3 */ be_nested_str_weak(tasmota_sensor_matcher),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(Rule_Matcher),
+ /* K6 */ be_nested_str_weak(parse),
+ }),
+ be_str_weak(parse_configuration),
&be_const_str_solidified,
- ( &(const binstruction[ 1]) { /* code */
- 0x80040200, // 0000 RET 1 R1
+ ( &(const binstruction[13]) { /* code */
+ 0x8C080301, // 0000 GETMET R2 R1 K1
+ 0x88100102, // 0001 GETMBR R4 R0 K2
+ 0x7C080400, // 0002 CALL R2 2
+ 0x90020002, // 0003 SETMBR R0 K0 R2
+ 0x88080100, // 0004 GETMBR R2 R0 K0
+ 0x780A0005, // 0005 JMPF R2 #000C
+ 0xB80A0800, // 0006 GETNGBL R2 K4
+ 0x88080505, // 0007 GETMBR R2 R2 K5
+ 0x8C080506, // 0008 GETMET R2 R2 K6
+ 0x88100100, // 0009 GETMBR R4 R0 K0
+ 0x7C080400, // 000A CALL R2 2
+ 0x90020602, // 000B SETMBR R0 K3 R2
+ 0x80000000, // 000C RET 0
})
)
);
@@ -217,16 +208,16 @@ be_local_class(Matter_Plugin_Bridge_Sensor,
{ be_const_key_weak(ARG, 1), be_nested_str_weak(filter) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_value_changed_closure) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
- { be_const_key_weak(tasmota_sensor_filter, 8), be_const_var(0) },
+ { be_const_key_weak(pre_value, 12), be_const_closure(Matter_Plugin_Bridge_Sensor_pre_value_closure) },
{ be_const_key_weak(tasmota_sensor_matcher, -1), be_const_var(1) },
{ be_const_key_weak(PROBE_TIMEOUT, -1), be_const_int(1700) },
- { be_const_key_weak(filter_name_html, 12), be_const_closure(Matter_Plugin_Bridge_Sensor_filter_name_html_closure) },
- { be_const_key_weak(UPDATE_CMD, -1), be_nested_str_weak(Status_X208) },
- { be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_pre_value_closure) },
+ { be_const_key_weak(filter_name_html, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_filter_name_html_closure) },
+ { be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_parse_configuration_closure) },
+ { be_const_key_weak(shadow_value, -1), be_const_var(2) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_parse_update_closure) },
- { be_const_key_weak(shadow_value, 7), be_const_var(2) },
+ { be_const_key_weak(UPDATE_CMD, 8), be_nested_str_weak(Status_X208) },
{ be_const_key_weak(ARG_HTTP, 2), be_nested_str_weak(url) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_init_closure) },
+ { be_const_key_weak(tasmota_sensor_filter, -1), be_const_var(0) },
})),
be_str_weak(Matter_Plugin_Bridge_Sensor)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Humidity.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Humidity.h
index 7b37b1c0e..d8744e6e8 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Humidity.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Humidity.h
@@ -259,7 +259,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Humidity,
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_read_attribute_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_value_changed_closure) },
{ be_const_key_weak(TYPE, 4), be_nested_str_weak(http_humidity) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Humidity) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Humidity) },
{ 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[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Illuminance.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Illuminance.h
index 0dba00e01..0b4d37dc5 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Illuminance.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Illuminance.h
@@ -263,7 +263,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Illuminance,
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_value_changed_closure) },
{ be_const_key_weak(TYPE, 4), be_nested_str_weak(http_illuminance) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Illuminance) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Illuminance) },
{ 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[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Occupancy.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Occupancy.h
index a89bb35fe..56978494b 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Occupancy.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Occupancy.h
@@ -323,7 +323,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Occupancy,
{ be_const_key_weak(UPDATE_CMD, 9), be_nested_str_weak(Status_X208) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute_closure) },
{ be_const_key_weak(tasmota_switch_index, 11), be_const_var(0) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Occupancy) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Occupancy) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_init_closure) },
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Pressure.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Pressure.h
index 795ca6577..6e9288e6e 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Pressure.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Pressure.h
@@ -250,7 +250,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Pressure,
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_read_attribute_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_value_changed_closure) },
{ be_const_key_weak(TYPE, 4), be_nested_str_weak(http_pressure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Pressure) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Pressure) },
{ 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[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Temp.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Temp.h
index e4e35379a..194e59e58 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Temp.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Bridge_Sensor_Temp.h
@@ -256,7 +256,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Temp,
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_read_attribute_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_value_changed_closure) },
{ be_const_key_weak(TYPE, 4), be_nested_str_weak(http_temperature) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(_X26_X23x1F517_X3B_X20Temperature) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Temperature) },
{ 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[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_OnOff.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_OnOff.h
index 0c816dfe8..693f354e5 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_OnOff.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_OnOff.h
@@ -6,6 +6,43 @@
extern const bclass be_class_Matter_Plugin_OnOff;
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+be_local_closure(Matter_Plugin_OnOff_init, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 4, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(init),
+ /* K1 */ be_nested_str_weak(shadow_onoff),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[11]) { /* 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
+ 0x50100000, // 0008 LDBOOL R4 0 0
+ 0x90020204, // 0009 SETMBR R0 K1 R4
+ 0x80000000, // 000A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
/********************************************************************
** Solidified function:
********************************************************************/
@@ -33,99 +70,6 @@ be_local_closure(Matter_Plugin_OnOff__X3Clambda_X3E, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-be_local_closure(Matter_Plugin_OnOff_init, /* name */
- be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 7]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(shadow_onoff),
- /* K2 */ be_nested_str_weak(tasmota_relay_index),
- /* K3 */ be_nested_str_weak(find),
- /* K4 */ be_nested_str_weak(ARG),
- /* K5 */ be_const_int(1),
- /* K6 */ be_const_int(0),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[22]) { /* 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
- 0x50100000, // 0008 LDBOOL R4 0 0
- 0x90020204, // 0009 SETMBR R0 K1 R4
- 0x60100009, // 000A GETGBL R4 G9
- 0x8C140703, // 000B GETMET R5 R3 K3
- 0x881C0104, // 000C GETMBR R7 R0 K4
- 0x58200005, // 000D LDCONST R8 K5
- 0x7C140600, // 000E CALL R5 3
- 0x7C100200, // 000F CALL R4 1
- 0x90020404, // 0010 SETMBR R0 K2 R4
- 0x88100102, // 0011 GETMBR R4 R0 K2
- 0x18100906, // 0012 LE R4 R4 K6
- 0x78120000, // 0013 JMPF R4 #0015
- 0x90020505, // 0014 SETMBR R0 K2 K5
- 0x80000000, // 0015 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: set_onoff
-********************************************************************/
-be_local_closure(Matter_Plugin_OnOff_set_onoff, /* name */
- be_nested_proto(
- 7, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(set_power),
- /* K2 */ be_nested_str_weak(tasmota_relay_index),
- /* K3 */ be_const_int(1),
- /* K4 */ be_nested_str_weak(update_shadow),
- }),
- be_str_weak(set_onoff),
- &be_const_str_solidified,
- ( &(const binstruction[11]) { /* code */
- 0xB80A0000, // 0000 GETNGBL R2 K0
- 0x8C080501, // 0001 GETMET R2 R2 K1
- 0x88100102, // 0002 GETMBR R4 R0 K2
- 0x04100903, // 0003 SUB R4 R4 K3
- 0x60140017, // 0004 GETGBL R5 G23
- 0x5C180200, // 0005 MOVE R6 R1
- 0x7C140200, // 0006 CALL R5 1
- 0x7C080600, // 0007 CALL R2 3
- 0x8C080104, // 0008 GETMET R2 R0 K4
- 0x7C080200, // 0009 CALL R2 1
- 0x80000000, // 000A RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
@@ -203,6 +147,148 @@ be_local_closure(Matter_Plugin_OnOff_invoke_request, /* name */
/*******************************************************************/
+/********************************************************************
+** Solidified function: set_onoff
+********************************************************************/
+be_local_closure(Matter_Plugin_OnOff_set_onoff, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(set_power),
+ /* K2 */ be_nested_str_weak(tasmota_relay_index),
+ /* K3 */ be_const_int(1),
+ /* K4 */ be_nested_str_weak(update_shadow),
+ }),
+ be_str_weak(set_onoff),
+ &be_const_str_solidified,
+ ( &(const binstruction[11]) { /* code */
+ 0xB80A0000, // 0000 GETNGBL R2 K0
+ 0x8C080501, // 0001 GETMET R2 R2 K1
+ 0x88100102, // 0002 GETMBR R4 R0 K2
+ 0x04100903, // 0003 SUB R4 R4 K3
+ 0x60140017, // 0004 GETGBL R5 G23
+ 0x5C180200, // 0005 MOVE R6 R1
+ 0x7C140200, // 0006 CALL R5 1
+ 0x7C080600, // 0007 CALL R2 3
+ 0x8C080104, // 0008 GETMET R2 R0 K4
+ 0x7C080200, // 0009 CALL R2 1
+ 0x80000000, // 000A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: update_shadow
+********************************************************************/
+be_local_closure(Matter_Plugin_OnOff_update_shadow, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 8]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(get_power),
+ /* K2 */ be_nested_str_weak(tasmota_relay_index),
+ /* K3 */ be_const_int(1),
+ /* K4 */ be_nested_str_weak(shadow_onoff),
+ /* K5 */ be_nested_str_weak(attribute_updated),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(update_shadow),
+ }),
+ be_str_weak(update_shadow),
+ &be_const_str_solidified,
+ ( &(const binstruction[29]) { /* code */
+ 0xB8060000, // 0000 GETNGBL R1 K0
+ 0x8C040301, // 0001 GETMET R1 R1 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x040C0703, // 0003 SUB R3 R3 K3
+ 0x7C040400, // 0004 CALL R1 2
+ 0x4C080000, // 0005 LDNIL R2
+ 0x20080202, // 0006 NE R2 R1 R2
+ 0x780A000E, // 0007 JMPF R2 #0017
+ 0x88080104, // 0008 GETMBR R2 R0 K4
+ 0x4C0C0000, // 0009 LDNIL R3
+ 0x20080403, // 000A NE R2 R2 R3
+ 0x780A0009, // 000B JMPF R2 #0016
+ 0x88080104, // 000C GETMBR R2 R0 K4
+ 0x600C0017, // 000D GETGBL R3 G23
+ 0x5C100200, // 000E MOVE R4 R1
+ 0x7C0C0200, // 000F CALL R3 1
+ 0x20080403, // 0010 NE R2 R2 R3
+ 0x780A0003, // 0011 JMPF R2 #0016
+ 0x8C080105, // 0012 GETMET R2 R0 K5
+ 0x54120005, // 0013 LDINT R4 6
+ 0x58140006, // 0014 LDCONST R5 K6
+ 0x7C080600, // 0015 CALL R2 3
+ 0x90020801, // 0016 SETMBR R0 K4 R1
+ 0x60080003, // 0017 GETGBL R2 G3
+ 0x5C0C0000, // 0018 MOVE R3 R0
+ 0x7C080200, // 0019 CALL R2 1
+ 0x8C080507, // 001A GETMET R2 R2 K7
+ 0x7C080200, // 001B CALL R2 1
+ 0x80000000, // 001C RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: parse_configuration
+********************************************************************/
+be_local_closure(Matter_Plugin_OnOff_parse_configuration, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota_relay_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: read_attribute
********************************************************************/
@@ -284,67 +370,6 @@ be_local_closure(Matter_Plugin_OnOff_read_attribute, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: update_shadow
-********************************************************************/
-be_local_closure(Matter_Plugin_OnOff_update_shadow, /* name */
- be_nested_proto(
- 6, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(tasmota),
- /* K1 */ be_nested_str_weak(get_power),
- /* K2 */ be_nested_str_weak(tasmota_relay_index),
- /* K3 */ be_const_int(1),
- /* K4 */ be_nested_str_weak(shadow_onoff),
- /* K5 */ be_nested_str_weak(attribute_updated),
- /* K6 */ be_const_int(0),
- /* K7 */ be_nested_str_weak(update_shadow),
- }),
- be_str_weak(update_shadow),
- &be_const_str_solidified,
- ( &(const binstruction[29]) { /* code */
- 0xB8060000, // 0000 GETNGBL R1 K0
- 0x8C040301, // 0001 GETMET R1 R1 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x040C0703, // 0003 SUB R3 R3 K3
- 0x7C040400, // 0004 CALL R1 2
- 0x4C080000, // 0005 LDNIL R2
- 0x20080202, // 0006 NE R2 R1 R2
- 0x780A000E, // 0007 JMPF R2 #0017
- 0x88080104, // 0008 GETMBR R2 R0 K4
- 0x4C0C0000, // 0009 LDNIL R3
- 0x20080403, // 000A NE R2 R2 R3
- 0x780A0009, // 000B JMPF R2 #0016
- 0x88080104, // 000C GETMBR R2 R0 K4
- 0x600C0017, // 000D GETGBL R3 G23
- 0x5C100200, // 000E MOVE R4 R1
- 0x7C0C0200, // 000F CALL R3 1
- 0x20080403, // 0010 NE R2 R2 R3
- 0x780A0003, // 0011 JMPF R2 #0016
- 0x8C080105, // 0012 GETMET R2 R0 K5
- 0x54120005, // 0013 LDINT R4 6
- 0x58140006, // 0014 LDCONST R5 K6
- 0x7C080600, // 0015 CALL R2 3
- 0x90020801, // 0016 SETMBR R0 K4 R1
- 0x60080003, // 0017 GETGBL R2 G3
- 0x5C0C0000, // 0018 MOVE R3 R0
- 0x7C080200, // 0019 CALL R2 1
- 0x8C080507, // 001A GETMET R2 R2 K7
- 0x7C080200, // 001B CALL R2 1
- 0x80000000, // 001C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified class: Matter_Plugin_OnOff
********************************************************************/
@@ -352,8 +377,22 @@ extern const bclass be_class_Matter_Plugin_Device;
be_local_class(Matter_Plugin_OnOff,
2,
&be_class_Matter_Plugin_Device,
- be_nested_map(14,
+ be_nested_map(15,
( (struct bmapnode*) &(const bmapnode[]) {
+ { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_OnOff_init_closure) },
+ { be_const_key_weak(ARG, -1), be_nested_str_weak(relay) },
+ { be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_OnOff_invoke_request_closure) },
+ { be_const_key_weak(set_onoff, -1), be_const_closure(Matter_Plugin_OnOff_set_onoff_closure) },
+ { be_const_key_weak(ARG_TYPE, 10), be_const_static_closure(Matter_Plugin_OnOff__X3Clambda_X3E_closure) },
+ { be_const_key_weak(tasmota_relay_index, 7), be_const_var(0) },
+ { be_const_key_weak(UPDATE_TIME, -1), be_const_int(250) },
+ { 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(266, -1), be_const_int(2) },
+ })) ) } )) },
+ { be_const_key_weak(TYPE, 14), be_nested_str_weak(relay) },
+ { be_const_key_weak(NAME, 1), be_nested_str_weak(Relay) },
{ be_const_key_weak(CLUSTERS, 11), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
@@ -365,23 +404,10 @@ be_local_class(Matter_Plugin_OnOff,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
- { be_const_key_weak(ARG, -1), be_nested_str_weak(relay) },
- { be_const_key_weak(UPDATE_TIME, 13), be_const_int(250) },
- { be_const_key_weak(TYPE, -1), be_nested_str_weak(relay) },
- { be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_OnOff_update_shadow_closure) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_OnOff_init_closure) },
- { be_const_key_weak(set_onoff, 12), be_const_closure(Matter_Plugin_OnOff_set_onoff_closure) },
- { be_const_key_weak(invoke_request, 4), be_const_closure(Matter_Plugin_OnOff_invoke_request_closure) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(Relay) },
- { be_const_key_weak(tasmota_relay_index, -1), 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(266, -1), be_const_int(2) },
- })) ) } )) },
+ { be_const_key_weak(parse_configuration, 8), be_const_closure(Matter_Plugin_OnOff_parse_configuration_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_OnOff_read_attribute_closure) },
{ be_const_key_weak(shadow_onoff, -1), be_const_var(1) },
- { be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin_OnOff__X3Clambda_X3E_closure) },
+ { be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_OnOff_update_shadow_closure) },
})),
be_str_weak(Matter_Plugin_OnOff)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Root.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Root.h
index 54565ec7f..a4fc4a4ec 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Root.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Root.h
@@ -7,172 +7,913 @@
extern const bclass be_class_Matter_Plugin_Root;
/********************************************************************
-** Solidified function: init
+** Solidified function: invoke_request
********************************************************************/
-be_local_closure(Matter_Plugin_Root_init, /* name */
+be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
be_nested_proto(
- 9, /* nstack */
+ 31, /* nstack */
4, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 1]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
+ 1, /* has sup protos */
+ ( &(const struct bproto*[ 1]) {
+ 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, 11),
+ }),
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 2]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(remove_fabric),
+ }),
+ be_str_weak(_anonymous_),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 6]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x88000100, // 0001 GETMBR R0 R0 K0
+ 0x8C000101, // 0002 GETMET R0 R0 K1
+ 0x68080001, // 0003 GETUPV R2 U1
+ 0x7C000400, // 0004 CALL R0 2
+ 0x80000000, // 0005 RET 0
+ })
+ ),
}),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[ 9]) { /* 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
- 0x80000000, // 0008 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: write_attribute
-********************************************************************/
-be_local_closure(Matter_Plugin_Root_write_attribute, /* name */
- be_nested_proto(
- 12, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[14]) { /* constants */
- /* K0 */ be_nested_str_weak(string),
- /* K1 */ be_nested_str_weak(matter),
- /* K2 */ be_nested_str_weak(TLV),
- /* K3 */ be_nested_str_weak(cluster),
- /* K4 */ be_nested_str_weak(attribute),
- /* K5 */ be_const_int(0),
- /* K6 */ be_nested_str_weak(int),
- /* K7 */ be_nested_str_weak(int64),
- /* K8 */ be_nested_str_weak(_breadcrumb),
- /* K9 */ be_nested_str_weak(attribute_updated),
- /* K10 */ be_nested_str_weak(status),
- /* K11 */ be_nested_str_weak(CONSTRAINT_ERROR),
- /* K12 */ be_const_int(1),
- /* K13 */ be_nested_str_weak(INVALID_ACTION),
+ ( &(const bvalue[107]) { /* constants */
+ /* K0 */ be_nested_str_weak(crypto),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(matter),
+ /* K3 */ be_nested_str_weak(TLV),
+ /* K4 */ be_nested_str_weak(cluster),
+ /* K5 */ be_nested_str_weak(command),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(findsubval),
+ /* K8 */ be_const_int(1),
+ /* K9 */ be_nested_str_weak(_breadcrumb),
+ /* K10 */ be_nested_str_weak(Matter_TLV_struct),
+ /* K11 */ be_nested_str_weak(add_TLV),
+ /* K12 */ be_nested_str_weak(U1),
+ /* K13 */ be_nested_str_weak(UTF1),
+ /* K14 */ be_nested_str_weak(),
+ /* K15 */ be_const_int(2),
+ /* K16 */ be_nested_str_weak(XX),
+ /* K17 */ be_const_int(3),
+ /* K18 */ be_nested_str_weak(_fabric),
+ /* K19 */ be_nested_str_weak(fabric_completed),
+ /* K20 */ be_nested_str_weak(set_no_expiration),
+ /* K21 */ be_nested_str_weak(save),
+ /* K22 */ be_nested_str_weak(device),
+ /* K23 */ be_nested_str_weak(start_commissioning_complete_deferred),
+ /* K24 */ be_nested_str_weak(context_error),
+ /* K25 */ be_nested_str_weak(CommissioningComplete_X3A_X20no_X20fabric_X20attached),
+ /* K26 */ be_nested_str_weak(status),
+ /* K27 */ be_nested_str_weak(UNSUPPORTED_COMMAND),
+ /* K28 */ be_nested_str_weak(B2),
+ /* K29 */ be_nested_str_weak(DAC_Cert_FFF1_8000),
+ /* K30 */ be_nested_str_weak(PAI_Cert_FFF1),
+ /* K31 */ be_nested_str_weak(CD_FFF1_8000),
+ /* K32 */ be_nested_str_weak(B1),
+ /* K33 */ be_nested_str_weak(U4),
+ /* K34 */ be_nested_str_weak(tasmota),
+ /* K35 */ be_nested_str_weak(rtc),
+ /* K36 */ be_nested_str_weak(utc),
+ /* K37 */ be_nested_str_weak(tlv2raw),
+ /* K38 */ be_nested_str_weak(get_ac),
+ /* K39 */ be_nested_str_weak(log),
+ /* K40 */ be_nested_str_weak(MTR_X3A_X20attestation_tbs_X3D),
+ /* K41 */ be_nested_str_weak(tohex),
+ /* K42 */ be_nested_str_weak(EC_P256),
+ /* K43 */ be_nested_str_weak(ecdsa_sign_sha256),
+ /* K44 */ be_nested_str_weak(DAC_Priv_FFF1_8000),
+ /* K45 */ be_nested_str_weak(format),
+ /* K46 */ be_nested_str_weak(MTR_X3A_X20CSRRequest_X20CSRNonce_X3D_X25s_X20IsForUpdateNOC_X3D_X25s),
+ /* K47 */ be_nested_str_weak(gen_CSR),
+ /* K48 */ be_nested_str_weak(MTR_X3A_X20nocsr_tbs_X3D),
+ /* K49 */ be_nested_str_weak(set_temp_ca),
+ /* K50 */ be_nested_str_weak(MTR_X3A_X20received_X20ca_root_X3D),
+ /* K51 */ be_nested_str_weak(SUCCESS),
+ /* K52 */ be_nested_str_weak(MTR_X3A_X20AddNoc_X20Args_X3D),
+ /* K53 */ be_nested_str_weak(get_temp_ca),
+ /* K54 */ be_nested_str_weak(MTR_X3A_X20Error_X3A_X20AdNOC_X20without_X20CA),
+ /* K55 */ be_nested_str_weak(sessions),
+ /* K56 */ be_nested_str_weak(create_fabric),
+ /* K57 */ be_nested_str_weak(set_ca),
+ /* K58 */ be_nested_str_weak(set_noc_icac),
+ /* K59 */ be_nested_str_weak(set_ipk_epoch_key),
+ /* K60 */ be_nested_str_weak(set_admin_subject_vendor),
+ /* K61 */ be_nested_str_weak(set_pk),
+ /* K62 */ be_nested_str_weak(get_pk),
+ /* K63 */ be_nested_str_weak(parse),
+ /* K64 */ be_nested_str_weak(findsub),
+ /* K65 */ be_nested_str_weak(MTR_X3A_X20Error_X3A_X20no_X20fabricid_X20nor_X20deviceid_X20in_X20NOC_X20certificate),
+ /* K66 */ be_nested_str_weak(int),
+ /* K67 */ be_nested_str_weak(int64),
+ /* K68 */ be_nested_str_weak(fromu32),
+ /* K69 */ be_nested_str_weak(tobytes),
+ /* K70 */ be_nested_str_weak(get_temp_ca_pub),
+ /* K71 */ be_const_int(2147483647),
+ /* K72 */ be_nested_str_weak(fromstring),
+ /* K73 */ be_nested_str_weak(CompressedFabric),
+ /* K74 */ be_nested_str_weak(HKDF_SHA256),
+ /* K75 */ be_nested_str_weak(copy),
+ /* K76 */ be_nested_str_weak(reverse),
+ /* K77 */ be_nested_str_weak(derive),
+ /* K78 */ be_nested_str_weak(commissioning_admin_fabric),
+ /* K79 */ be_nested_str_weak(set_fabric_device),
+ /* K80 */ be_nested_str_weak(fabric_candidate),
+ /* K81 */ be_nested_str_weak(start_operational_discovery_deferred),
+ /* K82 */ be_nested_str_weak(is_PASE),
+ /* K83 */ be_nested_str_weak(set_expire_in_seconds),
+ /* K84 */ be_nested_str_weak(log_new_fabric),
+ /* K85 */ be_nested_str_weak(set_fabric_label),
+ /* K86 */ be_nested_str_weak(MTR_X3A_X20_X2E_X20_X20_X20_X20_X20_X20_X20_X20_X20_X20Update_X20fabric_X20_X27_X25s_X27_X20label_X3D_X27_X25s_X27),
+ /* K87 */ be_nested_str_weak(get_fabric_id),
+ /* K88 */ be_nested_str_weak(fabric_index_X3A),
+ /* K89 */ be_nested_str_weak(active_fabrics),
+ /* K90 */ be_nested_str_weak(get_fabric_index),
+ /* K91 */ be_nested_str_weak(MTR_X3A_X20removing_X20fabric_X20),
+ /* K92 */ be_nested_str_weak(set_timer),
+ /* K93 */ be_nested_str_weak(stop_iteration),
+ /* K94 */ be_nested_str_weak(MTR_X3A_X20RemoveFabric_X20fabric_X28),
+ /* K95 */ be_nested_str_weak(_X29_X20not_X20found),
+ /* K96 */ be_nested_str_weak(INVALID_ACTION),
+ /* K97 */ be_nested_str_weak(MTR_X3A_X20OpenCommissioningWindow_X28timeout_X3D_X25i_X2C_X20passcode_X3D_X25s_X2C_X20discriminator_X3D_X25i_X2C_X20iterations_X3D_X25i_X2C_X20salt_X3D_X25s_X29),
+ /* K98 */ be_nested_str_weak(INVALID_DATA_TYPE),
+ /* K99 */ be_nested_str_weak(MTR_X3A_X20wrong_X20size_X20for_X20PAKE_X20parameters),
+ /* K100 */ be_nested_str_weak(CONSTRAINT_ERROR),
+ /* K101 */ be_nested_str_weak(start_basic_commissioning),
+ /* K102 */ be_nested_str_weak(get_fabric),
+ /* K103 */ be_nested_str_weak(MTR_X3A_X20OpenBasicCommissioningWindow_X20commissioning_timeout_X3D),
+ /* K104 */ be_nested_str_weak(start_root_basic_commissioning),
+ /* K105 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K106 */ be_nested_str_weak(invoke_request),
}),
- be_str_weak(write_attribute),
+ be_str_weak(invoke_request),
&be_const_str_solidified,
- ( &(const binstruction[101]) { /* code */
+ ( &(const binstruction[755]) { /* code */
0xA4120000, // 0000 IMPORT R4 K0
- 0xB8160200, // 0001 GETNGBL R5 K1
- 0x88140B02, // 0002 GETMBR R5 R5 K2
- 0x88180503, // 0003 GETMBR R6 R2 K3
- 0x881C0504, // 0004 GETMBR R7 R2 K4
- 0x5422002F, // 0005 LDINT R8 48
- 0x1C200C08, // 0006 EQ R8 R6 R8
- 0x78220019, // 0007 JMPF R8 #0022
- 0x1C200F05, // 0008 EQ R8 R7 K5
- 0x78220016, // 0009 JMPF R8 #0021
- 0x60200004, // 000A GETGBL R8 G4
- 0x5C240600, // 000B MOVE R9 R3
- 0x7C200200, // 000C CALL R8 1
- 0x1C201106, // 000D EQ R8 R8 K6
- 0x74220004, // 000E JMPT R8 #0014
- 0x6020000F, // 000F GETGBL R8 G15
- 0x5C240600, // 0010 MOVE R9 R3
- 0xB82A0E00, // 0011 GETNGBL R10 K7
- 0x7C200400, // 0012 CALL R8 2
- 0x78220007, // 0013 JMPF R8 #001C
- 0x90061003, // 0014 SETMBR R1 K8 R3
- 0x8C200109, // 0015 GETMET R8 R0 K9
- 0x88280503, // 0016 GETMBR R10 R2 K3
- 0x882C0504, // 0017 GETMBR R11 R2 K4
- 0x7C200600, // 0018 CALL R8 3
- 0x50200200, // 0019 LDBOOL R8 1 0
- 0x80041000, // 001A RET 1 R8
- 0x70020004, // 001B JMP #0021
- 0xB8220200, // 001C GETNGBL R8 K1
- 0x8820110B, // 001D GETMBR R8 R8 K11
- 0x900A1408, // 001E SETMBR R2 K10 R8
- 0x50200000, // 001F LDBOOL R8 0 0
- 0x80041000, // 0020 RET 1 R8
- 0x70020041, // 0021 JMP #0064
- 0x5422001E, // 0022 LDINT R8 31
- 0x1C200C08, // 0023 EQ R8 R6 R8
- 0x78220004, // 0024 JMPF R8 #002A
- 0x1C200F05, // 0025 EQ R8 R7 K5
- 0x78220001, // 0026 JMPF R8 #0029
- 0x50200200, // 0027 LDBOOL R8 1 0
- 0x80041000, // 0028 RET 1 R8
- 0x70020039, // 0029 JMP #0064
- 0x54220027, // 002A LDINT R8 40
- 0x1C200C08, // 002B EQ R8 R6 R8
- 0x7822000B, // 002C JMPF R8 #0039
- 0x54220004, // 002D LDINT R8 5
- 0x1C200E08, // 002E EQ R8 R7 R8
- 0x78220002, // 002F JMPF R8 #0033
- 0x50200200, // 0030 LDBOOL R8 1 0
- 0x80041000, // 0031 RET 1 R8
- 0x70020004, // 0032 JMP #0038
- 0x54220005, // 0033 LDINT R8 6
- 0x1C200E08, // 0034 EQ R8 R7 R8
- 0x78220001, // 0035 JMPF R8 #0038
- 0x50200200, // 0036 LDBOOL R8 1 0
- 0x80041000, // 0037 RET 1 R8
- 0x7002002A, // 0038 JMP #0064
- 0x54220029, // 0039 LDINT R8 42
- 0x1C200C08, // 003A EQ R8 R6 R8
- 0x78220004, // 003B JMPF R8 #0041
- 0x1C200F05, // 003C EQ R8 R7 K5
- 0x78220001, // 003D JMPF R8 #0040
- 0x50200200, // 003E LDBOOL R8 1 0
- 0x80041000, // 003F RET 1 R8
- 0x70020022, // 0040 JMP #0064
- 0x5422002A, // 0041 LDINT R8 43
- 0x1C200C08, // 0042 EQ R8 R6 R8
- 0x78220007, // 0043 JMPF R8 #004C
- 0x1C200F05, // 0044 EQ R8 R7 K5
- 0x78220004, // 0045 JMPF R8 #004B
- 0xB8220200, // 0046 GETNGBL R8 K1
- 0x8820110B, // 0047 GETMBR R8 R8 K11
- 0x900A1408, // 0048 SETMBR R2 K10 R8
- 0x50200000, // 0049 LDBOOL R8 0 0
- 0x80041000, // 004A RET 1 R8
- 0x70020017, // 004B JMP #0064
- 0x5422002B, // 004C LDINT R8 44
- 0x1C200C08, // 004D EQ R8 R6 R8
- 0x78220009, // 004E JMPF R8 #0059
- 0x1C200F05, // 004F EQ R8 R7 K5
- 0x78220002, // 0050 JMPF R8 #0054
- 0x50200200, // 0051 LDBOOL R8 1 0
- 0x80041000, // 0052 RET 1 R8
- 0x70020003, // 0053 JMP #0058
- 0x1C200F0C, // 0054 EQ R8 R7 K12
- 0x78220001, // 0055 JMPF R8 #0058
- 0x50200200, // 0056 LDBOOL R8 1 0
- 0x80041000, // 0057 RET 1 R8
- 0x7002000A, // 0058 JMP #0064
- 0x54220030, // 0059 LDINT R8 49
- 0x1C200C08, // 005A EQ R8 R6 R8
- 0x78220007, // 005B JMPF R8 #0064
- 0x54220003, // 005C LDINT R8 4
- 0x1C200E08, // 005D EQ R8 R7 R8
- 0x78220004, // 005E JMPF R8 #0064
- 0xB8220200, // 005F GETNGBL R8 K1
- 0x8820110D, // 0060 GETMBR R8 R8 K13
- 0x900A1408, // 0061 SETMBR R2 K10 R8
- 0x50200000, // 0062 LDBOOL R8 0 0
- 0x80041000, // 0063 RET 1 R8
- 0x80000000, // 0064 RET 0
+ 0xA4160200, // 0001 IMPORT R5 K1
+ 0xB81A0400, // 0002 GETNGBL R6 K2
+ 0x88180D03, // 0003 GETMBR R6 R6 K3
+ 0x881C0704, // 0004 GETMBR R7 R3 K4
+ 0x88200705, // 0005 GETMBR R8 R3 K5
+ 0x5426002F, // 0006 LDINT R9 48
+ 0x1C240E09, // 0007 EQ R9 R7 R9
+ 0x78260059, // 0008 JMPF R9 #0063
+ 0x1C241106, // 0009 EQ R9 R8 K6
+ 0x78260017, // 000A JMPF R9 #0023
+ 0x8C240507, // 000B GETMET R9 R2 K7
+ 0x582C0006, // 000C LDCONST R11 K6
+ 0x54320383, // 000D LDINT R12 900
+ 0x7C240600, // 000E CALL R9 3
+ 0x8C280507, // 000F GETMET R10 R2 K7
+ 0x58300008, // 0010 LDCONST R12 K8
+ 0x58340006, // 0011 LDCONST R13 K6
+ 0x7C280600, // 0012 CALL R10 3
+ 0x9006120A, // 0013 SETMBR R1 K9 R10
+ 0x8C2C0D0A, // 0014 GETMET R11 R6 K10
+ 0x7C2C0200, // 0015 CALL R11 1
+ 0x8C30170B, // 0016 GETMET R12 R11 K11
+ 0x58380006, // 0017 LDCONST R14 K6
+ 0x883C0D0C, // 0018 GETMBR R15 R6 K12
+ 0x58400006, // 0019 LDCONST R16 K6
+ 0x7C300800, // 001A CALL R12 4
+ 0x8C30170B, // 001B GETMET R12 R11 K11
+ 0x58380008, // 001C LDCONST R14 K8
+ 0x883C0D0D, // 001D GETMBR R15 R6 K13
+ 0x5840000E, // 001E LDCONST R16 K14
+ 0x7C300800, // 001F CALL R12 4
+ 0x900E0B08, // 0020 SETMBR R3 K5 K8
+ 0x80041600, // 0021 RET 1 R11
+ 0x7002003E, // 0022 JMP #0062
+ 0x1C24110F, // 0023 EQ R9 R8 K15
+ 0x7826001A, // 0024 JMPF R9 #0040
+ 0x8C240507, // 0025 GETMET R9 R2 K7
+ 0x582C0006, // 0026 LDCONST R11 K6
+ 0x7C240400, // 0027 CALL R9 2
+ 0x8C280507, // 0028 GETMET R10 R2 K7
+ 0x58300008, // 0029 LDCONST R12 K8
+ 0x58340010, // 002A LDCONST R13 K16
+ 0x7C280600, // 002B CALL R10 3
+ 0x8C2C0507, // 002C GETMET R11 R2 K7
+ 0x5834000F, // 002D LDCONST R13 K15
+ 0x58380006, // 002E LDCONST R14 K6
+ 0x7C2C0600, // 002F CALL R11 3
+ 0x9006120B, // 0030 SETMBR R1 K9 R11
+ 0x8C300D0A, // 0031 GETMET R12 R6 K10
+ 0x7C300200, // 0032 CALL R12 1
+ 0x8C34190B, // 0033 GETMET R13 R12 K11
+ 0x583C0006, // 0034 LDCONST R15 K6
+ 0x88400D0C, // 0035 GETMBR R16 R6 K12
+ 0x58440006, // 0036 LDCONST R17 K6
+ 0x7C340800, // 0037 CALL R13 4
+ 0x8C34190B, // 0038 GETMET R13 R12 K11
+ 0x583C0008, // 0039 LDCONST R15 K8
+ 0x88400D0D, // 003A GETMBR R16 R6 K13
+ 0x5844000E, // 003B LDCONST R17 K14
+ 0x7C340800, // 003C CALL R13 4
+ 0x900E0B11, // 003D SETMBR R3 K5 K17
+ 0x80041800, // 003E RET 1 R12
+ 0x70020021, // 003F JMP #0062
+ 0x54260003, // 0040 LDINT R9 4
+ 0x1C241009, // 0041 EQ R9 R8 R9
+ 0x7826001E, // 0042 JMPF R9 #0062
+ 0x88240312, // 0043 GETMBR R9 R1 K18
+ 0x7826001B, // 0044 JMPF R9 #0061
+ 0x90061306, // 0045 SETMBR R1 K9 K6
+ 0x88240312, // 0046 GETMBR R9 R1 K18
+ 0x8C241313, // 0047 GETMET R9 R9 K19
+ 0x7C240200, // 0048 CALL R9 1
+ 0x8C240314, // 0049 GETMET R9 R1 K20
+ 0x7C240200, // 004A CALL R9 1
+ 0x8C240315, // 004B GETMET R9 R1 K21
+ 0x7C240200, // 004C CALL R9 1
+ 0x8C240D0A, // 004D GETMET R9 R6 K10
+ 0x7C240200, // 004E CALL R9 1
+ 0x8C28130B, // 004F GETMET R10 R9 K11
+ 0x58300006, // 0050 LDCONST R12 K6
+ 0x88340D0C, // 0051 GETMBR R13 R6 K12
+ 0x58380006, // 0052 LDCONST R14 K6
+ 0x7C280800, // 0053 CALL R10 4
+ 0x8C28130B, // 0054 GETMET R10 R9 K11
+ 0x58300008, // 0055 LDCONST R12 K8
+ 0x88340D0D, // 0056 GETMBR R13 R6 K13
+ 0x5838000E, // 0057 LDCONST R14 K14
+ 0x7C280800, // 0058 CALL R10 4
+ 0x542A0004, // 0059 LDINT R10 5
+ 0x900E0A0A, // 005A SETMBR R3 K5 R10
+ 0x88280116, // 005B GETMBR R10 R0 K22
+ 0x8C281517, // 005C GETMET R10 R10 K23
+ 0x5C300200, // 005D MOVE R12 R1
+ 0x7C280400, // 005E CALL R10 2
+ 0x80041200, // 005F RET 1 R9
+ 0x70020000, // 0060 JMP #0062
+ 0xB0063119, // 0061 RAISE 1 K24 K25
+ 0x7002028D, // 0062 JMP #02F1
+ 0x5426003D, // 0063 LDINT R9 62
+ 0x1C240E09, // 0064 EQ R9 R7 R9
+ 0x782601EF, // 0065 JMPF R9 #0256
+ 0x1C24110F, // 0066 EQ R9 R8 K15
+ 0x7826001D, // 0067 JMPF R9 #0086
+ 0x8C240507, // 0068 GETMET R9 R2 K7
+ 0x582C0006, // 0069 LDCONST R11 K6
+ 0x7C240400, // 006A CALL R9 2
+ 0x20281308, // 006B NE R10 R9 K8
+ 0x782A0006, // 006C JMPF R10 #0074
+ 0x2028130F, // 006D NE R10 R9 K15
+ 0x782A0004, // 006E JMPF R10 #0074
+ 0xB82A0400, // 006F GETNGBL R10 K2
+ 0x8828151B, // 0070 GETMBR R10 R10 K27
+ 0x900E340A, // 0071 SETMBR R3 K26 R10
+ 0x4C280000, // 0072 LDNIL R10
+ 0x80041400, // 0073 RET 1 R10
+ 0x8C280D0A, // 0074 GETMET R10 R6 K10
+ 0x7C280200, // 0075 CALL R10 1
+ 0x8C2C150B, // 0076 GETMET R11 R10 K11
+ 0x58340006, // 0077 LDCONST R13 K6
+ 0x88380D1C, // 0078 GETMBR R14 R6 K28
+ 0x1C3C1308, // 0079 EQ R15 R9 K8
+ 0x783E0003, // 007A JMPF R15 #007F
+ 0xB83E0400, // 007B GETNGBL R15 K2
+ 0x8C3C1F1D, // 007C GETMET R15 R15 K29
+ 0x7C3C0200, // 007D CALL R15 1
+ 0x70020002, // 007E JMP #0082
+ 0xB83E0400, // 007F GETNGBL R15 K2
+ 0x8C3C1F1E, // 0080 GETMET R15 R15 K30
+ 0x7C3C0200, // 0081 CALL R15 1
+ 0x7C2C0800, // 0082 CALL R11 4
+ 0x900E0B11, // 0083 SETMBR R3 K5 K17
+ 0x80041400, // 0084 RET 1 R10
+ 0x700201CE, // 0085 JMP #0255
+ 0x1C241106, // 0086 EQ R9 R8 K6
+ 0x78260044, // 0087 JMPF R9 #00CD
+ 0x8C240507, // 0088 GETMET R9 R2 K7
+ 0x582C0006, // 0089 LDCONST R11 K6
+ 0x7C240400, // 008A CALL R9 2
+ 0x6028000C, // 008B GETGBL R10 G12
+ 0x5C2C1200, // 008C MOVE R11 R9
+ 0x7C280200, // 008D CALL R10 1
+ 0x542E001F, // 008E LDINT R11 32
+ 0x2028140B, // 008F NE R10 R10 R11
+ 0x782A0001, // 0090 JMPF R10 #0093
+ 0x4C280000, // 0091 LDNIL R10
+ 0x80041400, // 0092 RET 1 R10
+ 0x900E0B08, // 0093 SETMBR R3 K5 K8
+ 0x8C280D0A, // 0094 GETMET R10 R6 K10
+ 0x7C280200, // 0095 CALL R10 1
+ 0x8C2C150B, // 0096 GETMET R11 R10 K11
+ 0x58340008, // 0097 LDCONST R13 K8
+ 0x88380D1C, // 0098 GETMBR R14 R6 K28
+ 0xB83E0400, // 0099 GETNGBL R15 K2
+ 0x8C3C1F1F, // 009A GETMET R15 R15 K31
+ 0x7C3C0200, // 009B CALL R15 1
+ 0x7C2C0800, // 009C CALL R11 4
+ 0x8C2C150B, // 009D GETMET R11 R10 K11
+ 0x5834000F, // 009E LDCONST R13 K15
+ 0x88380D20, // 009F GETMBR R14 R6 K32
+ 0x5C3C1200, // 00A0 MOVE R15 R9
+ 0x7C2C0800, // 00A1 CALL R11 4
+ 0x8C2C150B, // 00A2 GETMET R11 R10 K11
+ 0x58340011, // 00A3 LDCONST R13 K17
+ 0x88380D21, // 00A4 GETMBR R14 R6 K33
+ 0xB83E4400, // 00A5 GETNGBL R15 K34
+ 0x8C3C1F23, // 00A6 GETMET R15 R15 K35
+ 0x7C3C0200, // 00A7 CALL R15 1
+ 0x943C1F24, // 00A8 GETIDX R15 R15 K36
+ 0x7C2C0800, // 00A9 CALL R11 4
+ 0x8C2C1525, // 00AA GETMET R11 R10 K37
+ 0x7C2C0200, // 00AB CALL R11 1
+ 0x8C300326, // 00AC GETMET R12 R1 K38
+ 0x7C300200, // 00AD CALL R12 1
+ 0x0034160C, // 00AE ADD R13 R11 R12
+ 0xB83A4400, // 00AF GETNGBL R14 K34
+ 0x8C381D27, // 00B0 GETMET R14 R14 K39
+ 0x8C401B29, // 00B1 GETMET R16 R13 K41
+ 0x7C400200, // 00B2 CALL R16 1
+ 0x00425010, // 00B3 ADD R16 K40 R16
+ 0x58440011, // 00B4 LDCONST R17 K17
+ 0x7C380600, // 00B5 CALL R14 3
+ 0x8C38092A, // 00B6 GETMET R14 R4 K42
+ 0x7C380200, // 00B7 CALL R14 1
+ 0x8C381D2B, // 00B8 GETMET R14 R14 K43
+ 0xB8420400, // 00B9 GETNGBL R16 K2
+ 0x8C40212C, // 00BA GETMET R16 R16 K44
+ 0x7C400200, // 00BB CALL R16 1
+ 0x5C441A00, // 00BC MOVE R17 R13
+ 0x7C380600, // 00BD CALL R14 3
+ 0x8C3C0D0A, // 00BE GETMET R15 R6 K10
+ 0x7C3C0200, // 00BF CALL R15 1
+ 0x8C401F0B, // 00C0 GETMET R16 R15 K11
+ 0x58480006, // 00C1 LDCONST R18 K6
+ 0x884C0D1C, // 00C2 GETMBR R19 R6 K28
+ 0x5C501600, // 00C3 MOVE R20 R11
+ 0x7C400800, // 00C4 CALL R16 4
+ 0x8C401F0B, // 00C5 GETMET R16 R15 K11
+ 0x58480008, // 00C6 LDCONST R18 K8
+ 0x884C0D20, // 00C7 GETMBR R19 R6 K32
+ 0x5C501C00, // 00C8 MOVE R20 R14
+ 0x7C400800, // 00C9 CALL R16 4
+ 0x900E0B08, // 00CA SETMBR R3 K5 K8
+ 0x80041E00, // 00CB RET 1 R15
+ 0x70020187, // 00CC JMP #0255
+ 0x54260003, // 00CD LDINT R9 4
+ 0x1C241009, // 00CE EQ R9 R8 R9
+ 0x7826004D, // 00CF JMPF R9 #011E
+ 0x8C240507, // 00D0 GETMET R9 R2 K7
+ 0x582C0006, // 00D1 LDCONST R11 K6
+ 0x7C240400, // 00D2 CALL R9 2
+ 0x6028000C, // 00D3 GETGBL R10 G12
+ 0x5C2C1200, // 00D4 MOVE R11 R9
+ 0x7C280200, // 00D5 CALL R10 1
+ 0x542E001F, // 00D6 LDINT R11 32
+ 0x2028140B, // 00D7 NE R10 R10 R11
+ 0x782A0001, // 00D8 JMPF R10 #00DB
+ 0x4C280000, // 00D9 LDNIL R10
+ 0x80041400, // 00DA RET 1 R10
+ 0x8C280507, // 00DB GETMET R10 R2 K7
+ 0x58300008, // 00DC LDCONST R12 K8
+ 0x50340000, // 00DD LDBOOL R13 0 0
+ 0x7C280600, // 00DE CALL R10 3
+ 0xB82E4400, // 00DF GETNGBL R11 K34
+ 0x8C2C1727, // 00E0 GETMET R11 R11 K39
+ 0x8C340B2D, // 00E1 GETMET R13 R5 K45
+ 0x583C002E, // 00E2 LDCONST R15 K46
+ 0x60400008, // 00E3 GETGBL R16 G8
+ 0x5C441200, // 00E4 MOVE R17 R9
+ 0x7C400200, // 00E5 CALL R16 1
+ 0x60440008, // 00E6 GETGBL R17 G8
+ 0x5C481400, // 00E7 MOVE R18 R10
+ 0x7C440200, // 00E8 CALL R17 1
+ 0x7C340800, // 00E9 CALL R13 4
+ 0x58380011, // 00EA LDCONST R14 K17
+ 0x7C2C0600, // 00EB CALL R11 3
+ 0x8C2C032F, // 00EC GETMET R11 R1 K47
+ 0x7C2C0200, // 00ED CALL R11 1
+ 0x8C300D0A, // 00EE GETMET R12 R6 K10
+ 0x7C300200, // 00EF CALL R12 1
+ 0x8C34190B, // 00F0 GETMET R13 R12 K11
+ 0x583C0008, // 00F1 LDCONST R15 K8
+ 0x88400D1C, // 00F2 GETMBR R16 R6 K28
+ 0x5C441600, // 00F3 MOVE R17 R11
+ 0x7C340800, // 00F4 CALL R13 4
+ 0x8C34190B, // 00F5 GETMET R13 R12 K11
+ 0x583C000F, // 00F6 LDCONST R15 K15
+ 0x88400D20, // 00F7 GETMBR R16 R6 K32
+ 0x5C441200, // 00F8 MOVE R17 R9
+ 0x7C340800, // 00F9 CALL R13 4
+ 0x8C341925, // 00FA GETMET R13 R12 K37
+ 0x7C340200, // 00FB CALL R13 1
+ 0x8C380326, // 00FC GETMET R14 R1 K38
+ 0x7C380200, // 00FD CALL R14 1
+ 0x00381A0E, // 00FE ADD R14 R13 R14
+ 0xB83E4400, // 00FF GETNGBL R15 K34
+ 0x8C3C1F27, // 0100 GETMET R15 R15 K39
+ 0x8C441D29, // 0101 GETMET R17 R14 K41
+ 0x7C440200, // 0102 CALL R17 1
+ 0x00466011, // 0103 ADD R17 K48 R17
+ 0x58480011, // 0104 LDCONST R18 K17
+ 0x7C3C0600, // 0105 CALL R15 3
+ 0x8C3C092A, // 0106 GETMET R15 R4 K42
+ 0x7C3C0200, // 0107 CALL R15 1
+ 0x8C3C1F2B, // 0108 GETMET R15 R15 K43
+ 0xB8460400, // 0109 GETNGBL R17 K2
+ 0x8C44232C, // 010A GETMET R17 R17 K44
+ 0x7C440200, // 010B CALL R17 1
+ 0x5C481C00, // 010C MOVE R18 R14
+ 0x7C3C0600, // 010D CALL R15 3
+ 0x8C400D0A, // 010E GETMET R16 R6 K10
+ 0x7C400200, // 010F CALL R16 1
+ 0x8C44210B, // 0110 GETMET R17 R16 K11
+ 0x584C0006, // 0111 LDCONST R19 K6
+ 0x88500D1C, // 0112 GETMBR R20 R6 K28
+ 0x5C541A00, // 0113 MOVE R21 R13
+ 0x7C440800, // 0114 CALL R17 4
+ 0x8C44210B, // 0115 GETMET R17 R16 K11
+ 0x584C0008, // 0116 LDCONST R19 K8
+ 0x88500D20, // 0117 GETMBR R20 R6 K32
+ 0x5C541E00, // 0118 MOVE R21 R15
+ 0x7C440800, // 0119 CALL R17 4
+ 0x54460004, // 011A LDINT R17 5
+ 0x900E0A11, // 011B SETMBR R3 K5 R17
+ 0x80042000, // 011C RET 1 R16
+ 0x70020136, // 011D JMP #0255
+ 0x5426000A, // 011E LDINT R9 11
+ 0x1C241009, // 011F EQ R9 R8 R9
+ 0x78260012, // 0120 JMPF R9 #0134
+ 0x8C240507, // 0121 GETMET R9 R2 K7
+ 0x582C0006, // 0122 LDCONST R11 K6
+ 0x7C240400, // 0123 CALL R9 2
+ 0x8C280331, // 0124 GETMET R10 R1 K49
+ 0x5C301200, // 0125 MOVE R12 R9
+ 0x7C280400, // 0126 CALL R10 2
+ 0xB82A4400, // 0127 GETNGBL R10 K34
+ 0x8C281527, // 0128 GETMET R10 R10 K39
+ 0x8C301329, // 0129 GETMET R12 R9 K41
+ 0x7C300200, // 012A CALL R12 1
+ 0x0032640C, // 012B ADD R12 K50 R12
+ 0x58340011, // 012C LDCONST R13 K17
+ 0x7C280600, // 012D CALL R10 3
+ 0xB82A0400, // 012E GETNGBL R10 K2
+ 0x88281533, // 012F GETMBR R10 R10 K51
+ 0x900E340A, // 0130 SETMBR R3 K26 R10
+ 0x4C280000, // 0131 LDNIL R10
+ 0x80041400, // 0132 RET 1 R10
+ 0x70020120, // 0133 JMP #0255
+ 0x54260005, // 0134 LDINT R9 6
+ 0x1C241009, // 0135 EQ R9 R8 R9
+ 0x782600B9, // 0136 JMPF R9 #01F1
+ 0xB8264400, // 0137 GETNGBL R9 K34
+ 0x8C241327, // 0138 GETMET R9 R9 K39
+ 0x602C0008, // 0139 GETGBL R11 G8
+ 0x5C300400, // 013A MOVE R12 R2
+ 0x7C2C0200, // 013B CALL R11 1
+ 0x002E680B, // 013C ADD R11 K52 R11
+ 0x58300011, // 013D LDCONST R12 K17
+ 0x7C240600, // 013E CALL R9 3
+ 0x8C240507, // 013F GETMET R9 R2 K7
+ 0x582C0006, // 0140 LDCONST R11 K6
+ 0x7C240400, // 0141 CALL R9 2
+ 0x8C280507, // 0142 GETMET R10 R2 K7
+ 0x58300008, // 0143 LDCONST R12 K8
+ 0x7C280400, // 0144 CALL R10 2
+ 0x602C000C, // 0145 GETGBL R11 G12
+ 0x5C301400, // 0146 MOVE R12 R10
+ 0x7C2C0200, // 0147 CALL R11 1
+ 0x1C2C1706, // 0148 EQ R11 R11 K6
+ 0x782E0000, // 0149 JMPF R11 #014B
+ 0x4C280000, // 014A LDNIL R10
+ 0x8C2C0507, // 014B GETMET R11 R2 K7
+ 0x5834000F, // 014C LDCONST R13 K15
+ 0x7C2C0400, // 014D CALL R11 2
+ 0x8C300507, // 014E GETMET R12 R2 K7
+ 0x58380011, // 014F LDCONST R14 K17
+ 0x7C300400, // 0150 CALL R12 2
+ 0x8C340507, // 0151 GETMET R13 R2 K7
+ 0x543E0003, // 0152 LDINT R15 4
+ 0x7C340400, // 0153 CALL R13 2
+ 0x8C380335, // 0154 GETMET R14 R1 K53
+ 0x7C380200, // 0155 CALL R14 1
+ 0x4C3C0000, // 0156 LDNIL R15
+ 0x1C381C0F, // 0157 EQ R14 R14 R15
+ 0x783A0006, // 0158 JMPF R14 #0160
+ 0xB83A4400, // 0159 GETNGBL R14 K34
+ 0x8C381D27, // 015A GETMET R14 R14 K39
+ 0x58400036, // 015B LDCONST R16 K54
+ 0x5844000F, // 015C LDCONST R17 K15
+ 0x7C380600, // 015D CALL R14 3
+ 0x4C380000, // 015E LDNIL R14
+ 0x80041C00, // 015F RET 1 R14
+ 0x88380116, // 0160 GETMBR R14 R0 K22
+ 0x88381D37, // 0161 GETMBR R14 R14 K55
+ 0x8C381D38, // 0162 GETMET R14 R14 K56
+ 0x7C380200, // 0163 CALL R14 1
+ 0x8C3C1D39, // 0164 GETMET R15 R14 K57
+ 0x8C440335, // 0165 GETMET R17 R1 K53
+ 0x7C440200, // 0166 CALL R17 1
+ 0x7C3C0400, // 0167 CALL R15 2
+ 0x8C3C1D3A, // 0168 GETMET R15 R14 K58
+ 0x5C441200, // 0169 MOVE R17 R9
+ 0x5C481400, // 016A MOVE R18 R10
+ 0x7C3C0600, // 016B CALL R15 3
+ 0x8C3C1D3B, // 016C GETMET R15 R14 K59
+ 0x5C441600, // 016D MOVE R17 R11
+ 0x7C3C0400, // 016E CALL R15 2
+ 0x8C3C1D3C, // 016F GETMET R15 R14 K60
+ 0x5C441800, // 0170 MOVE R17 R12
+ 0x5C481A00, // 0171 MOVE R18 R13
+ 0x7C3C0600, // 0172 CALL R15 3
+ 0x8C3C1D3D, // 0173 GETMET R15 R14 K61
+ 0x8C44033E, // 0174 GETMET R17 R1 K62
+ 0x7C440200, // 0175 CALL R17 1
+ 0x7C3C0400, // 0176 CALL R15 2
+ 0xB83E0400, // 0177 GETNGBL R15 K2
+ 0x883C1F03, // 0178 GETMBR R15 R15 K3
+ 0x8C3C1F3F, // 0179 GETMET R15 R15 K63
+ 0x5C441200, // 017A MOVE R17 R9
+ 0x7C3C0400, // 017B CALL R15 2
+ 0x8C401F40, // 017C GETMET R16 R15 K64
+ 0x544A0005, // 017D LDINT R18 6
+ 0x7C400400, // 017E CALL R16 2
+ 0x8C442107, // 017F GETMET R17 R16 K7
+ 0x544E0014, // 0180 LDINT R19 21
+ 0x7C440400, // 0181 CALL R17 2
+ 0x8C482107, // 0182 GETMET R18 R16 K7
+ 0x54520010, // 0183 LDINT R20 17
+ 0x7C480400, // 0184 CALL R18 2
+ 0x5C4C2200, // 0185 MOVE R19 R17
+ 0x784E0001, // 0186 JMPF R19 #0189
+ 0x5C4C2400, // 0187 MOVE R19 R18
+ 0x744E0006, // 0188 JMPT R19 #0190
+ 0xB84E4400, // 0189 GETNGBL R19 K34
+ 0x8C4C2727, // 018A GETMET R19 R19 K39
+ 0x58540041, // 018B LDCONST R21 K65
+ 0x5858000F, // 018C LDCONST R22 K15
+ 0x7C4C0600, // 018D CALL R19 3
+ 0x504C0000, // 018E LDBOOL R19 0 0
+ 0x80042600, // 018F RET 1 R19
+ 0x604C0004, // 0190 GETGBL R19 G4
+ 0x5C502200, // 0191 MOVE R20 R17
+ 0x7C4C0200, // 0192 CALL R19 1
+ 0x1C4C2742, // 0193 EQ R19 R19 K66
+ 0x784E0007, // 0194 JMPF R19 #019D
+ 0xB84E8600, // 0195 GETNGBL R19 K67
+ 0x8C4C2744, // 0196 GETMET R19 R19 K68
+ 0x5C542200, // 0197 MOVE R21 R17
+ 0x7C4C0400, // 0198 CALL R19 2
+ 0x8C4C2745, // 0199 GETMET R19 R19 K69
+ 0x7C4C0200, // 019A CALL R19 1
+ 0x5C442600, // 019B MOVE R17 R19
+ 0x70020002, // 019C JMP #01A0
+ 0x8C4C2345, // 019D GETMET R19 R17 K69
+ 0x7C4C0200, // 019E CALL R19 1
+ 0x5C442600, // 019F MOVE R17 R19
+ 0x604C0004, // 01A0 GETGBL R19 G4
+ 0x5C502400, // 01A1 MOVE R20 R18
+ 0x7C4C0200, // 01A2 CALL R19 1
+ 0x1C4C2742, // 01A3 EQ R19 R19 K66
+ 0x784E0007, // 01A4 JMPF R19 #01AD
+ 0xB84E8600, // 01A5 GETNGBL R19 K67
+ 0x8C4C2744, // 01A6 GETMET R19 R19 K68
+ 0x5C542400, // 01A7 MOVE R21 R18
+ 0x7C4C0400, // 01A8 CALL R19 2
+ 0x8C4C2745, // 01A9 GETMET R19 R19 K69
+ 0x7C4C0200, // 01AA CALL R19 1
+ 0x5C482600, // 01AB MOVE R18 R19
+ 0x70020002, // 01AC JMP #01B0
+ 0x8C4C2545, // 01AD GETMET R19 R18 K69
+ 0x7C4C0200, // 01AE CALL R19 1
+ 0x5C482600, // 01AF MOVE R18 R19
+ 0x8C4C0346, // 01B0 GETMET R19 R1 K70
+ 0x7C4C0200, // 01B1 CALL R19 1
+ 0x40521147, // 01B2 CONNECT R20 K8 K71
+ 0x944C2614, // 01B3 GETIDX R19 R19 R20
+ 0x60540015, // 01B4 GETGBL R21 G21
+ 0x7C540000, // 01B5 CALL R21 0
+ 0x8C542B48, // 01B6 GETMET R21 R21 K72
+ 0x585C0049, // 01B7 LDCONST R23 K73
+ 0x7C540400, // 01B8 CALL R21 2
+ 0x5C502A00, // 01B9 MOVE R20 R21
+ 0x8C54094A, // 01BA GETMET R21 R4 K74
+ 0x7C540200, // 01BB CALL R21 1
+ 0x8C58234B, // 01BC GETMET R22 R17 K75
+ 0x7C580200, // 01BD CALL R22 1
+ 0x8C582D4C, // 01BE GETMET R22 R22 K76
+ 0x7C580200, // 01BF CALL R22 1
+ 0x8C5C2B4D, // 01C0 GETMET R23 R21 K77
+ 0x5C642600, // 01C1 MOVE R25 R19
+ 0x5C682C00, // 01C2 MOVE R26 R22
+ 0x5C6C2800, // 01C3 MOVE R27 R20
+ 0x54720007, // 01C4 LDINT R28 8
+ 0x7C5C0A00, // 01C5 CALL R23 5
+ 0x88600312, // 01C6 GETMBR R24 R1 K18
+ 0x78620001, // 01C7 JMPF R24 #01CA
+ 0x88600312, // 01C8 GETMBR R24 R1 K18
+ 0x70020001, // 01C9 JMP #01CC
+ 0x88600116, // 01CA GETMBR R24 R0 K22
+ 0x8860314E, // 01CB GETMBR R24 R24 K78
+ 0x8C641D4F, // 01CC GETMET R25 R14 K79
+ 0x5C6C2200, // 01CD MOVE R27 R17
+ 0x5C702400, // 01CE MOVE R28 R18
+ 0x5C742E00, // 01CF MOVE R29 R23
+ 0x5C783000, // 01D0 MOVE R30 R24
+ 0x7C640A00, // 01D1 CALL R25 5
+ 0x8C641D50, // 01D2 GETMET R25 R14 K80
+ 0x7C640200, // 01D3 CALL R25 1
+ 0x88640116, // 01D4 GETMBR R25 R0 K22
+ 0x8C643351, // 01D5 GETMET R25 R25 K81
+ 0x5C6C1C00, // 01D6 MOVE R27 R14
+ 0x7C640400, // 01D7 CALL R25 2
+ 0x8C640352, // 01D8 GETMET R25 R1 K82
+ 0x7C640200, // 01D9 CALL R25 1
+ 0x78660002, // 01DA JMPF R25 #01DE
+ 0x8C640353, // 01DB GETMET R25 R1 K83
+ 0x546E003B, // 01DC LDINT R27 60
+ 0x7C640400, // 01DD CALL R25 2
+ 0x8C641D54, // 01DE GETMET R25 R14 K84
+ 0x7C640200, // 01DF CALL R25 1
+ 0x8C640D0A, // 01E0 GETMET R25 R6 K10
+ 0x7C640200, // 01E1 CALL R25 1
+ 0x8C68330B, // 01E2 GETMET R26 R25 K11
+ 0x58700006, // 01E3 LDCONST R28 K6
+ 0x88740D0C, // 01E4 GETMBR R29 R6 K12
+ 0xB87A0400, // 01E5 GETNGBL R30 K2
+ 0x88783D33, // 01E6 GETMBR R30 R30 K51
+ 0x7C680800, // 01E7 CALL R26 4
+ 0x8C68330B, // 01E8 GETMET R26 R25 K11
+ 0x58700008, // 01E9 LDCONST R28 K8
+ 0x88740D0C, // 01EA GETMBR R29 R6 K12
+ 0x58780008, // 01EB LDCONST R30 K8
+ 0x7C680800, // 01EC CALL R26 4
+ 0x546A0007, // 01ED LDINT R26 8
+ 0x900E0A1A, // 01EE SETMBR R3 K5 R26
+ 0x80043200, // 01EF RET 1 R25
+ 0x70020063, // 01F0 JMP #0255
+ 0x54260008, // 01F1 LDINT R9 9
+ 0x1C241009, // 01F2 EQ R9 R8 R9
+ 0x7826001E, // 01F3 JMPF R9 #0213
+ 0x8C240507, // 01F4 GETMET R9 R2 K7
+ 0x582C0006, // 01F5 LDCONST R11 K6
+ 0x7C240400, // 01F6 CALL R9 2
+ 0x8C280355, // 01F7 GETMET R10 R1 K85
+ 0x5C301200, // 01F8 MOVE R12 R9
+ 0x7C280400, // 01F9 CALL R10 2
+ 0xB82A4400, // 01FA GETNGBL R10 K34
+ 0x8C281527, // 01FB GETMET R10 R10 K39
+ 0x8C300B2D, // 01FC GETMET R12 R5 K45
+ 0x58380056, // 01FD LDCONST R14 K86
+ 0x883C0312, // 01FE GETMBR R15 R1 K18
+ 0x8C3C1F57, // 01FF GETMET R15 R15 K87
+ 0x7C3C0200, // 0200 CALL R15 1
+ 0x8C3C1F4B, // 0201 GETMET R15 R15 K75
+ 0x7C3C0200, // 0202 CALL R15 1
+ 0x8C3C1F4C, // 0203 GETMET R15 R15 K76
+ 0x7C3C0200, // 0204 CALL R15 1
+ 0x8C3C1F29, // 0205 GETMET R15 R15 K41
+ 0x7C3C0200, // 0206 CALL R15 1
+ 0x60400008, // 0207 GETGBL R16 G8
+ 0x5C441200, // 0208 MOVE R17 R9
+ 0x7C400200, // 0209 CALL R16 1
+ 0x7C300800, // 020A CALL R12 4
+ 0x5834000F, // 020B LDCONST R13 K15
+ 0x7C280600, // 020C CALL R10 3
+ 0xB82A0400, // 020D GETNGBL R10 K2
+ 0x88281533, // 020E GETMBR R10 R10 K51
+ 0x900E340A, // 020F SETMBR R3 K26 R10
+ 0x4C280000, // 0210 LDNIL R10
+ 0x80041400, // 0211 RET 1 R10
+ 0x70020041, // 0212 JMP #0255
+ 0x54260009, // 0213 LDINT R9 10
+ 0x1C241009, // 0214 EQ R9 R8 R9
+ 0x7826003E, // 0215 JMPF R9 #0255
+ 0x8C240507, // 0216 GETMET R9 R2 K7
+ 0x582C0006, // 0217 LDCONST R11 K6
+ 0x7C240400, // 0218 CALL R9 2
+ 0x60280008, // 0219 GETGBL R10 G8
+ 0x5C2C1200, // 021A MOVE R11 R9
+ 0x7C280200, // 021B CALL R10 1
+ 0x002AB00A, // 021C ADD R10 K88 R10
+ 0x900E4E0A, // 021D SETMBR R3 K39 R10
+ 0x60280010, // 021E GETGBL R10 G16
+ 0x882C0116, // 021F GETMBR R11 R0 K22
+ 0x882C1737, // 0220 GETMBR R11 R11 K55
+ 0x8C2C1759, // 0221 GETMET R11 R11 K89
+ 0x7C2C0200, // 0222 CALL R11 1
+ 0x7C280200, // 0223 CALL R10 1
+ 0xA802001D, // 0224 EXBLK 0 #0243
+ 0x5C2C1400, // 0225 MOVE R11 R10
+ 0x7C2C0000, // 0226 CALL R11 0
+ 0x8C30175A, // 0227 GETMET R12 R11 K90
+ 0x7C300200, // 0228 CALL R12 1
+ 0x1C301809, // 0229 EQ R12 R12 R9
+ 0x78320015, // 022A JMPF R12 #0241
+ 0xB8324400, // 022B GETNGBL R12 K34
+ 0x8C301927, // 022C GETMET R12 R12 K39
+ 0x8C381757, // 022D GETMET R14 R11 K87
+ 0x7C380200, // 022E CALL R14 1
+ 0x8C381D4B, // 022F GETMET R14 R14 K75
+ 0x7C380200, // 0230 CALL R14 1
+ 0x8C381D4C, // 0231 GETMET R14 R14 K76
+ 0x7C380200, // 0232 CALL R14 1
+ 0x8C381D29, // 0233 GETMET R14 R14 K41
+ 0x7C380200, // 0234 CALL R14 1
+ 0x003AB60E, // 0235 ADD R14 K91 R14
+ 0x583C000F, // 0236 LDCONST R15 K15
+ 0x7C300600, // 0237 CALL R12 3
+ 0xB8324400, // 0238 GETNGBL R12 K34
+ 0x8C30195C, // 0239 GETMET R12 R12 K92
+ 0x543A07CF, // 023A LDINT R14 2000
+ 0x843C0000, // 023B CLOSURE R15 P0
+ 0x7C300600, // 023C CALL R12 3
+ 0x50300200, // 023D LDBOOL R12 1 0
+ 0xA0000000, // 023E CLOSE R0
+ 0xA8040001, // 023F EXBLK 1 1
+ 0x80041800, // 0240 RET 1 R12
+ 0xA0280000, // 0241 CLOSE R10
+ 0x7001FFE1, // 0242 JMP #0225
+ 0x5828005D, // 0243 LDCONST R10 K93
+ 0xAC280200, // 0244 CATCH R10 1 0
+ 0xB0080000, // 0245 RAISE 2 R0 R0
+ 0xB82A4400, // 0246 GETNGBL R10 K34
+ 0x8C281527, // 0247 GETMET R10 R10 K39
+ 0x60300008, // 0248 GETGBL R12 G8
+ 0x5C341200, // 0249 MOVE R13 R9
+ 0x7C300200, // 024A CALL R12 1
+ 0x0032BC0C, // 024B ADD R12 K94 R12
+ 0x0030195F, // 024C ADD R12 R12 K95
+ 0x5834000F, // 024D LDCONST R13 K15
+ 0x7C280600, // 024E CALL R10 3
+ 0xB82A0400, // 024F GETNGBL R10 K2
+ 0x88281560, // 0250 GETMBR R10 R10 K96
+ 0x900E340A, // 0251 SETMBR R3 K26 R10
+ 0x4C280000, // 0252 LDNIL R10
+ 0xA0000000, // 0253 CLOSE R0
+ 0x80041400, // 0254 RET 1 R10
+ 0x7002009A, // 0255 JMP #02F1
+ 0x5426003B, // 0256 LDINT R9 60
+ 0x1C240E09, // 0257 EQ R9 R7 R9
+ 0x78260084, // 0258 JMPF R9 #02DE
+ 0x1C241106, // 0259 EQ R9 R8 K6
+ 0x78260064, // 025A JMPF R9 #02C0
+ 0x8C240507, // 025B GETMET R9 R2 K7
+ 0x582C0006, // 025C LDCONST R11 K6
+ 0x7C240400, // 025D CALL R9 2
+ 0x8C280507, // 025E GETMET R10 R2 K7
+ 0x58300008, // 025F LDCONST R12 K8
+ 0x7C280400, // 0260 CALL R10 2
+ 0x8C2C0507, // 0261 GETMET R11 R2 K7
+ 0x5834000F, // 0262 LDCONST R13 K15
+ 0x7C2C0400, // 0263 CALL R11 2
+ 0x8C300507, // 0264 GETMET R12 R2 K7
+ 0x58380011, // 0265 LDCONST R14 K17
+ 0x7C300400, // 0266 CALL R12 2
+ 0x8C340507, // 0267 GETMET R13 R2 K7
+ 0x543E0003, // 0268 LDINT R15 4
+ 0x7C340400, // 0269 CALL R13 2
+ 0xB83A4400, // 026A GETNGBL R14 K34
+ 0x8C381D27, // 026B GETMET R14 R14 K39
+ 0x8C400B2D, // 026C GETMET R16 R5 K45
+ 0x58480061, // 026D LDCONST R18 K97
+ 0x5C4C1200, // 026E MOVE R19 R9
+ 0x8C501529, // 026F GETMET R20 R10 K41
+ 0x7C500200, // 0270 CALL R20 1
+ 0x5C541600, // 0271 MOVE R21 R11
+ 0x5C581800, // 0272 MOVE R22 R12
+ 0x8C5C1B29, // 0273 GETMET R23 R13 K41
+ 0x7C5C0200, // 0274 CALL R23 1
+ 0x7C400E00, // 0275 CALL R16 7
+ 0x5844000F, // 0276 LDCONST R17 K15
+ 0x7C380600, // 0277 CALL R14 3
+ 0x4C380000, // 0278 LDNIL R14
+ 0x1C38120E, // 0279 EQ R14 R9 R14
+ 0x743A000B, // 027A JMPT R14 #0287
+ 0x4C380000, // 027B LDNIL R14
+ 0x1C38140E, // 027C EQ R14 R10 R14
+ 0x743A0008, // 027D JMPT R14 #0287
+ 0x4C380000, // 027E LDNIL R14
+ 0x1C38160E, // 027F EQ R14 R11 R14
+ 0x743A0005, // 0280 JMPT R14 #0287
+ 0x4C380000, // 0281 LDNIL R14
+ 0x1C38180E, // 0282 EQ R14 R12 R14
+ 0x743A0002, // 0283 JMPT R14 #0287
+ 0x4C380000, // 0284 LDNIL R14
+ 0x1C381A0E, // 0285 EQ R14 R13 R14
+ 0x783A0005, // 0286 JMPF R14 #028D
+ 0xB83A0400, // 0287 GETNGBL R14 K2
+ 0x88381D62, // 0288 GETMBR R14 R14 K98
+ 0x900E340E, // 0289 SETMBR R3 K26 R14
+ 0x4C380000, // 028A LDNIL R14
+ 0xA0000000, // 028B CLOSE R0
+ 0x80041C00, // 028C RET 1 R14
+ 0x6038000C, // 028D GETGBL R14 G12
+ 0x5C3C1400, // 028E MOVE R15 R10
+ 0x7C380200, // 028F CALL R14 1
+ 0x543E001F, // 0290 LDINT R15 32
+ 0x54420040, // 0291 LDINT R16 65
+ 0x003C1E10, // 0292 ADD R15 R15 R16
+ 0x20381C0F, // 0293 NE R14 R14 R15
+ 0x743A000B, // 0294 JMPT R14 #02A1
+ 0x6038000C, // 0295 GETGBL R14 G12
+ 0x5C3C1A00, // 0296 MOVE R15 R13
+ 0x7C380200, // 0297 CALL R14 1
+ 0x543E000F, // 0298 LDINT R15 16
+ 0x14381C0F, // 0299 LT R14 R14 R15
+ 0x743A0005, // 029A JMPT R14 #02A1
+ 0x6038000C, // 029B GETGBL R14 G12
+ 0x5C3C1A00, // 029C MOVE R15 R13
+ 0x7C380200, // 029D CALL R14 1
+ 0x543E001F, // 029E LDINT R15 32
+ 0x24381C0F, // 029F GT R14 R14 R15
+ 0x783A0009, // 02A0 JMPF R14 #02AB
+ 0xB83A4400, // 02A1 GETNGBL R14 K34
+ 0x8C381D27, // 02A2 GETMET R14 R14 K39
+ 0x58400063, // 02A3 LDCONST R16 K99
+ 0x7C380400, // 02A4 CALL R14 2
+ 0xB83A0400, // 02A5 GETNGBL R14 K2
+ 0x88381D64, // 02A6 GETMBR R14 R14 K100
+ 0x900E340E, // 02A7 SETMBR R3 K26 R14
+ 0x4C380000, // 02A8 LDNIL R14
+ 0xA0000000, // 02A9 CLOSE R0
+ 0x80041C00, // 02AA RET 1 R14
+ 0x543A001E, // 02AB LDINT R14 31
+ 0x403A0C0E, // 02AC CONNECT R14 K6 R14
+ 0x9438140E, // 02AD GETIDX R14 R10 R14
+ 0x543E001F, // 02AE LDINT R15 32
+ 0x403C1F47, // 02AF CONNECT R15 R15 K71
+ 0x943C140F, // 02B0 GETIDX R15 R10 R15
+ 0x88400116, // 02B1 GETMBR R16 R0 K22
+ 0x8C402165, // 02B2 GETMET R16 R16 K101
+ 0x5C481200, // 02B3 MOVE R18 R9
+ 0x5C4C1800, // 02B4 MOVE R19 R12
+ 0x5C501600, // 02B5 MOVE R20 R11
+ 0x5C541A00, // 02B6 MOVE R21 R13
+ 0x5C581C00, // 02B7 MOVE R22 R14
+ 0x5C5C1E00, // 02B8 MOVE R23 R15
+ 0x8C600366, // 02B9 GETMET R24 R1 K102
+ 0x7C600200, // 02BA CALL R24 1
+ 0x7C401000, // 02BB CALL R16 8
+ 0x50400200, // 02BC LDBOOL R16 1 0
+ 0xA0000000, // 02BD CLOSE R0
+ 0x80042000, // 02BE RET 1 R16
+ 0x7002001C, // 02BF JMP #02DD
+ 0x1C241108, // 02C0 EQ R9 R8 K8
+ 0x78260012, // 02C1 JMPF R9 #02D5
+ 0x8C240507, // 02C2 GETMET R9 R2 K7
+ 0x582C0006, // 02C3 LDCONST R11 K6
+ 0x7C240400, // 02C4 CALL R9 2
+ 0xB82A4400, // 02C5 GETNGBL R10 K34
+ 0x8C281527, // 02C6 GETMET R10 R10 K39
+ 0x60300008, // 02C7 GETGBL R12 G8
+ 0x5C341200, // 02C8 MOVE R13 R9
+ 0x7C300200, // 02C9 CALL R12 1
+ 0x0032CE0C, // 02CA ADD R12 K103 R12
+ 0x5834000F, // 02CB LDCONST R13 K15
+ 0x7C280600, // 02CC CALL R10 3
+ 0x88280116, // 02CD GETMBR R10 R0 K22
+ 0x8C281568, // 02CE GETMET R10 R10 K104
+ 0x5C301200, // 02CF MOVE R12 R9
+ 0x7C280400, // 02D0 CALL R10 2
+ 0x50280200, // 02D1 LDBOOL R10 1 0
+ 0xA0000000, // 02D2 CLOSE R0
+ 0x80041400, // 02D3 RET 1 R10
+ 0x70020007, // 02D4 JMP #02DD
+ 0x1C24110F, // 02D5 EQ R9 R8 K15
+ 0x78260005, // 02D6 JMPF R9 #02DD
+ 0x88240116, // 02D7 GETMBR R9 R0 K22
+ 0x8C241369, // 02D8 GETMET R9 R9 K105
+ 0x7C240200, // 02D9 CALL R9 1
+ 0x50240200, // 02DA LDBOOL R9 1 0
+ 0xA0000000, // 02DB CLOSE R0
+ 0x80041200, // 02DC RET 1 R9
+ 0x70020012, // 02DD JMP #02F1
+ 0x54260029, // 02DE LDINT R9 42
+ 0x1C240E09, // 02DF EQ R9 R7 R9
+ 0x78260005, // 02E0 JMPF R9 #02E7
+ 0x1C241106, // 02E1 EQ R9 R8 K6
+ 0x78260002, // 02E2 JMPF R9 #02E6
+ 0x50240200, // 02E3 LDBOOL R9 1 0
+ 0xA0000000, // 02E4 CLOSE R0
+ 0x80041200, // 02E5 RET 1 R9
+ 0x70020009, // 02E6 JMP #02F1
+ 0x60240003, // 02E7 GETGBL R9 G3
+ 0x5C280000, // 02E8 MOVE R10 R0
+ 0x7C240200, // 02E9 CALL R9 1
+ 0x8C24136A, // 02EA GETMET R9 R9 K106
+ 0x5C2C0200, // 02EB MOVE R11 R1
+ 0x5C300400, // 02EC MOVE R12 R2
+ 0x5C340600, // 02ED MOVE R13 R3
+ 0x7C240800, // 02EE CALL R9 4
+ 0xA0000000, // 02EF CLOSE R0
+ 0x80041200, // 02F0 RET 1 R9
+ 0xA0000000, // 02F1 CLOSE R0
+ 0x80000000, // 02F2 RET 0
})
)
);
@@ -1179,913 +1920,138 @@ be_local_closure(Matter_Plugin_Root_read_attribute, /* name */
/********************************************************************
-** Solidified function: invoke_request
+** Solidified function: write_attribute
********************************************************************/
-be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
+be_local_closure(Matter_Plugin_Root_write_attribute, /* name */
be_nested_proto(
- 31, /* nstack */
+ 12, /* nstack */
4, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
- 1, /* has sup protos */
- ( &(const struct bproto*[ 1]) {
- 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, 11),
- }),
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 2]) { /* constants */
- /* K0 */ be_nested_str_weak(device),
- /* K1 */ be_nested_str_weak(remove_fabric),
- }),
- be_str_weak(_anonymous_),
- &be_const_str_solidified,
- ( &(const binstruction[ 6]) { /* code */
- 0x68000000, // 0000 GETUPV R0 U0
- 0x88000100, // 0001 GETMBR R0 R0 K0
- 0x8C000101, // 0002 GETMET R0 R0 K1
- 0x68080001, // 0003 GETUPV R2 U1
- 0x7C000400, // 0004 CALL R0 2
- 0x80000000, // 0005 RET 0
- })
- ),
- }),
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[107]) { /* constants */
- /* K0 */ be_nested_str_weak(crypto),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(matter),
- /* K3 */ be_nested_str_weak(TLV),
- /* K4 */ be_nested_str_weak(cluster),
- /* K5 */ be_nested_str_weak(command),
- /* K6 */ be_const_int(0),
- /* K7 */ be_nested_str_weak(findsubval),
- /* K8 */ be_const_int(1),
- /* K9 */ be_nested_str_weak(_breadcrumb),
- /* K10 */ be_nested_str_weak(Matter_TLV_struct),
- /* K11 */ be_nested_str_weak(add_TLV),
- /* K12 */ be_nested_str_weak(U1),
- /* K13 */ be_nested_str_weak(UTF1),
- /* K14 */ be_nested_str_weak(),
- /* K15 */ be_const_int(2),
- /* K16 */ be_nested_str_weak(XX),
- /* K17 */ be_const_int(3),
- /* K18 */ be_nested_str_weak(_fabric),
- /* K19 */ be_nested_str_weak(fabric_completed),
- /* K20 */ be_nested_str_weak(set_no_expiration),
- /* K21 */ be_nested_str_weak(save),
- /* K22 */ be_nested_str_weak(device),
- /* K23 */ be_nested_str_weak(start_commissioning_complete_deferred),
- /* K24 */ be_nested_str_weak(context_error),
- /* K25 */ be_nested_str_weak(CommissioningComplete_X3A_X20no_X20fabric_X20attached),
- /* K26 */ be_nested_str_weak(status),
- /* K27 */ be_nested_str_weak(UNSUPPORTED_COMMAND),
- /* K28 */ be_nested_str_weak(B2),
- /* K29 */ be_nested_str_weak(DAC_Cert_FFF1_8000),
- /* K30 */ be_nested_str_weak(PAI_Cert_FFF1),
- /* K31 */ be_nested_str_weak(CD_FFF1_8000),
- /* K32 */ be_nested_str_weak(B1),
- /* K33 */ be_nested_str_weak(U4),
- /* K34 */ be_nested_str_weak(tasmota),
- /* K35 */ be_nested_str_weak(rtc),
- /* K36 */ be_nested_str_weak(utc),
- /* K37 */ be_nested_str_weak(tlv2raw),
- /* K38 */ be_nested_str_weak(get_ac),
- /* K39 */ be_nested_str_weak(log),
- /* K40 */ be_nested_str_weak(MTR_X3A_X20attestation_tbs_X3D),
- /* K41 */ be_nested_str_weak(tohex),
- /* K42 */ be_nested_str_weak(EC_P256),
- /* K43 */ be_nested_str_weak(ecdsa_sign_sha256),
- /* K44 */ be_nested_str_weak(DAC_Priv_FFF1_8000),
- /* K45 */ be_nested_str_weak(format),
- /* K46 */ be_nested_str_weak(MTR_X3A_X20CSRRequest_X20CSRNonce_X3D_X25s_X20IsForUpdateNOC_X3D_X25s),
- /* K47 */ be_nested_str_weak(gen_CSR),
- /* K48 */ be_nested_str_weak(MTR_X3A_X20nocsr_tbs_X3D),
- /* K49 */ be_nested_str_weak(set_temp_ca),
- /* K50 */ be_nested_str_weak(MTR_X3A_X20received_X20ca_root_X3D),
- /* K51 */ be_nested_str_weak(SUCCESS),
- /* K52 */ be_nested_str_weak(MTR_X3A_X20AddNoc_X20Args_X3D),
- /* K53 */ be_nested_str_weak(get_temp_ca),
- /* K54 */ be_nested_str_weak(MTR_X3A_X20Error_X3A_X20AdNOC_X20without_X20CA),
- /* K55 */ be_nested_str_weak(sessions),
- /* K56 */ be_nested_str_weak(create_fabric),
- /* K57 */ be_nested_str_weak(set_ca),
- /* K58 */ be_nested_str_weak(set_noc_icac),
- /* K59 */ be_nested_str_weak(set_ipk_epoch_key),
- /* K60 */ be_nested_str_weak(set_admin_subject_vendor),
- /* K61 */ be_nested_str_weak(set_pk),
- /* K62 */ be_nested_str_weak(get_pk),
- /* K63 */ be_nested_str_weak(parse),
- /* K64 */ be_nested_str_weak(findsub),
- /* K65 */ be_nested_str_weak(MTR_X3A_X20Error_X3A_X20no_X20fabricid_X20nor_X20deviceid_X20in_X20NOC_X20certificate),
- /* K66 */ be_nested_str_weak(int),
- /* K67 */ be_nested_str_weak(int64),
- /* K68 */ be_nested_str_weak(fromu32),
- /* K69 */ be_nested_str_weak(tobytes),
- /* K70 */ be_nested_str_weak(get_temp_ca_pub),
- /* K71 */ be_const_int(2147483647),
- /* K72 */ be_nested_str_weak(fromstring),
- /* K73 */ be_nested_str_weak(CompressedFabric),
- /* K74 */ be_nested_str_weak(HKDF_SHA256),
- /* K75 */ be_nested_str_weak(copy),
- /* K76 */ be_nested_str_weak(reverse),
- /* K77 */ be_nested_str_weak(derive),
- /* K78 */ be_nested_str_weak(commissioning_admin_fabric),
- /* K79 */ be_nested_str_weak(set_fabric_device),
- /* K80 */ be_nested_str_weak(fabric_candidate),
- /* K81 */ be_nested_str_weak(start_operational_discovery_deferred),
- /* K82 */ be_nested_str_weak(is_PASE),
- /* K83 */ be_nested_str_weak(set_expire_in_seconds),
- /* K84 */ be_nested_str_weak(log_new_fabric),
- /* K85 */ be_nested_str_weak(set_fabric_label),
- /* K86 */ be_nested_str_weak(MTR_X3A_X20_X2E_X20_X20_X20_X20_X20_X20_X20_X20_X20_X20Update_X20fabric_X20_X27_X25s_X27_X20label_X3D_X27_X25s_X27),
- /* K87 */ be_nested_str_weak(get_fabric_id),
- /* K88 */ be_nested_str_weak(fabric_index_X3A),
- /* K89 */ be_nested_str_weak(active_fabrics),
- /* K90 */ be_nested_str_weak(get_fabric_index),
- /* K91 */ be_nested_str_weak(MTR_X3A_X20removing_X20fabric_X20),
- /* K92 */ be_nested_str_weak(set_timer),
- /* K93 */ be_nested_str_weak(stop_iteration),
- /* K94 */ be_nested_str_weak(MTR_X3A_X20RemoveFabric_X20fabric_X28),
- /* K95 */ be_nested_str_weak(_X29_X20not_X20found),
- /* K96 */ be_nested_str_weak(INVALID_ACTION),
- /* K97 */ be_nested_str_weak(MTR_X3A_X20OpenCommissioningWindow_X28timeout_X3D_X25i_X2C_X20passcode_X3D_X25s_X2C_X20discriminator_X3D_X25i_X2C_X20iterations_X3D_X25i_X2C_X20salt_X3D_X25s_X29),
- /* K98 */ be_nested_str_weak(INVALID_DATA_TYPE),
- /* K99 */ be_nested_str_weak(MTR_X3A_X20wrong_X20size_X20for_X20PAKE_X20parameters),
- /* K100 */ be_nested_str_weak(CONSTRAINT_ERROR),
- /* K101 */ be_nested_str_weak(start_basic_commissioning),
- /* K102 */ be_nested_str_weak(get_fabric),
- /* K103 */ be_nested_str_weak(MTR_X3A_X20OpenBasicCommissioningWindow_X20commissioning_timeout_X3D),
- /* K104 */ be_nested_str_weak(start_root_basic_commissioning),
- /* K105 */ be_nested_str_weak(stop_basic_commissioning),
- /* K106 */ be_nested_str_weak(invoke_request),
+ ( &(const bvalue[14]) { /* constants */
+ /* K0 */ be_nested_str_weak(string),
+ /* K1 */ be_nested_str_weak(matter),
+ /* K2 */ be_nested_str_weak(TLV),
+ /* K3 */ be_nested_str_weak(cluster),
+ /* K4 */ be_nested_str_weak(attribute),
+ /* K5 */ be_const_int(0),
+ /* K6 */ be_nested_str_weak(int),
+ /* K7 */ be_nested_str_weak(int64),
+ /* K8 */ be_nested_str_weak(_breadcrumb),
+ /* K9 */ be_nested_str_weak(attribute_updated),
+ /* K10 */ be_nested_str_weak(status),
+ /* K11 */ be_nested_str_weak(CONSTRAINT_ERROR),
+ /* K12 */ be_const_int(1),
+ /* K13 */ be_nested_str_weak(INVALID_ACTION),
}),
- be_str_weak(invoke_request),
+ be_str_weak(write_attribute),
&be_const_str_solidified,
- ( &(const binstruction[755]) { /* code */
+ ( &(const binstruction[101]) { /* code */
0xA4120000, // 0000 IMPORT R4 K0
- 0xA4160200, // 0001 IMPORT R5 K1
- 0xB81A0400, // 0002 GETNGBL R6 K2
- 0x88180D03, // 0003 GETMBR R6 R6 K3
- 0x881C0704, // 0004 GETMBR R7 R3 K4
- 0x88200705, // 0005 GETMBR R8 R3 K5
- 0x5426002F, // 0006 LDINT R9 48
- 0x1C240E09, // 0007 EQ R9 R7 R9
- 0x78260059, // 0008 JMPF R9 #0063
- 0x1C241106, // 0009 EQ R9 R8 K6
- 0x78260017, // 000A JMPF R9 #0023
- 0x8C240507, // 000B GETMET R9 R2 K7
- 0x582C0006, // 000C LDCONST R11 K6
- 0x54320383, // 000D LDINT R12 900
- 0x7C240600, // 000E CALL R9 3
- 0x8C280507, // 000F GETMET R10 R2 K7
- 0x58300008, // 0010 LDCONST R12 K8
- 0x58340006, // 0011 LDCONST R13 K6
- 0x7C280600, // 0012 CALL R10 3
- 0x9006120A, // 0013 SETMBR R1 K9 R10
- 0x8C2C0D0A, // 0014 GETMET R11 R6 K10
- 0x7C2C0200, // 0015 CALL R11 1
- 0x8C30170B, // 0016 GETMET R12 R11 K11
- 0x58380006, // 0017 LDCONST R14 K6
- 0x883C0D0C, // 0018 GETMBR R15 R6 K12
- 0x58400006, // 0019 LDCONST R16 K6
- 0x7C300800, // 001A CALL R12 4
- 0x8C30170B, // 001B GETMET R12 R11 K11
- 0x58380008, // 001C LDCONST R14 K8
- 0x883C0D0D, // 001D GETMBR R15 R6 K13
- 0x5840000E, // 001E LDCONST R16 K14
- 0x7C300800, // 001F CALL R12 4
- 0x900E0B08, // 0020 SETMBR R3 K5 K8
- 0x80041600, // 0021 RET 1 R11
- 0x7002003E, // 0022 JMP #0062
- 0x1C24110F, // 0023 EQ R9 R8 K15
- 0x7826001A, // 0024 JMPF R9 #0040
- 0x8C240507, // 0025 GETMET R9 R2 K7
- 0x582C0006, // 0026 LDCONST R11 K6
- 0x7C240400, // 0027 CALL R9 2
- 0x8C280507, // 0028 GETMET R10 R2 K7
- 0x58300008, // 0029 LDCONST R12 K8
- 0x58340010, // 002A LDCONST R13 K16
- 0x7C280600, // 002B CALL R10 3
- 0x8C2C0507, // 002C GETMET R11 R2 K7
- 0x5834000F, // 002D LDCONST R13 K15
- 0x58380006, // 002E LDCONST R14 K6
- 0x7C2C0600, // 002F CALL R11 3
- 0x9006120B, // 0030 SETMBR R1 K9 R11
- 0x8C300D0A, // 0031 GETMET R12 R6 K10
- 0x7C300200, // 0032 CALL R12 1
- 0x8C34190B, // 0033 GETMET R13 R12 K11
- 0x583C0006, // 0034 LDCONST R15 K6
- 0x88400D0C, // 0035 GETMBR R16 R6 K12
- 0x58440006, // 0036 LDCONST R17 K6
- 0x7C340800, // 0037 CALL R13 4
- 0x8C34190B, // 0038 GETMET R13 R12 K11
- 0x583C0008, // 0039 LDCONST R15 K8
- 0x88400D0D, // 003A GETMBR R16 R6 K13
- 0x5844000E, // 003B LDCONST R17 K14
- 0x7C340800, // 003C CALL R13 4
- 0x900E0B11, // 003D SETMBR R3 K5 K17
- 0x80041800, // 003E RET 1 R12
- 0x70020021, // 003F JMP #0062
- 0x54260003, // 0040 LDINT R9 4
- 0x1C241009, // 0041 EQ R9 R8 R9
- 0x7826001E, // 0042 JMPF R9 #0062
- 0x88240312, // 0043 GETMBR R9 R1 K18
- 0x7826001B, // 0044 JMPF R9 #0061
- 0x90061306, // 0045 SETMBR R1 K9 K6
- 0x88240312, // 0046 GETMBR R9 R1 K18
- 0x8C241313, // 0047 GETMET R9 R9 K19
- 0x7C240200, // 0048 CALL R9 1
- 0x8C240314, // 0049 GETMET R9 R1 K20
- 0x7C240200, // 004A CALL R9 1
- 0x8C240315, // 004B GETMET R9 R1 K21
- 0x7C240200, // 004C CALL R9 1
- 0x8C240D0A, // 004D GETMET R9 R6 K10
- 0x7C240200, // 004E CALL R9 1
- 0x8C28130B, // 004F GETMET R10 R9 K11
- 0x58300006, // 0050 LDCONST R12 K6
- 0x88340D0C, // 0051 GETMBR R13 R6 K12
- 0x58380006, // 0052 LDCONST R14 K6
- 0x7C280800, // 0053 CALL R10 4
- 0x8C28130B, // 0054 GETMET R10 R9 K11
- 0x58300008, // 0055 LDCONST R12 K8
- 0x88340D0D, // 0056 GETMBR R13 R6 K13
- 0x5838000E, // 0057 LDCONST R14 K14
- 0x7C280800, // 0058 CALL R10 4
- 0x542A0004, // 0059 LDINT R10 5
- 0x900E0A0A, // 005A SETMBR R3 K5 R10
- 0x88280116, // 005B GETMBR R10 R0 K22
- 0x8C281517, // 005C GETMET R10 R10 K23
- 0x5C300200, // 005D MOVE R12 R1
- 0x7C280400, // 005E CALL R10 2
- 0x80041200, // 005F RET 1 R9
- 0x70020000, // 0060 JMP #0062
- 0xB0063119, // 0061 RAISE 1 K24 K25
- 0x7002028D, // 0062 JMP #02F1
- 0x5426003D, // 0063 LDINT R9 62
- 0x1C240E09, // 0064 EQ R9 R7 R9
- 0x782601EF, // 0065 JMPF R9 #0256
- 0x1C24110F, // 0066 EQ R9 R8 K15
- 0x7826001D, // 0067 JMPF R9 #0086
- 0x8C240507, // 0068 GETMET R9 R2 K7
- 0x582C0006, // 0069 LDCONST R11 K6
- 0x7C240400, // 006A CALL R9 2
- 0x20281308, // 006B NE R10 R9 K8
- 0x782A0006, // 006C JMPF R10 #0074
- 0x2028130F, // 006D NE R10 R9 K15
- 0x782A0004, // 006E JMPF R10 #0074
- 0xB82A0400, // 006F GETNGBL R10 K2
- 0x8828151B, // 0070 GETMBR R10 R10 K27
- 0x900E340A, // 0071 SETMBR R3 K26 R10
- 0x4C280000, // 0072 LDNIL R10
- 0x80041400, // 0073 RET 1 R10
- 0x8C280D0A, // 0074 GETMET R10 R6 K10
- 0x7C280200, // 0075 CALL R10 1
- 0x8C2C150B, // 0076 GETMET R11 R10 K11
- 0x58340006, // 0077 LDCONST R13 K6
- 0x88380D1C, // 0078 GETMBR R14 R6 K28
- 0x1C3C1308, // 0079 EQ R15 R9 K8
- 0x783E0003, // 007A JMPF R15 #007F
- 0xB83E0400, // 007B GETNGBL R15 K2
- 0x8C3C1F1D, // 007C GETMET R15 R15 K29
- 0x7C3C0200, // 007D CALL R15 1
- 0x70020002, // 007E JMP #0082
- 0xB83E0400, // 007F GETNGBL R15 K2
- 0x8C3C1F1E, // 0080 GETMET R15 R15 K30
- 0x7C3C0200, // 0081 CALL R15 1
- 0x7C2C0800, // 0082 CALL R11 4
- 0x900E0B11, // 0083 SETMBR R3 K5 K17
- 0x80041400, // 0084 RET 1 R10
- 0x700201CE, // 0085 JMP #0255
- 0x1C241106, // 0086 EQ R9 R8 K6
- 0x78260044, // 0087 JMPF R9 #00CD
- 0x8C240507, // 0088 GETMET R9 R2 K7
- 0x582C0006, // 0089 LDCONST R11 K6
- 0x7C240400, // 008A CALL R9 2
- 0x6028000C, // 008B GETGBL R10 G12
- 0x5C2C1200, // 008C MOVE R11 R9
- 0x7C280200, // 008D CALL R10 1
- 0x542E001F, // 008E LDINT R11 32
- 0x2028140B, // 008F NE R10 R10 R11
- 0x782A0001, // 0090 JMPF R10 #0093
- 0x4C280000, // 0091 LDNIL R10
- 0x80041400, // 0092 RET 1 R10
- 0x900E0B08, // 0093 SETMBR R3 K5 K8
- 0x8C280D0A, // 0094 GETMET R10 R6 K10
- 0x7C280200, // 0095 CALL R10 1
- 0x8C2C150B, // 0096 GETMET R11 R10 K11
- 0x58340008, // 0097 LDCONST R13 K8
- 0x88380D1C, // 0098 GETMBR R14 R6 K28
- 0xB83E0400, // 0099 GETNGBL R15 K2
- 0x8C3C1F1F, // 009A GETMET R15 R15 K31
- 0x7C3C0200, // 009B CALL R15 1
- 0x7C2C0800, // 009C CALL R11 4
- 0x8C2C150B, // 009D GETMET R11 R10 K11
- 0x5834000F, // 009E LDCONST R13 K15
- 0x88380D20, // 009F GETMBR R14 R6 K32
- 0x5C3C1200, // 00A0 MOVE R15 R9
- 0x7C2C0800, // 00A1 CALL R11 4
- 0x8C2C150B, // 00A2 GETMET R11 R10 K11
- 0x58340011, // 00A3 LDCONST R13 K17
- 0x88380D21, // 00A4 GETMBR R14 R6 K33
- 0xB83E4400, // 00A5 GETNGBL R15 K34
- 0x8C3C1F23, // 00A6 GETMET R15 R15 K35
- 0x7C3C0200, // 00A7 CALL R15 1
- 0x943C1F24, // 00A8 GETIDX R15 R15 K36
- 0x7C2C0800, // 00A9 CALL R11 4
- 0x8C2C1525, // 00AA GETMET R11 R10 K37
- 0x7C2C0200, // 00AB CALL R11 1
- 0x8C300326, // 00AC GETMET R12 R1 K38
- 0x7C300200, // 00AD CALL R12 1
- 0x0034160C, // 00AE ADD R13 R11 R12
- 0xB83A4400, // 00AF GETNGBL R14 K34
- 0x8C381D27, // 00B0 GETMET R14 R14 K39
- 0x8C401B29, // 00B1 GETMET R16 R13 K41
- 0x7C400200, // 00B2 CALL R16 1
- 0x00425010, // 00B3 ADD R16 K40 R16
- 0x58440011, // 00B4 LDCONST R17 K17
- 0x7C380600, // 00B5 CALL R14 3
- 0x8C38092A, // 00B6 GETMET R14 R4 K42
- 0x7C380200, // 00B7 CALL R14 1
- 0x8C381D2B, // 00B8 GETMET R14 R14 K43
- 0xB8420400, // 00B9 GETNGBL R16 K2
- 0x8C40212C, // 00BA GETMET R16 R16 K44
- 0x7C400200, // 00BB CALL R16 1
- 0x5C441A00, // 00BC MOVE R17 R13
- 0x7C380600, // 00BD CALL R14 3
- 0x8C3C0D0A, // 00BE GETMET R15 R6 K10
- 0x7C3C0200, // 00BF CALL R15 1
- 0x8C401F0B, // 00C0 GETMET R16 R15 K11
- 0x58480006, // 00C1 LDCONST R18 K6
- 0x884C0D1C, // 00C2 GETMBR R19 R6 K28
- 0x5C501600, // 00C3 MOVE R20 R11
- 0x7C400800, // 00C4 CALL R16 4
- 0x8C401F0B, // 00C5 GETMET R16 R15 K11
- 0x58480008, // 00C6 LDCONST R18 K8
- 0x884C0D20, // 00C7 GETMBR R19 R6 K32
- 0x5C501C00, // 00C8 MOVE R20 R14
- 0x7C400800, // 00C9 CALL R16 4
- 0x900E0B08, // 00CA SETMBR R3 K5 K8
- 0x80041E00, // 00CB RET 1 R15
- 0x70020187, // 00CC JMP #0255
- 0x54260003, // 00CD LDINT R9 4
- 0x1C241009, // 00CE EQ R9 R8 R9
- 0x7826004D, // 00CF JMPF R9 #011E
- 0x8C240507, // 00D0 GETMET R9 R2 K7
- 0x582C0006, // 00D1 LDCONST R11 K6
- 0x7C240400, // 00D2 CALL R9 2
- 0x6028000C, // 00D3 GETGBL R10 G12
- 0x5C2C1200, // 00D4 MOVE R11 R9
- 0x7C280200, // 00D5 CALL R10 1
- 0x542E001F, // 00D6 LDINT R11 32
- 0x2028140B, // 00D7 NE R10 R10 R11
- 0x782A0001, // 00D8 JMPF R10 #00DB
- 0x4C280000, // 00D9 LDNIL R10
- 0x80041400, // 00DA RET 1 R10
- 0x8C280507, // 00DB GETMET R10 R2 K7
- 0x58300008, // 00DC LDCONST R12 K8
- 0x50340000, // 00DD LDBOOL R13 0 0
- 0x7C280600, // 00DE CALL R10 3
- 0xB82E4400, // 00DF GETNGBL R11 K34
- 0x8C2C1727, // 00E0 GETMET R11 R11 K39
- 0x8C340B2D, // 00E1 GETMET R13 R5 K45
- 0x583C002E, // 00E2 LDCONST R15 K46
- 0x60400008, // 00E3 GETGBL R16 G8
- 0x5C441200, // 00E4 MOVE R17 R9
- 0x7C400200, // 00E5 CALL R16 1
- 0x60440008, // 00E6 GETGBL R17 G8
- 0x5C481400, // 00E7 MOVE R18 R10
- 0x7C440200, // 00E8 CALL R17 1
- 0x7C340800, // 00E9 CALL R13 4
- 0x58380011, // 00EA LDCONST R14 K17
- 0x7C2C0600, // 00EB CALL R11 3
- 0x8C2C032F, // 00EC GETMET R11 R1 K47
- 0x7C2C0200, // 00ED CALL R11 1
- 0x8C300D0A, // 00EE GETMET R12 R6 K10
- 0x7C300200, // 00EF CALL R12 1
- 0x8C34190B, // 00F0 GETMET R13 R12 K11
- 0x583C0008, // 00F1 LDCONST R15 K8
- 0x88400D1C, // 00F2 GETMBR R16 R6 K28
- 0x5C441600, // 00F3 MOVE R17 R11
- 0x7C340800, // 00F4 CALL R13 4
- 0x8C34190B, // 00F5 GETMET R13 R12 K11
- 0x583C000F, // 00F6 LDCONST R15 K15
- 0x88400D20, // 00F7 GETMBR R16 R6 K32
- 0x5C441200, // 00F8 MOVE R17 R9
- 0x7C340800, // 00F9 CALL R13 4
- 0x8C341925, // 00FA GETMET R13 R12 K37
- 0x7C340200, // 00FB CALL R13 1
- 0x8C380326, // 00FC GETMET R14 R1 K38
- 0x7C380200, // 00FD CALL R14 1
- 0x00381A0E, // 00FE ADD R14 R13 R14
- 0xB83E4400, // 00FF GETNGBL R15 K34
- 0x8C3C1F27, // 0100 GETMET R15 R15 K39
- 0x8C441D29, // 0101 GETMET R17 R14 K41
- 0x7C440200, // 0102 CALL R17 1
- 0x00466011, // 0103 ADD R17 K48 R17
- 0x58480011, // 0104 LDCONST R18 K17
- 0x7C3C0600, // 0105 CALL R15 3
- 0x8C3C092A, // 0106 GETMET R15 R4 K42
- 0x7C3C0200, // 0107 CALL R15 1
- 0x8C3C1F2B, // 0108 GETMET R15 R15 K43
- 0xB8460400, // 0109 GETNGBL R17 K2
- 0x8C44232C, // 010A GETMET R17 R17 K44
- 0x7C440200, // 010B CALL R17 1
- 0x5C481C00, // 010C MOVE R18 R14
- 0x7C3C0600, // 010D CALL R15 3
- 0x8C400D0A, // 010E GETMET R16 R6 K10
- 0x7C400200, // 010F CALL R16 1
- 0x8C44210B, // 0110 GETMET R17 R16 K11
- 0x584C0006, // 0111 LDCONST R19 K6
- 0x88500D1C, // 0112 GETMBR R20 R6 K28
- 0x5C541A00, // 0113 MOVE R21 R13
- 0x7C440800, // 0114 CALL R17 4
- 0x8C44210B, // 0115 GETMET R17 R16 K11
- 0x584C0008, // 0116 LDCONST R19 K8
- 0x88500D20, // 0117 GETMBR R20 R6 K32
- 0x5C541E00, // 0118 MOVE R21 R15
- 0x7C440800, // 0119 CALL R17 4
- 0x54460004, // 011A LDINT R17 5
- 0x900E0A11, // 011B SETMBR R3 K5 R17
- 0x80042000, // 011C RET 1 R16
- 0x70020136, // 011D JMP #0255
- 0x5426000A, // 011E LDINT R9 11
- 0x1C241009, // 011F EQ R9 R8 R9
- 0x78260012, // 0120 JMPF R9 #0134
- 0x8C240507, // 0121 GETMET R9 R2 K7
- 0x582C0006, // 0122 LDCONST R11 K6
- 0x7C240400, // 0123 CALL R9 2
- 0x8C280331, // 0124 GETMET R10 R1 K49
- 0x5C301200, // 0125 MOVE R12 R9
- 0x7C280400, // 0126 CALL R10 2
- 0xB82A4400, // 0127 GETNGBL R10 K34
- 0x8C281527, // 0128 GETMET R10 R10 K39
- 0x8C301329, // 0129 GETMET R12 R9 K41
- 0x7C300200, // 012A CALL R12 1
- 0x0032640C, // 012B ADD R12 K50 R12
- 0x58340011, // 012C LDCONST R13 K17
- 0x7C280600, // 012D CALL R10 3
- 0xB82A0400, // 012E GETNGBL R10 K2
- 0x88281533, // 012F GETMBR R10 R10 K51
- 0x900E340A, // 0130 SETMBR R3 K26 R10
- 0x4C280000, // 0131 LDNIL R10
- 0x80041400, // 0132 RET 1 R10
- 0x70020120, // 0133 JMP #0255
- 0x54260005, // 0134 LDINT R9 6
- 0x1C241009, // 0135 EQ R9 R8 R9
- 0x782600B9, // 0136 JMPF R9 #01F1
- 0xB8264400, // 0137 GETNGBL R9 K34
- 0x8C241327, // 0138 GETMET R9 R9 K39
- 0x602C0008, // 0139 GETGBL R11 G8
- 0x5C300400, // 013A MOVE R12 R2
- 0x7C2C0200, // 013B CALL R11 1
- 0x002E680B, // 013C ADD R11 K52 R11
- 0x58300011, // 013D LDCONST R12 K17
- 0x7C240600, // 013E CALL R9 3
- 0x8C240507, // 013F GETMET R9 R2 K7
- 0x582C0006, // 0140 LDCONST R11 K6
- 0x7C240400, // 0141 CALL R9 2
- 0x8C280507, // 0142 GETMET R10 R2 K7
- 0x58300008, // 0143 LDCONST R12 K8
- 0x7C280400, // 0144 CALL R10 2
- 0x602C000C, // 0145 GETGBL R11 G12
- 0x5C301400, // 0146 MOVE R12 R10
- 0x7C2C0200, // 0147 CALL R11 1
- 0x1C2C1706, // 0148 EQ R11 R11 K6
- 0x782E0000, // 0149 JMPF R11 #014B
- 0x4C280000, // 014A LDNIL R10
- 0x8C2C0507, // 014B GETMET R11 R2 K7
- 0x5834000F, // 014C LDCONST R13 K15
- 0x7C2C0400, // 014D CALL R11 2
- 0x8C300507, // 014E GETMET R12 R2 K7
- 0x58380011, // 014F LDCONST R14 K17
- 0x7C300400, // 0150 CALL R12 2
- 0x8C340507, // 0151 GETMET R13 R2 K7
- 0x543E0003, // 0152 LDINT R15 4
- 0x7C340400, // 0153 CALL R13 2
- 0x8C380335, // 0154 GETMET R14 R1 K53
- 0x7C380200, // 0155 CALL R14 1
- 0x4C3C0000, // 0156 LDNIL R15
- 0x1C381C0F, // 0157 EQ R14 R14 R15
- 0x783A0006, // 0158 JMPF R14 #0160
- 0xB83A4400, // 0159 GETNGBL R14 K34
- 0x8C381D27, // 015A GETMET R14 R14 K39
- 0x58400036, // 015B LDCONST R16 K54
- 0x5844000F, // 015C LDCONST R17 K15
- 0x7C380600, // 015D CALL R14 3
- 0x4C380000, // 015E LDNIL R14
- 0x80041C00, // 015F RET 1 R14
- 0x88380116, // 0160 GETMBR R14 R0 K22
- 0x88381D37, // 0161 GETMBR R14 R14 K55
- 0x8C381D38, // 0162 GETMET R14 R14 K56
- 0x7C380200, // 0163 CALL R14 1
- 0x8C3C1D39, // 0164 GETMET R15 R14 K57
- 0x8C440335, // 0165 GETMET R17 R1 K53
- 0x7C440200, // 0166 CALL R17 1
- 0x7C3C0400, // 0167 CALL R15 2
- 0x8C3C1D3A, // 0168 GETMET R15 R14 K58
- 0x5C441200, // 0169 MOVE R17 R9
- 0x5C481400, // 016A MOVE R18 R10
- 0x7C3C0600, // 016B CALL R15 3
- 0x8C3C1D3B, // 016C GETMET R15 R14 K59
- 0x5C441600, // 016D MOVE R17 R11
- 0x7C3C0400, // 016E CALL R15 2
- 0x8C3C1D3C, // 016F GETMET R15 R14 K60
- 0x5C441800, // 0170 MOVE R17 R12
- 0x5C481A00, // 0171 MOVE R18 R13
- 0x7C3C0600, // 0172 CALL R15 3
- 0x8C3C1D3D, // 0173 GETMET R15 R14 K61
- 0x8C44033E, // 0174 GETMET R17 R1 K62
- 0x7C440200, // 0175 CALL R17 1
- 0x7C3C0400, // 0176 CALL R15 2
- 0xB83E0400, // 0177 GETNGBL R15 K2
- 0x883C1F03, // 0178 GETMBR R15 R15 K3
- 0x8C3C1F3F, // 0179 GETMET R15 R15 K63
- 0x5C441200, // 017A MOVE R17 R9
- 0x7C3C0400, // 017B CALL R15 2
- 0x8C401F40, // 017C GETMET R16 R15 K64
- 0x544A0005, // 017D LDINT R18 6
- 0x7C400400, // 017E CALL R16 2
- 0x8C442107, // 017F GETMET R17 R16 K7
- 0x544E0014, // 0180 LDINT R19 21
- 0x7C440400, // 0181 CALL R17 2
- 0x8C482107, // 0182 GETMET R18 R16 K7
- 0x54520010, // 0183 LDINT R20 17
- 0x7C480400, // 0184 CALL R18 2
- 0x5C4C2200, // 0185 MOVE R19 R17
- 0x784E0001, // 0186 JMPF R19 #0189
- 0x5C4C2400, // 0187 MOVE R19 R18
- 0x744E0006, // 0188 JMPT R19 #0190
- 0xB84E4400, // 0189 GETNGBL R19 K34
- 0x8C4C2727, // 018A GETMET R19 R19 K39
- 0x58540041, // 018B LDCONST R21 K65
- 0x5858000F, // 018C LDCONST R22 K15
- 0x7C4C0600, // 018D CALL R19 3
- 0x504C0000, // 018E LDBOOL R19 0 0
- 0x80042600, // 018F RET 1 R19
- 0x604C0004, // 0190 GETGBL R19 G4
- 0x5C502200, // 0191 MOVE R20 R17
- 0x7C4C0200, // 0192 CALL R19 1
- 0x1C4C2742, // 0193 EQ R19 R19 K66
- 0x784E0007, // 0194 JMPF R19 #019D
- 0xB84E8600, // 0195 GETNGBL R19 K67
- 0x8C4C2744, // 0196 GETMET R19 R19 K68
- 0x5C542200, // 0197 MOVE R21 R17
- 0x7C4C0400, // 0198 CALL R19 2
- 0x8C4C2745, // 0199 GETMET R19 R19 K69
- 0x7C4C0200, // 019A CALL R19 1
- 0x5C442600, // 019B MOVE R17 R19
- 0x70020002, // 019C JMP #01A0
- 0x8C4C2345, // 019D GETMET R19 R17 K69
- 0x7C4C0200, // 019E CALL R19 1
- 0x5C442600, // 019F MOVE R17 R19
- 0x604C0004, // 01A0 GETGBL R19 G4
- 0x5C502400, // 01A1 MOVE R20 R18
- 0x7C4C0200, // 01A2 CALL R19 1
- 0x1C4C2742, // 01A3 EQ R19 R19 K66
- 0x784E0007, // 01A4 JMPF R19 #01AD
- 0xB84E8600, // 01A5 GETNGBL R19 K67
- 0x8C4C2744, // 01A6 GETMET R19 R19 K68
- 0x5C542400, // 01A7 MOVE R21 R18
- 0x7C4C0400, // 01A8 CALL R19 2
- 0x8C4C2745, // 01A9 GETMET R19 R19 K69
- 0x7C4C0200, // 01AA CALL R19 1
- 0x5C482600, // 01AB MOVE R18 R19
- 0x70020002, // 01AC JMP #01B0
- 0x8C4C2545, // 01AD GETMET R19 R18 K69
- 0x7C4C0200, // 01AE CALL R19 1
- 0x5C482600, // 01AF MOVE R18 R19
- 0x8C4C0346, // 01B0 GETMET R19 R1 K70
- 0x7C4C0200, // 01B1 CALL R19 1
- 0x40521147, // 01B2 CONNECT R20 K8 K71
- 0x944C2614, // 01B3 GETIDX R19 R19 R20
- 0x60540015, // 01B4 GETGBL R21 G21
- 0x7C540000, // 01B5 CALL R21 0
- 0x8C542B48, // 01B6 GETMET R21 R21 K72
- 0x585C0049, // 01B7 LDCONST R23 K73
- 0x7C540400, // 01B8 CALL R21 2
- 0x5C502A00, // 01B9 MOVE R20 R21
- 0x8C54094A, // 01BA GETMET R21 R4 K74
- 0x7C540200, // 01BB CALL R21 1
- 0x8C58234B, // 01BC GETMET R22 R17 K75
- 0x7C580200, // 01BD CALL R22 1
- 0x8C582D4C, // 01BE GETMET R22 R22 K76
- 0x7C580200, // 01BF CALL R22 1
- 0x8C5C2B4D, // 01C0 GETMET R23 R21 K77
- 0x5C642600, // 01C1 MOVE R25 R19
- 0x5C682C00, // 01C2 MOVE R26 R22
- 0x5C6C2800, // 01C3 MOVE R27 R20
- 0x54720007, // 01C4 LDINT R28 8
- 0x7C5C0A00, // 01C5 CALL R23 5
- 0x88600312, // 01C6 GETMBR R24 R1 K18
- 0x78620001, // 01C7 JMPF R24 #01CA
- 0x88600312, // 01C8 GETMBR R24 R1 K18
- 0x70020001, // 01C9 JMP #01CC
- 0x88600116, // 01CA GETMBR R24 R0 K22
- 0x8860314E, // 01CB GETMBR R24 R24 K78
- 0x8C641D4F, // 01CC GETMET R25 R14 K79
- 0x5C6C2200, // 01CD MOVE R27 R17
- 0x5C702400, // 01CE MOVE R28 R18
- 0x5C742E00, // 01CF MOVE R29 R23
- 0x5C783000, // 01D0 MOVE R30 R24
- 0x7C640A00, // 01D1 CALL R25 5
- 0x8C641D50, // 01D2 GETMET R25 R14 K80
- 0x7C640200, // 01D3 CALL R25 1
- 0x88640116, // 01D4 GETMBR R25 R0 K22
- 0x8C643351, // 01D5 GETMET R25 R25 K81
- 0x5C6C1C00, // 01D6 MOVE R27 R14
- 0x7C640400, // 01D7 CALL R25 2
- 0x8C640352, // 01D8 GETMET R25 R1 K82
- 0x7C640200, // 01D9 CALL R25 1
- 0x78660002, // 01DA JMPF R25 #01DE
- 0x8C640353, // 01DB GETMET R25 R1 K83
- 0x546E003B, // 01DC LDINT R27 60
- 0x7C640400, // 01DD CALL R25 2
- 0x8C641D54, // 01DE GETMET R25 R14 K84
- 0x7C640200, // 01DF CALL R25 1
- 0x8C640D0A, // 01E0 GETMET R25 R6 K10
- 0x7C640200, // 01E1 CALL R25 1
- 0x8C68330B, // 01E2 GETMET R26 R25 K11
- 0x58700006, // 01E3 LDCONST R28 K6
- 0x88740D0C, // 01E4 GETMBR R29 R6 K12
- 0xB87A0400, // 01E5 GETNGBL R30 K2
- 0x88783D33, // 01E6 GETMBR R30 R30 K51
- 0x7C680800, // 01E7 CALL R26 4
- 0x8C68330B, // 01E8 GETMET R26 R25 K11
- 0x58700008, // 01E9 LDCONST R28 K8
- 0x88740D0C, // 01EA GETMBR R29 R6 K12
- 0x58780008, // 01EB LDCONST R30 K8
- 0x7C680800, // 01EC CALL R26 4
- 0x546A0007, // 01ED LDINT R26 8
- 0x900E0A1A, // 01EE SETMBR R3 K5 R26
- 0x80043200, // 01EF RET 1 R25
- 0x70020063, // 01F0 JMP #0255
- 0x54260008, // 01F1 LDINT R9 9
- 0x1C241009, // 01F2 EQ R9 R8 R9
- 0x7826001E, // 01F3 JMPF R9 #0213
- 0x8C240507, // 01F4 GETMET R9 R2 K7
- 0x582C0006, // 01F5 LDCONST R11 K6
- 0x7C240400, // 01F6 CALL R9 2
- 0x8C280355, // 01F7 GETMET R10 R1 K85
- 0x5C301200, // 01F8 MOVE R12 R9
- 0x7C280400, // 01F9 CALL R10 2
- 0xB82A4400, // 01FA GETNGBL R10 K34
- 0x8C281527, // 01FB GETMET R10 R10 K39
- 0x8C300B2D, // 01FC GETMET R12 R5 K45
- 0x58380056, // 01FD LDCONST R14 K86
- 0x883C0312, // 01FE GETMBR R15 R1 K18
- 0x8C3C1F57, // 01FF GETMET R15 R15 K87
- 0x7C3C0200, // 0200 CALL R15 1
- 0x8C3C1F4B, // 0201 GETMET R15 R15 K75
- 0x7C3C0200, // 0202 CALL R15 1
- 0x8C3C1F4C, // 0203 GETMET R15 R15 K76
- 0x7C3C0200, // 0204 CALL R15 1
- 0x8C3C1F29, // 0205 GETMET R15 R15 K41
- 0x7C3C0200, // 0206 CALL R15 1
- 0x60400008, // 0207 GETGBL R16 G8
- 0x5C441200, // 0208 MOVE R17 R9
- 0x7C400200, // 0209 CALL R16 1
- 0x7C300800, // 020A CALL R12 4
- 0x5834000F, // 020B LDCONST R13 K15
- 0x7C280600, // 020C CALL R10 3
- 0xB82A0400, // 020D GETNGBL R10 K2
- 0x88281533, // 020E GETMBR R10 R10 K51
- 0x900E340A, // 020F SETMBR R3 K26 R10
- 0x4C280000, // 0210 LDNIL R10
- 0x80041400, // 0211 RET 1 R10
- 0x70020041, // 0212 JMP #0255
- 0x54260009, // 0213 LDINT R9 10
- 0x1C241009, // 0214 EQ R9 R8 R9
- 0x7826003E, // 0215 JMPF R9 #0255
- 0x8C240507, // 0216 GETMET R9 R2 K7
- 0x582C0006, // 0217 LDCONST R11 K6
- 0x7C240400, // 0218 CALL R9 2
- 0x60280008, // 0219 GETGBL R10 G8
- 0x5C2C1200, // 021A MOVE R11 R9
- 0x7C280200, // 021B CALL R10 1
- 0x002AB00A, // 021C ADD R10 K88 R10
- 0x900E4E0A, // 021D SETMBR R3 K39 R10
- 0x60280010, // 021E GETGBL R10 G16
- 0x882C0116, // 021F GETMBR R11 R0 K22
- 0x882C1737, // 0220 GETMBR R11 R11 K55
- 0x8C2C1759, // 0221 GETMET R11 R11 K89
- 0x7C2C0200, // 0222 CALL R11 1
- 0x7C280200, // 0223 CALL R10 1
- 0xA802001D, // 0224 EXBLK 0 #0243
- 0x5C2C1400, // 0225 MOVE R11 R10
- 0x7C2C0000, // 0226 CALL R11 0
- 0x8C30175A, // 0227 GETMET R12 R11 K90
- 0x7C300200, // 0228 CALL R12 1
- 0x1C301809, // 0229 EQ R12 R12 R9
- 0x78320015, // 022A JMPF R12 #0241
- 0xB8324400, // 022B GETNGBL R12 K34
- 0x8C301927, // 022C GETMET R12 R12 K39
- 0x8C381757, // 022D GETMET R14 R11 K87
- 0x7C380200, // 022E CALL R14 1
- 0x8C381D4B, // 022F GETMET R14 R14 K75
- 0x7C380200, // 0230 CALL R14 1
- 0x8C381D4C, // 0231 GETMET R14 R14 K76
- 0x7C380200, // 0232 CALL R14 1
- 0x8C381D29, // 0233 GETMET R14 R14 K41
- 0x7C380200, // 0234 CALL R14 1
- 0x003AB60E, // 0235 ADD R14 K91 R14
- 0x583C000F, // 0236 LDCONST R15 K15
- 0x7C300600, // 0237 CALL R12 3
- 0xB8324400, // 0238 GETNGBL R12 K34
- 0x8C30195C, // 0239 GETMET R12 R12 K92
- 0x543A07CF, // 023A LDINT R14 2000
- 0x843C0000, // 023B CLOSURE R15 P0
- 0x7C300600, // 023C CALL R12 3
- 0x50300200, // 023D LDBOOL R12 1 0
- 0xA0000000, // 023E CLOSE R0
- 0xA8040001, // 023F EXBLK 1 1
- 0x80041800, // 0240 RET 1 R12
- 0xA0280000, // 0241 CLOSE R10
- 0x7001FFE1, // 0242 JMP #0225
- 0x5828005D, // 0243 LDCONST R10 K93
- 0xAC280200, // 0244 CATCH R10 1 0
- 0xB0080000, // 0245 RAISE 2 R0 R0
- 0xB82A4400, // 0246 GETNGBL R10 K34
- 0x8C281527, // 0247 GETMET R10 R10 K39
- 0x60300008, // 0248 GETGBL R12 G8
- 0x5C341200, // 0249 MOVE R13 R9
- 0x7C300200, // 024A CALL R12 1
- 0x0032BC0C, // 024B ADD R12 K94 R12
- 0x0030195F, // 024C ADD R12 R12 K95
- 0x5834000F, // 024D LDCONST R13 K15
- 0x7C280600, // 024E CALL R10 3
- 0xB82A0400, // 024F GETNGBL R10 K2
- 0x88281560, // 0250 GETMBR R10 R10 K96
- 0x900E340A, // 0251 SETMBR R3 K26 R10
- 0x4C280000, // 0252 LDNIL R10
- 0xA0000000, // 0253 CLOSE R0
- 0x80041400, // 0254 RET 1 R10
- 0x7002009A, // 0255 JMP #02F1
- 0x5426003B, // 0256 LDINT R9 60
- 0x1C240E09, // 0257 EQ R9 R7 R9
- 0x78260084, // 0258 JMPF R9 #02DE
- 0x1C241106, // 0259 EQ R9 R8 K6
- 0x78260064, // 025A JMPF R9 #02C0
- 0x8C240507, // 025B GETMET R9 R2 K7
- 0x582C0006, // 025C LDCONST R11 K6
- 0x7C240400, // 025D CALL R9 2
- 0x8C280507, // 025E GETMET R10 R2 K7
- 0x58300008, // 025F LDCONST R12 K8
- 0x7C280400, // 0260 CALL R10 2
- 0x8C2C0507, // 0261 GETMET R11 R2 K7
- 0x5834000F, // 0262 LDCONST R13 K15
- 0x7C2C0400, // 0263 CALL R11 2
- 0x8C300507, // 0264 GETMET R12 R2 K7
- 0x58380011, // 0265 LDCONST R14 K17
- 0x7C300400, // 0266 CALL R12 2
- 0x8C340507, // 0267 GETMET R13 R2 K7
- 0x543E0003, // 0268 LDINT R15 4
- 0x7C340400, // 0269 CALL R13 2
- 0xB83A4400, // 026A GETNGBL R14 K34
- 0x8C381D27, // 026B GETMET R14 R14 K39
- 0x8C400B2D, // 026C GETMET R16 R5 K45
- 0x58480061, // 026D LDCONST R18 K97
- 0x5C4C1200, // 026E MOVE R19 R9
- 0x8C501529, // 026F GETMET R20 R10 K41
- 0x7C500200, // 0270 CALL R20 1
- 0x5C541600, // 0271 MOVE R21 R11
- 0x5C581800, // 0272 MOVE R22 R12
- 0x8C5C1B29, // 0273 GETMET R23 R13 K41
- 0x7C5C0200, // 0274 CALL R23 1
- 0x7C400E00, // 0275 CALL R16 7
- 0x5844000F, // 0276 LDCONST R17 K15
- 0x7C380600, // 0277 CALL R14 3
- 0x4C380000, // 0278 LDNIL R14
- 0x1C38120E, // 0279 EQ R14 R9 R14
- 0x743A000B, // 027A JMPT R14 #0287
- 0x4C380000, // 027B LDNIL R14
- 0x1C38140E, // 027C EQ R14 R10 R14
- 0x743A0008, // 027D JMPT R14 #0287
- 0x4C380000, // 027E LDNIL R14
- 0x1C38160E, // 027F EQ R14 R11 R14
- 0x743A0005, // 0280 JMPT R14 #0287
- 0x4C380000, // 0281 LDNIL R14
- 0x1C38180E, // 0282 EQ R14 R12 R14
- 0x743A0002, // 0283 JMPT R14 #0287
- 0x4C380000, // 0284 LDNIL R14
- 0x1C381A0E, // 0285 EQ R14 R13 R14
- 0x783A0005, // 0286 JMPF R14 #028D
- 0xB83A0400, // 0287 GETNGBL R14 K2
- 0x88381D62, // 0288 GETMBR R14 R14 K98
- 0x900E340E, // 0289 SETMBR R3 K26 R14
- 0x4C380000, // 028A LDNIL R14
- 0xA0000000, // 028B CLOSE R0
- 0x80041C00, // 028C RET 1 R14
- 0x6038000C, // 028D GETGBL R14 G12
- 0x5C3C1400, // 028E MOVE R15 R10
- 0x7C380200, // 028F CALL R14 1
- 0x543E001F, // 0290 LDINT R15 32
- 0x54420040, // 0291 LDINT R16 65
- 0x003C1E10, // 0292 ADD R15 R15 R16
- 0x20381C0F, // 0293 NE R14 R14 R15
- 0x743A000B, // 0294 JMPT R14 #02A1
- 0x6038000C, // 0295 GETGBL R14 G12
- 0x5C3C1A00, // 0296 MOVE R15 R13
- 0x7C380200, // 0297 CALL R14 1
- 0x543E000F, // 0298 LDINT R15 16
- 0x14381C0F, // 0299 LT R14 R14 R15
- 0x743A0005, // 029A JMPT R14 #02A1
- 0x6038000C, // 029B GETGBL R14 G12
- 0x5C3C1A00, // 029C MOVE R15 R13
- 0x7C380200, // 029D CALL R14 1
- 0x543E001F, // 029E LDINT R15 32
- 0x24381C0F, // 029F GT R14 R14 R15
- 0x783A0009, // 02A0 JMPF R14 #02AB
- 0xB83A4400, // 02A1 GETNGBL R14 K34
- 0x8C381D27, // 02A2 GETMET R14 R14 K39
- 0x58400063, // 02A3 LDCONST R16 K99
- 0x7C380400, // 02A4 CALL R14 2
- 0xB83A0400, // 02A5 GETNGBL R14 K2
- 0x88381D64, // 02A6 GETMBR R14 R14 K100
- 0x900E340E, // 02A7 SETMBR R3 K26 R14
- 0x4C380000, // 02A8 LDNIL R14
- 0xA0000000, // 02A9 CLOSE R0
- 0x80041C00, // 02AA RET 1 R14
- 0x543A001E, // 02AB LDINT R14 31
- 0x403A0C0E, // 02AC CONNECT R14 K6 R14
- 0x9438140E, // 02AD GETIDX R14 R10 R14
- 0x543E001F, // 02AE LDINT R15 32
- 0x403C1F47, // 02AF CONNECT R15 R15 K71
- 0x943C140F, // 02B0 GETIDX R15 R10 R15
- 0x88400116, // 02B1 GETMBR R16 R0 K22
- 0x8C402165, // 02B2 GETMET R16 R16 K101
- 0x5C481200, // 02B3 MOVE R18 R9
- 0x5C4C1800, // 02B4 MOVE R19 R12
- 0x5C501600, // 02B5 MOVE R20 R11
- 0x5C541A00, // 02B6 MOVE R21 R13
- 0x5C581C00, // 02B7 MOVE R22 R14
- 0x5C5C1E00, // 02B8 MOVE R23 R15
- 0x8C600366, // 02B9 GETMET R24 R1 K102
- 0x7C600200, // 02BA CALL R24 1
- 0x7C401000, // 02BB CALL R16 8
- 0x50400200, // 02BC LDBOOL R16 1 0
- 0xA0000000, // 02BD CLOSE R0
- 0x80042000, // 02BE RET 1 R16
- 0x7002001C, // 02BF JMP #02DD
- 0x1C241108, // 02C0 EQ R9 R8 K8
- 0x78260012, // 02C1 JMPF R9 #02D5
- 0x8C240507, // 02C2 GETMET R9 R2 K7
- 0x582C0006, // 02C3 LDCONST R11 K6
- 0x7C240400, // 02C4 CALL R9 2
- 0xB82A4400, // 02C5 GETNGBL R10 K34
- 0x8C281527, // 02C6 GETMET R10 R10 K39
- 0x60300008, // 02C7 GETGBL R12 G8
- 0x5C341200, // 02C8 MOVE R13 R9
- 0x7C300200, // 02C9 CALL R12 1
- 0x0032CE0C, // 02CA ADD R12 K103 R12
- 0x5834000F, // 02CB LDCONST R13 K15
- 0x7C280600, // 02CC CALL R10 3
- 0x88280116, // 02CD GETMBR R10 R0 K22
- 0x8C281568, // 02CE GETMET R10 R10 K104
- 0x5C301200, // 02CF MOVE R12 R9
- 0x7C280400, // 02D0 CALL R10 2
- 0x50280200, // 02D1 LDBOOL R10 1 0
- 0xA0000000, // 02D2 CLOSE R0
- 0x80041400, // 02D3 RET 1 R10
- 0x70020007, // 02D4 JMP #02DD
- 0x1C24110F, // 02D5 EQ R9 R8 K15
- 0x78260005, // 02D6 JMPF R9 #02DD
- 0x88240116, // 02D7 GETMBR R9 R0 K22
- 0x8C241369, // 02D8 GETMET R9 R9 K105
- 0x7C240200, // 02D9 CALL R9 1
- 0x50240200, // 02DA LDBOOL R9 1 0
- 0xA0000000, // 02DB CLOSE R0
- 0x80041200, // 02DC RET 1 R9
- 0x70020012, // 02DD JMP #02F1
- 0x54260029, // 02DE LDINT R9 42
- 0x1C240E09, // 02DF EQ R9 R7 R9
- 0x78260005, // 02E0 JMPF R9 #02E7
- 0x1C241106, // 02E1 EQ R9 R8 K6
- 0x78260002, // 02E2 JMPF R9 #02E6
- 0x50240200, // 02E3 LDBOOL R9 1 0
- 0xA0000000, // 02E4 CLOSE R0
- 0x80041200, // 02E5 RET 1 R9
- 0x70020009, // 02E6 JMP #02F1
- 0x60240003, // 02E7 GETGBL R9 G3
- 0x5C280000, // 02E8 MOVE R10 R0
- 0x7C240200, // 02E9 CALL R9 1
- 0x8C24136A, // 02EA GETMET R9 R9 K106
- 0x5C2C0200, // 02EB MOVE R11 R1
- 0x5C300400, // 02EC MOVE R12 R2
- 0x5C340600, // 02ED MOVE R13 R3
- 0x7C240800, // 02EE CALL R9 4
- 0xA0000000, // 02EF CLOSE R0
- 0x80041200, // 02F0 RET 1 R9
- 0xA0000000, // 02F1 CLOSE R0
- 0x80000000, // 02F2 RET 0
+ 0xB8160200, // 0001 GETNGBL R5 K1
+ 0x88140B02, // 0002 GETMBR R5 R5 K2
+ 0x88180503, // 0003 GETMBR R6 R2 K3
+ 0x881C0504, // 0004 GETMBR R7 R2 K4
+ 0x5422002F, // 0005 LDINT R8 48
+ 0x1C200C08, // 0006 EQ R8 R6 R8
+ 0x78220019, // 0007 JMPF R8 #0022
+ 0x1C200F05, // 0008 EQ R8 R7 K5
+ 0x78220016, // 0009 JMPF R8 #0021
+ 0x60200004, // 000A GETGBL R8 G4
+ 0x5C240600, // 000B MOVE R9 R3
+ 0x7C200200, // 000C CALL R8 1
+ 0x1C201106, // 000D EQ R8 R8 K6
+ 0x74220004, // 000E JMPT R8 #0014
+ 0x6020000F, // 000F GETGBL R8 G15
+ 0x5C240600, // 0010 MOVE R9 R3
+ 0xB82A0E00, // 0011 GETNGBL R10 K7
+ 0x7C200400, // 0012 CALL R8 2
+ 0x78220007, // 0013 JMPF R8 #001C
+ 0x90061003, // 0014 SETMBR R1 K8 R3
+ 0x8C200109, // 0015 GETMET R8 R0 K9
+ 0x88280503, // 0016 GETMBR R10 R2 K3
+ 0x882C0504, // 0017 GETMBR R11 R2 K4
+ 0x7C200600, // 0018 CALL R8 3
+ 0x50200200, // 0019 LDBOOL R8 1 0
+ 0x80041000, // 001A RET 1 R8
+ 0x70020004, // 001B JMP #0021
+ 0xB8220200, // 001C GETNGBL R8 K1
+ 0x8820110B, // 001D GETMBR R8 R8 K11
+ 0x900A1408, // 001E SETMBR R2 K10 R8
+ 0x50200000, // 001F LDBOOL R8 0 0
+ 0x80041000, // 0020 RET 1 R8
+ 0x70020041, // 0021 JMP #0064
+ 0x5422001E, // 0022 LDINT R8 31
+ 0x1C200C08, // 0023 EQ R8 R6 R8
+ 0x78220004, // 0024 JMPF R8 #002A
+ 0x1C200F05, // 0025 EQ R8 R7 K5
+ 0x78220001, // 0026 JMPF R8 #0029
+ 0x50200200, // 0027 LDBOOL R8 1 0
+ 0x80041000, // 0028 RET 1 R8
+ 0x70020039, // 0029 JMP #0064
+ 0x54220027, // 002A LDINT R8 40
+ 0x1C200C08, // 002B EQ R8 R6 R8
+ 0x7822000B, // 002C JMPF R8 #0039
+ 0x54220004, // 002D LDINT R8 5
+ 0x1C200E08, // 002E EQ R8 R7 R8
+ 0x78220002, // 002F JMPF R8 #0033
+ 0x50200200, // 0030 LDBOOL R8 1 0
+ 0x80041000, // 0031 RET 1 R8
+ 0x70020004, // 0032 JMP #0038
+ 0x54220005, // 0033 LDINT R8 6
+ 0x1C200E08, // 0034 EQ R8 R7 R8
+ 0x78220001, // 0035 JMPF R8 #0038
+ 0x50200200, // 0036 LDBOOL R8 1 0
+ 0x80041000, // 0037 RET 1 R8
+ 0x7002002A, // 0038 JMP #0064
+ 0x54220029, // 0039 LDINT R8 42
+ 0x1C200C08, // 003A EQ R8 R6 R8
+ 0x78220004, // 003B JMPF R8 #0041
+ 0x1C200F05, // 003C EQ R8 R7 K5
+ 0x78220001, // 003D JMPF R8 #0040
+ 0x50200200, // 003E LDBOOL R8 1 0
+ 0x80041000, // 003F RET 1 R8
+ 0x70020022, // 0040 JMP #0064
+ 0x5422002A, // 0041 LDINT R8 43
+ 0x1C200C08, // 0042 EQ R8 R6 R8
+ 0x78220007, // 0043 JMPF R8 #004C
+ 0x1C200F05, // 0044 EQ R8 R7 K5
+ 0x78220004, // 0045 JMPF R8 #004B
+ 0xB8220200, // 0046 GETNGBL R8 K1
+ 0x8820110B, // 0047 GETMBR R8 R8 K11
+ 0x900A1408, // 0048 SETMBR R2 K10 R8
+ 0x50200000, // 0049 LDBOOL R8 0 0
+ 0x80041000, // 004A RET 1 R8
+ 0x70020017, // 004B JMP #0064
+ 0x5422002B, // 004C LDINT R8 44
+ 0x1C200C08, // 004D EQ R8 R6 R8
+ 0x78220009, // 004E JMPF R8 #0059
+ 0x1C200F05, // 004F EQ R8 R7 K5
+ 0x78220002, // 0050 JMPF R8 #0054
+ 0x50200200, // 0051 LDBOOL R8 1 0
+ 0x80041000, // 0052 RET 1 R8
+ 0x70020003, // 0053 JMP #0058
+ 0x1C200F0C, // 0054 EQ R8 R7 K12
+ 0x78220001, // 0055 JMPF R8 #0058
+ 0x50200200, // 0056 LDBOOL R8 1 0
+ 0x80041000, // 0057 RET 1 R8
+ 0x7002000A, // 0058 JMP #0064
+ 0x54220030, // 0059 LDINT R8 49
+ 0x1C200C08, // 005A EQ R8 R6 R8
+ 0x78220007, // 005B JMPF R8 #0064
+ 0x54220003, // 005C LDINT R8 4
+ 0x1C200E08, // 005D EQ R8 R7 R8
+ 0x78220004, // 005E JMPF R8 #0064
+ 0xB8220200, // 005F GETNGBL R8 K1
+ 0x8820110D, // 0060 GETMBR R8 R8 K13
+ 0x900A1408, // 0061 SETMBR R2 K10 R8
+ 0x50200000, // 0062 LDBOOL R8 0 0
+ 0x80041000, // 0063 RET 1 R8
+ 0x80000000, // 0064 RET 0
})
)
);
@@ -2099,11 +2065,11 @@ extern const bclass be_class_Matter_Plugin;
be_local_class(Matter_Plugin_Root,
0,
&be_class_Matter_Plugin,
- be_nested_map(8,
+ be_nested_map(7,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(invoke_request, 1), be_const_closure(Matter_Plugin_Root_invoke_request_closure) },
- { be_const_key_weak(write_attribute, -1), be_const_closure(Matter_Plugin_Root_write_attribute_closure) },
- { be_const_key_weak(CLUSTERS, 4), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(invoke_request, 2), be_const_closure(Matter_Plugin_Root_invoke_request_closure) },
+ { be_const_key_weak(NAME, -1), be_nested_str_weak(Root_X20node) },
+ { be_const_key_weak(CLUSTERS, 6), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(13,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(52, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
@@ -2206,15 +2172,14 @@ be_local_class(Matter_Plugin_Root,
be_const_int(8),
})) ) } )) },
})) ) } )) },
- { be_const_key_weak(init, 0), be_const_closure(Matter_Plugin_Root_init_closure) },
- { be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Root_read_attribute_closure) },
- { be_const_key_weak(TYPE, -1), be_nested_str_weak(root) },
- { be_const_key_weak(NAME, -1), be_nested_str_weak(Root_X20node) },
- { be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(TYPES, 5), 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(Matter_Plugin_Root_write_attribute_closure) },
+ { be_const_key_weak(TYPE, -1), be_nested_str_weak(root) },
+ { be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Root_read_attribute_closure) },
})),
be_str_weak(Matter_Plugin_Root)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor.h
index 788358b91..79cafd8f4 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor.h
@@ -105,52 +105,43 @@ be_local_closure(Matter_Plugin_Sensor_parse_sensors, /* name */
/********************************************************************
-** Solidified function: init
+** Solidified function: parse_configuration
********************************************************************/
-be_local_closure(Matter_Plugin_Sensor_init, /* name */
+be_local_closure(Matter_Plugin_Sensor_parse_configuration, /* name */
be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
+ 5, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 8]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(tasmota_sensor_filter),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG),
- /* K4 */ be_nested_str_weak(tasmota_sensor_matcher),
- /* K5 */ be_nested_str_weak(tasmota),
- /* K6 */ be_nested_str_weak(Rule_Matcher),
- /* K7 */ be_nested_str_weak(parse),
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota_sensor_filter),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(ARG),
+ /* K3 */ be_nested_str_weak(tasmota_sensor_matcher),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(Rule_Matcher),
+ /* K6 */ be_nested_str_weak(parse),
}),
- be_str_weak(init),
+ be_str_weak(parse_configuration),
&be_const_str_solidified,
- ( &(const binstruction[21]) { /* 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
- 0x8C100702, // 0008 GETMET R4 R3 K2
- 0x88180103, // 0009 GETMBR R6 R0 K3
- 0x7C100400, // 000A CALL R4 2
- 0x90020204, // 000B SETMBR R0 K1 R4
- 0x88100101, // 000C GETMBR R4 R0 K1
- 0x78120005, // 000D JMPF R4 #0014
- 0xB8120A00, // 000E GETNGBL R4 K5
- 0x88100906, // 000F GETMBR R4 R4 K6
- 0x8C100907, // 0010 GETMET R4 R4 K7
- 0x88180101, // 0011 GETMBR R6 R0 K1
- 0x7C100400, // 0012 CALL R4 2
- 0x90020804, // 0013 SETMBR R0 K4 R4
- 0x80000000, // 0014 RET 0
+ ( &(const binstruction[13]) { /* code */
+ 0x8C080301, // 0000 GETMET R2 R1 K1
+ 0x88100102, // 0001 GETMBR R4 R0 K2
+ 0x7C080400, // 0002 CALL R2 2
+ 0x90020002, // 0003 SETMBR R0 K0 R2
+ 0x88080100, // 0004 GETMBR R2 R0 K0
+ 0x780A0005, // 0005 JMPF R2 #000C
+ 0xB80A0800, // 0006 GETNGBL R2 K4
+ 0x88080505, // 0007 GETMBR R2 R2 K5
+ 0x8C080506, // 0008 GETMET R2 R2 K6
+ 0x88100100, // 0009 GETMBR R4 R0 K0
+ 0x7C080400, // 000A CALL R2 2
+ 0x90020602, // 000B SETMBR R0 K3 R2
+ 0x80000000, // 000C RET 0
})
)
);
@@ -166,14 +157,14 @@ be_local_class(Matter_Plugin_Sensor,
&be_class_Matter_Plugin_Device,
be_nested_map(9,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(UPDATE_TIME, 3), be_const_int(5000) },
+ { be_const_key_weak(ARG, 3), be_nested_str_weak(filter) },
{ be_const_key_weak(tasmota_sensor_filter, -1), be_const_var(0) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_pre_value_closure) },
- { be_const_key_weak(ARG, -1), be_nested_str_weak(filter) },
+ { be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Sensor_value_changed_closure) },
- { be_const_key_weak(init, 7), be_const_closure(Matter_Plugin_Sensor_init_closure) },
- { be_const_key_weak(parse_sensors, 5), be_const_closure(Matter_Plugin_Sensor_parse_sensors_closure) },
{ be_const_key_weak(shadow_value, -1), be_const_var(2) },
+ { be_const_key_weak(parse_sensors, 5), be_const_closure(Matter_Plugin_Sensor_parse_sensors_closure) },
+ { be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_parse_configuration_closure) },
{ be_const_key_weak(tasmota_sensor_matcher, -1), be_const_var(1) },
})),
be_str_weak(Matter_Plugin_Sensor)
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_Occupancy.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_Occupancy.h
index 5ce78e2dd..0c35bd94c 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_Occupancy.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_Occupancy.h
@@ -7,49 +7,40 @@
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
/********************************************************************
-** Solidified function: init
+** Solidified function: parse_configuration
********************************************************************/
-be_local_closure(Matter_Plugin_Sensor_Occupancy_init, /* name */
+be_local_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration, /* name */
be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
+ 7, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(tasmota_switch_index),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG),
- /* K4 */ be_const_int(1),
- /* K5 */ be_const_int(0),
+ ( &(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(init),
+ be_str_weak(parse_configuration),
&be_const_str_solidified,
- ( &(const binstruction[20]) { /* 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
- 0x60100009, // 0008 GETGBL R4 G9
- 0x8C140702, // 0009 GETMET R5 R3 K2
- 0x881C0103, // 000A GETMBR R7 R0 K3
- 0x58200004, // 000B LDCONST R8 K4
- 0x7C140600, // 000C CALL R5 3
- 0x7C100200, // 000D CALL R4 1
- 0x90020204, // 000E SETMBR R0 K1 R4
- 0x88100101, // 000F GETMBR R4 R0 K1
- 0x18100905, // 0010 LE R4 R4 K5
- 0x78120000, // 0011 JMPF R4 #0013
- 0x90020304, // 0012 SETMBR R0 K1 K4
- 0x80000000, // 0013 RET 0
+ ( &(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
})
)
);
@@ -283,18 +274,20 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
be_nested_map(12,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
- { be_const_key_weak(TYPE, 9), be_nested_str_weak(occupancy) },
+ { be_const_key_weak(parse_configuration, 9), be_const_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration_closure) },
{ 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(263, -1), be_const_int(2) },
})) ) } )) },
- { be_const_key_weak(init, 11), be_const_closure(Matter_Plugin_Sensor_Occupancy_init_closure) },
+ { be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E_closure) },
{ be_const_key_weak(NAME, -1), be_nested_str_weak(Occupancy) },
{ be_const_key_weak(read_attribute, 5), be_const_closure(Matter_Plugin_Sensor_Occupancy_read_attribute_closure) },
{ be_const_key_weak(shadow_occupancy, -1), be_const_var(1) },
- { be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
+ { be_const_key_weak(tasmota_switch_index, -1), be_const_var(0) },
+ { be_const_key_weak(TYPE, 11), be_nested_str_weak(occupancy) },
+ { be_const_key_weak(CLUSTERS, 8), 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(1030, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
@@ -308,8 +301,6 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Sensor_Occupancy_update_shadow_closure) },
- { be_const_key_weak(tasmota_switch_index, 8), be_const_var(0) },
- { be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
})),
be_str_weak(Matter_Plugin_Sensor_Occupancy)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_OnOff.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_OnOff.h
index 3653ba167..b061f2b05 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_OnOff.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Sensor_OnOff.h
@@ -6,6 +6,47 @@
extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
+/********************************************************************
+** Solidified function: parse_configuration
+********************************************************************/
+be_local_closure(Matter_Plugin_Sensor_OnOff_parse_configuration, /* name */
+ be_nested_proto(
+ 7, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 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:
********************************************************************/
@@ -196,56 +237,6 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_update_shadow, /* name */
/*******************************************************************/
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-be_local_closure(Matter_Plugin_Sensor_OnOff_init, /* name */
- be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(tasmota_switch_index),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG),
- /* K4 */ be_const_int(1),
- /* K5 */ be_const_int(0),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[20]) { /* 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
- 0x60100009, // 0008 GETGBL R4 G9
- 0x8C140702, // 0009 GETMET R5 R3 K2
- 0x881C0103, // 000A GETMBR R7 R0 K3
- 0x58200004, // 000B LDCONST R8 K4
- 0x7C140600, // 000C CALL R5 3
- 0x7C100200, // 000D CALL R4 1
- 0x90020204, // 000E SETMBR R0 K1 R4
- 0x88100101, // 000F GETMBR R4 R0 K1
- 0x18100905, // 0010 LE R4 R4 K5
- 0x78120000, // 0011 JMPF R4 #0013
- 0x90020304, // 0012 SETMBR R0 K1 K4
- 0x80000000, // 0013 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
/********************************************************************
** Solidified class: Matter_Plugin_Sensor_OnOff
********************************************************************/
@@ -256,19 +247,19 @@ be_local_class(Matter_Plugin_Sensor_OnOff,
be_nested_map(12,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
- { be_const_key_weak(TYPE, 11), be_nested_str_weak(onoff) },
+ { be_const_key_weak(parse_configuration, 8), be_const_closure(Matter_Plugin_Sensor_OnOff_parse_configuration_closure) },
{ 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(2128, -1), be_const_int(2) },
})) ) } )) },
- { be_const_key_weak(ARG, 9), be_nested_str_weak(switch) },
- { be_const_key_weak(ARG_TYPE, 8), be_const_static_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E_closure) },
+ { be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
+ { be_const_key_weak(ARG_TYPE, 9), be_const_static_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E_closure) },
{ be_const_key_weak(NAME, -1), be_nested_str_weak(OnOff) },
{ be_const_key_weak(read_attribute, 5), be_const_closure(Matter_Plugin_Sensor_OnOff_read_attribute_closure) },
{ be_const_key_weak(tasmota_switch_index, -1), be_const_var(0) },
+ { be_const_key_weak(TYPE, 11), be_nested_str_weak(onoff) },
{ be_const_key_weak(shadow_onoff, -1), be_const_var(1) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Sensor_OnOff_init_closure) },
{ be_const_key_weak(CLUSTERS, 7), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Shutter.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Shutter.h
index 2fd38c7da..93d6e592c 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Shutter.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_Plugin_Shutter.h
@@ -573,49 +573,40 @@ be_local_closure(Matter_Plugin_Shutter_parse_sensors, /* name */
/********************************************************************
-** Solidified function: init
+** Solidified function: parse_configuration
********************************************************************/
-be_local_closure(Matter_Plugin_Shutter_init, /* name */
+be_local_closure(Matter_Plugin_Shutter_parse_configuration, /* name */
be_nested_proto(
- 9, /* nstack */
- 4, /* argc */
+ 5, /* nstack */
+ 2, /* argc */
2, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(init),
- /* K1 */ be_nested_str_weak(tasmota_shutter_index),
- /* K2 */ be_nested_str_weak(find),
- /* K3 */ be_nested_str_weak(ARG),
- /* K4 */ be_const_int(0),
- /* K5 */ be_nested_str_weak(shadow_shutter_inverted),
+ ( &(const bvalue[ 5]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota_shutter_index),
+ /* K1 */ be_nested_str_weak(find),
+ /* K2 */ be_nested_str_weak(ARG),
+ /* K3 */ be_const_int(0),
+ /* K4 */ be_nested_str_weak(shadow_shutter_inverted),
}),
- be_str_weak(init),
+ be_str_weak(parse_configuration),
&be_const_str_solidified,
- ( &(const binstruction[20]) { /* 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
- 0x8C100702, // 0008 GETMET R4 R3 K2
- 0x88180103, // 0009 GETMBR R6 R0 K3
- 0x7C100400, // 000A CALL R4 2
- 0x90020204, // 000B SETMBR R0 K1 R4
- 0x88100101, // 000C GETMBR R4 R0 K1
- 0x4C140000, // 000D LDNIL R5
- 0x1C100805, // 000E EQ R4 R4 R5
- 0x78120000, // 000F JMPF R4 #0011
- 0x90020304, // 0010 SETMBR R0 K1 K4
- 0x5411FFFE, // 0011 LDINT R4 -1
- 0x90020A04, // 0012 SETMBR R0 K5 R4
- 0x80000000, // 0013 RET 0
+ ( &(const binstruction[12]) { /* code */
+ 0x8C080301, // 0000 GETMET R2 R1 K1
+ 0x88100102, // 0001 GETMBR R4 R0 K2
+ 0x7C080400, // 0002 CALL R2 2
+ 0x90020002, // 0003 SETMBR R0 K0 R2
+ 0x88080100, // 0004 GETMBR R2 R0 K0
+ 0x4C0C0000, // 0005 LDNIL R3
+ 0x1C080403, // 0006 EQ R2 R2 R3
+ 0x780A0000, // 0007 JMPF R2 #0009
+ 0x90020103, // 0008 SETMBR R0 K0 K3
+ 0x5409FFFE, // 0009 LDINT R2 -1
+ 0x90020802, // 000A SETMBR R0 K4 R2
+ 0x80000000, // 000B RET 0
})
)
);
@@ -684,14 +675,14 @@ be_local_class(Matter_Plugin_Shutter,
&be_class_Matter_Plugin_Device,
be_nested_map(18,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(shadow_shutter_direction, -1), be_const_var(4) },
+ { be_const_key_weak(shadow_shutter_tilt, -1), be_const_var(3) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(shutter) },
{ 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(514, -1), be_const_int(2) },
})) ) } )) },
- { be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Shutter_update_shadow_closure) },
+ { be_const_key_weak(update_shadow, 13), be_const_closure(Matter_Plugin_Shutter_update_shadow_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
@@ -711,18 +702,18 @@ be_local_class(Matter_Plugin_Shutter,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(invoke_request, 14), be_const_closure(Matter_Plugin_Shutter_invoke_request_closure) },
- { be_const_key_weak(read_attribute, 13), be_const_closure(Matter_Plugin_Shutter_read_attribute_closure) },
+ { be_const_key_weak(read_attribute, 16), be_const_closure(Matter_Plugin_Shutter_read_attribute_closure) },
{ be_const_key_weak(shadow_shutter_inverted, 3), be_const_var(5) },
{ be_const_key_weak(shadow_shutter_pos, -1), be_const_var(1) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(shutter) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin_Shutter__X3Clambda_X3E_closure) },
- { be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Shutter_init_closure) },
- { be_const_key_weak(update_inverted, 16), be_const_closure(Matter_Plugin_Shutter_update_inverted_closure) },
- { be_const_key_weak(parse_sensors, -1), be_const_closure(Matter_Plugin_Shutter_parse_sensors_closure) },
- { be_const_key_weak(shadow_shutter_target, -1), be_const_var(2) },
- { be_const_key_weak(tasmota_shutter_index, 11), be_const_var(0) },
{ be_const_key_weak(NAME, -1), be_nested_str_weak(Shutter) },
- { be_const_key_weak(shadow_shutter_tilt, 0), be_const_var(3) },
+ { be_const_key_weak(update_inverted, 11), be_const_closure(Matter_Plugin_Shutter_update_inverted_closure) },
+ { be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Shutter_parse_configuration_closure) },
+ { be_const_key_weak(shadow_shutter_target, -1), be_const_var(2) },
+ { be_const_key_weak(tasmota_shutter_index, -1), be_const_var(0) },
+ { be_const_key_weak(parse_sensors, -1), be_const_closure(Matter_Plugin_Shutter_parse_sensors_closure) },
+ { be_const_key_weak(shadow_shutter_direction, 0), be_const_var(4) },
})),
be_str_weak(Matter_Plugin_Shutter)
);
diff --git a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_UI.h b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_UI.h
index 0e88e8429..2f5170eee 100644
--- a/lib/libesp32/berry_matter/src/solidify/solidified_Matter_UI.h
+++ b/lib/libesp32/berry_matter/src/solidify/solidified_Matter_UI.h
@@ -7,9 +7,132 @@
extern const bclass be_class_Matter_UI;
/********************************************************************
-** Solidified function: page_part_mgr
+** Solidified function: web_add_config_button
********************************************************************/
-be_local_closure(Matter_UI_page_part_mgr, /* name */
+be_local_closure(Matter_UI_web_add_config_button, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 6]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(content_send),
+ /* K2 */ be_nested_str_weak(_X3Cp_X3E_X3Cform_X20id_X3Dac_X20action_X3D_X27matterc_X27_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20method_X3D_X27get_X27_X3E_X3Cbutton_X3E),
+ /* K3 */ be_nested_str_weak(matter),
+ /* K4 */ be_nested_str_weak(_LOGO),
+ /* K5 */ be_nested_str_weak(_X20Configure_X20Matter_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
+ }),
+ be_str_weak(web_add_config_button),
+ &be_const_str_solidified,
+ ( &(const binstruction[12]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x8C080301, // 0001 GETMET R2 R1 K1
+ 0x58100002, // 0002 LDCONST R4 K2
+ 0x7C080400, // 0003 CALL R2 2
+ 0x8C080301, // 0004 GETMET R2 R1 K1
+ 0xB8120600, // 0005 GETNGBL R4 K3
+ 0x88100904, // 0006 GETMBR R4 R4 K4
+ 0x7C080400, // 0007 CALL R2 2
+ 0x8C080301, // 0008 GETMET R2 R1 K1
+ 0x58100005, // 0009 LDCONST R4 K5
+ 0x7C080400, // 000A CALL R2 2
+ 0x80000000, // 000B RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: show_passcode_form
+********************************************************************/
+be_local_closure(Matter_UI_show_passcode_form, /* name */
+ be_nested_proto(
+ 9, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(content_send),
+ /* K3 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BMatter_X20Advanced_X20Configuration_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K4 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X20onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20cause_X20a_X20restart_X2E_X22_X29_X3B_X27_X3E_X3Cp_X3EPasscode_X3A_X3C_X2Fp_X3E),
+ /* K5 */ be_nested_str_weak(format),
+ /* K6 */ be_nested_str_weak(_X3Cinput_X20type_X3D_X27number_X27_X20min_X3D_X271_X27_X20max_X3D_X2799999998_X27_X20name_X3D_X27passcode_X27_X20value_X3D_X27_X25i_X27_X3E),
+ /* K7 */ be_nested_str_weak(device),
+ /* K8 */ be_nested_str_weak(root_passcode),
+ /* K9 */ be_nested_str_weak(_X3Cp_X3EDistinguish_X20id_X3A_X3C_X2Fp_X3E),
+ /* K10 */ be_nested_str_weak(_X3Cinput_X20type_X3D_X27number_X27_X20min_X3D_X270_X27_X20max_X3D_X274095_X27_X20name_X3D_X27discriminator_X27_X20value_X3D_X27_X25i_X27_X3E),
+ /* K11 */ be_nested_str_weak(root_discriminator),
+ /* K12 */ be_nested_str_weak(_X3Cp_X3E_X3Cinput_X20type_X3D_X27checkbox_X27_X20name_X3D_X27ipv4_X27_X25s_X3EIPv4_X20only_X3C_X2Fp_X3E),
+ /* K13 */ be_nested_str_weak(ipv4only),
+ /* K14 */ be_nested_str_weak(_X20checked),
+ /* K15 */ be_nested_str_weak(),
+ /* K16 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27passcode_X27_X20class_X3D_X27button_X20bgrn_X27_X3EChange_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ }),
+ be_str_weak(show_passcode_form),
+ &be_const_str_solidified,
+ ( &(const binstruction[40]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x8C0C0302, // 0002 GETMET R3 R1 K2
+ 0x58140003, // 0003 LDCONST R5 K3
+ 0x7C0C0400, // 0004 CALL R3 2
+ 0x8C0C0302, // 0005 GETMET R3 R1 K2
+ 0x58140004, // 0006 LDCONST R5 K4
+ 0x7C0C0400, // 0007 CALL R3 2
+ 0x8C0C0302, // 0008 GETMET R3 R1 K2
+ 0x8C140505, // 0009 GETMET R5 R2 K5
+ 0x581C0006, // 000A LDCONST R7 K6
+ 0x88200107, // 000B GETMBR R8 R0 K7
+ 0x88201108, // 000C GETMBR R8 R8 K8
+ 0x7C140600, // 000D CALL R5 3
+ 0x7C0C0400, // 000E CALL R3 2
+ 0x8C0C0302, // 000F GETMET R3 R1 K2
+ 0x58140009, // 0010 LDCONST R5 K9
+ 0x7C0C0400, // 0011 CALL R3 2
+ 0x8C0C0302, // 0012 GETMET R3 R1 K2
+ 0x8C140505, // 0013 GETMET R5 R2 K5
+ 0x581C000A, // 0014 LDCONST R7 K10
+ 0x88200107, // 0015 GETMBR R8 R0 K7
+ 0x8820110B, // 0016 GETMBR R8 R8 K11
+ 0x7C140600, // 0017 CALL R5 3
+ 0x7C0C0400, // 0018 CALL R3 2
+ 0x8C0C0302, // 0019 GETMET R3 R1 K2
+ 0x8C140505, // 001A GETMET R5 R2 K5
+ 0x581C000C, // 001B LDCONST R7 K12
+ 0x88200107, // 001C GETMBR R8 R0 K7
+ 0x8820110D, // 001D GETMBR R8 R8 K13
+ 0x78220001, // 001E JMPF R8 #0021
+ 0x5820000E, // 001F LDCONST R8 K14
+ 0x70020000, // 0020 JMP #0022
+ 0x5820000F, // 0021 LDCONST R8 K15
+ 0x7C140600, // 0022 CALL R5 3
+ 0x7C0C0400, // 0023 CALL R3 2
+ 0x8C0C0302, // 0024 GETMET R3 R1 K2
+ 0x58140010, // 0025 LDCONST R5 K16
+ 0x7C0C0400, // 0026 CALL R3 2
+ 0x80000000, // 0027 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: page_part_mgr_adv
+********************************************************************/
+be_local_closure(Matter_UI_page_part_mgr_adv, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@@ -19,24 +142,23 @@ be_local_closure(Matter_UI_page_part_mgr, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[13]) { /* constants */
+ ( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
/* K2 */ be_nested_str_weak(check_privileged_access),
/* K3 */ be_nested_str_weak(content_start),
- /* K4 */ be_nested_str_weak(Matter),
+ /* K4 */ be_nested_str_weak(Matter_X20Advanced_X20Configuration),
/* K5 */ be_nested_str_weak(content_send_style),
- /* K6 */ be_nested_str_weak(show_enable),
+ /* K6 */ be_nested_str_weak(matter_enabled),
/* K7 */ be_nested_str_weak(show_passcode_form),
- /* K8 */ be_nested_str_weak(show_plugins_configuration),
- /* K9 */ be_nested_str_weak(show_fabric_info),
- /* K10 */ be_nested_str_weak(content_button),
- /* K11 */ be_nested_str_weak(BUTTON_CONFIGURATION),
- /* K12 */ be_nested_str_weak(content_stop),
+ /* K8 */ be_nested_str_weak(show_fabric_info),
+ /* K9 */ be_nested_str_weak(content_button),
+ /* K10 */ be_nested_str_weak(BUTTON_CONFIGURATION),
+ /* K11 */ be_nested_str_weak(content_stop),
}),
- be_str_weak(page_part_mgr),
+ be_str_weak(page_part_mgr_adv),
&be_const_str_solidified,
- ( &(const binstruction[27]) { /* code */
+ ( &(const binstruction[25]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
0x8C0C0302, // 0002 GETMET R3 R1 K2
@@ -51,19 +173,17 @@ be_local_closure(Matter_UI_page_part_mgr, /* name */
0x7C0C0200, // 000B CALL R3 1
0x8C0C0106, // 000C GETMET R3 R0 K6
0x7C0C0200, // 000D CALL R3 1
- 0x780E0005, // 000E JMPF R3 #0015
+ 0x780E0003, // 000E JMPF R3 #0013
0x8C0C0107, // 000F GETMET R3 R0 K7
0x7C0C0200, // 0010 CALL R3 1
0x8C0C0108, // 0011 GETMET R3 R0 K8
0x7C0C0200, // 0012 CALL R3 1
- 0x8C0C0109, // 0013 GETMET R3 R0 K9
- 0x7C0C0200, // 0014 CALL R3 1
- 0x8C0C030A, // 0015 GETMET R3 R1 K10
- 0x8814030B, // 0016 GETMBR R5 R1 K11
- 0x7C0C0400, // 0017 CALL R3 2
- 0x8C0C030C, // 0018 GETMET R3 R1 K12
- 0x7C0C0200, // 0019 CALL R3 1
- 0x80000000, // 001A RET 0
+ 0x8C0C0309, // 0013 GETMET R3 R1 K9
+ 0x8814030A, // 0014 GETMBR R5 R1 K10
+ 0x7C0C0400, // 0015 CALL R3 2
+ 0x8C0C030B, // 0016 GETMET R3 R1 K11
+ 0x7C0C0200, // 0017 CALL R3 1
+ 0x80000000, // 0018 RET 0
})
)
);
@@ -71,11 +191,11 @@ be_local_closure(Matter_UI_page_part_mgr, /* name */
/********************************************************************
-** Solidified function: show_commissioning_info
+** Solidified function: show_bridge_status
********************************************************************/
-be_local_closure(Matter_UI_show_commissioning_info, /* name */
+be_local_closure(Matter_UI_show_bridge_status, /* name */
be_nested_proto(
- 14, /* nstack */
+ 15, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -83,97 +203,1067 @@ be_local_closure(Matter_UI_show_commissioning_info, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[20]) { /* constants */
+ ( &(const bvalue[26]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(device),
- /* K3 */ be_nested_str_weak(commissioning_open),
- /* K4 */ be_nested_str_weak(tasmota),
- /* K5 */ be_nested_str_weak(millis),
- /* K6 */ be_const_int(0),
- /* K7 */ be_nested_str_weak(content_send),
- /* K8 */ be_nested_str_weak(format),
- /* K9 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BCommissioning_X20open_X20for_X20_X25i_X20min_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K10 */ be_nested_str_weak(compute_manual_pairing_code),
- /* K11 */ be_nested_str_weak(_X3Cp_X3EManual_X20pairing_X20code_X3A_X3Cbr_X3E_X3Cb_X3E_X25s_X2D_X25s_X2D_X25s_X3C_X2Fb_X3E_X3C_X2Fp_X3E_X3Chr_X3E),
- /* K12 */ be_const_int(3),
- /* K13 */ be_const_int(2147483647),
- /* K14 */ be_nested_str_weak(_X3Cdiv_X3E_X3Ccenter_X3E),
- /* K15 */ be_nested_str_weak(compute_qrcode_content),
- /* K16 */ be_nested_str_weak(show_qrcode),
- /* K17 */ be_nested_str_weak(_X3Cp_X3E_X20_X25s_X3C_X2Fp_X3E),
- /* K18 */ be_nested_str_weak(_X3C_X2Fdiv_X3E),
- /* K19 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K2 */ be_const_int(0),
+ /* K3 */ be_nested_str_weak(device),
+ /* K4 */ be_nested_str_weak(plugins),
+ /* K5 */ be_nested_str_weak(matter),
+ /* K6 */ be_nested_str_weak(Plugin_Bridge_HTTP),
+ /* K7 */ be_nested_str_weak(http_remote),
+ /* K8 */ be_nested_str_weak(addr),
+ /* K9 */ be_nested_str_weak(contains),
+ /* K10 */ be_nested_str_weak(push),
+ /* K11 */ be_const_int(1),
+ /* K12 */ be_nested_str_weak(content_send),
+ /* K13 */ be_nested_str_weak(_X3Chr_X3E),
+ /* K14 */ be_nested_str_weak(_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E),
+ /* K15 */ be_nested_str_weak(_STYLESHEET),
+ /* K16 */ be_nested_str_weak(keys),
+ /* K17 */ be_nested_str_weak(format),
+ /* K18 */ be_nested_str_weak(_X3Ctr_X20class_X3D_X27ztdm_X20htrm_X27_X3E_X3Ctd_X3E_X3Cb_X3E_X25s_X3C_X2Fb_X3E_X3C_X2Ftd_X3E),
+ /* K19 */ be_nested_str_weak(html_escape),
+ /* K20 */ be_nested_str_weak(web_last_seen),
+ /* K21 */ be_nested_str_weak(_X3Ctr_X20class_X3D_X27htrm_X27_X3E_X3Ctd_X20colspan_X3D_X272_X27_X3E),
+ /* K22 */ be_nested_str_weak(web_values),
+ /* K23 */ be_nested_str_weak(_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K24 */ be_nested_str_weak(stop_iteration),
+ /* K25 */ be_nested_str_weak(_X3C_X2Ftable_X3E_X3Chr_X3E),
}),
- be_str_weak(show_commissioning_info),
+ be_str_weak(show_bridge_status),
&be_const_str_solidified,
- ( &(const binstruction[66]) { /* code */
+ ( &(const binstruction[102]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
- 0x880C0102, // 0002 GETMBR R3 R0 K2
- 0x880C0703, // 0003 GETMBR R3 R3 K3
- 0xB8120800, // 0004 GETNGBL R4 K4
- 0x8C100905, // 0005 GETMET R4 R4 K5
- 0x7C100200, // 0006 CALL R4 1
- 0x040C0604, // 0007 SUB R3 R3 R4
- 0x541203E7, // 0008 LDINT R4 1000
- 0x0C0C0604, // 0009 DIV R3 R3 R4
- 0x14100706, // 000A LT R4 R3 K6
- 0x78120000, // 000B JMPF R4 #000D
- 0x580C0006, // 000C LDCONST R3 K6
- 0x5412001D, // 000D LDINT R4 30
- 0x00100604, // 000E ADD R4 R3 R4
- 0x5416003B, // 000F LDINT R5 60
- 0x0C100805, // 0010 DIV R4 R4 R5
- 0x8C140307, // 0011 GETMET R5 R1 K7
- 0x8C1C0508, // 0012 GETMET R7 R2 K8
- 0x58240009, // 0013 LDCONST R9 K9
- 0x5C280800, // 0014 MOVE R10 R4
- 0x7C1C0600, // 0015 CALL R7 3
- 0x7C140400, // 0016 CALL R5 2
- 0x88140102, // 0017 GETMBR R5 R0 K2
- 0x8C140B0A, // 0018 GETMET R5 R5 K10
- 0x7C140200, // 0019 CALL R5 1
- 0x8C180307, // 001A GETMET R6 R1 K7
- 0x8C200508, // 001B GETMET R8 R2 K8
- 0x5828000B, // 001C LDCONST R10 K11
- 0x402E0D0C, // 001D CONNECT R11 K6 K12
- 0x942C0A0B, // 001E GETIDX R11 R5 R11
- 0x54320003, // 001F LDINT R12 4
- 0x54360005, // 0020 LDINT R13 6
- 0x4030180D, // 0021 CONNECT R12 R12 R13
- 0x94300A0C, // 0022 GETIDX R12 R5 R12
- 0x54360006, // 0023 LDINT R13 7
- 0x40341B0D, // 0024 CONNECT R13 R13 K13
- 0x94340A0D, // 0025 GETIDX R13 R5 R13
- 0x7C200A00, // 0026 CALL R8 5
+ 0x4C0C0000, // 0002 LDNIL R3
+ 0x58100002, // 0003 LDCONST R4 K2
+ 0x6014000C, // 0004 GETGBL R5 G12
+ 0x88180103, // 0005 GETMBR R6 R0 K3
+ 0x88180D04, // 0006 GETMBR R6 R6 K4
+ 0x7C140200, // 0007 CALL R5 1
+ 0x14140805, // 0008 LT R5 R4 R5
+ 0x7816001D, // 0009 JMPF R5 #0028
+ 0x88140103, // 000A GETMBR R5 R0 K3
+ 0x88140B04, // 000B GETMBR R5 R5 K4
+ 0x94140A04, // 000C GETIDX R5 R5 R4
+ 0x6018000F, // 000D GETGBL R6 G15
+ 0x5C1C0A00, // 000E MOVE R7 R5
+ 0xB8220A00, // 000F GETNGBL R8 K5
+ 0x88201106, // 0010 GETMBR R8 R8 K6
+ 0x7C180400, // 0011 CALL R6 2
+ 0x781A0012, // 0012 JMPF R6 #0026
+ 0x4C180000, // 0013 LDNIL R6
+ 0x1C180606, // 0014 EQ R6 R3 R6
+ 0x781A0002, // 0015 JMPF R6 #0019
+ 0x60180013, // 0016 GETGBL R6 G19
+ 0x7C180000, // 0017 CALL R6 0
+ 0x5C0C0C00, // 0018 MOVE R3 R6
+ 0x88180B07, // 0019 GETMBR R6 R5 K7
+ 0x88180D08, // 001A GETMBR R6 R6 K8
+ 0x8C1C0709, // 001B GETMET R7 R3 K9
+ 0x5C240C00, // 001C MOVE R9 R6
+ 0x7C1C0400, // 001D CALL R7 2
+ 0x741E0002, // 001E JMPT R7 #0022
+ 0x601C0012, // 001F GETGBL R7 G18
+ 0x7C1C0000, // 0020 CALL R7 0
+ 0x980C0C07, // 0021 SETIDX R3 R6 R7
+ 0x941C0606, // 0022 GETIDX R7 R3 R6
+ 0x8C1C0F0A, // 0023 GETMET R7 R7 K10
+ 0x5C240A00, // 0024 MOVE R9 R5
+ 0x7C1C0400, // 0025 CALL R7 2
+ 0x0010090B, // 0026 ADD R4 R4 K11
+ 0x7001FFDB, // 0027 JMP #0004
+ 0x4C140000, // 0028 LDNIL R5
+ 0x1C140605, // 0029 EQ R5 R3 R5
+ 0x78160000, // 002A JMPF R5 #002C
+ 0x80000A00, // 002B RET 0
+ 0x8C14030C, // 002C GETMET R5 R1 K12
+ 0x581C000D, // 002D LDCONST R7 K13
+ 0x7C140400, // 002E CALL R5 2
+ 0x8C14030C, // 002F GETMET R5 R1 K12
+ 0x581C000E, // 0030 LDCONST R7 K14
+ 0x7C140400, // 0031 CALL R5 2
+ 0x8C14030C, // 0032 GETMET R5 R1 K12
+ 0xB81E0A00, // 0033 GETNGBL R7 K5
+ 0x881C0F0F, // 0034 GETMBR R7 R7 K15
+ 0x7C140400, // 0035 CALL R5 2
+ 0x60140010, // 0036 GETGBL R5 G16
+ 0x8C180710, // 0037 GETMET R6 R3 K16
+ 0x7C180200, // 0038 CALL R6 1
+ 0x7C140200, // 0039 CALL R5 1
+ 0xA8020023, // 003A EXBLK 0 #005F
+ 0x5C180A00, // 003B MOVE R6 R5
+ 0x7C180000, // 003C CALL R6 0
+ 0x8C1C030C, // 003D GETMET R7 R1 K12
+ 0x8C240511, // 003E GETMET R9 R2 K17
+ 0x582C0012, // 003F LDCONST R11 K18
+ 0x8C300313, // 0040 GETMET R12 R1 K19
+ 0x5C380C00, // 0041 MOVE R14 R6
+ 0x7C300400, // 0042 CALL R12 2
+ 0x7C240600, // 0043 CALL R9 3
+ 0x7C1C0400, // 0044 CALL R7 2
+ 0x941C0606, // 0045 GETIDX R7 R3 R6
+ 0x941C0F02, // 0046 GETIDX R7 R7 K2
+ 0x881C0F07, // 0047 GETMBR R7 R7 K7
+ 0x8C20030C, // 0048 GETMET R8 R1 K12
+ 0x8C280F14, // 0049 GETMET R10 R7 K20
+ 0x7C280200, // 004A CALL R10 1
+ 0x7C200400, // 004B CALL R8 2
+ 0x60200010, // 004C GETGBL R8 G16
+ 0x94240606, // 004D GETIDX R9 R3 R6
+ 0x7C200200, // 004E CALL R8 1
+ 0xA802000A, // 004F EXBLK 0 #005B
+ 0x5C241000, // 0050 MOVE R9 R8
+ 0x7C240000, // 0051 CALL R9 0
+ 0x8C28030C, // 0052 GETMET R10 R1 K12
+ 0x58300015, // 0053 LDCONST R12 K21
+ 0x7C280400, // 0054 CALL R10 2
+ 0x8C281316, // 0055 GETMET R10 R9 K22
+ 0x7C280200, // 0056 CALL R10 1
+ 0x8C28030C, // 0057 GETMET R10 R1 K12
+ 0x58300017, // 0058 LDCONST R12 K23
+ 0x7C280400, // 0059 CALL R10 2
+ 0x7001FFF4, // 005A JMP #0050
+ 0x58200018, // 005B LDCONST R8 K24
+ 0xAC200200, // 005C CATCH R8 1 0
+ 0xB0080000, // 005D RAISE 2 R0 R0
+ 0x7001FFDB, // 005E JMP #003B
+ 0x58140018, // 005F LDCONST R5 K24
+ 0xAC140200, // 0060 CATCH R5 1 0
+ 0xB0080000, // 0061 RAISE 2 R0 R0
+ 0x8C14030C, // 0062 GETMET R5 R1 K12
+ 0x581C0019, // 0063 LDCONST R7 K25
+ 0x7C140400, // 0064 CALL R5 2
+ 0x80000000, // 0065 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: plugin_option
+********************************************************************/
+be_local_closure(Matter_UI_plugin_option, /* name */
+ be_nested_proto(
+ 17, /* nstack */
+ 3, /* argc */
+ 3, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(split),
+ /* K3 */ be_nested_str_weak(_X7C),
+ /* K4 */ be_nested_str_weak(stop_iteration),
+ /* K5 */ be_const_int(0),
+ /* K6 */ be_nested_str_weak(),
+ /* K7 */ be_nested_str_weak(content_send),
+ /* K8 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X27_X3E_X3C_X2Foption_X3E),
+ /* K9 */ be_nested_str_weak(_X2Dhttp),
+ /* K10 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X27_X20disabled_X3E_X2D_X2D_X2D_X20Tasmota_X20Remote_X20_X2D_X2D_X2D_X3C_X2Foption_X3E),
+ /* K11 */ be_nested_str_weak(device),
+ /* K12 */ be_nested_str_weak(get_plugin_class_displayname),
+ /* K13 */ be_nested_str_weak(format),
+ /* K14 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X25s_X27_X25s_X3E_X25s_X3C_X2Foption_X3E),
+ /* K15 */ be_nested_str_weak(_X20selected),
+ /* K16 */ be_const_int(1),
+ }),
+ be_str_weak(plugin_option),
+ &be_const_str_solidified,
+ ( &(const binstruction[57]) { /* code */
+ 0xA40E0000, // 0000 IMPORT R3 K0
+ 0xA4120200, // 0001 IMPORT R4 K1
+ 0x60140012, // 0002 GETGBL R5 G18
+ 0x7C140000, // 0003 CALL R5 0
+ 0x60180010, // 0004 GETGBL R6 G16
+ 0x5C1C0400, // 0005 MOVE R7 R2
+ 0x7C180200, // 0006 CALL R6 1
+ 0xA8020007, // 0007 EXBLK 0 #0010
+ 0x5C1C0C00, // 0008 MOVE R7 R6
+ 0x7C1C0000, // 0009 CALL R7 0
+ 0x8C200902, // 000A GETMET R8 R4 K2
+ 0x5C280E00, // 000B MOVE R10 R7
+ 0x582C0003, // 000C LDCONST R11 K3
+ 0x7C200600, // 000D CALL R8 3
+ 0x00140A08, // 000E ADD R5 R5 R8
+ 0x7001FFF7, // 000F JMP #0008
+ 0x58180004, // 0010 LDCONST R6 K4
+ 0xAC180200, // 0011 CATCH R6 1 0
+ 0xB0080000, // 0012 RAISE 2 R0 R0
+ 0x58180005, // 0013 LDCONST R6 K5
+ 0x601C000C, // 0014 GETGBL R7 G12
+ 0x5C200A00, // 0015 MOVE R8 R5
+ 0x7C1C0200, // 0016 CALL R7 1
+ 0x141C0C07, // 0017 LT R7 R6 R7
+ 0x781E001E, // 0018 JMPF R7 #0038
+ 0x941C0A06, // 0019 GETIDX R7 R5 R6
+ 0x1C200F06, // 001A EQ R8 R7 K6
+ 0x78220003, // 001B JMPF R8 #0020
+ 0x8C200707, // 001C GETMET R8 R3 K7
+ 0x58280008, // 001D LDCONST R10 K8
+ 0x7C200400, // 001E CALL R8 2
+ 0x70020015, // 001F JMP #0036
+ 0x1C200F09, // 0020 EQ R8 R7 K9
+ 0x78220003, // 0021 JMPF R8 #0026
+ 0x8C200707, // 0022 GETMET R8 R3 K7
+ 0x5828000A, // 0023 LDCONST R10 K10
+ 0x7C200400, // 0024 CALL R8 2
+ 0x7002000F, // 0025 JMP #0036
+ 0x8820010B, // 0026 GETMBR R8 R0 K11
+ 0x8C20110C, // 0027 GETMET R8 R8 K12
+ 0x5C280E00, // 0028 MOVE R10 R7
+ 0x7C200400, // 0029 CALL R8 2
+ 0x8C240707, // 002A GETMET R9 R3 K7
+ 0x8C2C090D, // 002B GETMET R11 R4 K13
+ 0x5834000E, // 002C LDCONST R13 K14
+ 0x5C380E00, // 002D MOVE R14 R7
+ 0x1C3C0E01, // 002E EQ R15 R7 R1
+ 0x783E0001, // 002F JMPF R15 #0032
+ 0x583C000F, // 0030 LDCONST R15 K15
+ 0x70020000, // 0031 JMP #0033
+ 0x583C0006, // 0032 LDCONST R15 K6
+ 0x5C401000, // 0033 MOVE R16 R8
+ 0x7C2C0A00, // 0034 CALL R11 5
+ 0x7C240400, // 0035 CALL R9 2
+ 0x00180D10, // 0036 ADD R6 R6 K16
+ 0x7001FFDB, // 0037 JMP #0014
+ 0x80000000, // 0038 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: init
+********************************************************************/
+be_local_closure(Matter_UI_init, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 2, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(device),
+ /* K1 */ be_nested_str_weak(tasmota),
+ /* K2 */ be_nested_str_weak(add_driver),
+ }),
+ be_str_weak(init),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 6]) { /* code */
+ 0x90020001, // 0000 SETMBR R0 K0 R1
+ 0xB80A0200, // 0001 GETNGBL R2 K1
+ 0x8C080502, // 0002 GETMET R2 R2 K2
+ 0x5C100000, // 0003 MOVE R4 R0
+ 0x7C080400, // 0004 CALL R2 2
+ 0x80000000, // 0005 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: page_part_ctl
+********************************************************************/
+be_local_closure(Matter_UI_page_part_ctl, /* name */
+ be_nested_proto(
+ 25, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[97]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(check_privileged_access),
+ /* K2 */ be_nested_str_weak(string),
+ /* K3 */ be_nested_str_weak(partition_core),
+ /* K4 */ be_nested_str_weak(persist),
+ /* K5 */ be_const_int(0),
+ /* K6 */ be_nested_str_weak(arg_size),
+ /* K7 */ be_const_int(1),
+ /* K8 */ be_nested_str_weak(tasmota),
+ /* K9 */ be_nested_str_weak(log),
+ /* K10 */ be_nested_str_weak(format),
+ /* K11 */ be_nested_str_weak(MTR_X3A_X20Arg_X25i_X20_X27_X25s_X27_X20_X3D_X20_X27_X25s_X27),
+ /* K12 */ be_nested_str_weak(arg_name),
+ /* K13 */ be_nested_str_weak(arg),
+ /* K14 */ be_nested_str_weak(stop_iteration),
+ /* K15 */ be_nested_str_weak(has_arg),
+ /* K16 */ be_nested_str_weak(passcode),
+ /* K17 */ be_nested_str_weak(discriminator),
+ /* K18 */ be_nested_str_weak(MTR_X3A_X20_X2Fmatterc_X20received_X20_X27_X25s_X27_X20command),
+ /* K19 */ be_const_int(3),
+ /* K20 */ be_nested_str_weak(device),
+ /* K21 */ be_nested_str_weak(root_passcode),
+ /* K22 */ be_nested_str_weak(root_discriminator),
+ /* K23 */ be_nested_str_weak(ipv4only),
+ /* K24 */ be_nested_str_weak(ipv4),
+ /* K25 */ be_nested_str_weak(on),
+ /* K26 */ be_nested_str_weak(save_param),
+ /* K27 */ be_nested_str_weak(redirect),
+ /* K28 */ be_nested_str_weak(_X2F_X3Frst_X3D),
+ /* K29 */ be_nested_str_weak(save),
+ /* K30 */ be_nested_str_weak(menable),
+ /* K31 */ be_nested_str_weak(comm),
+ /* K32 */ be_nested_str_weak(matter_enabled),
+ /* K33 */ be_nested_str_weak(enable),
+ /* K34 */ be_nested_str_weak(cmd),
+ /* K35 */ be_nested_str_weak(SetOption),
+ /* K36 */ be_nested_str_weak(matter),
+ /* K37 */ be_nested_str_weak(MATTER_OPTION),
+ /* K38 */ be_nested_str_weak(_X201),
+ /* K39 */ be_nested_str_weak(disable),
+ /* K40 */ be_nested_str_weak(_X200),
+ /* K41 */ be_nested_str_weak(commissioning_open),
+ /* K42 */ be_nested_str_weak(start_root_basic_commissioning),
+ /* K43 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K44 */ be_nested_str_weak(_X2F),
+ /* K45 */ be_nested_str_weak(del_fabric),
+ /* K46 */ be_nested_str_weak(sessions),
+ /* K47 */ be_nested_str_weak(fabrics),
+ /* K48 */ be_nested_str_weak(get_fabric_index),
+ /* K49 */ be_nested_str_weak(remove_fabric),
+ /* K50 */ be_nested_str_weak(_X2Fmatterc_X3F),
+ /* K51 */ be_nested_str_weak(auto),
+ /* K52 */ be_nested_str_weak(plugins_persist),
+ /* K53 */ be_nested_str_weak(config),
+ /* K54 */ be_nested_str_weak(find),
+ /* K55 */ be_const_int(2147483647),
+ /* K56 */ be_nested_str_weak(plugins_config),
+ /* K57 */ be_nested_str_weak(plugins_classes),
+ /* K58 */ be_nested_str_weak(type),
+ /* K59 */ be_nested_str_weak(),
+ /* K60 */ be_nested_str_weak(MTR_X3A_X20ep_X3D_X25i_X20arg_X3D_X25s),
+ /* K61 */ be_nested_str_weak(ui_conf_to_string),
+ /* K62 */ be_nested_str_weak(MTR_X3A_X20ep_X3D_X25i_X20prev_arg_X3D_X27_X25s_X27_X20arg_X3D_X27_X25s_X27_X20_X25s),
+ /* K63 */ be_nested_str_weak(changed),
+ /* K64 */ be_nested_str_weak(ui_string_to_conf),
+ /* K65 */ be_nested_str_weak(find_plugin_by_endpoint),
+ /* K66 */ be_nested_str_weak(MTR_X3A_X20apply_X20conf_X20_X27_X25s_X27_X20_X28_X25i_X29_X20to_X20_X25s),
+ /* K67 */ be_nested_str_weak(parse_configuration),
+ /* K68 */ be_nested_str_weak(MTR_X3A_X20ep_X3D_X25i_X20not_X20found),
+ /* K69 */ be_nested_str_weak(MTR_X3A_X20config_X20_X3D_X20_X25s),
+ /* K70 */ be_nested_str_weak(MTR_X3A_X20config_X20error_X20_X3D_X20_X25s),
+ /* K71 */ be_nested_str_weak(_X2Fcn_X3F),
+ /* K72 */ be_nested_str_weak(addep),
+ /* K73 */ be_nested_str_weak(pi),
+ /* K74 */ be_nested_str_weak(MTR_X3A_X20add_X20endpoint_X20typ_X3D_X27_X25s_X27_X20arg_X3D_X27_X25s_X27),
+ /* K75 */ be_nested_str_weak(bridge_add_endpoint),
+ /* K76 */ be_nested_str_weak(addrem),
+ /* K77 */ be_nested_str_weak(url),
+ /* K78 */ be_nested_str_weak(value_error),
+ /* K79 */ be_nested_str_weak(url_X20shouldn_X27t_X20be_X20null),
+ /* K80 */ be_nested_str_weak(equal_map),
+ /* K81 */ be_nested_str_weak(MTR_X3A_X20remote_X20add_X20url_X3D_X27_X25s_X27_X20type_X3D_X27_X25s_X27_X20arg_X3D_X27_X25s_X27),
+ /* K82 */ be_nested_str_weak(del),
+ /* K83 */ be_nested_str_weak(MTR_X3A_X20deleting_X20endpoint_X20_X25i),
+ /* K84 */ be_const_int(2),
+ /* K85 */ be_nested_str_weak(bridge_remove_endpoint),
+ /* K86 */ be_nested_str_weak(content_start),
+ /* K87 */ be_nested_str_weak(Parameter_X20error),
+ /* K88 */ be_nested_str_weak(content_send_style),
+ /* K89 */ be_nested_str_weak(content_send),
+ /* K90 */ be_nested_str_weak(_X3Cp_X20style_X3D_X27width_X3A340px_X3B_X27_X3E_X3Cb_X3EError_X3A_X3C_X2Fb_X3E_X25s_X3C_X2Fp_X3E),
+ /* K91 */ be_nested_str_weak(html_escape),
+ /* K92 */ be_nested_str_weak(content_button),
+ /* K93 */ be_nested_str_weak(BUTTON_CONFIGURATION),
+ /* K94 */ be_nested_str_weak(content_stop),
+ /* K95 */ be_nested_str_weak(BRY_X3A_X20Exception_X3E_X20_X27_X25s_X27_X20_X2D_X20_X25s),
+ /* K96 */ be_nested_str_weak(_X3Cp_X20style_X3D_X27width_X3A340px_X3B_X27_X3E_X3Cb_X3EException_X3A_X3C_X2Fb_X3E_X3Cbr_X3E_X27_X25s_X27_X3Cbr_X3E_X25s_X3C_X2Fp_X3E),
+ }),
+ be_str_weak(page_part_ctl),
+ &be_const_str_solidified,
+ ( &(const binstruction[628]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x8C080301, // 0001 GETMET R2 R1 K1
+ 0x7C080200, // 0002 CALL R2 1
+ 0x740A0001, // 0003 JMPT R2 #0006
+ 0x4C080000, // 0004 LDNIL R2
+ 0x80040400, // 0005 RET 1 R2
+ 0xA40A0400, // 0006 IMPORT R2 K2
+ 0xA40E0600, // 0007 IMPORT R3 K3
+ 0xA4120800, // 0008 IMPORT R4 K4
+ 0x4C140000, // 0009 LDNIL R5
+ 0xA8020249, // 000A EXBLK 0 #0255
+ 0x60180010, // 000B GETGBL R6 G16
+ 0x8C1C0306, // 000C GETMET R7 R1 K6
+ 0x7C1C0200, // 000D CALL R7 1
+ 0x041C0F07, // 000E SUB R7 R7 K7
+ 0x401E0A07, // 000F CONNECT R7 K5 R7
+ 0x7C180200, // 0010 CALL R6 1
+ 0xA802000F, // 0011 EXBLK 0 #0022
+ 0x5C1C0C00, // 0012 MOVE R7 R6
+ 0x7C1C0000, // 0013 CALL R7 0
+ 0xB8221000, // 0014 GETNGBL R8 K8
+ 0x8C201109, // 0015 GETMET R8 R8 K9
+ 0x8C28050A, // 0016 GETMET R10 R2 K10
+ 0x5830000B, // 0017 LDCONST R12 K11
+ 0x5C340E00, // 0018 MOVE R13 R7
+ 0x8C38030C, // 0019 GETMET R14 R1 K12
+ 0x5C400E00, // 001A MOVE R16 R7
+ 0x7C380400, // 001B CALL R14 2
+ 0x8C3C030D, // 001C GETMET R15 R1 K13
+ 0x5C440E00, // 001D MOVE R17 R7
+ 0x7C3C0400, // 001E CALL R15 2
+ 0x7C280A00, // 001F CALL R10 5
+ 0x7C200400, // 0020 CALL R8 2
+ 0x7001FFEF, // 0021 JMP #0012
+ 0x5818000E, // 0022 LDCONST R6 K14
+ 0xAC180200, // 0023 CATCH R6 1 0
+ 0xB0080000, // 0024 RAISE 2 R0 R0
+ 0x8C18030F, // 0025 GETMET R6 R1 K15
+ 0x58200010, // 0026 LDCONST R8 K16
0x7C180400, // 0027 CALL R6 2
- 0x8C180307, // 0028 GETMET R6 R1 K7
- 0x8C200508, // 0029 GETMET R8 R2 K8
- 0x5828000E, // 002A LDCONST R10 K14
- 0x7C200400, // 002B CALL R8 2
- 0x7C180400, // 002C CALL R6 2
- 0x88180102, // 002D GETMBR R6 R0 K2
- 0x8C180D0F, // 002E GETMET R6 R6 K15
- 0x7C180200, // 002F CALL R6 1
- 0x8C1C0110, // 0030 GETMET R7 R0 K16
- 0x5C240C00, // 0031 MOVE R9 R6
- 0x7C1C0400, // 0032 CALL R7 2
- 0x8C1C0307, // 0033 GETMET R7 R1 K7
- 0x8C240508, // 0034 GETMET R9 R2 K8
- 0x582C0011, // 0035 LDCONST R11 K17
- 0x5C300C00, // 0036 MOVE R12 R6
- 0x7C240600, // 0037 CALL R9 3
- 0x7C1C0400, // 0038 CALL R7 2
- 0x8C1C0307, // 0039 GETMET R7 R1 K7
- 0x8C240508, // 003A GETMET R9 R2 K8
- 0x582C0012, // 003B LDCONST R11 K18
- 0x7C240400, // 003C CALL R9 2
- 0x7C1C0400, // 003D CALL R7 2
- 0x8C1C0307, // 003E GETMET R7 R1 K7
- 0x58240013, // 003F LDCONST R9 K19
- 0x7C1C0400, // 0040 CALL R7 2
- 0x80000000, // 0041 RET 0
+ 0x741A0003, // 0028 JMPT R6 #002D
+ 0x8C18030F, // 0029 GETMET R6 R1 K15
+ 0x58200011, // 002A LDCONST R8 K17
+ 0x7C180400, // 002B CALL R6 2
+ 0x781A002A, // 002C JMPF R6 #0058
+ 0xB81A1000, // 002D GETNGBL R6 K8
+ 0x8C180D09, // 002E GETMET R6 R6 K9
+ 0x8C20050A, // 002F GETMET R8 R2 K10
+ 0x58280012, // 0030 LDCONST R10 K18
+ 0x582C0010, // 0031 LDCONST R11 K16
+ 0x7C200600, // 0032 CALL R8 3
+ 0x58240013, // 0033 LDCONST R9 K19
+ 0x7C180600, // 0034 CALL R6 3
+ 0x8C18030F, // 0035 GETMET R6 R1 K15
+ 0x58200010, // 0036 LDCONST R8 K16
+ 0x7C180400, // 0037 CALL R6 2
+ 0x781A0006, // 0038 JMPF R6 #0040
+ 0x88180114, // 0039 GETMBR R6 R0 K20
+ 0x601C0009, // 003A GETGBL R7 G9
+ 0x8C20030D, // 003B GETMET R8 R1 K13
+ 0x58280010, // 003C LDCONST R10 K16
+ 0x7C200400, // 003D CALL R8 2
+ 0x7C1C0200, // 003E CALL R7 1
+ 0x901A2A07, // 003F SETMBR R6 K21 R7
+ 0x8C18030F, // 0040 GETMET R6 R1 K15
+ 0x58200011, // 0041 LDCONST R8 K17
+ 0x7C180400, // 0042 CALL R6 2
+ 0x781A0006, // 0043 JMPF R6 #004B
+ 0x88180114, // 0044 GETMBR R6 R0 K20
+ 0x601C0009, // 0045 GETGBL R7 G9
+ 0x8C20030D, // 0046 GETMET R8 R1 K13
+ 0x58280011, // 0047 LDCONST R10 K17
+ 0x7C200400, // 0048 CALL R8 2
+ 0x7C1C0200, // 0049 CALL R7 1
+ 0x901A2C07, // 004A SETMBR R6 K22 R7
+ 0x88180114, // 004B GETMBR R6 R0 K20
+ 0x8C1C030D, // 004C GETMET R7 R1 K13
+ 0x58240018, // 004D LDCONST R9 K24
+ 0x7C1C0400, // 004E CALL R7 2
+ 0x1C1C0F19, // 004F EQ R7 R7 K25
+ 0x901A2E07, // 0050 SETMBR R6 K23 R7
+ 0x88180114, // 0051 GETMBR R6 R0 K20
+ 0x8C180D1A, // 0052 GETMET R6 R6 K26
+ 0x7C180200, // 0053 CALL R6 1
+ 0x8C18031B, // 0054 GETMET R6 R1 K27
+ 0x5820001C, // 0055 LDCONST R8 K28
+ 0x7C180400, // 0056 CALL R6 2
+ 0x700201E7, // 0057 JMP #0240
+ 0x8C18030F, // 0058 GETMET R6 R1 K15
+ 0x5820001D, // 0059 LDCONST R8 K29
+ 0x7C180400, // 005A CALL R6 2
+ 0x781A0047, // 005B JMPF R6 #00A4
+ 0x8C18030F, // 005C GETMET R6 R1 K15
+ 0x5820001E, // 005D LDCONST R8 K30
+ 0x7C180400, // 005E CALL R6 2
+ 0x8C1C030F, // 005F GETMET R7 R1 K15
+ 0x5824001F, // 0060 LDCONST R9 K31
+ 0x7C1C0400, // 0061 CALL R7 2
+ 0x8C200120, // 0062 GETMET R8 R0 K32
+ 0x7C200200, // 0063 CALL R8 1
+ 0x20200C08, // 0064 NE R8 R6 R8
+ 0x78220027, // 0065 JMPF R8 #008E
+ 0x781A0011, // 0066 JMPF R6 #0079
+ 0xB8221000, // 0067 GETNGBL R8 K8
+ 0x8C201109, // 0068 GETMET R8 R8 K9
+ 0x8C28050A, // 0069 GETMET R10 R2 K10
+ 0x58300012, // 006A LDCONST R12 K18
+ 0x58340021, // 006B LDCONST R13 K33
+ 0x7C280600, // 006C CALL R10 3
+ 0x582C0013, // 006D LDCONST R11 K19
+ 0x7C200600, // 006E CALL R8 3
+ 0xB8221000, // 006F GETNGBL R8 K8
+ 0x8C201122, // 0070 GETMET R8 R8 K34
+ 0x60280008, // 0071 GETGBL R10 G8
+ 0xB82E4800, // 0072 GETNGBL R11 K36
+ 0x882C1725, // 0073 GETMBR R11 R11 K37
+ 0x7C280200, // 0074 CALL R10 1
+ 0x002A460A, // 0075 ADD R10 K35 R10
+ 0x00281526, // 0076 ADD R10 R10 K38
+ 0x7C200400, // 0077 CALL R8 2
+ 0x70020010, // 0078 JMP #008A
+ 0xB8221000, // 0079 GETNGBL R8 K8
+ 0x8C201109, // 007A GETMET R8 R8 K9
+ 0x8C28050A, // 007B GETMET R10 R2 K10
+ 0x58300012, // 007C LDCONST R12 K18
+ 0x58340027, // 007D LDCONST R13 K39
+ 0x7C280600, // 007E CALL R10 3
+ 0x582C0013, // 007F LDCONST R11 K19
+ 0x7C200600, // 0080 CALL R8 3
+ 0xB8221000, // 0081 GETNGBL R8 K8
+ 0x8C201122, // 0082 GETMET R8 R8 K34
+ 0x60280008, // 0083 GETGBL R10 G8
+ 0xB82E4800, // 0084 GETNGBL R11 K36
+ 0x882C1725, // 0085 GETMBR R11 R11 K37
+ 0x7C280200, // 0086 CALL R10 1
+ 0x002A460A, // 0087 ADD R10 K35 R10
+ 0x00281528, // 0088 ADD R10 R10 K40
+ 0x7C200400, // 0089 CALL R8 2
+ 0x8C20031B, // 008A GETMET R8 R1 K27
+ 0x5828001C, // 008B LDCONST R10 K28
+ 0x7C200400, // 008C CALL R8 2
+ 0x70020014, // 008D JMP #00A3
+ 0x88200114, // 008E GETMBR R8 R0 K20
+ 0x88201129, // 008F GETMBR R8 R8 K41
+ 0x4C240000, // 0090 LDNIL R9
+ 0x20201009, // 0091 NE R8 R8 R9
+ 0x20200E08, // 0092 NE R8 R7 R8
+ 0x7822000B, // 0093 JMPF R8 #00A0
+ 0x781E0003, // 0094 JMPF R7 #0099
+ 0x88200114, // 0095 GETMBR R8 R0 K20
+ 0x8C20112A, // 0096 GETMET R8 R8 K42
+ 0x7C200200, // 0097 CALL R8 1
+ 0x70020002, // 0098 JMP #009C
+ 0x88200114, // 0099 GETMBR R8 R0 K20
+ 0x8C20112B, // 009A GETMET R8 R8 K43
+ 0x7C200200, // 009B CALL R8 1
+ 0x8C20031B, // 009C GETMET R8 R1 K27
+ 0x5828002C, // 009D LDCONST R10 K44
+ 0x7C200400, // 009E CALL R8 2
+ 0x70020002, // 009F JMP #00A3
+ 0x8C20031B, // 00A0 GETMET R8 R1 K27
+ 0x5828002C, // 00A1 LDCONST R10 K44
+ 0x7C200400, // 00A2 CALL R8 2
+ 0x7002019B, // 00A3 JMP #0240
+ 0x8C18030F, // 00A4 GETMET R6 R1 K15
+ 0x5820002D, // 00A5 LDCONST R8 K45
+ 0x7C180400, // 00A6 CALL R6 2
+ 0x781A0026, // 00A7 JMPF R6 #00CF
+ 0xB81A1000, // 00A8 GETNGBL R6 K8
+ 0x8C180D09, // 00A9 GETMET R6 R6 K9
+ 0x8C20050A, // 00AA GETMET R8 R2 K10
+ 0x58280012, // 00AB LDCONST R10 K18
+ 0x582C002D, // 00AC LDCONST R11 K45
+ 0x7C200600, // 00AD CALL R8 3
+ 0x58240013, // 00AE LDCONST R9 K19
+ 0x7C180600, // 00AF CALL R6 3
+ 0x60180009, // 00B0 GETGBL R6 G9
+ 0x8C1C030D, // 00B1 GETMET R7 R1 K13
+ 0x5824002D, // 00B2 LDCONST R9 K45
+ 0x7C1C0400, // 00B3 CALL R7 2
+ 0x7C180200, // 00B4 CALL R6 1
+ 0x581C0005, // 00B5 LDCONST R7 K5
+ 0x88200114, // 00B6 GETMBR R8 R0 K20
+ 0x8820112E, // 00B7 GETMBR R8 R8 K46
+ 0x8820112F, // 00B8 GETMBR R8 R8 K47
+ 0x6024000C, // 00B9 GETGBL R9 G12
+ 0x5C281000, // 00BA MOVE R10 R8
+ 0x7C240200, // 00BB CALL R9 1
+ 0x14240E09, // 00BC LT R9 R7 R9
+ 0x7826000C, // 00BD JMPF R9 #00CB
+ 0x94241007, // 00BE GETIDX R9 R8 R7
+ 0x8C241330, // 00BF GETMET R9 R9 K48
+ 0x7C240200, // 00C0 CALL R9 1
+ 0x1C241206, // 00C1 EQ R9 R9 R6
+ 0x78260005, // 00C2 JMPF R9 #00C9
+ 0x88240114, // 00C3 GETMBR R9 R0 K20
+ 0x8C241331, // 00C4 GETMET R9 R9 K49
+ 0x942C1007, // 00C5 GETIDX R11 R8 R7
+ 0x7C240400, // 00C6 CALL R9 2
+ 0x70020002, // 00C7 JMP #00CB
+ 0x70020000, // 00C8 JMP #00CA
+ 0x001C0F07, // 00C9 ADD R7 R7 K7
+ 0x7001FFED, // 00CA JMP #00B9
+ 0x8C24031B, // 00CB GETMET R9 R1 K27
+ 0x582C0032, // 00CC LDCONST R11 K50
+ 0x7C240400, // 00CD CALL R9 2
+ 0x70020170, // 00CE JMP #0240
+ 0x8C18030F, // 00CF GETMET R6 R1 K15
+ 0x58200033, // 00D0 LDCONST R8 K51
+ 0x7C180400, // 00D1 CALL R6 2
+ 0x781A0011, // 00D2 JMPF R6 #00E5
+ 0xB81A1000, // 00D3 GETNGBL R6 K8
+ 0x8C180D09, // 00D4 GETMET R6 R6 K9
+ 0x8C20050A, // 00D5 GETMET R8 R2 K10
+ 0x58280012, // 00D6 LDCONST R10 K18
+ 0x582C0033, // 00D7 LDCONST R11 K51
+ 0x7C200600, // 00D8 CALL R8 3
+ 0x58240013, // 00D9 LDCONST R9 K19
+ 0x7C180600, // 00DA CALL R6 3
+ 0x88180114, // 00DB GETMBR R6 R0 K20
+ 0x501C0000, // 00DC LDBOOL R7 0 0
+ 0x901A6807, // 00DD SETMBR R6 K52 R7
+ 0x88180114, // 00DE GETMBR R6 R0 K20
+ 0x8C180D1A, // 00DF GETMET R6 R6 K26
+ 0x7C180200, // 00E0 CALL R6 1
+ 0x8C18031B, // 00E1 GETMET R6 R1 K27
+ 0x5820001C, // 00E2 LDCONST R8 K28
+ 0x7C180400, // 00E3 CALL R6 2
+ 0x7002015A, // 00E4 JMP #0240
+ 0x8C18030F, // 00E5 GETMET R6 R1 K15
+ 0x58200035, // 00E6 LDCONST R8 K53
+ 0x7C180400, // 00E7 CALL R6 2
+ 0x781A009C, // 00E8 JMPF R6 #0186
+ 0xB81A1000, // 00E9 GETNGBL R6 K8
+ 0x8C180D09, // 00EA GETMET R6 R6 K9
+ 0x8C20050A, // 00EB GETMET R8 R2 K10
+ 0x58280012, // 00EC LDCONST R10 K18
+ 0x582C0035, // 00ED LDCONST R11 K53
+ 0x7C200600, // 00EE CALL R8 3
+ 0x58240013, // 00EF LDCONST R9 K19
+ 0x7C180600, // 00F0 CALL R6 3
+ 0x50180000, // 00F1 LDBOOL R6 0 0
+ 0x601C0010, // 00F2 GETGBL R7 G16
+ 0x8C200306, // 00F3 GETMET R8 R1 K6
+ 0x7C200200, // 00F4 CALL R8 1
+ 0x04201107, // 00F5 SUB R8 R8 K7
+ 0x40220A08, // 00F6 CONNECT R8 K5 R8
+ 0x7C1C0200, // 00F7 CALL R7 1
+ 0xA8020066, // 00F8 EXBLK 0 #0160
+ 0x5C200E00, // 00F9 MOVE R8 R7
+ 0x7C200000, // 00FA CALL R8 0
+ 0x8C24030C, // 00FB GETMET R9 R1 K12
+ 0x5C2C1000, // 00FC MOVE R11 R8
+ 0x7C240400, // 00FD CALL R9 2
+ 0x8C280536, // 00FE GETMET R10 R2 K54
+ 0x5C301200, // 00FF MOVE R12 R9
+ 0x5834000D, // 0100 LDCONST R13 K13
+ 0x7C280600, // 0101 CALL R10 3
+ 0x1C281505, // 0102 EQ R10 R10 K5
+ 0x782A005A, // 0103 JMPF R10 #015F
+ 0x60280009, // 0104 GETGBL R10 G9
+ 0x402E2737, // 0105 CONNECT R11 K19 K55
+ 0x942C120B, // 0106 GETIDX R11 R9 R11
+ 0x7C280200, // 0107 CALL R10 1
+ 0x8C2C030D, // 0108 GETMET R11 R1 K13
+ 0x5C341000, // 0109 MOVE R13 R8
+ 0x7C2C0400, // 010A CALL R11 2
+ 0x88300114, // 010B GETMBR R12 R0 K20
+ 0x88301938, // 010C GETMBR R12 R12 K56
+ 0x8C301936, // 010D GETMET R12 R12 K54
+ 0x60380008, // 010E GETGBL R14 G8
+ 0x5C3C1400, // 010F MOVE R15 R10
+ 0x7C380200, // 0110 CALL R14 1
+ 0x7C300400, // 0111 CALL R12 2
+ 0x4C340000, // 0112 LDNIL R13
+ 0x2034180D, // 0113 NE R13 R12 R13
+ 0x78360041, // 0114 JMPF R13 #0157
+ 0x88340114, // 0115 GETMBR R13 R0 K20
+ 0x88341B39, // 0116 GETMBR R13 R13 K57
+ 0x8C341B36, // 0117 GETMET R13 R13 K54
+ 0x8C3C1936, // 0118 GETMET R15 R12 K54
+ 0x5844003A, // 0119 LDCONST R17 K58
+ 0x5848003B, // 011A LDCONST R18 K59
+ 0x7C3C0600, // 011B CALL R15 3
+ 0x7C340400, // 011C CALL R13 2
+ 0x4C380000, // 011D LDNIL R14
+ 0x20381A0E, // 011E NE R14 R13 R14
+ 0x783A0035, // 011F JMPF R14 #0156
+ 0xB83A1000, // 0120 GETNGBL R14 K8
+ 0x8C381D09, // 0121 GETMET R14 R14 K9
+ 0x8C40050A, // 0122 GETMET R16 R2 K10
+ 0x5848003C, // 0123 LDCONST R18 K60
+ 0x5C4C1400, // 0124 MOVE R19 R10
+ 0x5C501600, // 0125 MOVE R20 R11
+ 0x7C400800, // 0126 CALL R16 4
+ 0x58440013, // 0127 LDCONST R17 K19
+ 0x7C380600, // 0128 CALL R14 3
+ 0x8C381B3D, // 0129 GETMET R14 R13 K61
+ 0x5C401A00, // 012A MOVE R16 R13
+ 0x5C441800, // 012B MOVE R17 R12
+ 0x7C380600, // 012C CALL R14 3
+ 0x203C1C0B, // 012D NE R15 R14 R11
+ 0xB8421000, // 012E GETNGBL R16 K8
+ 0x8C402109, // 012F GETMET R16 R16 K9
+ 0x8C48050A, // 0130 GETMET R18 R2 K10
+ 0x5850003E, // 0131 LDCONST R20 K62
+ 0x5C541400, // 0132 MOVE R21 R10
+ 0x5C581C00, // 0133 MOVE R22 R14
+ 0x5C5C1600, // 0134 MOVE R23 R11
+ 0x20601C0B, // 0135 NE R24 R14 R11
+ 0x78620001, // 0136 JMPF R24 #0139
+ 0x5860003F, // 0137 LDCONST R24 K63
+ 0x70020000, // 0138 JMP #013A
+ 0x5860003B, // 0139 LDCONST R24 K59
+ 0x7C480C00, // 013A CALL R18 6
+ 0x584C0013, // 013B LDCONST R19 K19
+ 0x7C400600, // 013C CALL R16 3
+ 0x783E0017, // 013D JMPF R15 #0156
+ 0x50180200, // 013E LDBOOL R6 1 0
+ 0x8C401B40, // 013F GETMET R16 R13 K64
+ 0x5C481A00, // 0140 MOVE R18 R13
+ 0x5C4C1800, // 0141 MOVE R19 R12
+ 0x5C501600, // 0142 MOVE R20 R11
+ 0x7C400800, // 0143 CALL R16 4
+ 0x88400114, // 0144 GETMBR R16 R0 K20
+ 0x8C402141, // 0145 GETMET R16 R16 K65
+ 0x5C481400, // 0146 MOVE R18 R10
+ 0x7C400400, // 0147 CALL R16 2
+ 0x7842000C, // 0148 JMPF R16 #0156
+ 0xB8461000, // 0149 GETNGBL R17 K8
+ 0x8C442309, // 014A GETMET R17 R17 K9
+ 0x8C4C050A, // 014B GETMET R19 R2 K10
+ 0x58540042, // 014C LDCONST R21 K66
+ 0x5C581800, // 014D MOVE R22 R12
+ 0x5C5C1400, // 014E MOVE R23 R10
+ 0x5C602000, // 014F MOVE R24 R16
+ 0x7C4C0A00, // 0150 CALL R19 5
+ 0x58500013, // 0151 LDCONST R20 K19
+ 0x7C440600, // 0152 CALL R17 3
+ 0x8C442143, // 0153 GETMET R17 R16 K67
+ 0x5C4C1800, // 0154 MOVE R19 R12
+ 0x7C440400, // 0155 CALL R17 2
+ 0x70020007, // 0156 JMP #015F
+ 0xB8361000, // 0157 GETNGBL R13 K8
+ 0x8C341B09, // 0158 GETMET R13 R13 K9
+ 0x8C3C050A, // 0159 GETMET R15 R2 K10
+ 0x58440044, // 015A LDCONST R17 K68
+ 0x5C481400, // 015B MOVE R18 R10
+ 0x7C3C0600, // 015C CALL R15 3
+ 0x58400013, // 015D LDCONST R16 K19
+ 0x7C340600, // 015E CALL R13 3
+ 0x7001FF98, // 015F JMP #00F9
+ 0x581C000E, // 0160 LDCONST R7 K14
+ 0xAC1C0200, // 0161 CATCH R7 1 0
+ 0xB0080000, // 0162 RAISE 2 R0 R0
+ 0xB81E1000, // 0163 GETNGBL R7 K8
+ 0x8C1C0F09, // 0164 GETMET R7 R7 K9
+ 0x8C24050A, // 0165 GETMET R9 R2 K10
+ 0x582C0045, // 0166 LDCONST R11 K69
+ 0x60300008, // 0167 GETGBL R12 G8
+ 0x88340114, // 0168 GETMBR R13 R0 K20
+ 0x88341B38, // 0169 GETMBR R13 R13 K56
+ 0x7C300200, // 016A CALL R12 1
+ 0x7C240600, // 016B CALL R9 3
+ 0x58280013, // 016C LDCONST R10 K19
+ 0x7C1C0600, // 016D CALL R7 3
+ 0x78160008, // 016E JMPF R5 #0178
+ 0xB81E1000, // 016F GETNGBL R7 K8
+ 0x8C1C0F09, // 0170 GETMET R7 R7 K9
+ 0x8C24050A, // 0171 GETMET R9 R2 K10
+ 0x582C0046, // 0172 LDCONST R11 K70
+ 0x5C300A00, // 0173 MOVE R12 R5
+ 0x7C240600, // 0174 CALL R9 3
+ 0x58280013, // 0175 LDCONST R10 K19
+ 0x7C1C0600, // 0176 CALL R7 3
+ 0x7002000C, // 0177 JMP #0185
+ 0x741A0002, // 0178 JMPT R6 #017C
+ 0x881C0114, // 0179 GETMBR R7 R0 K20
+ 0x881C0F34, // 017A GETMBR R7 R7 K52
+ 0x741E0005, // 017B JMPT R7 #0182
+ 0x881C0114, // 017C GETMBR R7 R0 K20
+ 0x50200200, // 017D LDBOOL R8 1 0
+ 0x901E6808, // 017E SETMBR R7 K52 R8
+ 0x881C0114, // 017F GETMBR R7 R0 K20
+ 0x8C1C0F1A, // 0180 GETMET R7 R7 K26
+ 0x7C1C0200, // 0181 CALL R7 1
+ 0x8C1C031B, // 0182 GETMET R7 R1 K27
+ 0x58240047, // 0183 LDCONST R9 K71
+ 0x7C1C0400, // 0184 CALL R7 2
+ 0x700200B9, // 0185 JMP #0240
+ 0x8C18030F, // 0186 GETMET R6 R1 K15
+ 0x58200048, // 0187 LDCONST R8 K72
+ 0x7C180400, // 0188 CALL R6 2
+ 0x781A0026, // 0189 JMPF R6 #01B1
+ 0x8C18030D, // 018A GETMET R6 R1 K13
+ 0x58200049, // 018B LDCONST R8 K73
+ 0x7C180400, // 018C CALL R6 2
+ 0x8C1C030D, // 018D GETMET R7 R1 K13
+ 0x5824000D, // 018E LDCONST R9 K13
+ 0x7C1C0400, // 018F CALL R7 2
+ 0xB8221000, // 0190 GETNGBL R8 K8
+ 0x8C201109, // 0191 GETMET R8 R8 K9
+ 0x8C28050A, // 0192 GETMET R10 R2 K10
+ 0x5830004A, // 0193 LDCONST R12 K74
+ 0x5C340C00, // 0194 MOVE R13 R6
+ 0x5C380E00, // 0195 MOVE R14 R7
+ 0x7C280800, // 0196 CALL R10 4
+ 0x582C0013, // 0197 LDCONST R11 K19
+ 0x7C200600, // 0198 CALL R8 3
+ 0x88200114, // 0199 GETMBR R8 R0 K20
+ 0x88201139, // 019A GETMBR R8 R8 K57
+ 0x8C201136, // 019B GETMET R8 R8 K54
+ 0x5C280C00, // 019C MOVE R10 R6
+ 0x7C200400, // 019D CALL R8 2
+ 0x4C240000, // 019E LDNIL R9
+ 0x20241009, // 019F NE R9 R8 R9
+ 0x7826000B, // 01A0 JMPF R9 #01AD
+ 0x60240013, // 01A1 GETGBL R9 G19
+ 0x7C240000, // 01A2 CALL R9 0
+ 0x8C281140, // 01A3 GETMET R10 R8 K64
+ 0x5C301000, // 01A4 MOVE R12 R8
+ 0x5C341200, // 01A5 MOVE R13 R9
+ 0x5C380E00, // 01A6 MOVE R14 R7
+ 0x7C280800, // 01A7 CALL R10 4
+ 0x88280114, // 01A8 GETMBR R10 R0 K20
+ 0x8C28154B, // 01A9 GETMET R10 R10 K75
+ 0x5C300C00, // 01AA MOVE R12 R6
+ 0x5C341200, // 01AB MOVE R13 R9
+ 0x7C280600, // 01AC CALL R10 3
+ 0x8C24031B, // 01AD GETMET R9 R1 K27
+ 0x582C0032, // 01AE LDCONST R11 K50
+ 0x7C240400, // 01AF CALL R9 2
+ 0x7002008E, // 01B0 JMP #0240
+ 0x8C18030F, // 01B1 GETMET R6 R1 K15
+ 0x5820004C, // 01B2 LDCONST R8 K76
+ 0x7C180400, // 01B3 CALL R6 2
+ 0x781A0059, // 01B4 JMPF R6 #020F
+ 0x8C18030D, // 01B5 GETMET R6 R1 K13
+ 0x5820004D, // 01B6 LDCONST R8 K77
+ 0x7C180400, // 01B7 CALL R6 2
+ 0x4C1C0000, // 01B8 LDNIL R7
+ 0x1C1C0C07, // 01B9 EQ R7 R6 R7
+ 0x741E0001, // 01BA JMPT R7 #01BD
+ 0x1C1C0D3B, // 01BB EQ R7 R6 K59
+ 0x781E0000, // 01BC JMPF R7 #01BE
+ 0xB0069D4F, // 01BD RAISE 1 K78 K79
+ 0x581C0005, // 01BE LDCONST R7 K5
+ 0x60200008, // 01BF GETGBL R8 G8
+ 0x5C240E00, // 01C0 MOVE R9 R7
+ 0x7C200200, // 01C1 CALL R8 1
+ 0x8C24030F, // 01C2 GETMET R9 R1 K15
+ 0x002E9208, // 01C3 ADD R11 K73 R8
+ 0x7C240400, // 01C4 CALL R9 2
+ 0x78260044, // 01C5 JMPF R9 #020B
+ 0x8C24030D, // 01C6 GETMET R9 R1 K13
+ 0x002E9208, // 01C7 ADD R11 K73 R8
+ 0x7C240400, // 01C8 CALL R9 2
+ 0x8C28030D, // 01C9 GETMET R10 R1 K13
+ 0x00321A08, // 01CA ADD R12 K13 R8
+ 0x7C280400, // 01CB CALL R10 2
+ 0x202C133B, // 01CC NE R11 R9 K59
+ 0x782E0036, // 01CD JMPF R11 #0205
+ 0x882C0114, // 01CE GETMBR R11 R0 K20
+ 0x882C1739, // 01CF GETMBR R11 R11 K57
+ 0x8C2C1736, // 01D0 GETMET R11 R11 K54
+ 0x5C341200, // 01D1 MOVE R13 R9
+ 0x7C2C0400, // 01D2 CALL R11 2
+ 0x4C300000, // 01D3 LDNIL R12
+ 0x2030160C, // 01D4 NE R12 R11 R12
+ 0x7832002E, // 01D5 JMPF R12 #0205
+ 0x60300013, // 01D6 GETGBL R12 G19
+ 0x7C300000, // 01D7 CALL R12 0
+ 0x98329A06, // 01D8 SETIDX R12 K77 R6
+ 0x98327409, // 01D9 SETIDX R12 K58 R9
+ 0x8C341740, // 01DA GETMET R13 R11 K64
+ 0x5C3C1600, // 01DB MOVE R15 R11
+ 0x5C401800, // 01DC MOVE R16 R12
+ 0x5C441400, // 01DD MOVE R17 R10
+ 0x7C340800, // 01DE CALL R13 4
+ 0x50340000, // 01DF LDBOOL R13 0 0
+ 0x60380010, // 01E0 GETGBL R14 G16
+ 0x883C0114, // 01E1 GETMBR R15 R0 K20
+ 0x883C1F38, // 01E2 GETMBR R15 R15 K56
+ 0x7C380200, // 01E3 CALL R14 1
+ 0xA802000B, // 01E4 EXBLK 0 #01F1
+ 0x5C3C1C00, // 01E5 MOVE R15 R14
+ 0x7C3C0000, // 01E6 CALL R15 0
+ 0x8C400150, // 01E7 GETMET R16 R0 K80
+ 0x5C481E00, // 01E8 MOVE R18 R15
+ 0x5C4C1800, // 01E9 MOVE R19 R12
+ 0x7C400600, // 01EA CALL R16 3
+ 0x78420001, // 01EB JMPF R16 #01EE
+ 0x50340200, // 01EC LDBOOL R13 1 0
+ 0x70020000, // 01ED JMP #01EF
+ 0x7001FFF5, // 01EE JMP #01E5
+ 0xA8040001, // 01EF EXBLK 1 1
+ 0x70020002, // 01F0 JMP #01F4
+ 0x5838000E, // 01F1 LDCONST R14 K14
+ 0xAC380200, // 01F2 CATCH R14 1 0
+ 0xB0080000, // 01F3 RAISE 2 R0 R0
+ 0x5C381A00, // 01F4 MOVE R14 R13
+ 0x743A000E, // 01F5 JMPT R14 #0205
+ 0xB83A1000, // 01F6 GETNGBL R14 K8
+ 0x8C381D09, // 01F7 GETMET R14 R14 K9
+ 0x8C40050A, // 01F8 GETMET R16 R2 K10
+ 0x58480051, // 01F9 LDCONST R18 K81
+ 0x5C4C0C00, // 01FA MOVE R19 R6
+ 0x5C501200, // 01FB MOVE R20 R9
+ 0x5C541400, // 01FC MOVE R21 R10
+ 0x7C400A00, // 01FD CALL R16 5
+ 0x58440013, // 01FE LDCONST R17 K19
+ 0x7C380600, // 01FF CALL R14 3
+ 0x88380114, // 0200 GETMBR R14 R0 K20
+ 0x8C381D4B, // 0201 GETMET R14 R14 K75
+ 0x5C401200, // 0202 MOVE R16 R9
+ 0x5C441800, // 0203 MOVE R17 R12
+ 0x7C380600, // 0204 CALL R14 3
+ 0x001C0F07, // 0205 ADD R7 R7 K7
+ 0x602C0008, // 0206 GETGBL R11 G8
+ 0x5C300E00, // 0207 MOVE R12 R7
+ 0x7C2C0200, // 0208 CALL R11 1
+ 0x5C201600, // 0209 MOVE R8 R11
+ 0x7001FFB6, // 020A JMP #01C2
+ 0x8C24031B, // 020B GETMET R9 R1 K27
+ 0x582C0032, // 020C LDCONST R11 K50
+ 0x7C240400, // 020D CALL R9 2
+ 0x70020030, // 020E JMP #0240
+ 0x4C180000, // 020F LDNIL R6
+ 0x601C0010, // 0210 GETGBL R7 G16
+ 0x8C200306, // 0211 GETMET R8 R1 K6
+ 0x7C200200, // 0212 CALL R8 1
+ 0x04201107, // 0213 SUB R8 R8 K7
+ 0x40220A08, // 0214 CONNECT R8 K5 R8
+ 0x7C1C0200, // 0215 CALL R7 1
+ 0xA8020013, // 0216 EXBLK 0 #022B
+ 0x5C200E00, // 0217 MOVE R8 R7
+ 0x7C200000, // 0218 CALL R8 0
+ 0x8C24030C, // 0219 GETMET R9 R1 K12
+ 0x5C2C1000, // 021A MOVE R11 R8
+ 0x7C240400, // 021B CALL R9 2
+ 0x8C280536, // 021C GETMET R10 R2 K54
+ 0x5C301200, // 021D MOVE R12 R9
+ 0x58340052, // 021E LDCONST R13 K82
+ 0x7C280600, // 021F CALL R10 3
+ 0x1C281505, // 0220 EQ R10 R10 K5
+ 0x782A0005, // 0221 JMPF R10 #0228
+ 0x60280009, // 0222 GETGBL R10 G9
+ 0x402E2737, // 0223 CONNECT R11 K19 K55
+ 0x942C120B, // 0224 GETIDX R11 R9 R11
+ 0x7C280200, // 0225 CALL R10 1
+ 0x5C181400, // 0226 MOVE R6 R10
+ 0x70020000, // 0227 JMP #0229
+ 0x7001FFED, // 0228 JMP #0217
+ 0xA8040001, // 0229 EXBLK 1 1
+ 0x70020002, // 022A JMP #022E
+ 0x581C000E, // 022B LDCONST R7 K14
+ 0xAC1C0200, // 022C CATCH R7 1 0
+ 0xB0080000, // 022D RAISE 2 R0 R0
+ 0x4C1C0000, // 022E LDNIL R7
+ 0x201C0C07, // 022F NE R7 R6 R7
+ 0x781E000E, // 0230 JMPF R7 #0240
+ 0xB81E1000, // 0231 GETNGBL R7 K8
+ 0x8C1C0F09, // 0232 GETMET R7 R7 K9
+ 0x8C24050A, // 0233 GETMET R9 R2 K10
+ 0x582C0053, // 0234 LDCONST R11 K83
+ 0x5C300C00, // 0235 MOVE R12 R6
+ 0x7C240600, // 0236 CALL R9 3
+ 0x58280054, // 0237 LDCONST R10 K84
+ 0x7C1C0600, // 0238 CALL R7 3
+ 0x881C0114, // 0239 GETMBR R7 R0 K20
+ 0x8C1C0F55, // 023A GETMET R7 R7 K85
+ 0x5C240C00, // 023B MOVE R9 R6
+ 0x7C1C0400, // 023C CALL R7 2
+ 0x8C1C031B, // 023D GETMET R7 R1 K27
+ 0x58240032, // 023E LDCONST R9 K50
+ 0x7C1C0400, // 023F CALL R7 2
+ 0x78160011, // 0240 JMPF R5 #0253
+ 0x8C180356, // 0241 GETMET R6 R1 K86
+ 0x58200057, // 0242 LDCONST R8 K87
+ 0x7C180400, // 0243 CALL R6 2
+ 0x8C180358, // 0244 GETMET R6 R1 K88
+ 0x7C180200, // 0245 CALL R6 1
+ 0x8C180359, // 0246 GETMET R6 R1 K89
+ 0x8C20050A, // 0247 GETMET R8 R2 K10
+ 0x5828005A, // 0248 LDCONST R10 K90
+ 0x8C2C035B, // 0249 GETMET R11 R1 K91
+ 0x5C340A00, // 024A MOVE R13 R5
+ 0x7C2C0400, // 024B CALL R11 2
+ 0x7C200600, // 024C CALL R8 3
+ 0x7C180400, // 024D CALL R6 2
+ 0x8C18035C, // 024E GETMET R6 R1 K92
+ 0x8820035D, // 024F GETMBR R8 R1 K93
+ 0x7C180400, // 0250 CALL R6 2
+ 0x8C18035E, // 0251 GETMET R6 R1 K94
+ 0x7C180200, // 0252 CALL R6 1
+ 0xA8040001, // 0253 EXBLK 1 1
+ 0x7002001D, // 0254 JMP #0273
+ 0xAC180002, // 0255 CATCH R6 0 2
+ 0x7002001A, // 0256 JMP #0272
+ 0xB8221000, // 0257 GETNGBL R8 K8
+ 0x8C201109, // 0258 GETMET R8 R8 K9
+ 0x8C28050A, // 0259 GETMET R10 R2 K10
+ 0x5830005F, // 025A LDCONST R12 K95
+ 0x5C340C00, // 025B MOVE R13 R6
+ 0x5C380E00, // 025C MOVE R14 R7
+ 0x7C280800, // 025D CALL R10 4
+ 0x582C0054, // 025E LDCONST R11 K84
+ 0x7C200600, // 025F CALL R8 3
+ 0x8C200356, // 0260 GETMET R8 R1 K86
+ 0x58280057, // 0261 LDCONST R10 K87
+ 0x7C200400, // 0262 CALL R8 2
+ 0x8C200358, // 0263 GETMET R8 R1 K88
+ 0x7C200200, // 0264 CALL R8 1
+ 0x8C200359, // 0265 GETMET R8 R1 K89
+ 0x8C28050A, // 0266 GETMET R10 R2 K10
+ 0x58300060, // 0267 LDCONST R12 K96
+ 0x5C340C00, // 0268 MOVE R13 R6
+ 0x5C380E00, // 0269 MOVE R14 R7
+ 0x7C280800, // 026A CALL R10 4
+ 0x7C200400, // 026B CALL R8 2
+ 0x8C20035C, // 026C GETMET R8 R1 K92
+ 0x8828035D, // 026D GETMBR R10 R1 K93
+ 0x7C200400, // 026E CALL R8 2
+ 0x8C20035E, // 026F GETMET R8 R1 K94
+ 0x7C200200, // 0270 CALL R8 1
+ 0x70020000, // 0271 JMP #0273
+ 0xB0080000, // 0272 RAISE 2 R0 R0
+ 0x80000000, // 0273 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: web_get_arg
+********************************************************************/
+be_local_closure(Matter_UI_web_get_arg, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 7]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(has_arg),
+ /* K2 */ be_nested_str_weak(mtc0),
+ /* K3 */ be_nested_str_weak(device),
+ /* K4 */ be_nested_str_weak(stop_basic_commissioning),
+ /* K5 */ be_nested_str_weak(mtc1),
+ /* K6 */ be_nested_str_weak(start_root_basic_commissioning),
+ }),
+ be_str_weak(web_get_arg),
+ &be_const_str_solidified,
+ ( &(const binstruction[17]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0x8C080301, // 0001 GETMET R2 R1 K1
+ 0x58100002, // 0002 LDCONST R4 K2
+ 0x7C080400, // 0003 CALL R2 2
+ 0x780A0003, // 0004 JMPF R2 #0009
+ 0x88080103, // 0005 GETMBR R2 R0 K3
+ 0x8C080504, // 0006 GETMET R2 R2 K4
+ 0x7C080200, // 0007 CALL R2 1
+ 0x70020006, // 0008 JMP #0010
+ 0x8C080301, // 0009 GETMET R2 R1 K1
+ 0x58100005, // 000A LDCONST R4 K5
+ 0x7C080400, // 000B CALL R2 2
+ 0x780A0002, // 000C JMPF R2 #0010
+ 0x88080103, // 000D GETMBR R2 R0 K3
+ 0x8C080506, // 000E GETMET R2 R2 K6
+ 0x7C080200, // 000F CALL R2 1
+ 0x80000000, // 0010 RET 0
})
)
);
@@ -347,751 +1437,11 @@ be_local_closure(Matter_UI_show_qrcode, /* name */
/********************************************************************
-** Solidified function: page_part_ctl
+** Solidified function: show_remote_autoconf
********************************************************************/
-be_local_closure(Matter_UI_page_part_ctl, /* name */
+be_local_closure(Matter_UI_show_remote_autoconf, /* name */
be_nested_proto(
- 21, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[74]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(check_privileged_access),
- /* K2 */ be_nested_str_weak(string),
- /* K3 */ be_nested_str_weak(partition_core),
- /* K4 */ be_nested_str_weak(persist),
- /* K5 */ be_nested_str_weak(has_arg),
- /* K6 */ be_nested_str_weak(passcode),
- /* K7 */ be_nested_str_weak(discriminator),
- /* K8 */ be_nested_str_weak(tasmota),
- /* K9 */ be_nested_str_weak(log),
- /* K10 */ be_nested_str_weak(format),
- /* K11 */ be_nested_str_weak(MTR_X3A_X20_X2Fmatterc_X20received_X20_X27_X25s_X27_X20command),
- /* K12 */ be_const_int(3),
- /* K13 */ be_nested_str_weak(device),
- /* K14 */ be_nested_str_weak(root_passcode),
- /* K15 */ be_nested_str_weak(arg),
- /* K16 */ be_nested_str_weak(root_discriminator),
- /* K17 */ be_nested_str_weak(ipv4only),
- /* K18 */ be_nested_str_weak(ipv4),
- /* K19 */ be_nested_str_weak(on),
- /* K20 */ be_nested_str_weak(save_param),
- /* K21 */ be_nested_str_weak(redirect),
- /* K22 */ be_nested_str_weak(_X2F_X3Frst_X3D),
- /* K23 */ be_nested_str_weak(open_comm),
- /* K24 */ be_nested_str_weak(start_root_basic_commissioning),
- /* K25 */ be_nested_str_weak(_X2F),
- /* K26 */ be_nested_str_weak(clos_comm),
- /* K27 */ be_nested_str_weak(stop_basic_commissioning),
- /* K28 */ be_nested_str_weak(enable),
- /* K29 */ be_nested_str_weak(cmd),
- /* K30 */ be_nested_str_weak(SetOption),
- /* K31 */ be_nested_str_weak(matter),
- /* K32 */ be_nested_str_weak(MATTER_OPTION),
- /* K33 */ be_nested_str_weak(_X201),
- /* K34 */ be_nested_str_weak(disable),
- /* K35 */ be_nested_str_weak(_X200),
- /* K36 */ be_nested_str_weak(del_fabric),
- /* K37 */ be_const_int(0),
- /* K38 */ be_nested_str_weak(sessions),
- /* K39 */ be_nested_str_weak(fabrics),
- /* K40 */ be_nested_str_weak(get_fabric_index),
- /* K41 */ be_nested_str_weak(remove_fabric),
- /* K42 */ be_const_int(1),
- /* K43 */ be_nested_str_weak(_X2Fmatterc_X3F),
- /* K44 */ be_nested_str_weak(auto),
- /* K45 */ be_nested_str_weak(plugins_persist),
- /* K46 */ be_nested_str_weak(config),
- /* K47 */ be_nested_str_weak(_X2503i),
- /* K48 */ be_nested_str_weak(ep),
- /* K49 */ be_nested_str_weak(pi),
- /* K50 */ be_nested_str_weak(MTR_X3A_X20ep_X3D_X25i_X20type_X3D_X25s_X20arg_X3D_X25s),
- /* K51 */ be_nested_str_weak(),
- /* K52 */ be_nested_str_weak(0),
- /* K53 */ be_nested_str_weak(plugins_classes),
- /* K54 */ be_nested_str_weak(find),
- /* K55 */ be_nested_str_weak(type),
- /* K56 */ be_nested_str_weak(ui_string_to_conf),
- /* K57 */ be_nested_str_weak(MTR_X3A_X20unknown_X20type_X20_X3D_X20_X25s),
- /* K58 */ be_const_int(2),
- /* K59 */ be_nested_str_weak(MTR_X3A_X20skipping_X20parameter),
- /* K60 */ be_nested_str_weak(MTR_X3A_X20config_X20_X3D_X20_X25s),
- /* K61 */ be_nested_str_weak(MTR_X3A_X20config_X20error_X20_X3D_X20_X25s),
- /* K62 */ be_nested_str_weak(plugins_config),
- /* K63 */ be_nested_str_weak(content_start),
- /* K64 */ be_nested_str_weak(Parameter_X20error),
- /* K65 */ be_nested_str_weak(content_send_style),
- /* K66 */ be_nested_str_weak(content_send),
- /* K67 */ be_nested_str_weak(_X3Cp_X20style_X3D_X27width_X3A340px_X3B_X27_X3E_X3Cb_X3EError_X3A_X3C_X2Fb_X3E_X25s_X3C_X2Fp_X3E),
- /* K68 */ be_nested_str_weak(html_escape),
- /* K69 */ be_nested_str_weak(content_button),
- /* K70 */ be_nested_str_weak(BUTTON_CONFIGURATION),
- /* K71 */ be_nested_str_weak(content_stop),
- /* K72 */ be_nested_str_weak(BRY_X3A_X20Exception_X3E_X20_X27_X25s_X27_X20_X2D_X20_X25s),
- /* K73 */ be_nested_str_weak(_X3Cp_X20style_X3D_X27width_X3A340px_X3B_X27_X3E_X3Cb_X3EException_X3A_X3C_X2Fb_X3E_X3Cbr_X3E_X27_X25s_X27_X3Cbr_X3E_X25s_X3C_X2Fp_X3E),
- }),
- be_str_weak(page_part_ctl),
- &be_const_str_solidified,
- ( &(const binstruction[372]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x8C080301, // 0001 GETMET R2 R1 K1
- 0x7C080200, // 0002 CALL R2 1
- 0x740A0001, // 0003 JMPT R2 #0006
- 0x4C080000, // 0004 LDNIL R2
- 0x80040400, // 0005 RET 1 R2
- 0xA40A0400, // 0006 IMPORT R2 K2
- 0xA40E0600, // 0007 IMPORT R3 K3
- 0xA4120800, // 0008 IMPORT R4 K4
- 0x4C140000, // 0009 LDNIL R5
- 0xA8020149, // 000A EXBLK 0 #0155
- 0x8C180305, // 000B GETMET R6 R1 K5
- 0x58200006, // 000C LDCONST R8 K6
- 0x7C180400, // 000D CALL R6 2
- 0x741A0003, // 000E JMPT R6 #0013
- 0x8C180305, // 000F GETMET R6 R1 K5
- 0x58200007, // 0010 LDCONST R8 K7
- 0x7C180400, // 0011 CALL R6 2
- 0x781A002A, // 0012 JMPF R6 #003E
- 0xB81A1000, // 0013 GETNGBL R6 K8
- 0x8C180D09, // 0014 GETMET R6 R6 K9
- 0x8C20050A, // 0015 GETMET R8 R2 K10
- 0x5828000B, // 0016 LDCONST R10 K11
- 0x582C0006, // 0017 LDCONST R11 K6
- 0x7C200600, // 0018 CALL R8 3
- 0x5824000C, // 0019 LDCONST R9 K12
- 0x7C180600, // 001A CALL R6 3
- 0x8C180305, // 001B GETMET R6 R1 K5
- 0x58200006, // 001C LDCONST R8 K6
- 0x7C180400, // 001D CALL R6 2
- 0x781A0006, // 001E JMPF R6 #0026
- 0x8818010D, // 001F GETMBR R6 R0 K13
- 0x601C0009, // 0020 GETGBL R7 G9
- 0x8C20030F, // 0021 GETMET R8 R1 K15
- 0x58280006, // 0022 LDCONST R10 K6
- 0x7C200400, // 0023 CALL R8 2
- 0x7C1C0200, // 0024 CALL R7 1
- 0x901A1C07, // 0025 SETMBR R6 K14 R7
- 0x8C180305, // 0026 GETMET R6 R1 K5
- 0x58200007, // 0027 LDCONST R8 K7
- 0x7C180400, // 0028 CALL R6 2
- 0x781A0006, // 0029 JMPF R6 #0031
- 0x8818010D, // 002A GETMBR R6 R0 K13
- 0x601C0009, // 002B GETGBL R7 G9
- 0x8C20030F, // 002C GETMET R8 R1 K15
- 0x58280007, // 002D LDCONST R10 K7
- 0x7C200400, // 002E CALL R8 2
- 0x7C1C0200, // 002F CALL R7 1
- 0x901A2007, // 0030 SETMBR R6 K16 R7
- 0x8818010D, // 0031 GETMBR R6 R0 K13
- 0x8C1C030F, // 0032 GETMET R7 R1 K15
- 0x58240012, // 0033 LDCONST R9 K18
- 0x7C1C0400, // 0034 CALL R7 2
- 0x1C1C0F13, // 0035 EQ R7 R7 K19
- 0x901A2207, // 0036 SETMBR R6 K17 R7
- 0x8818010D, // 0037 GETMBR R6 R0 K13
- 0x8C180D14, // 0038 GETMET R6 R6 K20
- 0x7C180200, // 0039 CALL R6 1
- 0x8C180315, // 003A GETMET R6 R1 K21
- 0x58200016, // 003B LDCONST R8 K22
- 0x7C180400, // 003C CALL R6 2
- 0x70020101, // 003D JMP #0140
- 0x8C180305, // 003E GETMET R6 R1 K5
- 0x58200017, // 003F LDCONST R8 K23
- 0x7C180400, // 0040 CALL R6 2
- 0x781A0006, // 0041 JMPF R6 #0049
- 0x8818010D, // 0042 GETMBR R6 R0 K13
- 0x8C180D18, // 0043 GETMET R6 R6 K24
- 0x7C180200, // 0044 CALL R6 1
- 0x8C180315, // 0045 GETMET R6 R1 K21
- 0x58200019, // 0046 LDCONST R8 K25
- 0x7C180400, // 0047 CALL R6 2
- 0x700200F6, // 0048 JMP #0140
- 0x8C180305, // 0049 GETMET R6 R1 K5
- 0x5820001A, // 004A LDCONST R8 K26
- 0x7C180400, // 004B CALL R6 2
- 0x781A0006, // 004C JMPF R6 #0054
- 0x8818010D, // 004D GETMBR R6 R0 K13
- 0x8C180D1B, // 004E GETMET R6 R6 K27
- 0x7C180200, // 004F CALL R6 1
- 0x8C180315, // 0050 GETMET R6 R1 K21
- 0x58200019, // 0051 LDCONST R8 K25
- 0x7C180400, // 0052 CALL R6 2
- 0x700200EB, // 0053 JMP #0140
- 0x8C180305, // 0054 GETMET R6 R1 K5
- 0x5820001C, // 0055 LDCONST R8 K28
- 0x7C180400, // 0056 CALL R6 2
- 0x781A0014, // 0057 JMPF R6 #006D
- 0xB81A1000, // 0058 GETNGBL R6 K8
- 0x8C180D09, // 0059 GETMET R6 R6 K9
- 0x8C20050A, // 005A GETMET R8 R2 K10
- 0x5828000B, // 005B LDCONST R10 K11
- 0x582C001C, // 005C LDCONST R11 K28
- 0x7C200600, // 005D CALL R8 3
- 0x5824000C, // 005E LDCONST R9 K12
- 0x7C180600, // 005F CALL R6 3
- 0xB81A1000, // 0060 GETNGBL R6 K8
- 0x8C180D1D, // 0061 GETMET R6 R6 K29
- 0x60200008, // 0062 GETGBL R8 G8
- 0xB8263E00, // 0063 GETNGBL R9 K31
- 0x88241320, // 0064 GETMBR R9 R9 K32
- 0x7C200200, // 0065 CALL R8 1
- 0x00223C08, // 0066 ADD R8 K30 R8
- 0x00201121, // 0067 ADD R8 R8 K33
- 0x7C180400, // 0068 CALL R6 2
- 0x8C180315, // 0069 GETMET R6 R1 K21
- 0x58200016, // 006A LDCONST R8 K22
- 0x7C180400, // 006B CALL R6 2
- 0x700200D2, // 006C JMP #0140
- 0x8C180305, // 006D GETMET R6 R1 K5
- 0x58200022, // 006E LDCONST R8 K34
- 0x7C180400, // 006F CALL R6 2
- 0x781A0014, // 0070 JMPF R6 #0086
- 0xB81A1000, // 0071 GETNGBL R6 K8
- 0x8C180D09, // 0072 GETMET R6 R6 K9
- 0x8C20050A, // 0073 GETMET R8 R2 K10
- 0x5828000B, // 0074 LDCONST R10 K11
- 0x582C0022, // 0075 LDCONST R11 K34
- 0x7C200600, // 0076 CALL R8 3
- 0x5824000C, // 0077 LDCONST R9 K12
- 0x7C180600, // 0078 CALL R6 3
- 0xB81A1000, // 0079 GETNGBL R6 K8
- 0x8C180D1D, // 007A GETMET R6 R6 K29
- 0x60200008, // 007B GETGBL R8 G8
- 0xB8263E00, // 007C GETNGBL R9 K31
- 0x88241320, // 007D GETMBR R9 R9 K32
- 0x7C200200, // 007E CALL R8 1
- 0x00223C08, // 007F ADD R8 K30 R8
- 0x00201123, // 0080 ADD R8 R8 K35
- 0x7C180400, // 0081 CALL R6 2
- 0x8C180315, // 0082 GETMET R6 R1 K21
- 0x58200016, // 0083 LDCONST R8 K22
- 0x7C180400, // 0084 CALL R6 2
- 0x700200B9, // 0085 JMP #0140
- 0x8C180305, // 0086 GETMET R6 R1 K5
- 0x58200024, // 0087 LDCONST R8 K36
- 0x7C180400, // 0088 CALL R6 2
- 0x781A0026, // 0089 JMPF R6 #00B1
- 0xB81A1000, // 008A GETNGBL R6 K8
- 0x8C180D09, // 008B GETMET R6 R6 K9
- 0x8C20050A, // 008C GETMET R8 R2 K10
- 0x5828000B, // 008D LDCONST R10 K11
- 0x582C0024, // 008E LDCONST R11 K36
- 0x7C200600, // 008F CALL R8 3
- 0x5824000C, // 0090 LDCONST R9 K12
- 0x7C180600, // 0091 CALL R6 3
- 0x60180009, // 0092 GETGBL R6 G9
- 0x8C1C030F, // 0093 GETMET R7 R1 K15
- 0x58240024, // 0094 LDCONST R9 K36
- 0x7C1C0400, // 0095 CALL R7 2
- 0x7C180200, // 0096 CALL R6 1
- 0x581C0025, // 0097 LDCONST R7 K37
- 0x8820010D, // 0098 GETMBR R8 R0 K13
- 0x88201126, // 0099 GETMBR R8 R8 K38
- 0x88201127, // 009A GETMBR R8 R8 K39
- 0x6024000C, // 009B GETGBL R9 G12
- 0x5C281000, // 009C MOVE R10 R8
- 0x7C240200, // 009D CALL R9 1
- 0x14240E09, // 009E LT R9 R7 R9
- 0x7826000C, // 009F JMPF R9 #00AD
- 0x94241007, // 00A0 GETIDX R9 R8 R7
- 0x8C241328, // 00A1 GETMET R9 R9 K40
- 0x7C240200, // 00A2 CALL R9 1
- 0x1C241206, // 00A3 EQ R9 R9 R6
- 0x78260005, // 00A4 JMPF R9 #00AB
- 0x8824010D, // 00A5 GETMBR R9 R0 K13
- 0x8C241329, // 00A6 GETMET R9 R9 K41
- 0x942C1007, // 00A7 GETIDX R11 R8 R7
- 0x7C240400, // 00A8 CALL R9 2
- 0x70020002, // 00A9 JMP #00AD
- 0x70020000, // 00AA JMP #00AC
- 0x001C0F2A, // 00AB ADD R7 R7 K42
- 0x7001FFED, // 00AC JMP #009B
- 0x8C240315, // 00AD GETMET R9 R1 K21
- 0x582C002B, // 00AE LDCONST R11 K43
- 0x7C240400, // 00AF CALL R9 2
- 0x7002008E, // 00B0 JMP #0140
- 0x8C180305, // 00B1 GETMET R6 R1 K5
- 0x5820002C, // 00B2 LDCONST R8 K44
- 0x7C180400, // 00B3 CALL R6 2
- 0x781A0011, // 00B4 JMPF R6 #00C7
- 0xB81A1000, // 00B5 GETNGBL R6 K8
- 0x8C180D09, // 00B6 GETMET R6 R6 K9
- 0x8C20050A, // 00B7 GETMET R8 R2 K10
- 0x5828000B, // 00B8 LDCONST R10 K11
- 0x582C002C, // 00B9 LDCONST R11 K44
- 0x7C200600, // 00BA CALL R8 3
- 0x5824000C, // 00BB LDCONST R9 K12
- 0x7C180600, // 00BC CALL R6 3
- 0x8818010D, // 00BD GETMBR R6 R0 K13
- 0x501C0000, // 00BE LDBOOL R7 0 0
- 0x901A5A07, // 00BF SETMBR R6 K45 R7
- 0x8818010D, // 00C0 GETMBR R6 R0 K13
- 0x8C180D14, // 00C1 GETMET R6 R6 K20
- 0x7C180200, // 00C2 CALL R6 1
- 0x8C180315, // 00C3 GETMET R6 R1 K21
- 0x58200016, // 00C4 LDCONST R8 K22
- 0x7C180400, // 00C5 CALL R6 2
- 0x70020078, // 00C6 JMP #0140
- 0x8C180305, // 00C7 GETMET R6 R1 K5
- 0x5820002E, // 00C8 LDCONST R8 K46
- 0x7C180400, // 00C9 CALL R6 2
- 0x781A0074, // 00CA JMPF R6 #0140
- 0x60180013, // 00CB GETGBL R6 G19
- 0x7C180000, // 00CC CALL R6 0
- 0xB81E1000, // 00CD GETNGBL R7 K8
- 0x8C1C0F09, // 00CE GETMET R7 R7 K9
- 0x8C24050A, // 00CF GETMET R9 R2 K10
- 0x582C000B, // 00D0 LDCONST R11 K11
- 0x5830002E, // 00D1 LDCONST R12 K46
- 0x7C240600, // 00D2 CALL R9 3
- 0x5828000C, // 00D3 LDCONST R10 K12
- 0x7C1C0600, // 00D4 CALL R7 3
- 0x581C0025, // 00D5 LDCONST R7 K37
- 0x8C20050A, // 00D6 GETMET R8 R2 K10
- 0x5828002F, // 00D7 LDCONST R10 K47
- 0x5C2C0E00, // 00D8 MOVE R11 R7
- 0x7C200600, // 00D9 CALL R8 3
- 0x8C240305, // 00DA GETMET R9 R1 K5
- 0x002E6008, // 00DB ADD R11 K48 R8
- 0x7C240400, // 00DC CALL R9 2
- 0x78260042, // 00DD JMPF R9 #0121
- 0x8C24030F, // 00DE GETMET R9 R1 K15
- 0x002E6008, // 00DF ADD R11 K48 R8
- 0x7C240400, // 00E0 CALL R9 2
- 0x60280009, // 00E1 GETGBL R10 G9
- 0x5C2C1200, // 00E2 MOVE R11 R9
- 0x7C280200, // 00E3 CALL R10 1
- 0x8C2C030F, // 00E4 GETMET R11 R1 K15
- 0x00366208, // 00E5 ADD R13 K49 R8
- 0x7C2C0400, // 00E6 CALL R11 2
- 0x8C30030F, // 00E7 GETMET R12 R1 K15
- 0x003A1E08, // 00E8 ADD R14 K15 R8
- 0x7C300400, // 00E9 CALL R12 2
- 0xB8361000, // 00EA GETNGBL R13 K8
- 0x8C341B09, // 00EB GETMET R13 R13 K9
- 0x8C3C050A, // 00EC GETMET R15 R2 K10
- 0x58440032, // 00ED LDCONST R17 K50
- 0x5C481200, // 00EE MOVE R18 R9
- 0x5C4C1600, // 00EF MOVE R19 R11
- 0x5C501800, // 00F0 MOVE R20 R12
- 0x7C3C0A00, // 00F1 CALL R15 5
- 0x5840000C, // 00F2 LDCONST R16 K12
- 0x7C340600, // 00F3 CALL R13 3
- 0x20341333, // 00F4 NE R13 R9 K51
- 0x7836001E, // 00F5 JMPF R13 #0115
- 0x20341733, // 00F6 NE R13 R11 K51
- 0x7836001C, // 00F7 JMPF R13 #0115
- 0x20341334, // 00F8 NE R13 R9 K52
- 0x7836001A, // 00F9 JMPF R13 #0115
- 0x8834010D, // 00FA GETMBR R13 R0 K13
- 0x88341B35, // 00FB GETMBR R13 R13 K53
- 0x8C341B36, // 00FC GETMET R13 R13 K54
- 0x5C3C1600, // 00FD MOVE R15 R11
- 0x7C340400, // 00FE CALL R13 2
- 0x4C380000, // 00FF LDNIL R14
- 0x20381A0E, // 0100 NE R14 R13 R14
- 0x783A0009, // 0101 JMPF R14 #010C
- 0x60380013, // 0102 GETGBL R14 G19
- 0x7C380000, // 0103 CALL R14 0
- 0x983A6E0B, // 0104 SETIDX R14 K55 R11
- 0x8C3C1B38, // 0105 GETMET R15 R13 K56
- 0x5C441A00, // 0106 MOVE R17 R13
- 0x5C481C00, // 0107 MOVE R18 R14
- 0x5C4C1800, // 0108 MOVE R19 R12
- 0x7C3C0800, // 0109 CALL R15 4
- 0x9818120E, // 010A SETIDX R6 R9 R14
- 0x70020007, // 010B JMP #0114
- 0xB83A1000, // 010C GETNGBL R14 K8
- 0x8C381D09, // 010D GETMET R14 R14 K9
- 0x8C40050A, // 010E GETMET R16 R2 K10
- 0x58480039, // 010F LDCONST R18 K57
- 0x5C4C1600, // 0110 MOVE R19 R11
- 0x7C400600, // 0111 CALL R16 3
- 0x5844003A, // 0112 LDCONST R17 K58
- 0x7C380600, // 0113 CALL R14 3
- 0x70020004, // 0114 JMP #011A
- 0xB8361000, // 0115 GETNGBL R13 K8
- 0x8C341B09, // 0116 GETMET R13 R13 K9
- 0x583C003B, // 0117 LDCONST R15 K59
- 0x5840003A, // 0118 LDCONST R16 K58
- 0x7C340600, // 0119 CALL R13 3
- 0x001C0F2A, // 011A ADD R7 R7 K42
- 0x8C34050A, // 011B GETMET R13 R2 K10
- 0x583C002F, // 011C LDCONST R15 K47
- 0x5C400E00, // 011D MOVE R16 R7
- 0x7C340600, // 011E CALL R13 3
- 0x5C201A00, // 011F MOVE R8 R13
- 0x7001FFB8, // 0120 JMP #00DA
- 0xB8261000, // 0121 GETNGBL R9 K8
- 0x8C241309, // 0122 GETMET R9 R9 K9
- 0x8C2C050A, // 0123 GETMET R11 R2 K10
- 0x5834003C, // 0124 LDCONST R13 K60
- 0x60380008, // 0125 GETGBL R14 G8
- 0x5C3C0C00, // 0126 MOVE R15 R6
- 0x7C380200, // 0127 CALL R14 1
- 0x7C2C0600, // 0128 CALL R11 3
- 0x5830000C, // 0129 LDCONST R12 K12
- 0x7C240600, // 012A CALL R9 3
- 0x78160008, // 012B JMPF R5 #0135
- 0xB8261000, // 012C GETNGBL R9 K8
- 0x8C241309, // 012D GETMET R9 R9 K9
- 0x8C2C050A, // 012E GETMET R11 R2 K10
- 0x5834003D, // 012F LDCONST R13 K61
- 0x5C380A00, // 0130 MOVE R14 R5
- 0x7C2C0600, // 0131 CALL R11 3
- 0x5830000C, // 0132 LDCONST R12 K12
- 0x7C240600, // 0133 CALL R9 3
- 0x7002000A, // 0134 JMP #0140
- 0x8824010D, // 0135 GETMBR R9 R0 K13
- 0x90267C06, // 0136 SETMBR R9 K62 R6
- 0x8824010D, // 0137 GETMBR R9 R0 K13
- 0x50280200, // 0138 LDBOOL R10 1 0
- 0x90265A0A, // 0139 SETMBR R9 K45 R10
- 0x8824010D, // 013A GETMBR R9 R0 K13
- 0x8C241314, // 013B GETMET R9 R9 K20
- 0x7C240200, // 013C CALL R9 1
- 0x8C240315, // 013D GETMET R9 R1 K21
- 0x582C0016, // 013E LDCONST R11 K22
- 0x7C240400, // 013F CALL R9 2
- 0x78160011, // 0140 JMPF R5 #0153
- 0x8C18033F, // 0141 GETMET R6 R1 K63
- 0x58200040, // 0142 LDCONST R8 K64
- 0x7C180400, // 0143 CALL R6 2
- 0x8C180341, // 0144 GETMET R6 R1 K65
- 0x7C180200, // 0145 CALL R6 1
- 0x8C180342, // 0146 GETMET R6 R1 K66
- 0x8C20050A, // 0147 GETMET R8 R2 K10
- 0x58280043, // 0148 LDCONST R10 K67
- 0x8C2C0344, // 0149 GETMET R11 R1 K68
- 0x5C340A00, // 014A MOVE R13 R5
- 0x7C2C0400, // 014B CALL R11 2
- 0x7C200600, // 014C CALL R8 3
- 0x7C180400, // 014D CALL R6 2
- 0x8C180345, // 014E GETMET R6 R1 K69
- 0x88200346, // 014F GETMBR R8 R1 K70
- 0x7C180400, // 0150 CALL R6 2
- 0x8C180347, // 0151 GETMET R6 R1 K71
- 0x7C180200, // 0152 CALL R6 1
- 0xA8040001, // 0153 EXBLK 1 1
- 0x7002001D, // 0154 JMP #0173
- 0xAC180002, // 0155 CATCH R6 0 2
- 0x7002001A, // 0156 JMP #0172
- 0xB8221000, // 0157 GETNGBL R8 K8
- 0x8C201109, // 0158 GETMET R8 R8 K9
- 0x8C28050A, // 0159 GETMET R10 R2 K10
- 0x58300048, // 015A LDCONST R12 K72
- 0x5C340C00, // 015B MOVE R13 R6
- 0x5C380E00, // 015C MOVE R14 R7
- 0x7C280800, // 015D CALL R10 4
- 0x582C003A, // 015E LDCONST R11 K58
- 0x7C200600, // 015F CALL R8 3
- 0x8C20033F, // 0160 GETMET R8 R1 K63
- 0x58280040, // 0161 LDCONST R10 K64
- 0x7C200400, // 0162 CALL R8 2
- 0x8C200341, // 0163 GETMET R8 R1 K65
- 0x7C200200, // 0164 CALL R8 1
- 0x8C200342, // 0165 GETMET R8 R1 K66
- 0x8C28050A, // 0166 GETMET R10 R2 K10
- 0x58300049, // 0167 LDCONST R12 K73
- 0x5C340C00, // 0168 MOVE R13 R6
- 0x5C380E00, // 0169 MOVE R14 R7
- 0x7C280800, // 016A CALL R10 4
- 0x7C200400, // 016B CALL R8 2
- 0x8C200345, // 016C GETMET R8 R1 K69
- 0x88280346, // 016D GETMBR R10 R1 K70
- 0x7C200400, // 016E CALL R8 2
- 0x8C200347, // 016F GETMET R8 R1 K71
- 0x7C200200, // 0170 CALL R8 1
- 0x70020000, // 0171 JMP #0173
- 0xB0080000, // 0172 RAISE 2 R0 R0
- 0x80000000, // 0173 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: web_get_arg
-********************************************************************/
-be_local_closure(Matter_UI_web_get_arg, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 7]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(has_arg),
- /* K2 */ be_nested_str_weak(mtc0),
- /* K3 */ be_nested_str_weak(device),
- /* K4 */ be_nested_str_weak(stop_basic_commissioning),
- /* K5 */ be_nested_str_weak(mtc1),
- /* K6 */ be_nested_str_weak(start_root_basic_commissioning),
- }),
- be_str_weak(web_get_arg),
- &be_const_str_solidified,
- ( &(const binstruction[17]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x8C080301, // 0001 GETMET R2 R1 K1
- 0x58100002, // 0002 LDCONST R4 K2
- 0x7C080400, // 0003 CALL R2 2
- 0x780A0003, // 0004 JMPF R2 #0009
- 0x88080103, // 0005 GETMBR R2 R0 K3
- 0x8C080504, // 0006 GETMET R2 R2 K4
- 0x7C080200, // 0007 CALL R2 1
- 0x70020006, // 0008 JMP #0010
- 0x8C080301, // 0009 GETMET R2 R1 K1
- 0x58100005, // 000A LDCONST R4 K5
- 0x7C080400, // 000B CALL R2 2
- 0x780A0002, // 000C JMPF R2 #0010
- 0x88080103, // 000D GETMBR R2 R0 K3
- 0x8C080506, // 000E GETMET R2 R2 K6
- 0x7C080200, // 000F CALL R2 1
- 0x80000000, // 0010 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: show_plugins_configuration
-********************************************************************/
-be_local_closure(Matter_UI_show_plugins_configuration, /* name */
- be_nested_proto(
- 19, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[38]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(content_send),
- /* K3 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BCurrent_X20Configuration_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K4 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27),
- /* K5 */ be_nested_str_weak(onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20RESET_X20the_X20configuration_X20to_X20the_X20default_X2E_X20You_X20will_X20need_X20to_X20associate_X20again_X2E_X22_X29_X3B_X27_X3E),
- /* K6 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27auto_X27_X20class_X3D_X27button_X20bred_X27_X3EReset_X20and_X20Auto_X2Ddiscover_X3C_X2Fbutton_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Fform_X3E),
- /* K7 */ be_nested_str_weak(onsubmit_X3D_X27return_X20confirm_X28_X22Changing_X20the_X20configuration_X20requires_X20to_X20associate_X20again_X2E_X22_X29_X3B_X27_X3E),
- /* K8 */ be_nested_str_weak(_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E),
- /* K9 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X20width_X3D_X2735_X27_X3E_X3Cb_X3EEp_X2E_X3C_X2Fb_X3E_X3C_X2Ftd_X3E_X3Ctd_X3E_X3Cb_X3EType_X3C_X2Fb_X3E_X3C_X2Ftd_X3E_X3Ctd_X3E_X3Cb_X3EParam_X3C_X2Fb_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
- /* K10 */ be_nested_str_weak(device),
- /* K11 */ be_nested_str_weak(k2l_num),
- /* K12 */ be_nested_str_weak(plugins_config),
- /* K13 */ be_const_int(0),
- /* K14 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27epnone_X27_X20maxlength_X3D_X274_X27_X20size_X3D_X273_X27_X20value_X3D_X270_X27_X20readonly_X20disabled_X3E_X3C_X2Ftd_X3E),
- /* K15 */ be_nested_str_weak(_X3Ctd_X3E_X3Cselect_X20name_X3D_X27pinone_X27_X3E),
- /* K16 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X27_X20selected_X20disabled_X3ERoot_X20node_X3C_X2Foption_X3E),
- /* K17 */ be_nested_str_weak(_X3C_X2Fselect_X3E_X3C_X2Ftd_X3E),
- /* K18 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X26nbsp_X3B_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
- /* K19 */ be_const_int(1),
- /* K20 */ be_nested_str_weak(find),
- /* K21 */ be_nested_str_weak(type),
- /* K22 */ be_nested_str_weak(plugins_classes),
- /* K23 */ be_nested_str_weak(),
- /* K24 */ be_nested_str_weak(ui_conf_to_string),
- /* K25 */ be_nested_str_weak(format),
- /* K26 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27ep_X2503i_X27_X20maxlength_X3D_X274_X27_X20size_X3D_X273_X27_X20pattern_X3D_X27_X5B0_X2D9_X5D_X7B1_X2C4_X7D_X27_X20value_X3D_X27_X25i_X27_X3E_X3C_X2Ftd_X3E),
- /* K27 */ be_nested_str_weak(_X3Ctd_X3E_X3Cselect_X20name_X3D_X27pi_X2503i_X27_X3E),
- /* K28 */ be_nested_str_weak(plugin_option),
- /* K29 */ be_nested_str_weak(_CLASSES_TYPES),
- /* K30 */ be_nested_str_weak(_CLASSES_TYPES2),
- /* K31 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27arg_X2503i_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X25s_X27_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
- /* K32 */ be_nested_str_weak(html_escape),
- /* K33 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27ep_X2503i_X27_X20maxlength_X3D_X274_X27_X20size_X3D_X273_X27_X20pattern_X3D_X27_X5B0_X2D9_X5D_X7B1_X2C4_X7D_X27_X20value_X3D_X27_X27_X3E_X3C_X2Ftd_X3E),
- /* K34 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27arg_X2503i_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X27_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
- /* K35 */ be_nested_str_weak(_X3C_X2Ftable_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K36 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27config_X27_X20class_X3D_X27button_X20bgrn_X27_X3EChange_X20configuration_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E),
- /* K37 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- }),
- be_str_weak(show_plugins_configuration),
- &be_const_str_solidified,
- ( &(const binstruction[160]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0x8C0C0302, // 0002 GETMET R3 R1 K2
- 0x58140003, // 0003 LDCONST R5 K3
- 0x7C0C0400, // 0004 CALL R3 2
- 0x8C0C0302, // 0005 GETMET R3 R1 K2
- 0x58140004, // 0006 LDCONST R5 K4
- 0x7C0C0400, // 0007 CALL R3 2
- 0x8C0C0302, // 0008 GETMET R3 R1 K2
- 0x58140005, // 0009 LDCONST R5 K5
- 0x7C0C0400, // 000A CALL R3 2
- 0x8C0C0302, // 000B GETMET R3 R1 K2
- 0x58140006, // 000C LDCONST R5 K6
- 0x7C0C0400, // 000D CALL R3 2
- 0x8C0C0302, // 000E GETMET R3 R1 K2
- 0x58140004, // 000F LDCONST R5 K4
- 0x7C0C0400, // 0010 CALL R3 2
- 0x8C0C0302, // 0011 GETMET R3 R1 K2
- 0x58140007, // 0012 LDCONST R5 K7
- 0x7C0C0400, // 0013 CALL R3 2
- 0x8C0C0302, // 0014 GETMET R3 R1 K2
- 0x58140008, // 0015 LDCONST R5 K8
- 0x7C0C0400, // 0016 CALL R3 2
- 0x8C0C0302, // 0017 GETMET R3 R1 K2
- 0x58140009, // 0018 LDCONST R5 K9
- 0x7C0C0400, // 0019 CALL R3 2
- 0x880C010A, // 001A GETMBR R3 R0 K10
- 0x8C0C070B, // 001B GETMET R3 R3 K11
- 0x8814010A, // 001C GETMBR R5 R0 K10
- 0x88140B0C, // 001D GETMBR R5 R5 K12
- 0x7C0C0400, // 001E CALL R3 2
- 0x5810000D, // 001F LDCONST R4 K13
- 0x8C140302, // 0020 GETMET R5 R1 K2
- 0x581C000E, // 0021 LDCONST R7 K14
- 0x7C140400, // 0022 CALL R5 2
- 0x8C140302, // 0023 GETMET R5 R1 K2
- 0x581C000F, // 0024 LDCONST R7 K15
- 0x7C140400, // 0025 CALL R5 2
- 0x8C140302, // 0026 GETMET R5 R1 K2
- 0x581C0010, // 0027 LDCONST R7 K16
- 0x7C140400, // 0028 CALL R5 2
- 0x8C140302, // 0029 GETMET R5 R1 K2
- 0x581C0011, // 002A LDCONST R7 K17
- 0x7C140400, // 002B CALL R5 2
- 0x8C140302, // 002C GETMET R5 R1 K2
- 0x581C0012, // 002D LDCONST R7 K18
- 0x7C140400, // 002E CALL R5 2
- 0x6014000C, // 002F GETGBL R5 G12
- 0x5C180600, // 0030 MOVE R6 R3
- 0x7C140200, // 0031 CALL R5 1
- 0x14140805, // 0032 LT R5 R4 R5
- 0x78160045, // 0033 JMPF R5 #007A
- 0x94140604, // 0034 GETIDX R5 R3 R4
- 0x1C180B0D, // 0035 EQ R6 R5 K13
- 0x781A0001, // 0036 JMPF R6 #0039
- 0x00100913, // 0037 ADD R4 R4 K19
- 0x7001FFF5, // 0038 JMP #002F
- 0x8818010A, // 0039 GETMBR R6 R0 K10
- 0x601C0008, // 003A GETGBL R7 G8
- 0x5C200A00, // 003B MOVE R8 R5
- 0x7C1C0200, // 003C CALL R7 1
- 0x88180D0C, // 003D GETMBR R6 R6 K12
- 0x94180C07, // 003E GETIDX R6 R6 R7
- 0x8C200D14, // 003F GETMET R8 R6 K20
- 0x58280015, // 0040 LDCONST R10 K21
- 0x7C200400, // 0041 CALL R8 2
- 0x5C1C1000, // 0042 MOVE R7 R8
- 0x5C200E00, // 0043 MOVE R8 R7
- 0x74220001, // 0044 JMPT R8 #0047
- 0x00100913, // 0045 ADD R4 R4 K19
- 0x7001FFE7, // 0046 JMP #002F
- 0x8820010A, // 0047 GETMBR R8 R0 K10
- 0x88201116, // 0048 GETMBR R8 R8 K22
- 0x8C201114, // 0049 GETMET R8 R8 K20
- 0x5C280E00, // 004A MOVE R10 R7
- 0x7C200400, // 004B CALL R8 2
- 0x58240017, // 004C LDCONST R9 K23
- 0x4C280000, // 004D LDNIL R10
- 0x2028100A, // 004E NE R10 R8 R10
- 0x782A0004, // 004F JMPF R10 #0055
- 0x8C281118, // 0050 GETMET R10 R8 K24
- 0x5C301000, // 0051 MOVE R12 R8
- 0x5C340C00, // 0052 MOVE R13 R6
- 0x7C280600, // 0053 CALL R10 3
- 0x5C241400, // 0054 MOVE R9 R10
- 0x8C280302, // 0055 GETMET R10 R1 K2
- 0x8C300519, // 0056 GETMET R12 R2 K25
- 0x5838001A, // 0057 LDCONST R14 K26
- 0x5C3C0800, // 0058 MOVE R15 R4
- 0x5C400A00, // 0059 MOVE R16 R5
- 0x7C300800, // 005A CALL R12 4
- 0x7C280400, // 005B CALL R10 2
- 0x8C280302, // 005C GETMET R10 R1 K2
- 0x8C300519, // 005D GETMET R12 R2 K25
- 0x5838001B, // 005E LDCONST R14 K27
- 0x5C3C0800, // 005F MOVE R15 R4
- 0x7C300600, // 0060 CALL R12 3
- 0x7C280400, // 0061 CALL R10 2
- 0x8C28011C, // 0062 GETMET R10 R0 K28
- 0x8C300D14, // 0063 GETMET R12 R6 K20
- 0x58380015, // 0064 LDCONST R14 K21
- 0x583C0017, // 0065 LDCONST R15 K23
- 0x7C300600, // 0066 CALL R12 3
- 0x8834011D, // 0067 GETMBR R13 R0 K29
- 0x8838011E, // 0068 GETMBR R14 R0 K30
- 0x7C280800, // 0069 CALL R10 4
- 0x8C280302, // 006A GETMET R10 R1 K2
- 0x8C300519, // 006B GETMET R12 R2 K25
- 0x58380011, // 006C LDCONST R14 K17
- 0x7C300400, // 006D CALL R12 2
- 0x7C280400, // 006E CALL R10 2
- 0x8C280302, // 006F GETMET R10 R1 K2
- 0x8C300519, // 0070 GETMET R12 R2 K25
- 0x5838001F, // 0071 LDCONST R14 K31
- 0x5C3C0800, // 0072 MOVE R15 R4
- 0x8C400320, // 0073 GETMET R16 R1 K32
- 0x5C481200, // 0074 MOVE R18 R9
- 0x7C400400, // 0075 CALL R16 2
- 0x7C300800, // 0076 CALL R12 4
- 0x7C280400, // 0077 CALL R10 2
- 0x00100913, // 0078 ADD R4 R4 K19
- 0x7001FFB4, // 0079 JMP #002F
- 0x8C140302, // 007A GETMET R5 R1 K2
- 0x8C1C0519, // 007B GETMET R7 R2 K25
- 0x58240021, // 007C LDCONST R9 K33
- 0x5C280800, // 007D MOVE R10 R4
- 0x7C1C0600, // 007E CALL R7 3
- 0x7C140400, // 007F CALL R5 2
- 0x8C140302, // 0080 GETMET R5 R1 K2
- 0x8C1C0519, // 0081 GETMET R7 R2 K25
- 0x5824001B, // 0082 LDCONST R9 K27
- 0x5C280800, // 0083 MOVE R10 R4
- 0x7C1C0600, // 0084 CALL R7 3
- 0x7C140400, // 0085 CALL R5 2
- 0x8C14011C, // 0086 GETMET R5 R0 K28
- 0x581C0017, // 0087 LDCONST R7 K23
- 0x8820011D, // 0088 GETMBR R8 R0 K29
- 0x8824011E, // 0089 GETMBR R9 R0 K30
- 0x7C140800, // 008A CALL R5 4
- 0x8C140302, // 008B GETMET R5 R1 K2
- 0x8C1C0519, // 008C GETMET R7 R2 K25
- 0x58240011, // 008D LDCONST R9 K17
- 0x7C1C0400, // 008E CALL R7 2
- 0x7C140400, // 008F CALL R5 2
- 0x8C140302, // 0090 GETMET R5 R1 K2
- 0x8C1C0519, // 0091 GETMET R7 R2 K25
- 0x58240022, // 0092 LDCONST R9 K34
- 0x5C280800, // 0093 MOVE R10 R4
- 0x7C1C0600, // 0094 CALL R7 3
- 0x7C140400, // 0095 CALL R5 2
- 0x8C140302, // 0096 GETMET R5 R1 K2
- 0x581C0023, // 0097 LDCONST R7 K35
- 0x7C140400, // 0098 CALL R5 2
- 0x8C140302, // 0099 GETMET R5 R1 K2
- 0x581C0024, // 009A LDCONST R7 K36
- 0x7C140400, // 009B CALL R5 2
- 0x8C140302, // 009C GETMET R5 R1 K2
- 0x581C0025, // 009D LDCONST R7 K37
- 0x7C140400, // 009E CALL R5 2
- 0x80000000, // 009F RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: init
-********************************************************************/
-be_local_closure(Matter_UI_init, /* name */
- be_nested_proto(
- 5, /* nstack */
+ 24, /* nstack */
2, /* argc */
2, /* varg */
0, /* has upvals */
@@ -1099,376 +1449,260 @@ be_local_closure(Matter_UI_init, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[ 3]) { /* constants */
- /* K0 */ be_nested_str_weak(device),
- /* K1 */ be_nested_str_weak(tasmota),
- /* K2 */ be_nested_str_weak(add_driver),
- }),
- be_str_weak(init),
- &be_const_str_solidified,
- ( &(const binstruction[ 6]) { /* code */
- 0x90020001, // 0000 SETMBR R0 K0 R1
- 0xB80A0200, // 0001 GETNGBL R2 K1
- 0x8C080502, // 0002 GETMET R2 R2 K2
- 0x5C100000, // 0003 MOVE R4 R0
- 0x7C080400, // 0004 CALL R2 2
- 0x80000000, // 0005 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: web_sensor
-********************************************************************/
-be_local_closure(Matter_UI_web_sensor, /* name */
- be_nested_proto(
- 13, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[27]) { /* constants */
+ ( &(const bvalue[45]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(get_option),
+ /* K2 */ be_nested_str_weak(json),
+ /* K3 */ be_nested_str_weak(),
/* K4 */ be_nested_str_weak(matter),
- /* K5 */ be_nested_str_weak(MATTER_OPTION),
- /* K6 */ be_nested_str_weak(device),
- /* K7 */ be_nested_str_weak(sessions),
- /* K8 */ be_nested_str_weak(count_active_fabrics),
- /* K9 */ be_const_int(0),
- /* K10 */ be_nested_str_weak(content_send),
- /* K11 */ be_nested_str_weak(format),
- /* K12 */ be_nested_str_weak(_X3Cdiv_X20style_X3D_X27text_X2Dalign_X3Aright_X3Bfont_X2Dsize_X3A11px_X3Bcolor_X3A_X23aaa_X3Bpadding_X3A0px_X3B_X27_X3E_X25s_X3C_X2Fdiv_X3E),
- /* K13 */ be_nested_str_weak(Matter_X3A_X20No_X20active_X20association),
- /* K14 */ be_const_int(1),
- /* K15 */ be_nested_str_weak(Matter_X3A_X20),
- /* K16 */ be_nested_str_weak(_X20active_X20association),
- /* K17 */ be_nested_str_weak(s),
- /* K18 */ be_nested_str_weak(),
- /* K19 */ be_nested_str_weak(show_bridge_status),
- /* K20 */ be_nested_str_weak(is_root_commissioning_open),
- /* K21 */ be_nested_str_weak(show_commissioning_info),
- /* K22 */ be_nested_str_weak(_X3Cbutton_X20onclick_X3D_X27la_X28_X22_X26mtc_X25i_X3D1_X22_X29_X3B_X27_X3E),
- /* K23 */ be_nested_str_weak(commissioning_open),
- /* K24 */ be_nested_str_weak(_LOGO),
- /* K25 */ be_nested_str_weak(_X20Open_X20Commissioning_X3C_X2Fbutton_X3E),
- /* K26 */ be_nested_str_weak(_X20Close_X20Commissioning_X3C_X2Fbutton_X3E),
+ /* K5 */ be_nested_str_weak(Plugin_Bridge_HTTP),
+ /* K6 */ be_nested_str_weak(PROBE_TIMEOUT),
+ /* K7 */ be_nested_str_weak(HTTP_remote),
+ /* K8 */ be_nested_str_weak(call_sync),
+ /* K9 */ be_nested_str_weak(Status_X208),
+ /* K10 */ be_nested_str_weak(load),
+ /* K11 */ be_nested_str_weak(find),
+ /* K12 */ be_nested_str_weak(StatusSNS),
+ /* K13 */ be_nested_str_weak(Status_X2011),
+ /* K14 */ be_nested_str_weak(StatusSTS),
+ /* K15 */ be_nested_str_weak(tasmota),
+ /* K16 */ be_nested_str_weak(log),
+ /* K17 */ be_nested_str_weak(format),
+ /* K18 */ be_nested_str_weak(MTR_X3A_X20probed_X20_X27_X25s_X27_X20status8_X3D_X25s_X20satus11_X3D_X25s),
+ /* K19 */ be_const_int(3),
+ /* K20 */ be_nested_str_weak(generate_config_from_status),
+ /* K21 */ be_nested_str_weak(content_send),
+ /* K22 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BMatter_X20Remote_X20Device_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3Cp_X3E_X3Cb_X3EAdd_X20Remote_X20sensor_X20or_X20device_X3C_X2Fb_X3E_X3C_X2Fp_X3E),
+ /* K23 */ be_nested_str_weak(_X3Cp_X3E_X26_X23x1F517_X3B_X20_X3Ca_X20target_X3D_X27_blank_X27_X20href_X3D_X22http_X3A_X2F_X2F_X25s_X2F_X22_X3E_X25s_X3C_X2Fa_X3E_X3C_X2Fp_X3E),
+ /* K24 */ be_nested_str_weak(html_escape),
+ /* K25 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X3E_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E_X3Ctr_X3E_X3Ctd_X20width_X3D_X27145_X27_X3EType_X3C_X2Ftd_X3E_X3Ctd_X3EParameter_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K26 */ be_nested_str_weak(_X3Cinput_X20name_X3D_X27url_X27_X20type_X3D_X27hidden_X27_X20value_X3D_X27_X25s_X27_X3E),
+ /* K27 */ be_const_int(0),
+ /* K28 */ be_nested_str_weak(type),
+ /* K29 */ be_nested_str_weak(http_),
+ /* K30 */ be_nested_str_weak(device),
+ /* K31 */ be_nested_str_weak(plugins_classes),
+ /* K32 */ be_nested_str_weak(ui_conf_to_string),
+ /* K33 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cselect_X20name_X3D_X27pi_X25i_X27_X3E),
+ /* K34 */ be_nested_str_weak(plugin_option),
+ /* K35 */ be_nested_str_weak(_CLASSES_TYPES2),
+ /* K36 */ be_nested_str_weak(_X3C_X2Fselect_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E),
+ /* K37 */ be_nested_str_weak(_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27arg_X25i_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X25s_X27_X3E),
+ /* K38 */ be_nested_str_weak(_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K39 */ be_const_int(1),
+ /* K40 */ be_nested_str_weak(_X3C_X2Ftable_X3E),
+ /* K41 */ be_nested_str_weak(_X3Cdiv_X20style_X3D_X27display_X3A_X20block_X3B_X27_X3E_X3C_X2Fdiv_X3E),
+ /* K42 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27addrem_X27_X20class_X3D_X27button_X20bgrn_X27_X3EAdd_X20endpoints_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E),
+ /* K43 */ be_nested_str_weak(_X3C_X2Fform_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K44 */ be_nested_str_weak(_X3Cp_X3E_X3Cb_X3EUnable_X20to_X20connect_X20to_X20_X27_X25s_X27_X3C_X2Fb_X3E_X3C_X2Fp_X3E),
}),
- be_str_weak(web_sensor),
+ be_str_weak(show_remote_autoconf),
&be_const_str_solidified,
- ( &(const binstruction[77]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0xA40A0200, // 0001 IMPORT R2 K1
- 0xB80E0400, // 0002 GETNGBL R3 K2
- 0x8C0C0703, // 0003 GETMET R3 R3 K3
- 0xB8160800, // 0004 GETNGBL R5 K4
- 0x88140B05, // 0005 GETMBR R5 R5 K5
- 0x7C0C0400, // 0006 CALL R3 2
- 0x780E0043, // 0007 JMPF R3 #004C
- 0x88100106, // 0008 GETMBR R4 R0 K6
- 0x88100907, // 0009 GETMBR R4 R4 K7
- 0x8C100908, // 000A GETMET R4 R4 K8
- 0x7C100200, // 000B CALL R4 1
- 0x1C140909, // 000C EQ R5 R4 K9
- 0x78160006, // 000D JMPF R5 #0015
- 0x8C14030A, // 000E GETMET R5 R1 K10
- 0x8C1C050B, // 000F GETMET R7 R2 K11
- 0x5824000C, // 0010 LDCONST R9 K12
- 0x5828000D, // 0011 LDCONST R10 K13
- 0x7C1C0600, // 0012 CALL R7 3
- 0x7C140400, // 0013 CALL R5 2
- 0x7002000F, // 0014 JMP #0025
- 0x2414090E, // 0015 GT R5 R4 K14
- 0x8C18030A, // 0016 GETMET R6 R1 K10
- 0x8C20050B, // 0017 GETMET R8 R2 K11
- 0x5828000C, // 0018 LDCONST R10 K12
- 0x602C0008, // 0019 GETGBL R11 G8
- 0x5C300800, // 001A MOVE R12 R4
- 0x7C2C0200, // 001B CALL R11 1
- 0x002E1E0B, // 001C ADD R11 K15 R11
- 0x002C1710, // 001D ADD R11 R11 K16
- 0x78160001, // 001E JMPF R5 #0021
- 0x58300011, // 001F LDCONST R12 K17
- 0x70020000, // 0020 JMP #0022
- 0x58300012, // 0021 LDCONST R12 K18
- 0x002C160C, // 0022 ADD R11 R11 R12
- 0x7C200600, // 0023 CALL R8 3
- 0x7C180400, // 0024 CALL R6 2
- 0x8C140113, // 0025 GETMET R5 R0 K19
- 0x7C140200, // 0026 CALL R5 1
- 0x88140106, // 0027 GETMBR R5 R0 K6
- 0x8C140B14, // 0028 GETMET R5 R5 K20
- 0x7C140200, // 0029 CALL R5 1
- 0x78160001, // 002A JMPF R5 #002D
- 0x8C140115, // 002B GETMET R5 R0 K21
- 0x7C140200, // 002C CALL R5 1
- 0x1C140909, // 002D EQ R5 R4 K9
- 0x7816001C, // 002E JMPF R5 #004C
- 0x8C14030A, // 002F GETMET R5 R1 K10
- 0x8C1C050B, // 0030 GETMET R7 R2 K11
- 0x58240016, // 0031 LDCONST R9 K22
- 0x88280106, // 0032 GETMBR R10 R0 K6
- 0x88281517, // 0033 GETMBR R10 R10 K23
- 0x4C2C0000, // 0034 LDNIL R11
- 0x1C28140B, // 0035 EQ R10 R10 R11
- 0x782A0001, // 0036 JMPF R10 #0039
- 0x5828000E, // 0037 LDCONST R10 K14
- 0x70020000, // 0038 JMP #003A
- 0x58280009, // 0039 LDCONST R10 K9
- 0x7C1C0600, // 003A CALL R7 3
- 0x7C140400, // 003B CALL R5 2
- 0x8C14030A, // 003C GETMET R5 R1 K10
- 0xB81E0800, // 003D GETNGBL R7 K4
- 0x881C0F18, // 003E GETMBR R7 R7 K24
- 0x7C140400, // 003F CALL R5 2
- 0x88140106, // 0040 GETMBR R5 R0 K6
- 0x88140B17, // 0041 GETMBR R5 R5 K23
- 0x4C180000, // 0042 LDNIL R6
- 0x1C140A06, // 0043 EQ R5 R5 R6
- 0x78160003, // 0044 JMPF R5 #0049
- 0x8C14030A, // 0045 GETMET R5 R1 K10
- 0x581C0019, // 0046 LDCONST R7 K25
- 0x7C140400, // 0047 CALL R5 2
- 0x70020002, // 0048 JMP #004C
- 0x8C14030A, // 0049 GETMET R5 R1 K10
- 0x581C001A, // 004A LDCONST R7 K26
- 0x7C140400, // 004B CALL R5 2
- 0x80000000, // 004C RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: web_add_config_button
-********************************************************************/
-be_local_closure(Matter_UI_web_add_config_button, /* name */
- be_nested_proto(
- 5, /* nstack */
- 1, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[ 6]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(content_send),
- /* K2 */ be_nested_str_weak(_X3Cp_X3E_X3Cform_X20id_X3Dac_X20action_X3D_X27matterc_X27_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20method_X3D_X27get_X27_X3E_X3Cbutton_X3E),
- /* K3 */ be_nested_str_weak(matter),
- /* K4 */ be_nested_str_weak(_LOGO),
- /* K5 */ be_nested_str_weak(_X20Configure_X20Matter_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
- }),
- be_str_weak(web_add_config_button),
- &be_const_str_solidified,
- ( &(const binstruction[12]) { /* code */
- 0xA4060000, // 0000 IMPORT R1 K0
- 0x8C080301, // 0001 GETMET R2 R1 K1
- 0x58100002, // 0002 LDCONST R4 K2
- 0x7C080400, // 0003 CALL R2 2
- 0x8C080301, // 0004 GETMET R2 R1 K1
- 0xB8120600, // 0005 GETNGBL R4 K3
- 0x88100904, // 0006 GETMBR R4 R4 K4
- 0x7C080400, // 0007 CALL R2 2
- 0x8C080301, // 0008 GETMET R2 R1 K1
- 0x58100005, // 0009 LDCONST R4 K5
- 0x7C080400, // 000A CALL R2 2
- 0x80000000, // 000B RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: plugin_option
-********************************************************************/
-be_local_closure(Matter_UI_plugin_option, /* name */
- be_nested_proto(
- 17, /* nstack */
- 3, /* argc */
- 3, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[17]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(split),
- /* K3 */ be_nested_str_weak(_X7C),
- /* K4 */ be_nested_str_weak(stop_iteration),
- /* K5 */ be_const_int(0),
- /* K6 */ be_nested_str_weak(),
- /* K7 */ be_nested_str_weak(content_send),
- /* K8 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X27_X3E_X3C_X2Foption_X3E),
- /* K9 */ be_nested_str_weak(_X2Dhttp),
- /* K10 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X27_X20disabled_X3E_X2D_X2D_X2D_X20Tasmota_X20Remote_X20_X2D_X2D_X2D_X3C_X2Foption_X3E),
- /* K11 */ be_nested_str_weak(device),
- /* K12 */ be_nested_str_weak(get_plugin_class_displayname),
- /* K13 */ be_nested_str_weak(format),
- /* K14 */ be_nested_str_weak(_X3Coption_X20value_X3D_X27_X25s_X27_X25s_X3E_X25s_X3C_X2Foption_X3E),
- /* K15 */ be_nested_str_weak(_X20selected),
- /* K16 */ be_const_int(1),
- }),
- be_str_weak(plugin_option),
- &be_const_str_solidified,
- ( &(const binstruction[57]) { /* code */
- 0xA40E0000, // 0000 IMPORT R3 K0
- 0xA4120200, // 0001 IMPORT R4 K1
- 0x60140012, // 0002 GETGBL R5 G18
- 0x7C140000, // 0003 CALL R5 0
- 0x60180010, // 0004 GETGBL R6 G16
- 0x5C1C0400, // 0005 MOVE R7 R2
- 0x7C180200, // 0006 CALL R6 1
- 0xA8020007, // 0007 EXBLK 0 #0010
- 0x5C1C0C00, // 0008 MOVE R7 R6
- 0x7C1C0000, // 0009 CALL R7 0
- 0x8C200902, // 000A GETMET R8 R4 K2
- 0x5C280E00, // 000B MOVE R10 R7
- 0x582C0003, // 000C LDCONST R11 K3
- 0x7C200600, // 000D CALL R8 3
- 0x00140A08, // 000E ADD R5 R5 R8
- 0x7001FFF7, // 000F JMP #0008
- 0x58180004, // 0010 LDCONST R6 K4
- 0xAC180200, // 0011 CATCH R6 1 0
- 0xB0080000, // 0012 RAISE 2 R0 R0
- 0x58180005, // 0013 LDCONST R6 K5
- 0x601C000C, // 0014 GETGBL R7 G12
- 0x5C200A00, // 0015 MOVE R8 R5
- 0x7C1C0200, // 0016 CALL R7 1
- 0x141C0C07, // 0017 LT R7 R6 R7
- 0x781E001E, // 0018 JMPF R7 #0038
- 0x941C0A06, // 0019 GETIDX R7 R5 R6
- 0x1C200F06, // 001A EQ R8 R7 K6
- 0x78220003, // 001B JMPF R8 #0020
- 0x8C200707, // 001C GETMET R8 R3 K7
- 0x58280008, // 001D LDCONST R10 K8
- 0x7C200400, // 001E CALL R8 2
- 0x70020015, // 001F JMP #0036
- 0x1C200F09, // 0020 EQ R8 R7 K9
- 0x78220003, // 0021 JMPF R8 #0026
- 0x8C200707, // 0022 GETMET R8 R3 K7
- 0x5828000A, // 0023 LDCONST R10 K10
- 0x7C200400, // 0024 CALL R8 2
- 0x7002000F, // 0025 JMP #0036
- 0x8820010B, // 0026 GETMBR R8 R0 K11
- 0x8C20110C, // 0027 GETMET R8 R8 K12
- 0x5C280E00, // 0028 MOVE R10 R7
- 0x7C200400, // 0029 CALL R8 2
- 0x8C240707, // 002A GETMET R9 R3 K7
- 0x8C2C090D, // 002B GETMET R11 R4 K13
- 0x5834000E, // 002C LDCONST R13 K14
- 0x5C380E00, // 002D MOVE R14 R7
- 0x1C3C0E01, // 002E EQ R15 R7 R1
- 0x783E0001, // 002F JMPF R15 #0032
- 0x583C000F, // 0030 LDCONST R15 K15
- 0x70020000, // 0031 JMP #0033
- 0x583C0006, // 0032 LDCONST R15 K6
- 0x5C401000, // 0033 MOVE R16 R8
- 0x7C2C0A00, // 0034 CALL R11 5
- 0x7C240400, // 0035 CALL R9 2
- 0x00180D10, // 0036 ADD R6 R6 K16
- 0x7001FFDB, // 0037 JMP #0014
- 0x80000000, // 0038 RET 0
- })
- )
-);
-/*******************************************************************/
-
-
-/********************************************************************
-** Solidified function: show_enable
-********************************************************************/
-be_local_closure(Matter_UI_show_enable, /* name */
- be_nested_proto(
- 11, /* nstack */
- 2, /* argc */
- 2, /* varg */
- 0, /* has upvals */
- NULL, /* no upvals */
- 0, /* has sup protos */
- NULL, /* no sub protos */
- 1, /* has constants */
- ( &(const bvalue[20]) { /* constants */
- /* K0 */ be_nested_str_weak(webserver),
- /* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(tasmota),
- /* K3 */ be_nested_str_weak(get_option),
- /* K4 */ be_nested_str_weak(matter),
- /* K5 */ be_nested_str_weak(MATTER_OPTION),
- /* K6 */ be_nested_str_weak(content_send),
- /* K7 */ be_nested_str_weak(format),
- /* K8 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BMatter_X20_X25s_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K9 */ be_nested_str_weak(Enabled),
- /* K10 */ be_nested_str_weak(Disabled),
- /* K11 */ be_nested_str_weak(_X3Cp_X20style_X3D_X27width_X3A320px_X3B_X27_X3ECheck_X20the_X20_X3Ca_X20href_X3D_X27https_X3A_X2F_X2Ftasmota_X2Egithub_X2Eio_X2Fdocs_X2FMatter_X2F_X27_X20target_X3D_X27_blank_X27_X3EMatter_X20documentation_X3C_X2Fa_X3E_X2E_X3C_X2Fp_X3E),
- /* K12 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X20onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20cause_X20a_X20restart_X2E_X22_X29_X3B_X27_X3E),
- /* K13 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27_X25s_X27_X20class_X3D_X27button_X20bgrn_X27_X3E),
- /* K14 */ be_nested_str_weak(disable),
- /* K15 */ be_nested_str_weak(enable),
- /* K16 */ be_nested_str_weak(Disable),
- /* K17 */ be_nested_str_weak(Enable),
- /* K18 */ be_nested_str_weak(_X20Matter_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
- /* K19 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- }),
- be_str_weak(show_enable),
- &be_const_str_solidified,
- ( &(const binstruction[44]) { /* code */
+ ( &(const binstruction[204]) { /* code */
0xA40A0000, // 0000 IMPORT R2 K0
0xA40E0200, // 0001 IMPORT R3 K1
- 0xB8120400, // 0002 GETNGBL R4 K2
- 0x8C100903, // 0003 GETMET R4 R4 K3
- 0xB81A0800, // 0004 GETNGBL R6 K4
- 0x88180D05, // 0005 GETMBR R6 R6 K5
- 0x7C100400, // 0006 CALL R4 2
- 0x8C140506, // 0007 GETMET R5 R2 K6
- 0x8C1C0707, // 0008 GETMET R7 R3 K7
- 0x58240008, // 0009 LDCONST R9 K8
- 0x78120001, // 000A JMPF R4 #000D
- 0x58280009, // 000B LDCONST R10 K9
- 0x70020000, // 000C JMP #000E
- 0x5828000A, // 000D LDCONST R10 K10
- 0x7C1C0600, // 000E CALL R7 3
- 0x7C140400, // 000F CALL R5 2
- 0x8C140506, // 0010 GETMET R5 R2 K6
- 0x581C000B, // 0011 LDCONST R7 K11
- 0x7C140400, // 0012 CALL R5 2
- 0x8C140506, // 0013 GETMET R5 R2 K6
- 0x581C000C, // 0014 LDCONST R7 K12
- 0x7C140400, // 0015 CALL R5 2
- 0x8C140506, // 0016 GETMET R5 R2 K6
- 0x8C1C0707, // 0017 GETMET R7 R3 K7
- 0x5824000D, // 0018 LDCONST R9 K13
- 0x78120001, // 0019 JMPF R4 #001C
- 0x5828000E, // 001A LDCONST R10 K14
- 0x70020000, // 001B JMP #001D
- 0x5828000F, // 001C LDCONST R10 K15
- 0x7C1C0600, // 001D CALL R7 3
- 0x7C140400, // 001E CALL R5 2
- 0x8C140506, // 001F GETMET R5 R2 K6
- 0x78120001, // 0020 JMPF R4 #0023
- 0x581C0010, // 0021 LDCONST R7 K16
- 0x70020000, // 0022 JMP #0024
- 0x581C0011, // 0023 LDCONST R7 K17
- 0x7C140400, // 0024 CALL R5 2
- 0x8C140506, // 0025 GETMET R5 R2 K6
- 0x581C0012, // 0026 LDCONST R7 K18
- 0x7C140400, // 0027 CALL R5 2
- 0x8C140506, // 0028 GETMET R5 R2 K6
- 0x581C0013, // 0029 LDCONST R7 K19
- 0x7C140400, // 002A CALL R5 2
- 0x80040800, // 002B RET 1 R4
+ 0xA4120400, // 0002 IMPORT R4 K2
+ 0x1C140303, // 0003 EQ R5 R1 K3
+ 0x78160000, // 0004 JMPF R5 #0006
+ 0x80000A00, // 0005 RET 0
+ 0xB8160800, // 0006 GETNGBL R5 K4
+ 0x88140B05, // 0007 GETMBR R5 R5 K5
+ 0x88140B06, // 0008 GETMBR R5 R5 K6
+ 0xB81A0800, // 0009 GETNGBL R6 K4
+ 0x8C180D07, // 000A GETMET R6 R6 K7
+ 0x5C200200, // 000B MOVE R8 R1
+ 0x5C240A00, // 000C MOVE R9 R5
+ 0x7C180600, // 000D CALL R6 3
+ 0x8C1C0D08, // 000E GETMET R7 R6 K8
+ 0x58240009, // 000F LDCONST R9 K9
+ 0x5C280A00, // 0010 MOVE R10 R5
+ 0x7C1C0600, // 0011 CALL R7 3
+ 0x4C200000, // 0012 LDNIL R8
+ 0x20200E08, // 0013 NE R8 R7 R8
+ 0x78220003, // 0014 JMPF R8 #0019
+ 0x8C20090A, // 0015 GETMET R8 R4 K10
+ 0x5C280E00, // 0016 MOVE R10 R7
+ 0x7C200400, // 0017 CALL R8 2
+ 0x5C1C1000, // 0018 MOVE R7 R8
+ 0x4C200000, // 0019 LDNIL R8
+ 0x20200E08, // 001A NE R8 R7 R8
+ 0x78220003, // 001B JMPF R8 #0020
+ 0x8C200F0B, // 001C GETMET R8 R7 K11
+ 0x5828000C, // 001D LDCONST R10 K12
+ 0x7C200400, // 001E CALL R8 2
+ 0x5C1C1000, // 001F MOVE R7 R8
+ 0x4C200000, // 0020 LDNIL R8
+ 0x4C240000, // 0021 LDNIL R9
+ 0x20240E09, // 0022 NE R9 R7 R9
+ 0x78260012, // 0023 JMPF R9 #0037
+ 0x8C240D08, // 0024 GETMET R9 R6 K8
+ 0x582C000D, // 0025 LDCONST R11 K13
+ 0x5C300A00, // 0026 MOVE R12 R5
+ 0x7C240600, // 0027 CALL R9 3
+ 0x5C201200, // 0028 MOVE R8 R9
+ 0x4C240000, // 0029 LDNIL R9
+ 0x20241009, // 002A NE R9 R8 R9
+ 0x78260003, // 002B JMPF R9 #0030
+ 0x8C24090A, // 002C GETMET R9 R4 K10
+ 0x5C2C1000, // 002D MOVE R11 R8
+ 0x7C240400, // 002E CALL R9 2
+ 0x5C201200, // 002F MOVE R8 R9
+ 0x4C240000, // 0030 LDNIL R9
+ 0x20241009, // 0031 NE R9 R8 R9
+ 0x78260003, // 0032 JMPF R9 #0037
+ 0x8C24110B, // 0033 GETMET R9 R8 K11
+ 0x582C000E, // 0034 LDCONST R11 K14
+ 0x7C240400, // 0035 CALL R9 2
+ 0x5C201200, // 0036 MOVE R8 R9
+ 0x4C240000, // 0037 LDNIL R9
+ 0x20240E09, // 0038 NE R9 R7 R9
+ 0x78260088, // 0039 JMPF R9 #00C3
+ 0x4C240000, // 003A LDNIL R9
+ 0x20241009, // 003B NE R9 R8 R9
+ 0x78260085, // 003C JMPF R9 #00C3
+ 0xB8261E00, // 003D GETNGBL R9 K15
+ 0x8C241310, // 003E GETMET R9 R9 K16
+ 0x8C2C0711, // 003F GETMET R11 R3 K17
+ 0x58340012, // 0040 LDCONST R13 K18
+ 0x5C380200, // 0041 MOVE R14 R1
+ 0x603C0008, // 0042 GETGBL R15 G8
+ 0x5C400E00, // 0043 MOVE R16 R7
+ 0x7C3C0200, // 0044 CALL R15 1
+ 0x60400008, // 0045 GETGBL R16 G8
+ 0x5C441000, // 0046 MOVE R17 R8
+ 0x7C400200, // 0047 CALL R16 1
+ 0x7C2C0A00, // 0048 CALL R11 5
+ 0x58300013, // 0049 LDCONST R12 K19
+ 0x7C240600, // 004A CALL R9 3
+ 0x8C240114, // 004B GETMET R9 R0 K20
+ 0x5C2C0E00, // 004C MOVE R11 R7
+ 0x5C301000, // 004D MOVE R12 R8
+ 0x7C240600, // 004E CALL R9 3
+ 0x8C280515, // 004F GETMET R10 R2 K21
+ 0x58300016, // 0050 LDCONST R12 K22
+ 0x7C280400, // 0051 CALL R10 2
+ 0x8C280515, // 0052 GETMET R10 R2 K21
+ 0x8C300711, // 0053 GETMET R12 R3 K17
+ 0x58380017, // 0054 LDCONST R14 K23
+ 0x8C3C0518, // 0055 GETMET R15 R2 K24
+ 0x5C440200, // 0056 MOVE R17 R1
+ 0x7C3C0400, // 0057 CALL R15 2
+ 0x8C400518, // 0058 GETMET R16 R2 K24
+ 0x5C480200, // 0059 MOVE R18 R1
+ 0x7C400400, // 005A CALL R16 2
+ 0x7C300800, // 005B CALL R12 4
+ 0x7C280400, // 005C CALL R10 2
+ 0x8C280515, // 005D GETMET R10 R2 K21
+ 0x58300019, // 005E LDCONST R12 K25
+ 0x7C280400, // 005F CALL R10 2
+ 0x8C280515, // 0060 GETMET R10 R2 K21
+ 0x8C300711, // 0061 GETMET R12 R3 K17
+ 0x5838001A, // 0062 LDCONST R14 K26
+ 0x8C3C0518, // 0063 GETMET R15 R2 K24
+ 0x5C440200, // 0064 MOVE R17 R1
+ 0x7C3C0400, // 0065 CALL R15 2
+ 0x7C300600, // 0066 CALL R12 3
+ 0x7C280400, // 0067 CALL R10 2
+ 0x5828001B, // 0068 LDCONST R10 K27
+ 0x602C000C, // 0069 GETGBL R11 G12
+ 0x5C301200, // 006A MOVE R12 R9
+ 0x7C2C0200, // 006B CALL R11 1
+ 0x142C140B, // 006C LT R11 R10 R11
+ 0x782E0030, // 006D JMPF R11 #009F
+ 0x942C120A, // 006E GETIDX R11 R9 R10
+ 0x8C30170B, // 006F GETMET R12 R11 K11
+ 0x5838001C, // 0070 LDCONST R14 K28
+ 0x583C0003, // 0071 LDCONST R15 K3
+ 0x7C300600, // 0072 CALL R12 3
+ 0x20341903, // 0073 NE R13 R12 K3
+ 0x78360000, // 0074 JMPF R13 #0076
+ 0x00323A0C, // 0075 ADD R12 K29 R12
+ 0x8834011E, // 0076 GETMBR R13 R0 K30
+ 0x88341B1F, // 0077 GETMBR R13 R13 K31
+ 0x8C341B0B, // 0078 GETMET R13 R13 K11
+ 0x5C3C1800, // 0079 MOVE R15 R12
+ 0x7C340400, // 007A CALL R13 2
+ 0x58380003, // 007B LDCONST R14 K3
+ 0x4C3C0000, // 007C LDNIL R15
+ 0x203C1A0F, // 007D NE R15 R13 R15
+ 0x783E0004, // 007E JMPF R15 #0084
+ 0x8C3C1B20, // 007F GETMET R15 R13 K32
+ 0x5C441A00, // 0080 MOVE R17 R13
+ 0x5C481600, // 0081 MOVE R18 R11
+ 0x7C3C0600, // 0082 CALL R15 3
+ 0x5C381E00, // 0083 MOVE R14 R15
+ 0x8C3C0515, // 0084 GETMET R15 R2 K21
+ 0x8C440711, // 0085 GETMET R17 R3 K17
+ 0x584C0021, // 0086 LDCONST R19 K33
+ 0x5C501400, // 0087 MOVE R20 R10
+ 0x7C440600, // 0088 CALL R17 3
+ 0x7C3C0400, // 0089 CALL R15 2
+ 0x8C3C0122, // 008A GETMET R15 R0 K34
+ 0x5C441800, // 008B MOVE R17 R12
+ 0x88480123, // 008C GETMBR R18 R0 K35
+ 0x7C3C0600, // 008D CALL R15 3
+ 0x8C3C0515, // 008E GETMET R15 R2 K21
+ 0x58440024, // 008F LDCONST R17 K36
+ 0x7C3C0400, // 0090 CALL R15 2
+ 0x8C3C0515, // 0091 GETMET R15 R2 K21
+ 0x8C440711, // 0092 GETMET R17 R3 K17
+ 0x584C0025, // 0093 LDCONST R19 K37
+ 0x5C501400, // 0094 MOVE R20 R10
+ 0x8C540518, // 0095 GETMET R21 R2 K24
+ 0x5C5C1C00, // 0096 MOVE R23 R14
+ 0x7C540400, // 0097 CALL R21 2
+ 0x7C440800, // 0098 CALL R17 4
+ 0x7C3C0400, // 0099 CALL R15 2
+ 0x8C3C0515, // 009A GETMET R15 R2 K21
+ 0x58440026, // 009B LDCONST R17 K38
+ 0x7C3C0400, // 009C CALL R15 2
+ 0x00281527, // 009D ADD R10 R10 K39
+ 0x7001FFC9, // 009E JMP #0069
+ 0x8C2C0515, // 009F GETMET R11 R2 K21
+ 0x8C340711, // 00A0 GETMET R13 R3 K17
+ 0x583C0021, // 00A1 LDCONST R15 K33
+ 0x5C401400, // 00A2 MOVE R16 R10
+ 0x7C340600, // 00A3 CALL R13 3
+ 0x7C2C0400, // 00A4 CALL R11 2
+ 0x8C2C0122, // 00A5 GETMET R11 R0 K34
+ 0x58340003, // 00A6 LDCONST R13 K3
+ 0x88380123, // 00A7 GETMBR R14 R0 K35
+ 0x7C2C0600, // 00A8 CALL R11 3
+ 0x8C2C0515, // 00A9 GETMET R11 R2 K21
+ 0x58340024, // 00AA LDCONST R13 K36
+ 0x7C2C0400, // 00AB CALL R11 2
+ 0x8C2C0515, // 00AC GETMET R11 R2 K21
+ 0x8C340711, // 00AD GETMET R13 R3 K17
+ 0x583C0025, // 00AE LDCONST R15 K37
+ 0x5C401400, // 00AF MOVE R16 R10
+ 0x58440003, // 00B0 LDCONST R17 K3
+ 0x7C340800, // 00B1 CALL R13 4
+ 0x7C2C0400, // 00B2 CALL R11 2
+ 0x8C2C0515, // 00B3 GETMET R11 R2 K21
+ 0x58340026, // 00B4 LDCONST R13 K38
+ 0x7C2C0400, // 00B5 CALL R11 2
+ 0x8C2C0515, // 00B6 GETMET R11 R2 K21
+ 0x58340028, // 00B7 LDCONST R13 K40
+ 0x7C2C0400, // 00B8 CALL R11 2
+ 0x8C2C0515, // 00B9 GETMET R11 R2 K21
+ 0x58340029, // 00BA LDCONST R13 K41
+ 0x7C2C0400, // 00BB CALL R11 2
+ 0x8C2C0515, // 00BC GETMET R11 R2 K21
+ 0x5834002A, // 00BD LDCONST R13 K42
+ 0x7C2C0400, // 00BE CALL R11 2
+ 0x8C2C0515, // 00BF GETMET R11 R2 K21
+ 0x5834002B, // 00C0 LDCONST R13 K43
+ 0x7C2C0400, // 00C1 CALL R11 2
+ 0x70020007, // 00C2 JMP #00CB
+ 0x8C240515, // 00C3 GETMET R9 R2 K21
+ 0x8C2C0711, // 00C4 GETMET R11 R3 K17
+ 0x5834002C, // 00C5 LDCONST R13 K44
+ 0x8C380518, // 00C6 GETMET R14 R2 K24
+ 0x5C400200, // 00C7 MOVE R16 R1
+ 0x7C380400, // 00C8 CALL R14 2
+ 0x7C2C0600, // 00C9 CALL R11 3
+ 0x7C240400, // 00CA CALL R9 2
+ 0x80000000, // 00CB RET 0
})
)
);
@@ -1476,11 +1710,11 @@ be_local_closure(Matter_UI_show_enable, /* name */
/********************************************************************
-** Solidified function: show_fabric_info
+** Solidified function: page_part_mgr_add
********************************************************************/
-be_local_closure(Matter_UI_show_fabric_info, /* name */
+be_local_closure(Matter_UI_page_part_mgr_add, /* name */
be_nested_proto(
- 16, /* nstack */
+ 7, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -1488,146 +1722,51 @@ be_local_closure(Matter_UI_show_fabric_info, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[31]) { /* constants */
+ ( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
- /* K2 */ be_nested_str_weak(content_send),
- /* K3 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BFabrics_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K4 */ be_nested_str_weak(_X3Cp_X3EAssociated_X20fabrics_X3A_X3C_X2Fp_X3E),
- /* K5 */ be_nested_str_weak(device),
- /* K6 */ be_nested_str_weak(sessions),
- /* K7 */ be_const_int(0),
- /* K8 */ be_nested_str_weak(_X3Cp_X3E_X3Cb_X3ENone_X3C_X2Fb_X3E_X3C_X2Fp_X3E),
- /* K9 */ be_nested_str_weak(fabrics),
- /* K10 */ be_nested_str_weak(persistables),
- /* K11 */ be_nested_str_weak(_X3Chr_X3E),
- /* K12 */ be_nested_str_weak(fabric_label),
- /* K13 */ be_nested_str_weak(_X3CNo_X20label_X3E),
- /* K14 */ be_nested_str_weak(html_escape),
- /* K15 */ be_nested_str_weak(format),
- /* K16 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3B_X23_X25i_X20_X25s_X3C_X2Fb_X3E_X20_X28_X25s_X29_X26nbsp_X3B_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K17 */ be_nested_str_weak(get_fabric_index),
- /* K18 */ be_nested_str_weak(get_admin_vendor_name),
- /* K19 */ be_nested_str_weak(get_fabric_id),
- /* K20 */ be_nested_str_weak(copy),
- /* K21 */ be_nested_str_weak(reverse),
- /* K22 */ be_nested_str_weak(get_device_id),
- /* K23 */ be_nested_str_weak(Fabric_X3A_X20_X25s_X3Cbr_X3E),
- /* K24 */ be_nested_str_weak(tohex),
- /* K25 */ be_nested_str_weak(Device_X3A_X20_X25s_X3Cbr_X3E_X26nbsp_X3B),
- /* K26 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X20onsubmit_X3D_X27return_X20confirm_X28_X22Are_X20you_X20sure_X3F_X22_X29_X3B_X27_X3E),
- /* K27 */ be_nested_str_weak(_X3Cinput_X20name_X3D_X27del_fabric_X27_X20type_X3D_X27hidden_X27_X20value_X3D_X27_X25i_X27_X3E),
- /* K28 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27del_X27_X20class_X3D_X27button_X20bgrn_X27_X3EDelete_X20Fabric_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
- /* K29 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K30 */ be_nested_str_weak(stop_iteration),
+ /* K2 */ be_nested_str_weak(check_privileged_access),
+ /* K3 */ be_nested_str_weak(content_start),
+ /* K4 */ be_nested_str_weak(Matter_X20Create_X20new_X20endpoint),
+ /* K5 */ be_nested_str_weak(content_send_style),
+ /* K6 */ be_nested_str_weak(arg),
+ /* K7 */ be_nested_str_weak(url),
+ /* K8 */ be_nested_str_weak(matter_enabled),
+ /* K9 */ be_nested_str_weak(show_remote_autoconf),
+ /* K10 */ be_nested_str_weak(content_button),
+ /* K11 */ be_nested_str_weak(BUTTON_CONFIGURATION),
+ /* K12 */ be_nested_str_weak(content_stop),
}),
- be_str_weak(show_fabric_info),
+ be_str_weak(page_part_mgr_add),
&be_const_str_solidified,
- ( &(const binstruction[104]) { /* code */
+ ( &(const binstruction[27]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
0x8C0C0302, // 0002 GETMET R3 R1 K2
- 0x58140003, // 0003 LDCONST R5 K3
- 0x7C0C0400, // 0004 CALL R3 2
- 0x8C0C0302, // 0005 GETMET R3 R1 K2
- 0x58140004, // 0006 LDCONST R5 K4
- 0x7C0C0400, // 0007 CALL R3 2
- 0x600C000C, // 0008 GETGBL R3 G12
- 0x88100105, // 0009 GETMBR R4 R0 K5
- 0x88100906, // 000A GETMBR R4 R4 K6
- 0x88100906, // 000B GETMBR R4 R4 K6
- 0x7C0C0200, // 000C CALL R3 1
- 0x1C0C0707, // 000D EQ R3 R3 K7
- 0x780E0003, // 000E JMPF R3 #0013
- 0x8C0C0302, // 000F GETMET R3 R1 K2
- 0x58140008, // 0010 LDCONST R5 K8
- 0x7C0C0400, // 0011 CALL R3 2
- 0x70020050, // 0012 JMP #0064
- 0x500C0200, // 0013 LDBOOL R3 1 0
- 0x60100010, // 0014 GETGBL R4 G16
- 0x88140105, // 0015 GETMBR R5 R0 K5
- 0x88140B06, // 0016 GETMBR R5 R5 K6
- 0x88140B09, // 0017 GETMBR R5 R5 K9
- 0x8C140B0A, // 0018 GETMET R5 R5 K10
- 0x7C140200, // 0019 CALL R5 1
- 0x7C100200, // 001A CALL R4 1
- 0xA8020044, // 001B EXBLK 0 #0061
- 0x5C140800, // 001C MOVE R5 R4
- 0x7C140000, // 001D CALL R5 0
- 0x5C180600, // 001E MOVE R6 R3
- 0x741A0002, // 001F JMPT R6 #0023
- 0x8C180302, // 0020 GETMET R6 R1 K2
- 0x5820000B, // 0021 LDCONST R8 K11
- 0x7C180400, // 0022 CALL R6 2
- 0x500C0000, // 0023 LDBOOL R3 0 0
- 0x88180B0C, // 0024 GETMBR R6 R5 K12
- 0x5C1C0C00, // 0025 MOVE R7 R6
- 0x741E0000, // 0026 JMPT R7 #0028
- 0x5818000D, // 0027 LDCONST R6 K13
- 0x8C1C030E, // 0028 GETMET R7 R1 K14
- 0x5C240C00, // 0029 MOVE R9 R6
- 0x7C1C0400, // 002A CALL R7 2
- 0x5C180E00, // 002B MOVE R6 R7
- 0x8C1C0302, // 002C GETMET R7 R1 K2
- 0x8C24050F, // 002D GETMET R9 R2 K15
- 0x582C0010, // 002E LDCONST R11 K16
- 0x8C300B11, // 002F GETMET R12 R5 K17
- 0x7C300200, // 0030 CALL R12 1
- 0x5C340C00, // 0031 MOVE R13 R6
- 0x8C380B12, // 0032 GETMET R14 R5 K18
- 0x7C380200, // 0033 CALL R14 1
- 0x7C240A00, // 0034 CALL R9 5
- 0x7C1C0400, // 0035 CALL R7 2
- 0x8C1C0B13, // 0036 GETMET R7 R5 K19
- 0x7C1C0200, // 0037 CALL R7 1
- 0x8C1C0F14, // 0038 GETMET R7 R7 K20
- 0x7C1C0200, // 0039 CALL R7 1
- 0x8C1C0F15, // 003A GETMET R7 R7 K21
- 0x7C1C0200, // 003B CALL R7 1
- 0x8C200B16, // 003C GETMET R8 R5 K22
- 0x7C200200, // 003D CALL R8 1
- 0x8C201114, // 003E GETMET R8 R8 K20
- 0x7C200200, // 003F CALL R8 1
- 0x8C201115, // 0040 GETMET R8 R8 K21
- 0x7C200200, // 0041 CALL R8 1
- 0x8C240302, // 0042 GETMET R9 R1 K2
- 0x8C2C050F, // 0043 GETMET R11 R2 K15
- 0x58340017, // 0044 LDCONST R13 K23
- 0x8C380F18, // 0045 GETMET R14 R7 K24
- 0x7C380200, // 0046 CALL R14 1
- 0x7C2C0600, // 0047 CALL R11 3
- 0x7C240400, // 0048 CALL R9 2
- 0x8C240302, // 0049 GETMET R9 R1 K2
- 0x8C2C050F, // 004A GETMET R11 R2 K15
- 0x58340019, // 004B LDCONST R13 K25
- 0x8C381118, // 004C GETMET R14 R8 K24
- 0x7C380200, // 004D CALL R14 1
- 0x7C2C0600, // 004E CALL R11 3
- 0x7C240400, // 004F CALL R9 2
- 0x8C240302, // 0050 GETMET R9 R1 K2
- 0x582C001A, // 0051 LDCONST R11 K26
- 0x7C240400, // 0052 CALL R9 2
- 0x8C240302, // 0053 GETMET R9 R1 K2
- 0x8C2C050F, // 0054 GETMET R11 R2 K15
- 0x5834001B, // 0055 LDCONST R13 K27
- 0x8C380B11, // 0056 GETMET R14 R5 K17
- 0x7C380200, // 0057 CALL R14 1
- 0x7C2C0600, // 0058 CALL R11 3
- 0x7C240400, // 0059 CALL R9 2
- 0x8C240302, // 005A GETMET R9 R1 K2
- 0x582C001C, // 005B LDCONST R11 K28
- 0x7C240400, // 005C CALL R9 2
- 0x8C240302, // 005D GETMET R9 R1 K2
- 0x582C001D, // 005E LDCONST R11 K29
- 0x7C240400, // 005F CALL R9 2
- 0x7001FFBA, // 0060 JMP #001C
- 0x5810001E, // 0061 LDCONST R4 K30
- 0xAC100200, // 0062 CATCH R4 1 0
- 0xB0080000, // 0063 RAISE 2 R0 R0
- 0x8C0C0302, // 0064 GETMET R3 R1 K2
- 0x5814001D, // 0065 LDCONST R5 K29
- 0x7C0C0400, // 0066 CALL R3 2
- 0x80000000, // 0067 RET 0
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x740E0001, // 0004 JMPT R3 #0007
+ 0x4C0C0000, // 0005 LDNIL R3
+ 0x80040600, // 0006 RET 1 R3
+ 0x8C0C0303, // 0007 GETMET R3 R1 K3
+ 0x58140004, // 0008 LDCONST R5 K4
+ 0x7C0C0400, // 0009 CALL R3 2
+ 0x8C0C0305, // 000A GETMET R3 R1 K5
+ 0x7C0C0200, // 000B CALL R3 1
+ 0x8C0C0306, // 000C GETMET R3 R1 K6
+ 0x58140007, // 000D LDCONST R5 K7
+ 0x7C0C0400, // 000E CALL R3 2
+ 0x8C100108, // 000F GETMET R4 R0 K8
+ 0x7C100200, // 0010 CALL R4 1
+ 0x78120002, // 0011 JMPF R4 #0015
+ 0x8C100109, // 0012 GETMET R4 R0 K9
+ 0x5C180600, // 0013 MOVE R6 R3
+ 0x7C100400, // 0014 CALL R4 2
+ 0x8C10030A, // 0015 GETMET R4 R1 K10
+ 0x8818030B, // 0016 GETMBR R6 R1 K11
+ 0x7C100400, // 0017 CALL R4 2
+ 0x8C10030C, // 0018 GETMET R4 R1 K12
+ 0x7C100200, // 0019 CALL R4 1
+ 0x80000000, // 001A RET 0
})
)
);
@@ -1645,7 +1784,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
- ( &(const struct bproto*[ 2]) {
+ ( &(const struct bproto*[ 4]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@@ -1692,18 +1831,66 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
0x80040000, // 0003 RET 1 R0
})
),
+ be_nested_proto(
+ 2, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(page_part_mgr_adv),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0x80040000, // 0003 RET 1 R0
+ })
+ ),
+ be_nested_proto(
+ 2, /* nstack */
+ 0, /* argc */
+ 0, /* varg */
+ 1, /* has upvals */
+ ( &(const bupvaldesc[ 1]) { /* upvals */
+ be_local_const_upval(1, 0),
+ }),
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 1]) { /* constants */
+ /* K0 */ be_nested_str_weak(page_part_mgr_add),
+ }),
+ be_str_weak(_X3Clambda_X3E),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 4]) { /* code */
+ 0x68000000, // 0000 GETUPV R0 U0
+ 0x8C000100, // 0001 GETMET R0 R0 K0
+ 0x7C000200, // 0002 CALL R0 1
+ 0x80040000, // 0003 RET 1 R0
+ })
+ ),
}),
1, /* has constants */
- ( &(const bvalue[ 5]) { /* constants */
+ ( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(on),
/* K2 */ be_nested_str_weak(_X2Fmatterc),
/* K3 */ be_nested_str_weak(HTTP_GET),
/* K4 */ be_nested_str_weak(HTTP_POST),
+ /* K5 */ be_nested_str_weak(_X2Fmattera),
+ /* K6 */ be_nested_str_weak(_X2Fmatteradd),
}),
be_str_weak(web_add_handler),
&be_const_str_solidified,
- ( &(const binstruction[13]) { /* code */
+ ( &(const binstruction[23]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0x8C080301, // 0001 GETMET R2 R1 K1
0x58100002, // 0002 LDCONST R4 K2
@@ -1715,8 +1902,18 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
0x84140001, // 0008 CLOSURE R5 P1
0x88180304, // 0009 GETMBR R6 R1 K4
0x7C080800, // 000A CALL R2 4
- 0xA0000000, // 000B CLOSE R0
- 0x80000000, // 000C RET 0
+ 0x8C080301, // 000B GETMET R2 R1 K1
+ 0x58100005, // 000C LDCONST R4 K5
+ 0x84140002, // 000D CLOSURE R5 P2
+ 0x88180303, // 000E GETMBR R6 R1 K3
+ 0x7C080800, // 000F CALL R2 4
+ 0x8C080301, // 0010 GETMET R2 R1 K1
+ 0x58100006, // 0011 LDCONST R4 K6
+ 0x84140003, // 0012 CLOSURE R5 P3
+ 0x88180303, // 0013 GETMBR R6 R1 K3
+ 0x7C080800, // 0014 CALL R2 4
+ 0xA0000000, // 0015 CLOSE R0
+ 0x80000000, // 0016 RET 0
})
)
);
@@ -1724,11 +1921,148 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
/********************************************************************
-** Solidified function: show_passcode_form
+** Solidified function: generate_config_from_status
********************************************************************/
-be_local_closure(Matter_UI_show_passcode_form, /* name */
+be_local_closure(Matter_UI_generate_config_from_status, /* name */
be_nested_proto(
- 9, /* nstack */
+ 13, /* nstack */
+ 3, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[17]) { /* constants */
+ /* K0 */ be_const_int(0),
+ /* K1 */ be_nested_str_weak(contains),
+ /* K2 */ be_nested_str_weak(POWER),
+ /* K3 */ be_const_int(1),
+ /* K4 */ be_nested_str_weak(HSBColor),
+ /* K5 */ be_nested_str_weak(CT),
+ /* K6 */ be_nested_str_weak(Dimmer),
+ /* K7 */ be_nested_str_weak(push),
+ /* K8 */ be_nested_str_weak(type),
+ /* K9 */ be_nested_str_weak(light0),
+ /* K10 */ be_nested_str_weak(relay),
+ /* K11 */ be_nested_str_weak(stop_iteration),
+ /* K12 */ be_nested_str_weak(light1),
+ /* K13 */ be_nested_str_weak(light2),
+ /* K14 */ be_nested_str_weak(light3),
+ /* K15 */ be_nested_str_weak(device),
+ /* K16 */ be_nested_str_weak(autoconf_sensors_list),
+ }),
+ be_str_weak(generate_config_from_status),
+ &be_const_str_solidified,
+ ( &(const binstruction[96]) { /* code */
+ 0x600C0012, // 0000 GETGBL R3 G18
+ 0x7C0C0000, // 0001 CALL R3 0
+ 0x58100000, // 0002 LDCONST R4 K0
+ 0x8C140501, // 0003 GETMET R5 R2 K1
+ 0x581C0002, // 0004 LDCONST R7 K2
+ 0x7C140400, // 0005 CALL R5 2
+ 0x78160001, // 0006 JMPF R5 #0009
+ 0x58100003, // 0007 LDCONST R4 K3
+ 0x7002000E, // 0008 JMP #0018
+ 0x58140003, // 0009 LDCONST R5 K3
+ 0x50180200, // 000A LDBOOL R6 1 0
+ 0x781A000B, // 000B JMPF R6 #0018
+ 0x8C180501, // 000C GETMET R6 R2 K1
+ 0x60200008, // 000D GETGBL R8 G8
+ 0x5C240A00, // 000E MOVE R9 R5
+ 0x7C200200, // 000F CALL R8 1
+ 0x00220408, // 0010 ADD R8 K2 R8
+ 0x7C180400, // 0011 CALL R6 2
+ 0x781A0002, // 0012 JMPF R6 #0016
+ 0x5C100A00, // 0013 MOVE R4 R5
+ 0x00140B03, // 0014 ADD R5 R5 K3
+ 0x70020000, // 0015 JMP #0017
+ 0x70020000, // 0016 JMP #0018
+ 0x7001FFF1, // 0017 JMP #000A
+ 0x4C140000, // 0018 LDNIL R5
+ 0x4C180000, // 0019 LDNIL R6
+ 0x4C1C0000, // 001A LDNIL R7
+ 0x8C200501, // 001B GETMET R8 R2 K1
+ 0x58280004, // 001C LDCONST R10 K4
+ 0x7C200400, // 001D CALL R8 2
+ 0x78220002, // 001E JMPF R8 #0022
+ 0x5C1C0800, // 001F MOVE R7 R4
+ 0x04100903, // 0020 SUB R4 R4 K3
+ 0x7002000C, // 0021 JMP #002F
+ 0x8C200501, // 0022 GETMET R8 R2 K1
+ 0x58280005, // 0023 LDCONST R10 K5
+ 0x7C200400, // 0024 CALL R8 2
+ 0x78220002, // 0025 JMPF R8 #0029
+ 0x5C180800, // 0026 MOVE R6 R4
+ 0x04100903, // 0027 SUB R4 R4 K3
+ 0x70020005, // 0028 JMP #002F
+ 0x8C200501, // 0029 GETMET R8 R2 K1
+ 0x58280006, // 002A LDCONST R10 K6
+ 0x7C200400, // 002B CALL R8 2
+ 0x78220001, // 002C JMPF R8 #002F
+ 0x5C140800, // 002D MOVE R5 R4
+ 0x04100903, // 002E SUB R4 R4 K3
+ 0x60200010, // 002F GETGBL R8 G16
+ 0x40260604, // 0030 CONNECT R9 K3 R4
+ 0x7C200200, // 0031 CALL R8 1
+ 0xA8020008, // 0032 EXBLK 0 #003C
+ 0x5C241000, // 0033 MOVE R9 R8
+ 0x7C240000, // 0034 CALL R9 0
+ 0x8C280707, // 0035 GETMET R10 R3 K7
+ 0x60300013, // 0036 GETGBL R12 G19
+ 0x7C300000, // 0037 CALL R12 0
+ 0x98321109, // 0038 SETIDX R12 K8 K9
+ 0x98321409, // 0039 SETIDX R12 K10 R9
+ 0x7C280400, // 003A CALL R10 2
+ 0x7001FFF6, // 003B JMP #0033
+ 0x5820000B, // 003C LDCONST R8 K11
+ 0xAC200200, // 003D CATCH R8 1 0
+ 0xB0080000, // 003E RAISE 2 R0 R0
+ 0x4C200000, // 003F LDNIL R8
+ 0x20200A08, // 0040 NE R8 R5 R8
+ 0x78220005, // 0041 JMPF R8 #0048
+ 0x8C200707, // 0042 GETMET R8 R3 K7
+ 0x60280013, // 0043 GETGBL R10 G19
+ 0x7C280000, // 0044 CALL R10 0
+ 0x982A110C, // 0045 SETIDX R10 K8 K12
+ 0x982A1405, // 0046 SETIDX R10 K10 R5
+ 0x7C200400, // 0047 CALL R8 2
+ 0x4C200000, // 0048 LDNIL R8
+ 0x20200C08, // 0049 NE R8 R6 R8
+ 0x78220005, // 004A JMPF R8 #0051
+ 0x8C200707, // 004B GETMET R8 R3 K7
+ 0x60280013, // 004C GETGBL R10 G19
+ 0x7C280000, // 004D CALL R10 0
+ 0x982A110D, // 004E SETIDX R10 K8 K13
+ 0x982A1406, // 004F SETIDX R10 K10 R6
+ 0x7C200400, // 0050 CALL R8 2
+ 0x4C200000, // 0051 LDNIL R8
+ 0x20200E08, // 0052 NE R8 R7 R8
+ 0x78220005, // 0053 JMPF R8 #005A
+ 0x8C200707, // 0054 GETMET R8 R3 K7
+ 0x60280013, // 0055 GETGBL R10 G19
+ 0x7C280000, // 0056 CALL R10 0
+ 0x982A110E, // 0057 SETIDX R10 K8 K14
+ 0x982A1407, // 0058 SETIDX R10 K10 R7
+ 0x7C200400, // 0059 CALL R8 2
+ 0x8820010F, // 005A GETMBR R8 R0 K15
+ 0x8C201110, // 005B GETMET R8 R8 K16
+ 0x5C280200, // 005C MOVE R10 R1
+ 0x7C200400, // 005D CALL R8 2
+ 0x000C0608, // 005E ADD R3 R3 R8
+ 0x80040600, // 005F RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: show_enable
+********************************************************************/
+be_local_closure(Matter_UI_show_enable, /* name */
+ be_nested_proto(
+ 11, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -1736,107 +2070,954 @@ be_local_closure(Matter_UI_show_passcode_form, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[26]) { /* constants */
+ ( &(const bvalue[15]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(matter_enabled),
+ /* K3 */ be_nested_str_weak(content_send),
+ /* K4 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BMatter_X20_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3Cp_X20style_X3D_X27width_X3A320px_X3B_X27_X3ECheck_X20the_X20_X3Ca_X20href_X3D_X27https_X3A_X2F_X2Ftasmota_X2Egithub_X2Eio_X2Fdocs_X2FMatter_X2F_X27_X20target_X3D_X27_blank_X27_X3EMatter_X20documentation_X3C_X2Fa_X3E_X2E_X3C_X2Fp_X3E_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X3E),
+ /* K5 */ be_nested_str_weak(format),
+ /* K6 */ be_nested_str_weak(_X3Cp_X3E_X3Cinput_X20id_X3D_X27menable_X27_X20type_X3D_X27checkbox_X27_X20name_X3D_X27menable_X27_X20_X25s_X3E),
+ /* K7 */ be_nested_str_weak(checked),
+ /* K8 */ be_nested_str_weak(),
+ /* K9 */ be_nested_str_weak(_X3Clabel_X20for_X3D_X27menable_X27_X3E_X3Cb_X3EMatter_X20enable_X3C_X2Fb_X3E_X3C_X2Flabel_X3E_X3C_X2Fp_X3E),
+ /* K10 */ be_nested_str_weak(_X3Cp_X3E_X3Cinput_X20id_X3D_X27comm_X27_X20type_X3D_X27checkbox_X27_X20name_X3D_X27comm_X27_X20_X25s_X3E),
+ /* K11 */ be_nested_str_weak(device),
+ /* K12 */ be_nested_str_weak(commissioning_open),
+ /* K13 */ be_nested_str_weak(_X3Clabel_X20for_X3D_X27comm_X27_X3E_X3Cb_X3ECommissioning_X20open_X3C_X2Fb_X3E_X3C_X2Flabel_X3E_X3C_X2Fp_X3E),
+ /* K14 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27save_X27_X20class_X3D_X27button_X20bgrn_X27_X3ESave_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ }),
+ be_str_weak(show_enable),
+ &be_const_str_solidified,
+ ( &(const binstruction[43]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x8C100303, // 0003 GETMET R4 R1 K3
+ 0x58180004, // 0004 LDCONST R6 K4
+ 0x7C100400, // 0005 CALL R4 2
+ 0x8C100303, // 0006 GETMET R4 R1 K3
+ 0x8C180505, // 0007 GETMET R6 R2 K5
+ 0x58200006, // 0008 LDCONST R8 K6
+ 0x8C240102, // 0009 GETMET R9 R0 K2
+ 0x7C240200, // 000A CALL R9 1
+ 0x78260001, // 000B JMPF R9 #000E
+ 0x58240007, // 000C LDCONST R9 K7
+ 0x70020000, // 000D JMP #000F
+ 0x58240008, // 000E LDCONST R9 K8
+ 0x7C180600, // 000F CALL R6 3
+ 0x7C100400, // 0010 CALL R4 2
+ 0x8C100303, // 0011 GETMET R4 R1 K3
+ 0x58180009, // 0012 LDCONST R6 K9
+ 0x7C100400, // 0013 CALL R4 2
+ 0x8C100102, // 0014 GETMET R4 R0 K2
+ 0x7C100200, // 0015 CALL R4 1
+ 0x7812000F, // 0016 JMPF R4 #0027
+ 0x8C100303, // 0017 GETMET R4 R1 K3
+ 0x8C180505, // 0018 GETMET R6 R2 K5
+ 0x5820000A, // 0019 LDCONST R8 K10
+ 0x8824010B, // 001A GETMBR R9 R0 K11
+ 0x8824130C, // 001B GETMBR R9 R9 K12
+ 0x4C280000, // 001C LDNIL R10
+ 0x2024120A, // 001D NE R9 R9 R10
+ 0x78260001, // 001E JMPF R9 #0021
+ 0x58240007, // 001F LDCONST R9 K7
+ 0x70020000, // 0020 JMP #0022
+ 0x58240008, // 0021 LDCONST R9 K8
+ 0x7C180600, // 0022 CALL R6 3
+ 0x7C100400, // 0023 CALL R4 2
+ 0x8C100303, // 0024 GETMET R4 R1 K3
+ 0x5818000D, // 0025 LDCONST R6 K13
+ 0x7C100400, // 0026 CALL R4 2
+ 0x8C100303, // 0027 GETMET R4 R1 K3
+ 0x5818000E, // 0028 LDCONST R6 K14
+ 0x7C100400, // 0029 CALL R4 2
+ 0x80000000, // 002A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: show_commissioning_info
+********************************************************************/
+be_local_closure(Matter_UI_show_commissioning_info, /* name */
+ be_nested_proto(
+ 14, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[19]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(device),
+ /* K3 */ be_nested_str_weak(commissioning_open),
+ /* K4 */ be_nested_str_weak(tasmota),
+ /* K5 */ be_nested_str_weak(millis),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(content_send),
+ /* K8 */ be_nested_str_weak(format),
+ /* K9 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BCommissioning_X20open_X20for_X20_X25i_X20min_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K10 */ be_nested_str_weak(compute_manual_pairing_code),
+ /* K11 */ be_nested_str_weak(_X3Cp_X3EManual_X20pairing_X20code_X3A_X3Cbr_X3E_X3Cb_X3E_X25s_X2D_X25s_X2D_X25s_X3C_X2Fb_X3E_X3C_X2Fp_X3E_X3Chr_X3E),
+ /* K12 */ be_const_int(3),
+ /* K13 */ be_const_int(2147483647),
+ /* K14 */ be_nested_str_weak(_X3Cdiv_X3E_X3Ccenter_X3E),
+ /* K15 */ be_nested_str_weak(compute_qrcode_content),
+ /* K16 */ be_nested_str_weak(show_qrcode),
+ /* K17 */ be_nested_str_weak(_X3Cp_X3E_X20_X25s_X3C_X2Fp_X3E),
+ /* K18 */ be_nested_str_weak(_X3C_X2Fdiv_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ }),
+ be_str_weak(show_commissioning_info),
+ &be_const_str_solidified,
+ ( &(const binstruction[59]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x880C0102, // 0002 GETMBR R3 R0 K2
+ 0x880C0703, // 0003 GETMBR R3 R3 K3
+ 0xB8120800, // 0004 GETNGBL R4 K4
+ 0x8C100905, // 0005 GETMET R4 R4 K5
+ 0x7C100200, // 0006 CALL R4 1
+ 0x040C0604, // 0007 SUB R3 R3 R4
+ 0x541203E7, // 0008 LDINT R4 1000
+ 0x0C0C0604, // 0009 DIV R3 R3 R4
+ 0x14100706, // 000A LT R4 R3 K6
+ 0x78120000, // 000B JMPF R4 #000D
+ 0x580C0006, // 000C LDCONST R3 K6
+ 0x5412001D, // 000D LDINT R4 30
+ 0x00100604, // 000E ADD R4 R3 R4
+ 0x5416003B, // 000F LDINT R5 60
+ 0x0C100805, // 0010 DIV R4 R4 R5
+ 0x8C140307, // 0011 GETMET R5 R1 K7
+ 0x8C1C0508, // 0012 GETMET R7 R2 K8
+ 0x58240009, // 0013 LDCONST R9 K9
+ 0x5C280800, // 0014 MOVE R10 R4
+ 0x7C1C0600, // 0015 CALL R7 3
+ 0x7C140400, // 0016 CALL R5 2
+ 0x88140102, // 0017 GETMBR R5 R0 K2
+ 0x8C140B0A, // 0018 GETMET R5 R5 K10
+ 0x7C140200, // 0019 CALL R5 1
+ 0x8C180307, // 001A GETMET R6 R1 K7
+ 0x8C200508, // 001B GETMET R8 R2 K8
+ 0x5828000B, // 001C LDCONST R10 K11
+ 0x402E0D0C, // 001D CONNECT R11 K6 K12
+ 0x942C0A0B, // 001E GETIDX R11 R5 R11
+ 0x54320003, // 001F LDINT R12 4
+ 0x54360005, // 0020 LDINT R13 6
+ 0x4030180D, // 0021 CONNECT R12 R12 R13
+ 0x94300A0C, // 0022 GETIDX R12 R5 R12
+ 0x54360006, // 0023 LDINT R13 7
+ 0x40341B0D, // 0024 CONNECT R13 R13 K13
+ 0x94340A0D, // 0025 GETIDX R13 R5 R13
+ 0x7C200A00, // 0026 CALL R8 5
+ 0x7C180400, // 0027 CALL R6 2
+ 0x8C180307, // 0028 GETMET R6 R1 K7
+ 0x5820000E, // 0029 LDCONST R8 K14
+ 0x7C180400, // 002A CALL R6 2
+ 0x88180102, // 002B GETMBR R6 R0 K2
+ 0x8C180D0F, // 002C GETMET R6 R6 K15
+ 0x7C180200, // 002D CALL R6 1
+ 0x8C1C0110, // 002E GETMET R7 R0 K16
+ 0x5C240C00, // 002F MOVE R9 R6
+ 0x7C1C0400, // 0030 CALL R7 2
+ 0x8C1C0307, // 0031 GETMET R7 R1 K7
+ 0x8C240508, // 0032 GETMET R9 R2 K8
+ 0x582C0011, // 0033 LDCONST R11 K17
+ 0x5C300C00, // 0034 MOVE R12 R6
+ 0x7C240600, // 0035 CALL R9 3
+ 0x7C1C0400, // 0036 CALL R7 2
+ 0x8C1C0307, // 0037 GETMET R7 R1 K7
+ 0x58240012, // 0038 LDCONST R9 K18
+ 0x7C1C0400, // 0039 CALL R7 2
+ 0x80000000, // 003A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: plugin_name
+********************************************************************/
+be_local_closure(Matter_UI_plugin_name, /* name */
+ be_nested_proto(
+ 6, /* nstack */
+ 3, /* argc */
+ 3, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 3]) { /* constants */
+ /* K0 */ be_nested_str_weak(),
+ /* K1 */ be_nested_str_weak(device),
+ /* K2 */ be_nested_str_weak(get_plugin_class_displayname),
+ }),
+ be_str_weak(plugin_name),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x1C0C0300, // 0000 EQ R3 R1 K0
+ 0x780E0000, // 0001 JMPF R3 #0003
+ 0x80060000, // 0002 RET 1 K0
+ 0x880C0101, // 0003 GETMBR R3 R0 K1
+ 0x8C0C0702, // 0004 GETMET R3 R3 K2
+ 0x5C140200, // 0005 MOVE R5 R1
+ 0x7C0C0400, // 0006 CALL R3 2
+ 0x80040600, // 0007 RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: matter_enabled
+********************************************************************/
+be_local_closure(Matter_UI_matter_enabled, /* name */
+ be_nested_proto(
+ 5, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_nested_str_weak(tasmota),
+ /* K1 */ be_nested_str_weak(get_option),
+ /* K2 */ be_nested_str_weak(matter),
+ /* K3 */ be_nested_str_weak(MATTER_OPTION),
+ }),
+ be_str_weak(matter_enabled),
+ &be_const_str_solidified,
+ ( &(const binstruction[ 8]) { /* code */
+ 0x60040017, // 0000 GETGBL R1 G23
+ 0xB80A0000, // 0001 GETNGBL R2 K0
+ 0x8C080501, // 0002 GETMET R2 R2 K1
+ 0xB8120400, // 0003 GETNGBL R4 K2
+ 0x88100903, // 0004 GETMBR R4 R4 K3
+ 0x7C080400, // 0005 CALL R2 2
+ 0x7C040200, // 0006 CALL R1 1
+ 0x80040200, // 0007 RET 1 R1
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: show_plugins_configuration
+********************************************************************/
+be_local_closure(Matter_UI_show_plugins_configuration, /* name */
+ be_nested_proto(
+ 26, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[58]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(introspect),
+ /* K3 */ be_nested_str_weak(content_send),
+ /* K4 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BCurrent_X20Configuration_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K5 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X3Cp_X3E_X3Cb_X3ELocal_X20sensors_X20and_X20devices_X3C_X2Fb_X3E_X3C_X2Fp_X3E_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E_X3Ctr_X3E_X3Ctd_X20width_X3D_X2725_X27_X3E_X23_X3C_X2Ftd_X3E_X3Ctd_X20width_X3D_X27115_X27_X3EType_X3C_X2Ftd_X3E_X3Ctd_X3EParameter_X3C_X2Ftd_X3E_X3Ctd_X20width_X3D_X2715_X27_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K6 */ be_nested_str_weak(device),
+ /* K7 */ be_nested_str_weak(plugins_config),
+ /* K8 */ be_nested_str_weak(remove),
+ /* K9 */ be_nested_str_weak(0),
+ /* K10 */ be_nested_str_weak(k2l_num),
+ /* K11 */ be_const_int(0),
+ /* K12 */ be_nested_str_weak(find),
+ /* K13 */ be_nested_str_weak(type),
+ /* K14 */ be_const_int(1),
+ /* K15 */ be_nested_str_weak(http_),
+ /* K16 */ be_nested_str_weak(plugins_classes),
+ /* K17 */ be_nested_str_weak(),
+ /* K18 */ be_nested_str_weak(ui_conf_to_string),
+ /* K19 */ be_nested_str_weak(format),
+ /* K20 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3E_X25i_X3C_X2Fb_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K21 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3E_X25s_X3C_X2Fb_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K22 */ be_nested_str_weak(plugin_name),
+ /* K23 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27arg_X25i_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X25s_X27_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K24 */ be_nested_str_weak(html_escape),
+ /* K25 */ be_nested_str_weak(_X3Ctd_X20style_X3D_X27text_X2Dalign_X3Acenter_X3B_X27_X3E_X3Cbutton_X20name_X3D_X27del_X25i_X27_X20style_X3D_X27background_X3Anone_X3Bborder_X3Anone_X3Bline_X2Dheight_X3A1_X3B_X27_X20onclick_X3D_X22return_X20confirm_X28_X27Confirm_X20removing_X20endpoint_X27_X29_X22_X3E_X26_X23128293_X3B_X3C_X2Fbutton_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K26 */ be_nested_str_weak(_X3C_X2Ftable_X3E),
+ /* K27 */ be_nested_str_weak(_X3Cp_X3E_X26lt_X3Bnone_X26gt_X3B_X3C_X2Fp_X3E),
+ /* K28 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K29 */ be_nested_str_weak(url),
+ /* K30 */ be_nested_str_weak(push),
+ /* K31 */ be_nested_str_weak(stop_iteration),
+ /* K32 */ be_nested_str_weak(sort_distinct),
+ /* K33 */ be_nested_str_weak(tasmota),
+ /* K34 */ be_nested_str_weak(log),
+ /* K35 */ be_nested_str_weak(MTR_X3A_X20remotes_X3A_X20),
+ /* K36 */ be_const_int(3),
+ /* K37 */ be_nested_str_weak(_X26_X23x1F517_X3B_X20_X3Ca_X20target_X3D_X27_blank_X27_X20href_X3D_X22http_X3A_X2F_X2F_X25s_X2F_X22_X3E_X25s_X3C_X2Fa_X3E),
+ /* K38 */ be_nested_str_weak(_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E),
+ /* K39 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X20width_X3D_X2725_X27_X3E_X3C_X2Ftd_X3E_X3Ctd_X20width_X3D_X27115_X27_X3E_X3C_X2Ftd_X3E_X3Ctd_X3E_X3C_X2Ftd_X3E_X3Ctd_X20width_X3D_X2715_X27_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K40 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X20width_X3D_X2722_X27_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3E_X25i_X3C_X2Fb_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K41 */ be_nested_str_weak(_X3Ctd_X20width_X3D_X27115_X27_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3E_X25s_X3C_X2Fb_X3E_X3C_X2Fselect_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K42 */ be_nested_str_weak(_X3Ctd_X20width_X3D_X2715_X27_X20style_X3D_X27text_X2Dalign_X3Acenter_X3B_X27_X3E_X3Cbutton_X20name_X3D_X27del_X25i_X27_X20style_X3D_X27background_X3Anone_X3Bborder_X3Anone_X3Bline_X2Dheight_X3A1_X3B_X27_X20onclick_X3D_X22return_X20confirm_X28_X27Confirm_X20removing_X20endpoint_X27_X29_X22_X3E_X26_X23128293_X3B_X3C_X2Fbutton_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K43 */ be_nested_str_weak(_X3C_X2Ftable_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K44 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27config_X27_X20class_X3D_X27button_X20bgrn_X27_X3EChange_X20configuration_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E),
+ /* K45 */ be_nested_str_weak(_X3Chr_X3E_X3Cp_X3E_X3Cb_X3EAdd_X20local_X20sensor_X20or_X20device_X3C_X2Fb_X3E_X3C_X2Fp_X3E_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X3E_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E_X3Ctr_X3E_X3Ctd_X20width_X3D_X27145_X27_X3EType_X3C_X2Ftd_X3E_X3Ctd_X3EParameter_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
+ /* K46 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cselect_X20name_X3D_X27pi_X27_X3E),
+ /* K47 */ be_nested_str_weak(plugin_option),
+ /* K48 */ be_nested_str_weak(_CLASSES_TYPES),
+ /* K49 */ be_nested_str_weak(_X3C_X2Fselect_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E),
+ /* K50 */ be_nested_str_weak(_X3Ctd_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27arg_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X27_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E_X3C_X2Ftable_X3E),
+ /* K51 */ be_nested_str_weak(_X3Cdiv_X20style_X3D_X27display_X3A_X20block_X3B_X27_X3E_X3C_X2Fdiv_X3E),
+ /* K52 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27addep_X27_X20class_X3D_X27button_X20bgrn_X27_X3ECreate_X20new_X20endpoint_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E),
+ /* K53 */ be_nested_str_weak(_X3Chr_X3E_X3Cp_X3E_X3Cb_X3EAdd_X20Remote_X20Tasmota_X3C_X2Fb_X3E_X3C_X2Fp_X3E_X3Cform_X20action_X3D_X27_X2Fmatteradd_X27_X20method_X3D_X27get_X27_X3E_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E),
+ /* K54 */ be_nested_str_weak(_X3Ctr_X3E_X3Ctd_X20width_X3D_X2730_X27_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3Ehttp_X3A_X2F_X2F_X3C_X2Fb_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E_X3Ctd_X3E_X3Cinput_X20type_X3D_X27text_X27_X20name_X3D_X27url_X27_X20minlength_X3D_X270_X27_X20size_X3D_X278_X27_X20value_X3D_X27_X27_X20required_X20placeholder_X3D_X27IP_X20or_X20domain_X27_X3E_X3C_X2Ftd_X3E_X3Ctd_X20width_X3D_X2710_X27_X3E_X3Cfont_X20size_X3D_X27_X2D1_X27_X3E_X3Cb_X3E_X2F_X3C_X2Fb_X3E_X3C_X2Ffont_X3E_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E_X3C_X2Ftr_X3E_X3C_X2Ftable_X3E),
+ /* K55 */ be_nested_str_weak(_X3Cbutton_X20class_X3D_X27button_X20bgrn_X27_X3EAuto_X2Dconfigure_X20remote_X20Tasmota_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3Chr_X3E),
+ /* K56 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20RESET_X20the_X20configuration_X20to_X20the_X20default_X2E_X20You_X20will_X20need_X20to_X20associate_X20again_X2E_X22_X29_X3B_X27_X3E_X3Cbutton_X20name_X3D_X27auto_X27_X20class_X3D_X27button_X20bred_X27_X3EReset_X20and_X20Auto_X2Ddiscover_X3C_X2Fbutton_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Fform_X3E),
+ /* K57 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E),
+ }),
+ be_str_weak(show_plugins_configuration),
+ &be_const_str_solidified,
+ ( &(const binstruction[308]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0xA40E0400, // 0002 IMPORT R3 K2
+ 0x8C100303, // 0003 GETMET R4 R1 K3
+ 0x58180004, // 0004 LDCONST R6 K4
+ 0x7C100400, // 0005 CALL R4 2
+ 0x8C100303, // 0006 GETMET R4 R1 K3
+ 0x58180005, // 0007 LDCONST R6 K5
+ 0x7C100400, // 0008 CALL R4 2
+ 0x88100106, // 0009 GETMBR R4 R0 K6
+ 0x88100907, // 000A GETMBR R4 R4 K7
+ 0x8C100908, // 000B GETMET R4 R4 K8
+ 0x58180009, // 000C LDCONST R6 K9
+ 0x7C100400, // 000D CALL R4 2
+ 0x88100106, // 000E GETMBR R4 R0 K6
+ 0x8C10090A, // 000F GETMET R4 R4 K10
+ 0x88180106, // 0010 GETMBR R6 R0 K6
+ 0x88180D07, // 0011 GETMBR R6 R6 K7
+ 0x7C100400, // 0012 CALL R4 2
+ 0x5814000B, // 0013 LDCONST R5 K11
+ 0x50180000, // 0014 LDBOOL R6 0 0
+ 0x601C000C, // 0015 GETGBL R7 G12
+ 0x5C200800, // 0016 MOVE R8 R4
+ 0x7C1C0200, // 0017 CALL R7 1
+ 0x141C0A07, // 0018 LT R7 R5 R7
+ 0x781E0047, // 0019 JMPF R7 #0062
+ 0x941C0805, // 001A GETIDX R7 R4 R5
+ 0x88200106, // 001B GETMBR R8 R0 K6
+ 0x88201107, // 001C GETMBR R8 R8 K7
+ 0x8C20110C, // 001D GETMET R8 R8 K12
+ 0x60280008, // 001E GETGBL R10 G8
+ 0x5C2C0E00, // 001F MOVE R11 R7
+ 0x7C280200, // 0020 CALL R10 1
+ 0x7C200400, // 0021 CALL R8 2
+ 0x8C24110C, // 0022 GETMET R9 R8 K12
+ 0x582C000D, // 0023 LDCONST R11 K13
+ 0x7C240400, // 0024 CALL R9 2
+ 0x5C281200, // 0025 MOVE R10 R9
+ 0x742A0001, // 0026 JMPT R10 #0029
+ 0x00140B0E, // 0027 ADD R5 R5 K14
+ 0x7001FFEB, // 0028 JMP #0015
+ 0x8C28050C, // 0029 GETMET R10 R2 K12
+ 0x5C301200, // 002A MOVE R12 R9
+ 0x5834000F, // 002B LDCONST R13 K15
+ 0x7C280600, // 002C CALL R10 3
+ 0x1C28150B, // 002D EQ R10 R10 K11
+ 0x782A0001, // 002E JMPF R10 #0031
+ 0x00140B0E, // 002F ADD R5 R5 K14
+ 0x7001FFE3, // 0030 JMP #0015
+ 0x88280106, // 0031 GETMBR R10 R0 K6
+ 0x88281510, // 0032 GETMBR R10 R10 K16
+ 0x8C28150C, // 0033 GETMET R10 R10 K12
+ 0x5C301200, // 0034 MOVE R12 R9
+ 0x7C280400, // 0035 CALL R10 2
+ 0x582C0011, // 0036 LDCONST R11 K17
+ 0x4C300000, // 0037 LDNIL R12
+ 0x2030140C, // 0038 NE R12 R10 R12
+ 0x78320004, // 0039 JMPF R12 #003F
+ 0x8C301512, // 003A GETMET R12 R10 K18
+ 0x5C381400, // 003B MOVE R14 R10
+ 0x5C3C1000, // 003C MOVE R15 R8
+ 0x7C300600, // 003D CALL R12 3
+ 0x5C2C1800, // 003E MOVE R11 R12
+ 0x50180200, // 003F LDBOOL R6 1 0
+ 0x8C300303, // 0040 GETMET R12 R1 K3
+ 0x8C380513, // 0041 GETMET R14 R2 K19
+ 0x58400014, // 0042 LDCONST R16 K20
+ 0x5C440E00, // 0043 MOVE R17 R7
+ 0x7C380600, // 0044 CALL R14 3
+ 0x7C300400, // 0045 CALL R12 2
+ 0x8C300303, // 0046 GETMET R12 R1 K3
+ 0x8C380513, // 0047 GETMET R14 R2 K19
+ 0x58400015, // 0048 LDCONST R16 K21
+ 0x8C440116, // 0049 GETMET R17 R0 K22
+ 0x8C4C110C, // 004A GETMET R19 R8 K12
+ 0x5854000D, // 004B LDCONST R21 K13
+ 0x58580011, // 004C LDCONST R22 K17
+ 0x7C4C0600, // 004D CALL R19 3
+ 0x7C440400, // 004E CALL R17 2
+ 0x7C380600, // 004F CALL R14 3
+ 0x7C300400, // 0050 CALL R12 2
+ 0x8C300303, // 0051 GETMET R12 R1 K3
+ 0x8C380513, // 0052 GETMET R14 R2 K19
+ 0x58400017, // 0053 LDCONST R16 K23
+ 0x5C440E00, // 0054 MOVE R17 R7
+ 0x8C480318, // 0055 GETMET R18 R1 K24
+ 0x5C501600, // 0056 MOVE R20 R11
+ 0x7C480400, // 0057 CALL R18 2
+ 0x7C380800, // 0058 CALL R14 4
+ 0x7C300400, // 0059 CALL R12 2
+ 0x8C300303, // 005A GETMET R12 R1 K3
+ 0x8C380513, // 005B GETMET R14 R2 K19
+ 0x58400019, // 005C LDCONST R16 K25
+ 0x5C440E00, // 005D MOVE R17 R7
+ 0x7C380600, // 005E CALL R14 3
+ 0x7C300400, // 005F CALL R12 2
+ 0x00140B0E, // 0060 ADD R5 R5 K14
+ 0x7001FFB2, // 0061 JMP #0015
+ 0x8C1C0303, // 0062 GETMET R7 R1 K3
+ 0x5824001A, // 0063 LDCONST R9 K26
+ 0x7C1C0400, // 0064 CALL R7 2
+ 0x5C1C0C00, // 0065 MOVE R7 R6
+ 0x741E0002, // 0066 JMPT R7 #006A
+ 0x8C1C0303, // 0067 GETMET R7 R1 K3
+ 0x5824001B, // 0068 LDCONST R9 K27
+ 0x7C1C0400, // 0069 CALL R7 2
+ 0x8C1C0303, // 006A GETMET R7 R1 K3
+ 0x5824001C, // 006B LDCONST R9 K28
+ 0x7C1C0400, // 006C CALL R7 2
+ 0x601C0012, // 006D GETGBL R7 G18
+ 0x7C1C0000, // 006E CALL R7 0
+ 0x60200010, // 006F GETGBL R8 G16
+ 0x88240106, // 0070 GETMBR R9 R0 K6
+ 0x88241307, // 0071 GETMBR R9 R9 K7
+ 0x7C200200, // 0072 CALL R8 1
+ 0xA802000B, // 0073 EXBLK 0 #0080
+ 0x5C241000, // 0074 MOVE R9 R8
+ 0x7C240000, // 0075 CALL R9 0
+ 0x8C28130C, // 0076 GETMET R10 R9 K12
+ 0x5830001D, // 0077 LDCONST R12 K29
+ 0x7C280400, // 0078 CALL R10 2
+ 0x4C2C0000, // 0079 LDNIL R11
+ 0x202C140B, // 007A NE R11 R10 R11
+ 0x782E0002, // 007B JMPF R11 #007F
+ 0x8C2C0F1E, // 007C GETMET R11 R7 K30
+ 0x5C341400, // 007D MOVE R13 R10
+ 0x7C2C0400, // 007E CALL R11 2
+ 0x7001FFF3, // 007F JMP #0074
+ 0x5820001F, // 0080 LDCONST R8 K31
+ 0xAC200200, // 0081 CATCH R8 1 0
+ 0xB0080000, // 0082 RAISE 2 R0 R0
+ 0x88200106, // 0083 GETMBR R8 R0 K6
+ 0x8C201120, // 0084 GETMET R8 R8 K32
+ 0x5C280E00, // 0085 MOVE R10 R7
+ 0x7C200400, // 0086 CALL R8 2
+ 0xB8224200, // 0087 GETNGBL R8 K33
+ 0x8C201122, // 0088 GETMET R8 R8 K34
+ 0x60280008, // 0089 GETGBL R10 G8
+ 0x5C2C0E00, // 008A MOVE R11 R7
+ 0x7C280200, // 008B CALL R10 1
+ 0x002A460A, // 008C ADD R10 K35 R10
+ 0x582C0024, // 008D LDCONST R11 K36
+ 0x7C200600, // 008E CALL R8 3
+ 0x60200010, // 008F GETGBL R8 G16
+ 0x5C240E00, // 0090 MOVE R9 R7
+ 0x7C200200, // 0091 CALL R8 1
+ 0xA802006C, // 0092 EXBLK 0 #0100
+ 0x5C241000, // 0093 MOVE R9 R8
+ 0x7C240000, // 0094 CALL R9 0
+ 0x8C280303, // 0095 GETMET R10 R1 K3
+ 0x8C300513, // 0096 GETMET R12 R2 K19
+ 0x58380025, // 0097 LDCONST R14 K37
+ 0x8C3C0318, // 0098 GETMET R15 R1 K24
+ 0x5C441200, // 0099 MOVE R17 R9
+ 0x7C3C0400, // 009A CALL R15 2
+ 0x8C400318, // 009B GETMET R16 R1 K24
+ 0x5C481200, // 009C MOVE R18 R9
+ 0x7C400400, // 009D CALL R16 2
+ 0x7C300800, // 009E CALL R12 4
+ 0x7C280400, // 009F CALL R10 2
+ 0x8C280303, // 00A0 GETMET R10 R1 K3
+ 0x58300026, // 00A1 LDCONST R12 K38
+ 0x7C280400, // 00A2 CALL R10 2
+ 0x8C280303, // 00A3 GETMET R10 R1 K3
+ 0x58300027, // 00A4 LDCONST R12 K39
+ 0x7C280400, // 00A5 CALL R10 2
+ 0x50180000, // 00A6 LDBOOL R6 0 0
+ 0x5814000B, // 00A7 LDCONST R5 K11
+ 0x6028000C, // 00A8 GETGBL R10 G12
+ 0x5C2C0800, // 00A9 MOVE R11 R4
+ 0x7C280200, // 00AA CALL R10 1
+ 0x14280A0A, // 00AB LT R10 R5 R10
+ 0x782A004E, // 00AC JMPF R10 #00FC
+ 0x94280805, // 00AD GETIDX R10 R4 R5
+ 0x882C0106, // 00AE GETMBR R11 R0 K6
+ 0x882C1707, // 00AF GETMBR R11 R11 K7
+ 0x8C2C170C, // 00B0 GETMET R11 R11 K12
+ 0x60340008, // 00B1 GETGBL R13 G8
+ 0x5C381400, // 00B2 MOVE R14 R10
+ 0x7C340200, // 00B3 CALL R13 1
+ 0x7C2C0400, // 00B4 CALL R11 2
+ 0x8C30170C, // 00B5 GETMET R12 R11 K12
+ 0x5838000D, // 00B6 LDCONST R14 K13
+ 0x7C300400, // 00B7 CALL R12 2
+ 0x5C341800, // 00B8 MOVE R13 R12
+ 0x74360001, // 00B9 JMPT R13 #00BC
+ 0x00140B0E, // 00BA ADD R5 R5 K14
+ 0x7001FFEB, // 00BB JMP #00A8
+ 0x8C34050C, // 00BC GETMET R13 R2 K12
+ 0x5C3C1800, // 00BD MOVE R15 R12
+ 0x5840000F, // 00BE LDCONST R16 K15
+ 0x7C340600, // 00BF CALL R13 3
+ 0x20341B0B, // 00C0 NE R13 R13 K11
+ 0x78360001, // 00C1 JMPF R13 #00C4
+ 0x00140B0E, // 00C2 ADD R5 R5 K14
+ 0x7001FFE3, // 00C3 JMP #00A8
+ 0x8C34170C, // 00C4 GETMET R13 R11 K12
+ 0x583C001D, // 00C5 LDCONST R15 K29
+ 0x7C340400, // 00C6 CALL R13 2
+ 0x20341A09, // 00C7 NE R13 R13 R9
+ 0x78360001, // 00C8 JMPF R13 #00CB
+ 0x00140B0E, // 00C9 ADD R5 R5 K14
+ 0x7001FFDC, // 00CA JMP #00A8
+ 0x88340106, // 00CB GETMBR R13 R0 K6
+ 0x88341B10, // 00CC GETMBR R13 R13 K16
+ 0x8C341B0C, // 00CD GETMET R13 R13 K12
+ 0x5C3C1800, // 00CE MOVE R15 R12
+ 0x7C340400, // 00CF CALL R13 2
+ 0x58380011, // 00D0 LDCONST R14 K17
+ 0x4C3C0000, // 00D1 LDNIL R15
+ 0x203C1A0F, // 00D2 NE R15 R13 R15
+ 0x783E0004, // 00D3 JMPF R15 #00D9
+ 0x8C3C1B12, // 00D4 GETMET R15 R13 K18
+ 0x5C441A00, // 00D5 MOVE R17 R13
+ 0x5C481600, // 00D6 MOVE R18 R11
+ 0x7C3C0600, // 00D7 CALL R15 3
+ 0x5C381E00, // 00D8 MOVE R14 R15
+ 0x50180200, // 00D9 LDBOOL R6 1 0
+ 0x8C3C0303, // 00DA GETMET R15 R1 K3
+ 0x8C440513, // 00DB GETMET R17 R2 K19
+ 0x584C0028, // 00DC LDCONST R19 K40
+ 0x5C501400, // 00DD MOVE R20 R10
+ 0x7C440600, // 00DE CALL R17 3
+ 0x7C3C0400, // 00DF CALL R15 2
+ 0x8C3C0303, // 00E0 GETMET R15 R1 K3
+ 0x8C440513, // 00E1 GETMET R17 R2 K19
+ 0x584C0029, // 00E2 LDCONST R19 K41
+ 0x8C500116, // 00E3 GETMET R20 R0 K22
+ 0x8C58170C, // 00E4 GETMET R22 R11 K12
+ 0x5860000D, // 00E5 LDCONST R24 K13
+ 0x58640011, // 00E6 LDCONST R25 K17
+ 0x7C580600, // 00E7 CALL R22 3
+ 0x7C500400, // 00E8 CALL R20 2
+ 0x7C440600, // 00E9 CALL R17 3
+ 0x7C3C0400, // 00EA CALL R15 2
+ 0x8C3C0303, // 00EB GETMET R15 R1 K3
+ 0x8C440513, // 00EC GETMET R17 R2 K19
+ 0x584C0017, // 00ED LDCONST R19 K23
+ 0x5C501400, // 00EE MOVE R20 R10
+ 0x8C540318, // 00EF GETMET R21 R1 K24
+ 0x5C5C1C00, // 00F0 MOVE R23 R14
+ 0x7C540400, // 00F1 CALL R21 2
+ 0x7C440800, // 00F2 CALL R17 4
+ 0x7C3C0400, // 00F3 CALL R15 2
+ 0x8C3C0303, // 00F4 GETMET R15 R1 K3
+ 0x8C440513, // 00F5 GETMET R17 R2 K19
+ 0x584C002A, // 00F6 LDCONST R19 K42
+ 0x5C501400, // 00F7 MOVE R20 R10
+ 0x7C440600, // 00F8 CALL R17 3
+ 0x7C3C0400, // 00F9 CALL R15 2
+ 0x00140B0E, // 00FA ADD R5 R5 K14
+ 0x7001FFAB, // 00FB JMP #00A8
+ 0x8C280303, // 00FC GETMET R10 R1 K3
+ 0x5830002B, // 00FD LDCONST R12 K43
+ 0x7C280400, // 00FE CALL R10 2
+ 0x7001FF92, // 00FF JMP #0093
+ 0x5820001F, // 0100 LDCONST R8 K31
+ 0xAC200200, // 0101 CATCH R8 1 0
+ 0xB0080000, // 0102 RAISE 2 R0 R0
+ 0x5C200C00, // 0103 MOVE R8 R6
+ 0x74220002, // 0104 JMPT R8 #0108
+ 0x8C200303, // 0105 GETMET R8 R1 K3
+ 0x5828001B, // 0106 LDCONST R10 K27
+ 0x7C200400, // 0107 CALL R8 2
+ 0x8C200303, // 0108 GETMET R8 R1 K3
+ 0x5828002C, // 0109 LDCONST R10 K44
+ 0x7C200400, // 010A CALL R8 2
+ 0x8C200303, // 010B GETMET R8 R1 K3
+ 0x5828002D, // 010C LDCONST R10 K45
+ 0x7C200400, // 010D CALL R8 2
+ 0x8C200303, // 010E GETMET R8 R1 K3
+ 0x5828002E, // 010F LDCONST R10 K46
+ 0x7C200400, // 0110 CALL R8 2
+ 0x8C20012F, // 0111 GETMET R8 R0 K47
+ 0x58280011, // 0112 LDCONST R10 K17
+ 0x882C0130, // 0113 GETMBR R11 R0 K48
+ 0x7C200600, // 0114 CALL R8 3
+ 0x8C200303, // 0115 GETMET R8 R1 K3
+ 0x58280031, // 0116 LDCONST R10 K49
+ 0x7C200400, // 0117 CALL R8 2
+ 0x8C200303, // 0118 GETMET R8 R1 K3
+ 0x58280032, // 0119 LDCONST R10 K50
+ 0x7C200400, // 011A CALL R8 2
+ 0x8C200303, // 011B GETMET R8 R1 K3
+ 0x58280033, // 011C LDCONST R10 K51
+ 0x7C200400, // 011D CALL R8 2
+ 0x8C200303, // 011E GETMET R8 R1 K3
+ 0x58280034, // 011F LDCONST R10 K52
+ 0x7C200400, // 0120 CALL R8 2
+ 0x8C200303, // 0121 GETMET R8 R1 K3
+ 0x58280035, // 0122 LDCONST R10 K53
+ 0x7C200400, // 0123 CALL R8 2
+ 0x8C200303, // 0124 GETMET R8 R1 K3
+ 0x58280036, // 0125 LDCONST R10 K54
+ 0x7C200400, // 0126 CALL R8 2
+ 0x8C200303, // 0127 GETMET R8 R1 K3
+ 0x58280033, // 0128 LDCONST R10 K51
+ 0x7C200400, // 0129 CALL R8 2
+ 0x8C200303, // 012A GETMET R8 R1 K3
+ 0x58280037, // 012B LDCONST R10 K55
+ 0x7C200400, // 012C CALL R8 2
+ 0x8C200303, // 012D GETMET R8 R1 K3
+ 0x58280038, // 012E LDCONST R10 K56
+ 0x7C200400, // 012F CALL R8 2
+ 0x8C200303, // 0130 GETMET R8 R1 K3
+ 0x58280039, // 0131 LDCONST R10 K57
+ 0x7C200400, // 0132 CALL R8 2
+ 0x80000000, // 0133 RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: equal_map
+********************************************************************/
+be_local_closure(Matter_UI_equal_map, /* name */
+ be_nested_proto(
+ 8, /* nstack */
+ 2, /* argc */
+ 4, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[ 4]) { /* constants */
+ /* K0 */ be_const_class(be_class_Matter_UI),
+ /* K1 */ be_nested_str_weak(keys),
+ /* K2 */ be_nested_str_weak(contains),
+ /* K3 */ be_nested_str_weak(stop_iteration),
+ }),
+ be_str_weak(equal_map),
+ &be_const_str_solidified,
+ ( &(const binstruction[53]) { /* code */
+ 0x58080000, // 0000 LDCONST R2 K0
+ 0x600C0010, // 0001 GETGBL R3 G16
+ 0x8C100101, // 0002 GETMET R4 R0 K1
+ 0x7C100200, // 0003 CALL R4 1
+ 0x7C0C0200, // 0004 CALL R3 1
+ 0xA8020010, // 0005 EXBLK 0 #0017
+ 0x5C100600, // 0006 MOVE R4 R3
+ 0x7C100000, // 0007 CALL R4 0
+ 0x8C140302, // 0008 GETMET R5 R1 K2
+ 0x5C1C0800, // 0009 MOVE R7 R4
+ 0x7C140400, // 000A CALL R5 2
+ 0x74160002, // 000B JMPT R5 #000F
+ 0x50140000, // 000C LDBOOL R5 0 0
+ 0xA8040001, // 000D EXBLK 1 1
+ 0x80040A00, // 000E RET 1 R5
+ 0x94140204, // 000F GETIDX R5 R1 R4
+ 0x94180004, // 0010 GETIDX R6 R0 R4
+ 0x20140A06, // 0011 NE R5 R5 R6
+ 0x78160002, // 0012 JMPF R5 #0016
+ 0x50140000, // 0013 LDBOOL R5 0 0
+ 0xA8040001, // 0014 EXBLK 1 1
+ 0x80040A00, // 0015 RET 1 R5
+ 0x7001FFEE, // 0016 JMP #0006
+ 0x580C0003, // 0017 LDCONST R3 K3
+ 0xAC0C0200, // 0018 CATCH R3 1 0
+ 0xB0080000, // 0019 RAISE 2 R0 R0
+ 0x600C0010, // 001A GETGBL R3 G16
+ 0x8C100301, // 001B GETMET R4 R1 K1
+ 0x7C100200, // 001C CALL R4 1
+ 0x7C0C0200, // 001D CALL R3 1
+ 0xA8020010, // 001E EXBLK 0 #0030
+ 0x5C100600, // 001F MOVE R4 R3
+ 0x7C100000, // 0020 CALL R4 0
+ 0x8C140102, // 0021 GETMET R5 R0 K2
+ 0x5C1C0800, // 0022 MOVE R7 R4
+ 0x7C140400, // 0023 CALL R5 2
+ 0x74160002, // 0024 JMPT R5 #0028
+ 0x50140000, // 0025 LDBOOL R5 0 0
+ 0xA8040001, // 0026 EXBLK 1 1
+ 0x80040A00, // 0027 RET 1 R5
+ 0x94140204, // 0028 GETIDX R5 R1 R4
+ 0x94180004, // 0029 GETIDX R6 R0 R4
+ 0x20140A06, // 002A NE R5 R5 R6
+ 0x78160002, // 002B JMPF R5 #002F
+ 0x50140000, // 002C LDBOOL R5 0 0
+ 0xA8040001, // 002D EXBLK 1 1
+ 0x80040A00, // 002E RET 1 R5
+ 0x7001FFEE, // 002F JMP #001F
+ 0x580C0003, // 0030 LDCONST R3 K3
+ 0xAC0C0200, // 0031 CATCH R3 1 0
+ 0xB0080000, // 0032 RAISE 2 R0 R0
+ 0x500C0200, // 0033 LDBOOL R3 1 0
+ 0x80040600, // 0034 RET 1 R3
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: web_sensor
+********************************************************************/
+be_local_closure(Matter_UI_web_sensor, /* name */
+ be_nested_proto(
+ 12, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[19]) { /* constants */
+ /* K0 */ be_nested_str_weak(webserver),
+ /* K1 */ be_nested_str_weak(string),
+ /* K2 */ be_nested_str_weak(matter_enabled),
+ /* K3 */ be_nested_str_weak(device),
+ /* K4 */ be_nested_str_weak(sessions),
+ /* K5 */ be_nested_str_weak(count_active_fabrics),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(content_send),
+ /* K8 */ be_nested_str_weak(format),
+ /* K9 */ be_nested_str_weak(_X3Cdiv_X20style_X3D_X27text_X2Dalign_X3Aright_X3Bfont_X2Dsize_X3A11px_X3Bcolor_X3A_X23aaa_X3Bpadding_X3A0px_X3B_X27_X3E_X25s_X3C_X2Fdiv_X3E),
+ /* K10 */ be_nested_str_weak(Matter_X3A_X20No_X20active_X20association),
+ /* K11 */ be_const_int(1),
+ /* K12 */ be_nested_str_weak(Matter_X3A_X20),
+ /* K13 */ be_nested_str_weak(_X20active_X20association),
+ /* K14 */ be_nested_str_weak(s),
+ /* K15 */ be_nested_str_weak(),
+ /* K16 */ be_nested_str_weak(show_bridge_status),
+ /* K17 */ be_nested_str_weak(is_root_commissioning_open),
+ /* K18 */ be_nested_str_weak(show_commissioning_info),
+ }),
+ be_str_weak(web_sensor),
+ &be_const_str_solidified,
+ ( &(const binstruction[43]) { /* code */
+ 0xA4060000, // 0000 IMPORT R1 K0
+ 0xA40A0200, // 0001 IMPORT R2 K1
+ 0x8C0C0102, // 0002 GETMET R3 R0 K2
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x780E0024, // 0004 JMPF R3 #002A
+ 0x880C0103, // 0005 GETMBR R3 R0 K3
+ 0x880C0704, // 0006 GETMBR R3 R3 K4
+ 0x8C0C0705, // 0007 GETMET R3 R3 K5
+ 0x7C0C0200, // 0008 CALL R3 1
+ 0x1C100706, // 0009 EQ R4 R3 K6
+ 0x78120006, // 000A JMPF R4 #0012
+ 0x8C100307, // 000B GETMET R4 R1 K7
+ 0x8C180508, // 000C GETMET R6 R2 K8
+ 0x58200009, // 000D LDCONST R8 K9
+ 0x5824000A, // 000E LDCONST R9 K10
+ 0x7C180600, // 000F CALL R6 3
+ 0x7C100400, // 0010 CALL R4 2
+ 0x7002000F, // 0011 JMP #0022
+ 0x2410070B, // 0012 GT R4 R3 K11
+ 0x8C140307, // 0013 GETMET R5 R1 K7
+ 0x8C1C0508, // 0014 GETMET R7 R2 K8
+ 0x58240009, // 0015 LDCONST R9 K9
+ 0x60280008, // 0016 GETGBL R10 G8
+ 0x5C2C0600, // 0017 MOVE R11 R3
+ 0x7C280200, // 0018 CALL R10 1
+ 0x002A180A, // 0019 ADD R10 K12 R10
+ 0x0028150D, // 001A ADD R10 R10 K13
+ 0x78120001, // 001B JMPF R4 #001E
+ 0x582C000E, // 001C LDCONST R11 K14
+ 0x70020000, // 001D JMP #001F
+ 0x582C000F, // 001E LDCONST R11 K15
+ 0x0028140B, // 001F ADD R10 R10 R11
+ 0x7C1C0600, // 0020 CALL R7 3
+ 0x7C140400, // 0021 CALL R5 2
+ 0x8C100110, // 0022 GETMET R4 R0 K16
+ 0x7C100200, // 0023 CALL R4 1
+ 0x88100103, // 0024 GETMBR R4 R0 K3
+ 0x8C100911, // 0025 GETMET R4 R4 K17
+ 0x7C100200, // 0026 CALL R4 1
+ 0x78120001, // 0027 JMPF R4 #002A
+ 0x8C100112, // 0028 GETMET R4 R0 K18
+ 0x7C100200, // 0029 CALL R4 1
+ 0x80000000, // 002A RET 0
+ })
+ )
+);
+/*******************************************************************/
+
+
+/********************************************************************
+** Solidified function: show_fabric_info
+********************************************************************/
+be_local_closure(Matter_UI_show_fabric_info, /* name */
+ be_nested_proto(
+ 16, /* nstack */
+ 1, /* argc */
+ 2, /* varg */
+ 0, /* has upvals */
+ NULL, /* no upvals */
+ 0, /* has sup protos */
+ NULL, /* no sub protos */
+ 1, /* has constants */
+ ( &(const bvalue[30]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
/* K2 */ be_nested_str_weak(content_send),
- /* K3 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BMatter_X20Passcode_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
- /* K4 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X3E),
- /* K5 */ be_nested_str_weak(device),
- /* K6 */ be_nested_str_weak(commissioning_open),
- /* K7 */ be_nested_str_weak(format),
- /* K8 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27open_comm_X27_X20class_X3D_X27button_X20bgrn_X27_X3E_X25s_X3C_X2Fbutton_X3E),
- /* K9 */ be_nested_str_weak(Open_X20Commissioning),
- /* K10 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27clos_comm_X27_X20class_X3D_X27button_X20bgrn_X27_X3E_X25s_X3C_X2Fbutton_X3E),
- /* K11 */ be_nested_str_weak(Close_X20Commissioning),
- /* K12 */ be_nested_str_weak(_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
- /* K13 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X20onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20cause_X20a_X20restart_X2E_X22_X29_X3B_X27_X3E),
- /* K14 */ be_nested_str_weak(_X3Cp_X3EPasscode_X3A_X3C_X2Fp_X3E),
- /* K15 */ be_nested_str_weak(_X3Cinput_X20type_X3D_X27number_X27_X20min_X3D_X271_X27_X20max_X3D_X2799999998_X27_X20name_X3D_X27passcode_X27_X20value_X3D_X27_X25i_X27_X3E),
- /* K16 */ be_nested_str_weak(root_passcode),
- /* K17 */ be_nested_str_weak(_X3Cp_X3EDistinguish_X20id_X3A_X3C_X2Fp_X3E),
- /* K18 */ be_nested_str_weak(_X3Cinput_X20type_X3D_X27number_X27_X20min_X3D_X270_X27_X20max_X3D_X274095_X27_X20name_X3D_X27discriminator_X27_X20value_X3D_X27_X25i_X27_X3E),
- /* K19 */ be_nested_str_weak(root_discriminator),
- /* K20 */ be_nested_str_weak(_X3Cp_X3E_X3Cinput_X20type_X3D_X27checkbox_X27_X20name_X3D_X27ipv4_X27_X25s_X3EIPv4_X20only_X3C_X2Fp_X3E),
- /* K21 */ be_nested_str_weak(ipv4only),
- /* K22 */ be_nested_str_weak(_X20checked),
- /* K23 */ be_nested_str_weak(),
- /* K24 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cbutton_X20name_X3D_X27passcode_X27_X20class_X3D_X27button_X20bgrn_X27_X3EChange_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
- /* K25 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K3 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3BFabrics_X26nbsp_X3B_X3C_X2Fb_X3E_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E_X3Cp_X3EAssociated_X20fabrics_X3A_X3C_X2Fp_X3E),
+ /* K4 */ be_nested_str_weak(device),
+ /* K5 */ be_nested_str_weak(sessions),
+ /* K6 */ be_const_int(0),
+ /* K7 */ be_nested_str_weak(_X3Cp_X3E_X3Cb_X3ENone_X3C_X2Fb_X3E_X3C_X2Fp_X3E),
+ /* K8 */ be_nested_str_weak(fabrics),
+ /* K9 */ be_nested_str_weak(persistables),
+ /* K10 */ be_nested_str_weak(_X3Chr_X3E),
+ /* K11 */ be_nested_str_weak(fabric_label),
+ /* K12 */ be_nested_str_weak(_X3CNo_X20label_X3E),
+ /* K13 */ be_nested_str_weak(html_escape),
+ /* K14 */ be_nested_str_weak(format),
+ /* K15 */ be_nested_str_weak(_X3Cfieldset_X3E_X3Clegend_X3E_X3Cb_X3E_X26nbsp_X3B_X23_X25i_X20_X25s_X3C_X2Fb_X3E_X20_X28_X25s_X29_X26nbsp_X3B_X3C_X2Flegend_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K16 */ be_nested_str_weak(get_fabric_index),
+ /* K17 */ be_nested_str_weak(get_admin_vendor_name),
+ /* K18 */ be_nested_str_weak(get_fabric_id),
+ /* K19 */ be_nested_str_weak(copy),
+ /* K20 */ be_nested_str_weak(reverse),
+ /* K21 */ be_nested_str_weak(get_device_id),
+ /* K22 */ be_nested_str_weak(Fabric_X3A_X20_X25s_X3Cbr_X3E),
+ /* K23 */ be_nested_str_weak(tohex),
+ /* K24 */ be_nested_str_weak(Device_X3A_X20_X25s_X3Cbr_X3E_X26nbsp_X3B),
+ /* K25 */ be_nested_str_weak(_X3Cform_X20action_X3D_X27_X2Fmatterc_X27_X20method_X3D_X27post_X27_X20onsubmit_X3D_X27return_X20confirm_X28_X22Are_X20you_X20sure_X3F_X22_X29_X3B_X27_X3E),
+ /* K26 */ be_nested_str_weak(_X3Cinput_X20name_X3D_X27del_fabric_X27_X20type_X3D_X27hidden_X27_X20value_X3D_X27_X25i_X27_X3E),
+ /* K27 */ be_nested_str_weak(_X3Cbutton_X20name_X3D_X27del_X27_X20class_X3D_X27button_X20bgrn_X27_X3EDelete_X20Fabric_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
+ /* K28 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
+ /* K29 */ be_nested_str_weak(stop_iteration),
}),
- be_str_weak(show_passcode_form),
+ be_str_weak(show_fabric_info),
&be_const_str_solidified,
- ( &(const binstruction[70]) { /* code */
+ ( &(const binstruction[101]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
0x8C0C0302, // 0002 GETMET R3 R1 K2
0x58140003, // 0003 LDCONST R5 K3
0x7C0C0400, // 0004 CALL R3 2
- 0x8C0C0302, // 0005 GETMET R3 R1 K2
- 0x58140004, // 0006 LDCONST R5 K4
- 0x7C0C0400, // 0007 CALL R3 2
- 0x880C0105, // 0008 GETMBR R3 R0 K5
- 0x880C0706, // 0009 GETMBR R3 R3 K6
- 0x4C100000, // 000A LDNIL R4
- 0x1C0C0604, // 000B EQ R3 R3 R4
- 0x780E0006, // 000C JMPF R3 #0014
- 0x8C0C0302, // 000D GETMET R3 R1 K2
- 0x8C140507, // 000E GETMET R5 R2 K7
- 0x581C0008, // 000F LDCONST R7 K8
- 0x58200009, // 0010 LDCONST R8 K9
- 0x7C140600, // 0011 CALL R5 3
- 0x7C0C0400, // 0012 CALL R3 2
- 0x70020005, // 0013 JMP #001A
- 0x8C0C0302, // 0014 GETMET R3 R1 K2
- 0x8C140507, // 0015 GETMET R5 R2 K7
- 0x581C000A, // 0016 LDCONST R7 K10
- 0x5820000B, // 0017 LDCONST R8 K11
- 0x7C140600, // 0018 CALL R5 3
- 0x7C0C0400, // 0019 CALL R3 2
- 0x8C0C0302, // 001A GETMET R3 R1 K2
- 0x5814000C, // 001B LDCONST R5 K12
- 0x7C0C0400, // 001C CALL R3 2
- 0x8C0C0302, // 001D GETMET R3 R1 K2
- 0x5814000D, // 001E LDCONST R5 K13
- 0x7C0C0400, // 001F CALL R3 2
- 0x8C0C0302, // 0020 GETMET R3 R1 K2
- 0x5814000E, // 0021 LDCONST R5 K14
- 0x7C0C0400, // 0022 CALL R3 2
- 0x8C0C0302, // 0023 GETMET R3 R1 K2
- 0x8C140507, // 0024 GETMET R5 R2 K7
- 0x581C000F, // 0025 LDCONST R7 K15
- 0x88200105, // 0026 GETMBR R8 R0 K5
- 0x88201110, // 0027 GETMBR R8 R8 K16
- 0x7C140600, // 0028 CALL R5 3
- 0x7C0C0400, // 0029 CALL R3 2
- 0x8C0C0302, // 002A GETMET R3 R1 K2
- 0x58140011, // 002B LDCONST R5 K17
- 0x7C0C0400, // 002C CALL R3 2
- 0x8C0C0302, // 002D GETMET R3 R1 K2
- 0x8C140507, // 002E GETMET R5 R2 K7
- 0x581C0012, // 002F LDCONST R7 K18
- 0x88200105, // 0030 GETMBR R8 R0 K5
- 0x88201113, // 0031 GETMBR R8 R8 K19
- 0x7C140600, // 0032 CALL R5 3
- 0x7C0C0400, // 0033 CALL R3 2
- 0x8C0C0302, // 0034 GETMET R3 R1 K2
- 0x8C140507, // 0035 GETMET R5 R2 K7
- 0x581C0014, // 0036 LDCONST R7 K20
- 0x88200105, // 0037 GETMBR R8 R0 K5
- 0x88201115, // 0038 GETMBR R8 R8 K21
- 0x78220001, // 0039 JMPF R8 #003C
- 0x58200016, // 003A LDCONST R8 K22
- 0x70020000, // 003B JMP #003D
- 0x58200017, // 003C LDCONST R8 K23
- 0x7C140600, // 003D CALL R5 3
- 0x7C0C0400, // 003E CALL R3 2
- 0x8C0C0302, // 003F GETMET R3 R1 K2
- 0x58140018, // 0040 LDCONST R5 K24
- 0x7C0C0400, // 0041 CALL R3 2
- 0x8C0C0302, // 0042 GETMET R3 R1 K2
- 0x58140019, // 0043 LDCONST R5 K25
- 0x7C0C0400, // 0044 CALL R3 2
- 0x80000000, // 0045 RET 0
+ 0x600C000C, // 0005 GETGBL R3 G12
+ 0x88100104, // 0006 GETMBR R4 R0 K4
+ 0x88100905, // 0007 GETMBR R4 R4 K5
+ 0x88100905, // 0008 GETMBR R4 R4 K5
+ 0x7C0C0200, // 0009 CALL R3 1
+ 0x1C0C0706, // 000A EQ R3 R3 K6
+ 0x780E0003, // 000B JMPF R3 #0010
+ 0x8C0C0302, // 000C GETMET R3 R1 K2
+ 0x58140007, // 000D LDCONST R5 K7
+ 0x7C0C0400, // 000E CALL R3 2
+ 0x70020050, // 000F JMP #0061
+ 0x500C0200, // 0010 LDBOOL R3 1 0
+ 0x60100010, // 0011 GETGBL R4 G16
+ 0x88140104, // 0012 GETMBR R5 R0 K4
+ 0x88140B05, // 0013 GETMBR R5 R5 K5
+ 0x88140B08, // 0014 GETMBR R5 R5 K8
+ 0x8C140B09, // 0015 GETMET R5 R5 K9
+ 0x7C140200, // 0016 CALL R5 1
+ 0x7C100200, // 0017 CALL R4 1
+ 0xA8020044, // 0018 EXBLK 0 #005E
+ 0x5C140800, // 0019 MOVE R5 R4
+ 0x7C140000, // 001A CALL R5 0
+ 0x5C180600, // 001B MOVE R6 R3
+ 0x741A0002, // 001C JMPT R6 #0020
+ 0x8C180302, // 001D GETMET R6 R1 K2
+ 0x5820000A, // 001E LDCONST R8 K10
+ 0x7C180400, // 001F CALL R6 2
+ 0x500C0000, // 0020 LDBOOL R3 0 0
+ 0x88180B0B, // 0021 GETMBR R6 R5 K11
+ 0x5C1C0C00, // 0022 MOVE R7 R6
+ 0x741E0000, // 0023 JMPT R7 #0025
+ 0x5818000C, // 0024 LDCONST R6 K12
+ 0x8C1C030D, // 0025 GETMET R7 R1 K13
+ 0x5C240C00, // 0026 MOVE R9 R6
+ 0x7C1C0400, // 0027 CALL R7 2
+ 0x5C180E00, // 0028 MOVE R6 R7
+ 0x8C1C0302, // 0029 GETMET R7 R1 K2
+ 0x8C24050E, // 002A GETMET R9 R2 K14
+ 0x582C000F, // 002B LDCONST R11 K15
+ 0x8C300B10, // 002C GETMET R12 R5 K16
+ 0x7C300200, // 002D CALL R12 1
+ 0x5C340C00, // 002E MOVE R13 R6
+ 0x8C380B11, // 002F GETMET R14 R5 K17
+ 0x7C380200, // 0030 CALL R14 1
+ 0x7C240A00, // 0031 CALL R9 5
+ 0x7C1C0400, // 0032 CALL R7 2
+ 0x8C1C0B12, // 0033 GETMET R7 R5 K18
+ 0x7C1C0200, // 0034 CALL R7 1
+ 0x8C1C0F13, // 0035 GETMET R7 R7 K19
+ 0x7C1C0200, // 0036 CALL R7 1
+ 0x8C1C0F14, // 0037 GETMET R7 R7 K20
+ 0x7C1C0200, // 0038 CALL R7 1
+ 0x8C200B15, // 0039 GETMET R8 R5 K21
+ 0x7C200200, // 003A CALL R8 1
+ 0x8C201113, // 003B GETMET R8 R8 K19
+ 0x7C200200, // 003C CALL R8 1
+ 0x8C201114, // 003D GETMET R8 R8 K20
+ 0x7C200200, // 003E CALL R8 1
+ 0x8C240302, // 003F GETMET R9 R1 K2
+ 0x8C2C050E, // 0040 GETMET R11 R2 K14
+ 0x58340016, // 0041 LDCONST R13 K22
+ 0x8C380F17, // 0042 GETMET R14 R7 K23
+ 0x7C380200, // 0043 CALL R14 1
+ 0x7C2C0600, // 0044 CALL R11 3
+ 0x7C240400, // 0045 CALL R9 2
+ 0x8C240302, // 0046 GETMET R9 R1 K2
+ 0x8C2C050E, // 0047 GETMET R11 R2 K14
+ 0x58340018, // 0048 LDCONST R13 K24
+ 0x8C381117, // 0049 GETMET R14 R8 K23
+ 0x7C380200, // 004A CALL R14 1
+ 0x7C2C0600, // 004B CALL R11 3
+ 0x7C240400, // 004C CALL R9 2
+ 0x8C240302, // 004D GETMET R9 R1 K2
+ 0x582C0019, // 004E LDCONST R11 K25
+ 0x7C240400, // 004F CALL R9 2
+ 0x8C240302, // 0050 GETMET R9 R1 K2
+ 0x8C2C050E, // 0051 GETMET R11 R2 K14
+ 0x5834001A, // 0052 LDCONST R13 K26
+ 0x8C380B10, // 0053 GETMET R14 R5 K16
+ 0x7C380200, // 0054 CALL R14 1
+ 0x7C2C0600, // 0055 CALL R11 3
+ 0x7C240400, // 0056 CALL R9 2
+ 0x8C240302, // 0057 GETMET R9 R1 K2
+ 0x582C001B, // 0058 LDCONST R11 K27
+ 0x7C240400, // 0059 CALL R9 2
+ 0x8C240302, // 005A GETMET R9 R1 K2
+ 0x582C001C, // 005B LDCONST R11 K28
+ 0x7C240400, // 005C CALL R9 2
+ 0x7001FFBA, // 005D JMP #0019
+ 0x5810001D, // 005E LDCONST R4 K29
+ 0xAC100200, // 005F CATCH R4 1 0
+ 0xB0080000, // 0060 RAISE 2 R0 R0
+ 0x8C0C0302, // 0061 GETMET R3 R1 K2
+ 0x5814001C, // 0062 LDCONST R5 K28
+ 0x7C0C0400, // 0063 CALL R3 2
+ 0x80000000, // 0064 RET 0
})
)
);
@@ -1844,11 +3025,11 @@ be_local_closure(Matter_UI_show_passcode_form, /* name */
/********************************************************************
-** Solidified function: show_bridge_status
+** Solidified function: page_part_mgr
********************************************************************/
-be_local_closure(Matter_UI_show_bridge_status, /* name */
+be_local_closure(Matter_UI_page_part_mgr, /* name */
be_nested_proto(
- 15, /* nstack */
+ 6, /* nstack */
1, /* argc */
2, /* varg */
0, /* has upvals */
@@ -1856,139 +3037,57 @@ be_local_closure(Matter_UI_show_bridge_status, /* name */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has constants */
- ( &(const bvalue[26]) { /* constants */
+ ( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
/* K1 */ be_nested_str_weak(string),
- /* K2 */ be_const_int(0),
- /* K3 */ be_nested_str_weak(device),
- /* K4 */ be_nested_str_weak(plugins),
- /* K5 */ be_nested_str_weak(matter),
- /* K6 */ be_nested_str_weak(Plugin_Bridge_HTTP),
- /* K7 */ be_nested_str_weak(http_remote),
- /* K8 */ be_nested_str_weak(addr),
- /* K9 */ be_nested_str_weak(contains),
- /* K10 */ be_nested_str_weak(push),
- /* K11 */ be_const_int(1),
- /* K12 */ be_nested_str_weak(content_send),
- /* K13 */ be_nested_str_weak(_X3Chr_X3E),
- /* K14 */ be_nested_str_weak(_X3Ctable_X20style_X3D_X27width_X3A100_X25_X27_X3E),
- /* K15 */ be_nested_str_weak(_STYLESHEET),
- /* K16 */ be_nested_str_weak(keys),
- /* K17 */ be_nested_str_weak(format),
- /* K18 */ be_nested_str_weak(_X3Ctr_X20class_X3D_X27ztdm_X20htrm_X27_X3E_X3Ctd_X3E_X3Cb_X3E_X25s_X3C_X2Fb_X3E_X3C_X2Ftd_X3E),
- /* K19 */ be_nested_str_weak(html_escape),
- /* K20 */ be_nested_str_weak(web_last_seen),
- /* K21 */ be_nested_str_weak(_X3Ctr_X20class_X3D_X27htrm_X27_X3E_X3Ctd_X20colspan_X3D_X272_X27_X3E),
- /* K22 */ be_nested_str_weak(web_values),
- /* K23 */ be_nested_str_weak(_X3C_X2Ftd_X3E_X3C_X2Ftr_X3E),
- /* K24 */ be_nested_str_weak(stop_iteration),
- /* K25 */ be_nested_str_weak(_X3C_X2Ftable_X3E_X3Chr_X3E),
+ /* K2 */ be_nested_str_weak(check_privileged_access),
+ /* K3 */ be_nested_str_weak(content_start),
+ /* K4 */ be_nested_str_weak(Matter),
+ /* K5 */ be_nested_str_weak(content_send_style),
+ /* K6 */ be_nested_str_weak(show_enable),
+ /* K7 */ be_nested_str_weak(matter_enabled),
+ /* K8 */ be_nested_str_weak(show_plugins_configuration),
+ /* K9 */ be_nested_str_weak(content_send),
+ /* K10 */ be_nested_str_weak(_X3Cdiv_X20style_X3D_X27display_X3A_X20block_X3B_X27_X3E_X3C_X2Fdiv_X3E),
+ /* K11 */ be_nested_str_weak(_X3Cp_X3E_X3C_X2Fp_X3E_X3Cform_X20id_X3D_X27butmat_X27_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20action_X3D_X27mattera_X27_X20method_X3D_X27get_X27_X3E_X3Cbutton_X20name_X3D_X27_X27_X3EAdvanced_X20Configuration_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E),
+ /* K12 */ be_nested_str_weak(content_button),
+ /* K13 */ be_nested_str_weak(BUTTON_CONFIGURATION),
+ /* K14 */ be_nested_str_weak(content_stop),
}),
- be_str_weak(show_bridge_status),
+ be_str_weak(page_part_mgr),
&be_const_str_solidified,
- ( &(const binstruction[102]) { /* code */
+ ( &(const binstruction[31]) { /* code */
0xA4060000, // 0000 IMPORT R1 K0
0xA40A0200, // 0001 IMPORT R2 K1
- 0x4C0C0000, // 0002 LDNIL R3
- 0x58100002, // 0003 LDCONST R4 K2
- 0x6014000C, // 0004 GETGBL R5 G12
- 0x88180103, // 0005 GETMBR R6 R0 K3
- 0x88180D04, // 0006 GETMBR R6 R6 K4
- 0x7C140200, // 0007 CALL R5 1
- 0x14140805, // 0008 LT R5 R4 R5
- 0x7816001D, // 0009 JMPF R5 #0028
- 0x88140103, // 000A GETMBR R5 R0 K3
- 0x88140B04, // 000B GETMBR R5 R5 K4
- 0x94140A04, // 000C GETIDX R5 R5 R4
- 0x6018000F, // 000D GETGBL R6 G15
- 0x5C1C0A00, // 000E MOVE R7 R5
- 0xB8220A00, // 000F GETNGBL R8 K5
- 0x88201106, // 0010 GETMBR R8 R8 K6
- 0x7C180400, // 0011 CALL R6 2
- 0x781A0012, // 0012 JMPF R6 #0026
- 0x4C180000, // 0013 LDNIL R6
- 0x1C180606, // 0014 EQ R6 R3 R6
- 0x781A0002, // 0015 JMPF R6 #0019
- 0x60180013, // 0016 GETGBL R6 G19
- 0x7C180000, // 0017 CALL R6 0
- 0x5C0C0C00, // 0018 MOVE R3 R6
- 0x88180B07, // 0019 GETMBR R6 R5 K7
- 0x88180D08, // 001A GETMBR R6 R6 K8
- 0x8C1C0709, // 001B GETMET R7 R3 K9
- 0x5C240C00, // 001C MOVE R9 R6
- 0x7C1C0400, // 001D CALL R7 2
- 0x741E0002, // 001E JMPT R7 #0022
- 0x601C0012, // 001F GETGBL R7 G18
- 0x7C1C0000, // 0020 CALL R7 0
- 0x980C0C07, // 0021 SETIDX R3 R6 R7
- 0x941C0606, // 0022 GETIDX R7 R3 R6
- 0x8C1C0F0A, // 0023 GETMET R7 R7 K10
- 0x5C240A00, // 0024 MOVE R9 R5
- 0x7C1C0400, // 0025 CALL R7 2
- 0x0010090B, // 0026 ADD R4 R4 K11
- 0x7001FFDB, // 0027 JMP #0004
- 0x4C140000, // 0028 LDNIL R5
- 0x1C140605, // 0029 EQ R5 R3 R5
- 0x78160000, // 002A JMPF R5 #002C
- 0x80000A00, // 002B RET 0
- 0x8C14030C, // 002C GETMET R5 R1 K12
- 0x581C000D, // 002D LDCONST R7 K13
- 0x7C140400, // 002E CALL R5 2
- 0x8C14030C, // 002F GETMET R5 R1 K12
- 0x581C000E, // 0030 LDCONST R7 K14
- 0x7C140400, // 0031 CALL R5 2
- 0x8C14030C, // 0032 GETMET R5 R1 K12
- 0xB81E0A00, // 0033 GETNGBL R7 K5
- 0x881C0F0F, // 0034 GETMBR R7 R7 K15
- 0x7C140400, // 0035 CALL R5 2
- 0x60140010, // 0036 GETGBL R5 G16
- 0x8C180710, // 0037 GETMET R6 R3 K16
- 0x7C180200, // 0038 CALL R6 1
- 0x7C140200, // 0039 CALL R5 1
- 0xA8020023, // 003A EXBLK 0 #005F
- 0x5C180A00, // 003B MOVE R6 R5
- 0x7C180000, // 003C CALL R6 0
- 0x8C1C030C, // 003D GETMET R7 R1 K12
- 0x8C240511, // 003E GETMET R9 R2 K17
- 0x582C0012, // 003F LDCONST R11 K18
- 0x8C300313, // 0040 GETMET R12 R1 K19
- 0x5C380C00, // 0041 MOVE R14 R6
- 0x7C300400, // 0042 CALL R12 2
- 0x7C240600, // 0043 CALL R9 3
- 0x7C1C0400, // 0044 CALL R7 2
- 0x941C0606, // 0045 GETIDX R7 R3 R6
- 0x941C0F02, // 0046 GETIDX R7 R7 K2
- 0x881C0F07, // 0047 GETMBR R7 R7 K7
- 0x8C20030C, // 0048 GETMET R8 R1 K12
- 0x8C280F14, // 0049 GETMET R10 R7 K20
- 0x7C280200, // 004A CALL R10 1
- 0x7C200400, // 004B CALL R8 2
- 0x60200010, // 004C GETGBL R8 G16
- 0x94240606, // 004D GETIDX R9 R3 R6
- 0x7C200200, // 004E CALL R8 1
- 0xA802000A, // 004F EXBLK 0 #005B
- 0x5C241000, // 0050 MOVE R9 R8
- 0x7C240000, // 0051 CALL R9 0
- 0x8C28030C, // 0052 GETMET R10 R1 K12
- 0x58300015, // 0053 LDCONST R12 K21
- 0x7C280400, // 0054 CALL R10 2
- 0x8C281316, // 0055 GETMET R10 R9 K22
- 0x7C280200, // 0056 CALL R10 1
- 0x8C28030C, // 0057 GETMET R10 R1 K12
- 0x58300017, // 0058 LDCONST R12 K23
- 0x7C280400, // 0059 CALL R10 2
- 0x7001FFF4, // 005A JMP #0050
- 0x58200018, // 005B LDCONST R8 K24
- 0xAC200200, // 005C CATCH R8 1 0
- 0xB0080000, // 005D RAISE 2 R0 R0
- 0x7001FFDB, // 005E JMP #003B
- 0x58140018, // 005F LDCONST R5 K24
- 0xAC140200, // 0060 CATCH R5 1 0
- 0xB0080000, // 0061 RAISE 2 R0 R0
- 0x8C14030C, // 0062 GETMET R5 R1 K12
- 0x581C0019, // 0063 LDCONST R7 K25
- 0x7C140400, // 0064 CALL R5 2
- 0x80000000, // 0065 RET 0
+ 0x8C0C0302, // 0002 GETMET R3 R1 K2
+ 0x7C0C0200, // 0003 CALL R3 1
+ 0x740E0001, // 0004 JMPT R3 #0007
+ 0x4C0C0000, // 0005 LDNIL R3
+ 0x80040600, // 0006 RET 1 R3
+ 0x8C0C0303, // 0007 GETMET R3 R1 K3
+ 0x58140004, // 0008 LDCONST R5 K4
+ 0x7C0C0400, // 0009 CALL R3 2
+ 0x8C0C0305, // 000A GETMET R3 R1 K5
+ 0x7C0C0200, // 000B CALL R3 1
+ 0x8C0C0106, // 000C GETMET R3 R0 K6
+ 0x7C0C0200, // 000D CALL R3 1
+ 0x8C0C0107, // 000E GETMET R3 R0 K7
+ 0x7C0C0200, // 000F CALL R3 1
+ 0x780E0001, // 0010 JMPF R3 #0013
+ 0x8C0C0108, // 0011 GETMET R3 R0 K8
+ 0x7C0C0200, // 0012 CALL R3 1
+ 0x8C0C0309, // 0013 GETMET R3 R1 K9
+ 0x5814000A, // 0014 LDCONST R5 K10
+ 0x7C0C0400, // 0015 CALL R3 2
+ 0x8C0C0309, // 0016 GETMET R3 R1 K9
+ 0x5814000B, // 0017 LDCONST R5 K11
+ 0x7C0C0400, // 0018 CALL R3 2
+ 0x8C0C030C, // 0019 GETMET R3 R1 K12
+ 0x8814030D, // 001A GETMBR R5 R1 K13
+ 0x7C0C0400, // 001B CALL R3 2
+ 0x8C0C030E, // 001C GETMET R3 R1 K14
+ 0x7C0C0200, // 001D CALL R3 1
+ 0x80000000, // 001E RET 0
})
)
);
@@ -2001,26 +3100,33 @@ be_local_closure(Matter_UI_show_bridge_status, /* name */
be_local_class(Matter_UI,
1,
NULL,
- be_nested_map(18,
+ be_nested_map(25,
( (struct bmapnode*) &(const bmapnode[]) {
- { be_const_key_weak(show_bridge_status, -1), be_const_closure(Matter_UI_show_bridge_status_closure) },
- { be_const_key_weak(show_commissioning_info, -1), be_const_closure(Matter_UI_show_commissioning_info_closure) },
- { be_const_key_weak(show_passcode_form, 11), be_const_closure(Matter_UI_show_passcode_form_closure) },
- { be_const_key_weak(device, -1), be_const_var(0) },
- { be_const_key_weak(web_get_arg, -1), be_const_closure(Matter_UI_web_get_arg_closure) },
- { be_const_key_weak(show_qrcode, 4), be_const_closure(Matter_UI_show_qrcode_closure) },
- { be_const_key_weak(show_plugins_configuration, -1), be_const_closure(Matter_UI_show_plugins_configuration_closure) },
- { be_const_key_weak(_CLASSES_TYPES, -1), be_nested_str_weak(_X7Crelay_X7Clight0_X7Clight1_X7Clight2_X7Clight3_X7Cshutter_X7Cshutter_X2Btilt_X7Ctemperature_X7Cpressure_X7Cilluminance_X7Chumidity_X7Coccupancy_X7Conoff) },
- { be_const_key_weak(web_sensor, -1), be_const_closure(Matter_UI_web_sensor_closure) },
{ be_const_key_weak(web_add_config_button, -1), be_const_closure(Matter_UI_web_add_config_button_closure) },
- { be_const_key_weak(_CLASSES_TYPES2, 7), be_nested_str_weak(_X2Dhttp_X7Chttp_relay_X7Chttp_light0_X7Chttp_light1_X7Chttp_light2_X7Chttp_light3_X7Chttp_temperature_X7Chttp_pressure_X7Chttp_illuminance_X7Chttp_humidity_X7Chttp_occupancy) },
+ { be_const_key_weak(page_part_mgr, -1), be_const_closure(Matter_UI_page_part_mgr_closure) },
+ { be_const_key_weak(page_part_mgr_adv, -1), be_const_closure(Matter_UI_page_part_mgr_adv_closure) },
+ { be_const_key_weak(show_bridge_status, -1), be_const_closure(Matter_UI_show_bridge_status_closure) },
{ be_const_key_weak(plugin_option, -1), be_const_closure(Matter_UI_plugin_option_closure) },
+ { be_const_key_weak(init, 8), be_const_closure(Matter_UI_init_closure) },
+ { be_const_key_weak(page_part_ctl, 7), be_const_closure(Matter_UI_page_part_ctl_closure) },
+ { be_const_key_weak(show_fabric_info, 9), be_const_closure(Matter_UI_show_fabric_info_closure) },
+ { be_const_key_weak(web_get_arg, -1), be_const_closure(Matter_UI_web_get_arg_closure) },
+ { be_const_key_weak(equal_map, -1), be_const_static_closure(Matter_UI_equal_map_closure) },
+ { be_const_key_weak(page_part_mgr_add, -1), be_const_closure(Matter_UI_page_part_mgr_add_closure) },
+ { be_const_key_weak(device, -1), be_const_var(0) },
+ { be_const_key_weak(web_add_handler, 21), be_const_closure(Matter_UI_web_add_handler_closure) },
+ { be_const_key_weak(matter_enabled, -1), be_const_closure(Matter_UI_matter_enabled_closure) },
{ be_const_key_weak(show_enable, -1), be_const_closure(Matter_UI_show_enable_closure) },
- { be_const_key_weak(show_fabric_info, -1), be_const_closure(Matter_UI_show_fabric_info_closure) },
- { be_const_key_weak(web_add_handler, -1), be_const_closure(Matter_UI_web_add_handler_closure) },
- { be_const_key_weak(init, 3), be_const_closure(Matter_UI_init_closure) },
- { be_const_key_weak(page_part_ctl, 2), be_const_closure(Matter_UI_page_part_ctl_closure) },
- { be_const_key_weak(page_part_mgr, 0), be_const_closure(Matter_UI_page_part_mgr_closure) },
+ { be_const_key_weak(show_commissioning_info, -1), be_const_closure(Matter_UI_show_commissioning_info_closure) },
+ { be_const_key_weak(_CLASSES_TYPES2, 18), be_nested_str_weak(_X7Chttp_relay_X7Chttp_light0_X7Chttp_light1_X7Chttp_light2_X7Chttp_light3_X7Chttp_temperature_X7Chttp_pressure_X7Chttp_illuminance_X7Chttp_humidity_X7Chttp_occupancy) },
+ { be_const_key_weak(show_remote_autoconf, 13), be_const_closure(Matter_UI_show_remote_autoconf_closure) },
+ { be_const_key_weak(show_plugins_configuration, 23), be_const_closure(Matter_UI_show_plugins_configuration_closure) },
+ { be_const_key_weak(show_passcode_form, 16), be_const_closure(Matter_UI_show_passcode_form_closure) },
+ { be_const_key_weak(_CLASSES_TYPES, -1), be_nested_str_weak(_X7Crelay_X7Clight0_X7Clight1_X7Clight2_X7Clight3_X7Cshutter_X7Cshutter_X2Btilt_X7Ctemperature_X7Cpressure_X7Cilluminance_X7Chumidity_X7Coccupancy_X7Conoff) },
+ { be_const_key_weak(plugin_name, -1), be_const_closure(Matter_UI_plugin_name_closure) },
+ { be_const_key_weak(web_sensor, -1), be_const_closure(Matter_UI_web_sensor_closure) },
+ { be_const_key_weak(show_qrcode, -1), be_const_closure(Matter_UI_show_qrcode_closure) },
+ { be_const_key_weak(generate_config_from_status, 1), be_const_closure(Matter_UI_generate_config_from_status_closure) },
})),
be_str_weak(Matter_UI)
);