Berry change internal storage of parent class for methods (#21490)

* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
This commit is contained in:
s-hadinger 2024-05-24 22:32:37 +02:00 committed by GitHub
parent 3e0b70af10
commit 0d3e888147
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
132 changed files with 5896 additions and 5744 deletions

View File

@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file.
- GPIOViewer from v1.5.2 to v1.5.3 (No functional change)
- ESP32 I2S audio improvements (#21433)
- Support W5500 SPI ethernet using four SPI GPIOs only without IRQ and RESET
- Berry change internal storage of parent class for methods
### Fixed
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)

View File

@ -396,7 +396,7 @@ bbool be_module_setmember(bvm *vm, bmodule *module, bstring *attr, bvalue *src)
return bfalse;
}
const char* be_module_name(bmodule *module)
const char* be_module_name(const bmodule *module)
{
if (gc_isconst(module)) {
return module->info.name;

View File

@ -37,7 +37,7 @@ int be_module_load(bvm *vm, bstring *path);
void be_cache_module(bvm *vm, bstring *name);
int be_module_attr(bvm *vm, bmodule *module, bstring *attr, bvalue *dst);
bbool be_module_setmember(bvm *vm, bmodule *module, bstring *attr, bvalue *src);
const char* be_module_name(bmodule *module);
const char* be_module_name(const bmodule *module);
bbool be_module_setname(bmodule *module, bstring *name);
#endif

View File

@ -32,15 +32,11 @@
#define BE_MODULE 22
#define BE_COMOBJ 23 /* common object */
#define BE_NTVFUNC ((0 << 5) | BE_FUNCTION)
#define BE_CLOSURE ((1 << 5) | BE_FUNCTION)
#define BE_NTVCLOS ((2 << 5) | BE_FUNCTION)
#define BE_CTYPE_FUNC ((3 << 5) | BE_FUNCTION)
#define BE_STATIC (1 << 7)
#define func_isstatic(o) (((o)->type & BE_STATIC) != 0)
#define func_setstatic(o) ((o)->type |= BE_STATIC)
#define func_clearstatic(o) ((o)->type &= ~BE_STATIC)
#define BE_NTVFUNC ((0 << 5) | BE_FUNCTION) /* 6 */
#define BE_CLOSURE ((1 << 5) | BE_FUNCTION) /* 38 */
#define BE_NTVCLOS ((2 << 5) | BE_FUNCTION) /* 70 */
#define BE_CTYPE_FUNC ((3 << 5) | BE_FUNCTION) /* 102 */
#define BE_STATIC (1 << 7) /* 128 */
/* values for bproto.varg */
#define BE_VA_VARARG (1 << 0) /* function has variable number of arguments */

View File

@ -311,7 +311,7 @@ static void setupvals(bfuncinfo *finfo)
}
/* Function is complete, finalize bproto */
static void end_func(bparser *parser)
static void end_func(bparser *parser, bclass *c)
{
bvm *vm = parser->vm;
bfuncinfo *finfo = parser->finfo;
@ -324,8 +324,14 @@ static void end_func(bparser *parser)
proto->codesize = finfo->pc;
proto->ktab = be_vector_release(vm, &finfo->kvec);
proto->nconst = be_vector_count(&finfo->kvec);
proto->ptab = be_vector_release(vm, &finfo->pvec);
/* special case here */
proto->nproto = be_vector_count(&finfo->pvec);
if (proto->nproto == 0) {
proto->ptab = (void*) c;
} else {
be_vector_push_c(vm, &finfo->pvec, (void*) &c);
proto->ptab = be_vector_release(vm, &finfo->pvec);
}
#if BE_USE_MEM_ALIGNED
proto->code = be_move_to_aligned(vm, proto->code, proto->codesize * sizeof(binstruction)); /* move `code` to 4-bytes aligned memory region */
proto->ktab = be_move_to_aligned(vm, proto->ktab, proto->nconst * sizeof(bvalue)); /* move `ktab` to 4-bytes aligned memory region */
@ -638,7 +644,7 @@ static bproto* funcbody(bparser *parser, bstring *name, bclass *c, int type)
finfo.proto->varg |= BE_VA_STATICMETHOD;
}
stmtlist(parser); /* parse statement without final `end` */
end_func(parser); /* close function context */
end_func(parser, c); /* close function context */
match_token(parser, KeyEnd); /* skip 'end' */
return finfo.proto; /* return fully constructed `bproto` */
}
@ -694,7 +700,7 @@ static void lambda_expr(bparser *parser, bexpdesc *e)
expr(parser, &e1);
check_var(parser, &e1);
be_code_ret(parser->finfo, &e1);
end_func(parser);
end_func(parser, NULL);
init_exp(e, ETPROTO, be_code_proto(parser->finfo, finfo.proto));
be_stackpop(parser->vm, 1);
}
@ -1810,7 +1816,7 @@ static void mainfunc(bparser *parser, bclosure *cl)
cl->proto = finfo.proto;
be_remove(parser->vm, -3); /* pop proto from stack */
stmtlist(parser);
end_func(parser);
end_func(parser, NULL);
match_token(parser, TokenEOS); /* skip EOS */
}

View File

@ -112,9 +112,25 @@ static void toidentifier(char *to, const char *p)
*to = 0; // final NULL
}
static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const char *classname, const char *key, void* fout);
/* return the parent class of a function, encoded in ptab, or NULL if none */
static const bclass *m_solidify_get_parentclass(const bproto *pr)
{
const bclass *cla;
if (pr->nproto > 0) {
cla = (const bclass*) pr->ptab[pr->nproto];
} else {
cla = (const bclass*) pr->ptab;
}
if (cla && var_basetype(cla) == BE_CLASS) {
return cla;
} else {
return NULL;
}
}
static void m_solidify_map(bvm *vm, bbool str_literal, bmap * map, const char *class_name, void* fout)
static void m_solidify_bvalue(bvm *vm, bbool str_literal, const bvalue * value, const char *prefixname, const char *key, void* fout);
static void m_solidify_map(bvm *vm, bbool str_literal, const bmap * map, const char *prefixname, void* fout)
{
// compact first
be_map_compact(vm, map);
@ -142,14 +158,14 @@ static void m_solidify_map(bvm *vm, bbool str_literal, bmap * map, const char *c
} else {
logfmt(" { be_const_key_weak(%s, %i), ", id_buf, key_next);
}
m_solidify_bvalue(vm, str_literal, &node->value, class_name, str(node->key.v.s), fout);
m_solidify_bvalue(vm, str_literal, &node->value, prefixname, str(node->key.v.s), fout);
} else if (node->key.type == BE_INT) {
#if BE_INTGER_TYPE == 2
logfmt(" { be_const_key_int(%lli, %i), ", node->key.v.i, key_next);
#else
logfmt(" { be_const_key_int(%i, %i), ", node->key.v.i, key_next);
#endif
m_solidify_bvalue(vm, str_literal, &node->value, class_name, NULL, fout);
m_solidify_bvalue(vm, str_literal, &node->value, prefixname, NULL, fout);
} else {
char error[64];
snprintf(error, sizeof(error), "Unsupported type in key: %i", node->key.type);
@ -162,21 +178,21 @@ static void m_solidify_map(bvm *vm, bbool str_literal, bmap * map, const char *c
}
static void m_solidify_list(bvm *vm, bbool str_literal, blist * list, const char *class_name, void* fout)
static void m_solidify_list(bvm *vm, bbool str_literal, const blist * list, const char *prefixname, void* fout)
{
logfmt(" be_nested_list(%i,\n", list->count);
logfmt(" ( (struct bvalue*) &(const bvalue[]) {\n");
for (int i = 0; i < list->count; i++) {
logfmt(" ");
m_solidify_bvalue(vm, str_literal, &list->data[i], class_name, "", fout);
m_solidify_bvalue(vm, str_literal, &list->data[i], prefixname, "", fout);
logfmt(",\n");
}
logfmt(" }))"); // TODO need terminal comma?
}
// pass key name in case of class, or NULL if none
static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const char *classname, const char *key, void* fout)
static void m_solidify_bvalue(bvm *vm, bbool str_literal, const bvalue * value, const char *prefixname, const char *key, void* fout)
{
int type = var_primetype(value);
switch (type) {
@ -238,13 +254,20 @@ static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const
break;
case BE_CLOSURE:
{
const char * func_name = str(((bclosure*) var_toobj(value))->proto->name);
bclosure *clo = (bclosure*) var_toobj(value);
const char * func_name = str(clo->proto->name);
size_t id_len = toidentifier_length(func_name);
char func_name_id[id_len];
toidentifier(func_name_id, func_name);
logfmt("be_const_%sclosure(%s%s%s_closure)",
/* get parent class name if any */
const bclass *parentclass = m_solidify_get_parentclass(clo->proto);
const char *parentclass_name = parentclass ? str(parentclass->name) : NULL;
const char *actualprefix = parentclass_name ? parentclass_name : prefixname;
logfmt("be_const_%sclosure(%s%s%s%s_closure)",
var_isstatic(value) ? "static_" : "",
classname ? classname : "", classname ? "_" : "",
parentclass_name ? "class_" : "",
actualprefix ? actualprefix : "", actualprefix ? "_" : "",
func_name_id);
}
break;
@ -252,12 +275,12 @@ static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const
logfmt("be_const_class(be_class_%s)", str(((bclass*) var_toobj(value))->name));
break;
case BE_COMPTR:
logfmt("be_const_comptr(&be_ntv_%s_%s)", classname ? classname : "unknown", key ? key : "unknown");
logfmt("be_const_comptr(&be_ntv_%s_%s)", prefixname ? prefixname : "unknown", key ? key : "unknown");
break;
case BE_NTVFUNC:
logfmt("be_const_%sfunc(be_ntv_%s_%s)",
var_isstatic(value) ? "static_" : "",
classname ? classname : "unknown", key ? key : "unknown");
prefixname ? prefixname : "unknown", key ? key : "unknown");
break;
case BE_INSTANCE:
{
@ -277,16 +300,16 @@ static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const
} else {
logfmt(" be_const_list( * ");
}
m_solidify_bvalue(vm, str_literal, &ins->members[0], classname, key, fout);
m_solidify_bvalue(vm, str_literal, &ins->members[0], prefixname, key, fout);
logfmt(" ) } ))");
}
}
break;
case BE_MAP:
m_solidify_map(vm, str_literal, (bmap *) var_toobj(value), classname, fout);
m_solidify_map(vm, str_literal, (bmap *) var_toobj(value), prefixname, fout);
break;
case BE_LIST:
m_solidify_list(vm, str_literal, (blist *) var_toobj(value), classname, fout);
m_solidify_list(vm, str_literal, (blist *) var_toobj(value), prefixname, fout);
break;
default:
{
@ -297,10 +320,10 @@ static void m_solidify_bvalue(bvm *vm, bbool str_literal, bvalue * value, const
}
}
static void m_solidify_subclass(bvm *vm, bbool str_literal, bclass *cl, void* fout);
static void m_solidify_subclass(bvm *vm, bbool str_literal, const bclass *cl, void* fout);
/* solidify any inner class */
static void m_solidify_proto_inner_class(bvm *vm, bbool str_literal, bproto *pr, void* fout)
static void m_solidify_proto_inner_class(bvm *vm, bbool str_literal, const bproto *pr, void* fout)
{
// parse any class in constants to output it first
if (pr->nconst > 0) {
@ -317,11 +340,11 @@ static void m_solidify_proto_inner_class(bvm *vm, bbool str_literal, bproto *pr,
}
}
static void m_solidify_proto(bvm *vm, bbool str_literal, bproto *pr, const char * func_name, int indent, void* fout)
static void m_solidify_proto(bvm *vm, bbool str_literal, const bproto *pr, const char * func_name, const char *prefixname, int indent, void* fout)
{
// const char * func_name = str(pr->name);
// const char * func_source = str(pr->source);
/* get parent class name if any */
const bclass *parentclass = m_solidify_get_parentclass(pr);
const char *parentclass_name = parentclass ? str(parentclass->name) : NULL;
logfmt("%*sbe_nested_proto(\n", indent, "");
indent += 2;
@ -343,18 +366,28 @@ static void m_solidify_proto(bvm *vm, bbool str_literal, bproto *pr, const char
logfmt("%*s%d, /* has sup protos */\n", indent, "", (pr->nproto > 0) ? 1 : 0);
if (pr->nproto > 0) {
logfmt("%*s( &(const struct bproto*[%2d]) {\n", indent, "", pr->nproto);
// if pr->nproto is not zero, we add a last value that is either NULL or the parent class
logfmt("%*s( &(const struct bproto*[%2d]) {\n", indent, "", pr->nproto + 1); /* one more slot */
for (int32_t i = 0; i < pr->nproto; i++) {
size_t sub_len = strlen(func_name) + 10;
char sub_name[sub_len];
snprintf(sub_name, sizeof(sub_name), "%s_%"PRId32, func_name, i);
m_solidify_proto(vm, str_literal, pr->ptab[i], sub_name, indent+2, fout);
m_solidify_proto(vm, str_literal, pr->ptab[i], sub_name, NULL, indent+2, fout);
logfmt(",\n");
}
if (parentclass_name) {
logfmt("%*s&be_class_%s, \n", indent, "", parentclass_name);
} else {
logfmt("%*sNULL, \n", indent, "");
}
logfmt("%*s}),\n", indent, "");
} else {
logfmt("%*sNULL, /* no sub protos */\n", indent, "");
}
if (parentclass_name) {
logfmt("%*s&be_class_%s, \n", indent, "", parentclass_name);
} else {
logfmt("%*sNULL, \n", indent, "");
}
}
logfmt("%*s%d, /* has constants */\n", indent, "", (pr->nconst > 0) ? 1 : 0);
if (pr->nconst > 0) {
@ -404,12 +437,28 @@ static void m_solidify_proto(bvm *vm, bbool str_literal, bproto *pr, const char
}
static void m_solidify_closure(bvm *vm, bbool str_literal, bclosure *cl, const char * classname, void* fout)
static void m_solidify_closure(bvm *vm, bbool str_literal, const bclosure *clo, const char * prefixname, void* fout)
{
bproto *pr = cl->proto;
bproto *pr = clo->proto;
const char * func_name = str(pr->name);
if (cl->nupvals > 0) {
/* get parent class name if any */
const bclass *parentclass = m_solidify_get_parentclass(pr);
const char *parentclass_name = parentclass ? str(parentclass->name) : NULL;
if (parentclass_name) {
/* check that the class name is the same as the prefix */
/* meaning that we are solidifying a method from its own class */
/* if they don't match, then the method is borrowed to another class and we don't export it */
char parentclass_prefix[strlen(parentclass_name) + 10];
snprintf(parentclass_prefix, sizeof(parentclass_prefix), "class_%s", parentclass_name);
if (strcmp(parentclass_prefix, prefixname) != 0) {
logfmt("//--> Borrowed method from another class parentclass='%s' prefix='%s'<---\n", parentclass_prefix, prefixname);
logfmt("extern bclosure *%s_%s;\n", parentclass_prefix, func_name);
return;
}
}
if (clo->nupvals > 0) {
logfmt("--> Unsupported upvals in closure <---");
// be_raise(vm, "internal_error", "Unsupported upvals in closure");
}
@ -423,16 +472,21 @@ static void m_solidify_closure(bvm *vm, bbool str_literal, bclosure *cl, const c
logfmt("** Solidified function: %s\n", func_name);
logfmt("********************************************************************/\n");
if (parentclass_name) {
/* declare exten so we can have a pointer */
logfmt("extern const bclass be_class_%s;\n", parentclass_name);
}
{
size_t id_len = toidentifier_length(func_name);
char func_name_id[id_len];
toidentifier(func_name_id, func_name);
logfmt("be_local_closure(%s%s%s, /* name */\n",
classname ? classname : "", classname ? "_" : "",
prefixname ? prefixname : "", prefixname ? "_" : "",
func_name_id);
}
m_solidify_proto(vm, str_literal, pr, func_name, indent, fout);
m_solidify_proto(vm, str_literal, pr, func_name, prefixname, indent, fout);
logfmt("\n");
// closure
@ -440,21 +494,22 @@ static void m_solidify_closure(bvm *vm, bbool str_literal, bclosure *cl, const c
logfmt("/*******************************************************************/\n\n");
}
static void m_solidify_subclass(bvm *vm, bbool str_literal, bclass *cl, void* fout)
static void m_solidify_subclass(bvm *vm, bbool str_literal, const bclass *cla, void* fout)
{
const char * class_name = str(cl->name);
const char * classname = str(cla->name);
char prefixname[strlen(classname) + 10];
snprintf(prefixname, sizeof(prefixname), "class_%s", classname);
/* pre-declare class to support '_class' implicit variable */
logfmt("\nextern const bclass be_class_%s;\n", class_name);
logfmt("\nextern const bclass be_class_%s;\n", classname);
/* iterate on members to dump closures */
if (cl->members) {
if (cla->members) {
bmapnode *node;
bmapiter iter = be_map_iter();
while ((node = be_map_next(cl->members, &iter)) != NULL) {
while ((node = be_map_next(cla->members, &iter)) != NULL) {
if (var_isstr(&node->key) && var_isclosure(&node->value)) {
bclosure *f = var_toobj(&node->value);
m_solidify_closure(vm, str_literal, f, class_name, fout);
m_solidify_closure(vm, str_literal, f, prefixname, fout);
}
}
}
@ -462,57 +517,50 @@ static void m_solidify_subclass(bvm *vm, bbool str_literal, bclass *cl, void* fo
logfmt("\n");
logfmt("/********************************************************************\n");
logfmt("** Solidified class: %s\n", class_name);
logfmt("** Solidified class: %s\n", classname);
logfmt("********************************************************************/\n");
if (cl->super) {
logfmt("extern const bclass be_class_%s;\n", str(cl->super->name));
if (cla->super) {
logfmt("extern const bclass be_class_%s;\n", str(cla->super->name));
}
logfmt("be_local_class(%s,\n", class_name);
logfmt(" %i,\n", cl->nvar);
if (cl->super) {
logfmt(" &be_class_%s,\n", str(cl->super->name));
logfmt("be_local_class(%s,\n", classname);
logfmt(" %i,\n", cla->nvar);
if (cla->super) {
logfmt(" &be_class_%s,\n", str(cla->super->name));
} else {
logfmt(" NULL,\n");
}
if (cl->members) {
m_solidify_map(vm, str_literal, cl->members, class_name, fout);
if (cla->members) {
m_solidify_map(vm, str_literal, cla->members, prefixname, fout);
logfmt(",\n");
} else {
logfmt(" NULL,\n");
}
size_t id_len = toidentifier_length(class_name);
size_t id_len = toidentifier_length(classname);
char id_buf[id_len];
toidentifier(id_buf, class_name);
toidentifier(id_buf, classname);
if (!str_literal) {
logfmt(" (bstring*) &be_const_str_%s\n", id_buf);
} else {
logfmt(" be_str_weak(%s)\n", id_buf);
}
logfmt(");\n");
}
static void m_solidify_class(bvm *vm, bbool str_literal, bclass *cl, void* fout)
static void m_solidify_class(bvm *vm, bbool str_literal, const bclass *cl, void* fout)
{
const char * class_name = str(cl->name);
m_solidify_subclass(vm, str_literal, cl, fout);
logfmt("/*******************************************************************/\n\n");
logfmt("void be_load_%s_class(bvm *vm) {\n", class_name);
logfmt(" be_pushntvclass(vm, &be_class_%s);\n", class_name);
logfmt(" be_setglobal(vm, \"%s\");\n", class_name);
logfmt(" be_pop(vm, 1);\n");
logfmt("}\n");
}
static void m_solidify_module(bvm *vm, bbool str_literal, bmodule *ml, void* fout)
static void m_solidify_module(bvm *vm, bbool str_literal, const bmodule *ml, void* fout)
{
const char * module_name = be_module_name(ml);
if (!module_name) { module_name = ""; }
const char * modulename = be_module_name(ml);
if (!modulename) { modulename = ""; }
// char prefixname[strlen(modulename) + 10];
// snprintf(prefixname, sizeof(prefixname), "module_%s", modulename);
/* iterate on members to dump closures and classes */
if (ml->table) {
@ -521,7 +569,7 @@ static void m_solidify_module(bvm *vm, bbool str_literal, bmodule *ml, void* fou
while ((node = be_map_next(ml->table, &iter)) != NULL) {
if (var_isstr(&node->key) && var_isclosure(&node->value)) {
bclosure *f = var_toobj(&node->value);
m_solidify_closure(vm, str_literal, f, module_name, fout);
m_solidify_closure(vm, str_literal, f, NULL, fout);
}
if (var_isstr(&node->key) && var_isclass(&node->value)) {
bclass *cl = var_toobj(&node->value);
@ -533,20 +581,20 @@ static void m_solidify_module(bvm *vm, bbool str_literal, bmodule *ml, void* fou
logfmt("\n");
logfmt("/********************************************************************\n");
logfmt("** Solidified module: %s\n", module_name);
logfmt("** Solidified module: %s\n", modulename);
logfmt("********************************************************************/\n");
logfmt("be_local_module(%s,\n", module_name);
logfmt(" \"%s\",\n", module_name);
logfmt("be_local_module(%s,\n", modulename);
logfmt(" \"%s\",\n", modulename);
if (ml->table) {
m_solidify_map(vm, str_literal, ml->table, module_name, fout);
m_solidify_map(vm, str_literal, ml->table, NULL, fout);
logfmt("\n");
} else {
logfmt(" NULL,\n");
}
logfmt(");\n");
logfmt("BE_EXPORT_VARIABLE be_define_const_native_module(%s);\n", module_name);
logfmt("BE_EXPORT_VARIABLE be_define_const_native_module(%s);\n", modulename);
logfmt("/********************************************************************/\n");
}
@ -568,12 +616,12 @@ static int m_dump(bvm *vm)
}
be_pop(vm, 1);
}
const char *classname = NULL; /* allow to specify an explicit prefix */
const char *prefixname = NULL; /* allow to specify an explicit prefix */
if (top >= 4 && be_isstring(vm, 4)) {
classname = be_tostring(vm, 4);
prefixname = be_tostring(vm, 4);
}
if (var_isclosure(v)) {
m_solidify_closure(vm, str_literal, var_toobj(v), classname, fout);
m_solidify_closure(vm, str_literal, var_toobj(v), prefixname, fout);
} else if (var_isclass(v)) {
m_solidify_class(vm, str_literal, var_toobj(v), fout);
} else if (var_ismodule(v)) {

View File

@ -80,6 +80,11 @@ def parse_file(fname, prefix_out)
o = o.(subname)
cl_name = obj_name
obj_name = subname
if (type(o) == 'class')
obj_name = 'class_' + obj_name
elif (type(o) == 'module')
obj_name = 'module_' + obj_name
end
end
solidify.dump(o, weak, fout, cl_name)
end

View File

@ -21,11 +21,11 @@ BE_EXPORT_VARIABLE extern const bclass be_class_bytes;
class be_class_Leds_frame (scope: global, name: Leds_frame, super:be_class_bytes, strings: weak) {
pixel_size, var
init, closure(Leds_frame_be_init_closure)
init, closure(class_Leds_frame_be_init_closure)
item, closure(Leds_frame_be_item_closure)
setitem, closure(Leds_frame_be_setitem_closure)
set_pixel, closure(Leds_frame_be_set_pixel_closure)
item, closure(class_Leds_frame_be_item_closure)
setitem, closure(class_Leds_frame_be_setitem_closure)
set_pixel, closure(class_Leds_frame_be_set_pixel_closure)
// the following are on buffers
blend, static_func(be_leds_blend)

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Animate_core;
/********************************************************************
** Solidified function: clear
********************************************************************/
be_local_closure(Animate_core_clear, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_clear, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Animate_core_clear, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(stop),
@ -42,7 +43,8 @@ be_local_closure(Animate_core_clear, /* name */
/********************************************************************
** Solidified function: set_strip_bri
********************************************************************/
be_local_closure(Animate_core_set_strip_bri, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_set_strip_bri, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -50,7 +52,7 @@ be_local_closure(Animate_core_set_strip_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(strip),
@ -84,7 +86,8 @@ be_local_closure(Animate_core_set_strip_bri, /* name */
/********************************************************************
** Solidified function: remove_painter
********************************************************************/
be_local_closure(Animate_core_remove_painter, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_remove_painter, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -92,7 +95,7 @@ be_local_closure(Animate_core_remove_painter, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(painters),
@ -125,7 +128,8 @@ be_local_closure(Animate_core_remove_painter, /* name */
/********************************************************************
** Solidified function: stop
********************************************************************/
be_local_closure(Animate_core_stop, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_stop, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -133,7 +137,7 @@ be_local_closure(Animate_core_stop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(running),
@ -176,7 +180,8 @@ be_local_closure(Animate_core_stop, /* name */
/********************************************************************
** Solidified function: get_bri
********************************************************************/
be_local_closure(Animate_core_get_bri, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_get_bri, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -184,7 +189,7 @@ be_local_closure(Animate_core_get_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(bri),
@ -203,7 +208,8 @@ be_local_closure(Animate_core_get_bri, /* name */
/********************************************************************
** Solidified function: set_bri
********************************************************************/
be_local_closure(Animate_core_set_bri, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_set_bri, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -211,7 +217,7 @@ be_local_closure(Animate_core_set_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(bri),
@ -233,7 +239,8 @@ be_local_closure(Animate_core_set_bri, /* name */
/********************************************************************
** Solidified function: add_painter
********************************************************************/
be_local_closure(Animate_core_add_painter, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_add_painter, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -241,7 +248,7 @@ be_local_closure(Animate_core_add_painter, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(painters),
@ -272,7 +279,8 @@ be_local_closure(Animate_core_add_painter, /* name */
/********************************************************************
** Solidified function: fast_loop
********************************************************************/
be_local_closure(Animate_core_fast_loop, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_fast_loop, /* name */
be_nested_proto(
13, /* nstack */
1, /* argc */
@ -280,7 +288,7 @@ be_local_closure(Animate_core_fast_loop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[28]) { /* constants */
/* K0 */ be_nested_str_weak(running),
@ -408,7 +416,8 @@ be_local_closure(Animate_core_fast_loop, /* name */
/********************************************************************
** Solidified function: remove_animator
********************************************************************/
be_local_closure(Animate_core_remove_animator, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_remove_animator, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -416,7 +425,7 @@ be_local_closure(Animate_core_remove_animator, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(animators),
@ -449,7 +458,8 @@ be_local_closure(Animate_core_remove_animator, /* name */
/********************************************************************
** Solidified function: animate
********************************************************************/
be_local_closure(Animate_core_animate, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_animate, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -457,7 +467,7 @@ be_local_closure(Animate_core_animate, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
0, /* has constants */
NULL, /* no const */
be_str_weak(animate),
@ -473,7 +483,8 @@ be_local_closure(Animate_core_animate, /* name */
/********************************************************************
** Solidified function: set_current
********************************************************************/
be_local_closure(Animate_core_set_current, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_set_current, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -481,7 +492,7 @@ be_local_closure(Animate_core_set_current, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -502,7 +513,8 @@ be_local_closure(Animate_core_set_current, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_core_init, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_init, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -510,7 +522,7 @@ be_local_closure(Animate_core_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -520,7 +532,7 @@ be_local_closure(Animate_core_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fast_loop),
@ -534,6 +546,7 @@ be_local_closure(Animate_core_init, /* name */
0x80000000, // 0003 RET 0
})
),
&be_class_Animate_core,
}),
1, /* has constants */
( &(const bvalue[15]) { /* constants */
@ -602,7 +615,8 @@ be_local_closure(Animate_core_init, /* name */
/********************************************************************
** Solidified function: set_cb
********************************************************************/
be_local_closure(Animate_core_set_cb, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_set_cb, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -610,7 +624,7 @@ be_local_closure(Animate_core_set_cb, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(obj),
@ -631,7 +645,8 @@ be_local_closure(Animate_core_set_cb, /* name */
/********************************************************************
** Solidified function: set_back_color
********************************************************************/
be_local_closure(Animate_core_set_back_color, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_set_back_color, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -639,7 +654,7 @@ be_local_closure(Animate_core_set_back_color, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(back_color),
@ -658,7 +673,8 @@ be_local_closure(Animate_core_set_back_color, /* name */
/********************************************************************
** Solidified function: add_background_animator
********************************************************************/
be_local_closure(Animate_core_add_background_animator, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_add_background_animator, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -666,7 +682,7 @@ be_local_closure(Animate_core_add_background_animator, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(set_cb),
@ -693,7 +709,8 @@ be_local_closure(Animate_core_add_background_animator, /* name */
/********************************************************************
** Solidified function: add_animator
********************************************************************/
be_local_closure(Animate_core_add_animator, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_add_animator, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -701,7 +718,7 @@ be_local_closure(Animate_core_add_animator, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(animators),
@ -732,7 +749,8 @@ be_local_closure(Animate_core_add_animator, /* name */
/********************************************************************
** Solidified function: remove
********************************************************************/
be_local_closure(Animate_core_remove, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_remove, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -740,7 +758,7 @@ be_local_closure(Animate_core_remove, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(clear),
@ -767,7 +785,8 @@ be_local_closure(Animate_core_remove, /* name */
/********************************************************************
** Solidified function: start
********************************************************************/
be_local_closure(Animate_core_start, /* name */
extern const bclass be_class_Animate_core;
be_local_closure(class_Animate_core_start, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -775,7 +794,7 @@ be_local_closure(Animate_core_start, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_core,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(running),
@ -825,47 +844,40 @@ be_local_class(Animate_core,
NULL,
be_nested_map(32,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(set_strip_bri, -1), be_const_closure(Animate_core_set_strip_bri_closure) },
{ be_const_key_weak(set_strip_bri, -1), be_const_closure(class_Animate_core_set_strip_bri_closure) },
{ be_const_key_weak(animators, -1), be_const_var(4) },
{ be_const_key_weak(clear, 0), be_const_closure(Animate_core_clear_closure) },
{ be_const_key_weak(remove, -1), be_const_closure(Animate_core_remove_closure) },
{ be_const_key_weak(clear, 0), be_const_closure(class_Animate_core_clear_closure) },
{ be_const_key_weak(remove, -1), be_const_closure(class_Animate_core_remove_closure) },
{ be_const_key_weak(mth, -1), be_const_var(9) },
{ be_const_key_weak(stop, 1), be_const_closure(Animate_core_stop_closure) },
{ be_const_key_weak(stop, 1), be_const_closure(class_Animate_core_stop_closure) },
{ be_const_key_weak(fast_loop_cb, 30), be_const_var(6) },
{ be_const_key_weak(get_bri, -1), be_const_closure(Animate_core_get_bri_closure) },
{ be_const_key_weak(add_animator, -1), be_const_closure(Animate_core_add_animator_closure) },
{ be_const_key_weak(add_background_animator, -1), be_const_closure(Animate_core_add_background_animator_closure) },
{ be_const_key_weak(get_bri, -1), be_const_closure(class_Animate_core_get_bri_closure) },
{ be_const_key_weak(add_animator, -1), be_const_closure(class_Animate_core_add_animator_closure) },
{ be_const_key_weak(add_background_animator, -1), be_const_closure(class_Animate_core_add_background_animator_closure) },
{ be_const_key_weak(fast_loop_next, -1), be_const_var(7) },
{ be_const_key_weak(remove_animator, -1), be_const_closure(Animate_core_remove_animator_closure) },
{ be_const_key_weak(add_painter, 28), be_const_closure(Animate_core_add_painter_closure) },
{ be_const_key_weak(remove_animator, -1), be_const_closure(class_Animate_core_remove_animator_closure) },
{ be_const_key_weak(add_painter, 28), be_const_closure(class_Animate_core_add_painter_closure) },
{ be_const_key_weak(FAST_LOOP_MIN, -1), be_const_int(20) },
{ be_const_key_weak(fast_loop, -1), be_const_closure(Animate_core_fast_loop_closure) },
{ be_const_key_weak(set_back_color, 11), be_const_closure(Animate_core_set_back_color_closure) },
{ be_const_key_weak(animate, 8), be_const_closure(Animate_core_animate_closure) },
{ be_const_key_weak(fast_loop, -1), be_const_closure(class_Animate_core_fast_loop_closure) },
{ be_const_key_weak(set_back_color, 11), be_const_closure(class_Animate_core_set_back_color_closure) },
{ be_const_key_weak(animate, 8), be_const_closure(class_Animate_core_animate_closure) },
{ be_const_key_weak(strip, 24), be_const_var(0) },
{ be_const_key_weak(layer, -1), be_const_var(11) },
{ be_const_key_weak(init, -1), be_const_closure(Animate_core_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Animate_core_init_closure) },
{ be_const_key_weak(bri, -1), be_const_var(2) },
{ be_const_key_weak(set_cb, 13), be_const_closure(Animate_core_set_cb_closure) },
{ be_const_key_weak(set_cb, 13), be_const_closure(class_Animate_core_set_cb_closure) },
{ be_const_key_weak(back_color, 18), be_const_var(12) },
{ be_const_key_weak(pixel_count, 15), be_const_var(1) },
{ be_const_key_weak(set_current, -1), be_const_closure(Animate_core_set_current_closure) },
{ be_const_key_weak(set_current, -1), be_const_closure(class_Animate_core_set_current_closure) },
{ be_const_key_weak(painters, -1), be_const_var(5) },
{ be_const_key_weak(obj, 10), be_const_var(8) },
{ be_const_key_weak(set_bri, 9), be_const_closure(Animate_core_set_bri_closure) },
{ be_const_key_weak(set_bri, 9), be_const_closure(class_Animate_core_set_bri_closure) },
{ be_const_key_weak(running, -1), be_const_var(3) },
{ be_const_key_weak(remove_painter, 3), be_const_closure(Animate_core_remove_painter_closure) },
{ be_const_key_weak(remove_painter, 3), be_const_closure(class_Animate_core_remove_painter_closure) },
{ be_const_key_weak(frame, -1), be_const_var(10) },
{ be_const_key_weak(start, -1), be_const_closure(Animate_core_start_closure) },
{ be_const_key_weak(start, -1), be_const_closure(class_Animate_core_start_closure) },
})),
be_str_weak(Animate_core)
);
/*******************************************************************/
void be_load_Animate_core_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_core);
be_setglobal(vm, "Animate_core");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Animate_painter;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_painter_init, /* name */
extern const bclass be_class_Animate_painter;
be_local_closure(class_Animate_painter_init, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Animate_painter_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_painter,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -45,7 +46,8 @@ be_local_closure(Animate_painter_init, /* name */
/********************************************************************
** Solidified function: paint
********************************************************************/
be_local_closure(Animate_painter_paint, /* name */
extern const bclass be_class_Animate_painter;
be_local_closure(class_Animate_painter_paint, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -53,7 +55,7 @@ be_local_closure(Animate_painter_paint, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_painter,
0, /* has constants */
NULL, /* no const */
be_str_weak(paint),
@ -74,25 +76,19 @@ be_local_class(Animate_painter,
NULL,
be_nested_map(2,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(paint, -1), be_const_closure(Animate_painter_paint_closure) },
{ be_const_key_weak(init, 0), be_const_closure(Animate_painter_init_closure) },
{ be_const_key_weak(paint, -1), be_const_closure(class_Animate_painter_paint_closure) },
{ be_const_key_weak(init, 0), be_const_closure(class_Animate_painter_init_closure) },
})),
be_str_weak(Animate_painter)
);
/*******************************************************************/
void be_load_Animate_painter_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_painter);
be_setglobal(vm, "Animate_painter");
be_pop(vm, 1);
}
extern const bclass be_class_Animate_pulse;
/********************************************************************
** Solidified function: set_pulse_size
********************************************************************/
be_local_closure(Animate_pulse_set_pulse_size, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_set_pulse_size, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -100,7 +96,7 @@ be_local_closure(Animate_pulse_set_pulse_size, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(pulse_size),
@ -119,7 +115,8 @@ be_local_closure(Animate_pulse_set_pulse_size, /* name */
/********************************************************************
** Solidified function: set_slew_size
********************************************************************/
be_local_closure(Animate_pulse_set_slew_size, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_set_slew_size, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -127,7 +124,7 @@ be_local_closure(Animate_pulse_set_slew_size, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(slew_size),
@ -146,7 +143,8 @@ be_local_closure(Animate_pulse_set_slew_size, /* name */
/********************************************************************
** Solidified function: set_back_color
********************************************************************/
be_local_closure(Animate_pulse_set_back_color, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_set_back_color, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -154,7 +152,7 @@ be_local_closure(Animate_pulse_set_back_color, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(back_color),
@ -173,7 +171,8 @@ be_local_closure(Animate_pulse_set_back_color, /* name */
/********************************************************************
** Solidified function: set_pos
********************************************************************/
be_local_closure(Animate_pulse_set_pos, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_set_pos, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -181,7 +180,7 @@ be_local_closure(Animate_pulse_set_pos, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(pos),
@ -200,7 +199,8 @@ be_local_closure(Animate_pulse_set_pos, /* name */
/********************************************************************
** Solidified function: set_color
********************************************************************/
be_local_closure(Animate_pulse_set_color, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_set_color, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -208,7 +208,7 @@ be_local_closure(Animate_pulse_set_color, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(color),
@ -227,7 +227,8 @@ be_local_closure(Animate_pulse_set_color, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_pulse_init, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_init, /* name */
be_nested_proto(
6, /* nstack */
4, /* argc */
@ -235,7 +236,7 @@ be_local_closure(Animate_pulse_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -290,7 +291,8 @@ be_local_closure(Animate_pulse_init, /* name */
/********************************************************************
** Solidified function: paint
********************************************************************/
be_local_closure(Animate_pulse_paint, /* name */
extern const bclass be_class_Animate_pulse;
be_local_closure(class_Animate_pulse_paint, /* name */
be_nested_proto(
22, /* nstack */
2, /* argc */
@ -298,7 +300,7 @@ be_local_closure(Animate_pulse_paint, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_pulse,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(back_color),
@ -424,27 +426,20 @@ be_local_class(Animate_pulse,
&be_class_Animate_painter,
be_nested_map(12,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(paint, -1), be_const_closure(Animate_pulse_paint_closure) },
{ be_const_key_weak(set_slew_size, -1), be_const_closure(Animate_pulse_set_slew_size_closure) },
{ be_const_key_weak(paint, -1), be_const_closure(class_Animate_pulse_paint_closure) },
{ be_const_key_weak(set_slew_size, -1), be_const_closure(class_Animate_pulse_set_slew_size_closure) },
{ be_const_key_weak(pulse_size, -1), be_const_var(4) },
{ be_const_key_weak(set_back_color, 8), be_const_closure(Animate_pulse_set_back_color_closure) },
{ be_const_key_weak(set_back_color, 8), be_const_closure(class_Animate_pulse_set_back_color_closure) },
{ be_const_key_weak(color, -1), be_const_var(0) },
{ be_const_key_weak(back_color, -1), be_const_var(1) },
{ be_const_key_weak(set_pos, -1), be_const_closure(Animate_pulse_set_pos_closure) },
{ be_const_key_weak(set_color, -1), be_const_closure(Animate_pulse_set_color_closure) },
{ be_const_key_weak(init, 7), be_const_closure(Animate_pulse_init_closure) },
{ be_const_key_weak(set_pos, -1), be_const_closure(class_Animate_pulse_set_pos_closure) },
{ be_const_key_weak(set_color, -1), be_const_closure(class_Animate_pulse_set_color_closure) },
{ be_const_key_weak(init, 7), be_const_closure(class_Animate_pulse_init_closure) },
{ be_const_key_weak(pos, -1), be_const_var(2) },
{ be_const_key_weak(slew_size, 5), be_const_var(3) },
{ be_const_key_weak(set_pulse_size, 0), be_const_closure(Animate_pulse_set_pulse_size_closure) },
{ be_const_key_weak(set_pulse_size, 0), be_const_closure(class_Animate_pulse_set_pulse_size_closure) },
})),
be_str_weak(Animate_pulse)
);
/*******************************************************************/
void be_load_Animate_pulse_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_pulse);
be_setglobal(vm, "Animate_pulse");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Animate_animator;
/********************************************************************
** Solidified function: is_running
********************************************************************/
be_local_closure(Animate_animator_is_running, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_is_running, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Animate_animator_is_running, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(running),
@ -38,7 +39,8 @@ be_local_closure(Animate_animator_is_running, /* name */
/********************************************************************
** Solidified function: beat
********************************************************************/
be_local_closure(Animate_animator_beat, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_beat, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -46,7 +48,7 @@ be_local_closure(Animate_animator_beat, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
0, /* has constants */
NULL, /* no const */
be_str_weak(beat),
@ -62,7 +64,8 @@ be_local_closure(Animate_animator_beat, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_animator_init, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_init, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -70,7 +73,7 @@ be_local_closure(Animate_animator_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -98,7 +101,8 @@ be_local_closure(Animate_animator_init, /* name */
/********************************************************************
** Solidified function: stop
********************************************************************/
be_local_closure(Animate_animator_stop, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_stop, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -106,7 +110,7 @@ be_local_closure(Animate_animator_stop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(origin),
@ -129,7 +133,8 @@ be_local_closure(Animate_animator_stop, /* name */
/********************************************************************
** Solidified function: set_duration_ms
********************************************************************/
be_local_closure(Animate_animator_set_duration_ms, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_set_duration_ms, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -137,7 +142,7 @@ be_local_closure(Animate_animator_set_duration_ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(duration_ms),
@ -156,7 +161,8 @@ be_local_closure(Animate_animator_set_duration_ms, /* name */
/********************************************************************
** Solidified function: set_cb
********************************************************************/
be_local_closure(Animate_animator_set_cb, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_set_cb, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -164,7 +170,7 @@ be_local_closure(Animate_animator_set_cb, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(obj),
@ -185,7 +191,8 @@ be_local_closure(Animate_animator_set_cb, /* name */
/********************************************************************
** Solidified function: start
********************************************************************/
be_local_closure(Animate_animator_start, /* name */
extern const bclass be_class_Animate_animator;
be_local_closure(class_Animate_animator_start, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -193,7 +200,7 @@ be_local_closure(Animate_animator_start, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_animator,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(duration_ms),
@ -236,34 +243,28 @@ be_local_class(Animate_animator,
be_nested_map(12,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(running, 4), be_const_var(0) },
{ be_const_key_weak(is_running, 2), be_const_closure(Animate_animator_is_running_closure) },
{ be_const_key_weak(beat, -1), be_const_closure(Animate_animator_beat_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Animate_animator_init_closure) },
{ be_const_key_weak(is_running, 2), be_const_closure(class_Animate_animator_is_running_closure) },
{ be_const_key_weak(beat, -1), be_const_closure(class_Animate_animator_beat_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Animate_animator_init_closure) },
{ be_const_key_weak(mth, -1), be_const_var(4) },
{ be_const_key_weak(stop, -1), be_const_closure(Animate_animator_stop_closure) },
{ be_const_key_weak(stop, -1), be_const_closure(class_Animate_animator_stop_closure) },
{ be_const_key_weak(duration_ms, -1), be_const_var(1) },
{ be_const_key_weak(origin, -1), be_const_var(2) },
{ be_const_key_weak(set_cb, -1), be_const_closure(Animate_animator_set_cb_closure) },
{ be_const_key_weak(set_duration_ms, 8), be_const_closure(Animate_animator_set_duration_ms_closure) },
{ be_const_key_weak(set_cb, -1), be_const_closure(class_Animate_animator_set_cb_closure) },
{ be_const_key_weak(set_duration_ms, 8), be_const_closure(class_Animate_animator_set_duration_ms_closure) },
{ be_const_key_weak(obj, -1), be_const_var(3) },
{ be_const_key_weak(start, -1), be_const_closure(Animate_animator_start_closure) },
{ be_const_key_weak(start, -1), be_const_closure(class_Animate_animator_start_closure) },
})),
be_str_weak(Animate_animator)
);
/*******************************************************************/
void be_load_Animate_animator_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_animator);
be_setglobal(vm, "Animate_animator");
be_pop(vm, 1);
}
extern const bclass be_class_Animate_palette;
/********************************************************************
** Solidified function: ptr_to_palette
********************************************************************/
be_local_closure(Animate_palette_ptr_to_palette, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_ptr_to_palette, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -271,7 +272,7 @@ be_local_closure(Animate_palette_ptr_to_palette, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_class(be_class_Animate_palette),
@ -336,7 +337,8 @@ be_local_closure(Animate_palette_ptr_to_palette, /* name */
/********************************************************************
** Solidified function: animate
********************************************************************/
be_local_closure(Animate_palette_animate, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_animate, /* name */
be_nested_proto(
26, /* nstack */
2, /* argc */
@ -344,7 +346,7 @@ be_local_closure(Animate_palette_animate, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_nested_str_weak(duration_ms),
@ -574,7 +576,8 @@ be_local_closure(Animate_palette_animate, /* name */
/********************************************************************
** Solidified function: set_palette
********************************************************************/
be_local_closure(Animate_palette_set_palette, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_set_palette, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -582,7 +585,7 @@ be_local_closure(Animate_palette_set_palette, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(ptr),
@ -644,7 +647,8 @@ be_local_closure(Animate_palette_set_palette, /* name */
/********************************************************************
** Solidified function: to_css_gradient
********************************************************************/
be_local_closure(Animate_palette_to_css_gradient, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_to_css_gradient, /* name */
be_nested_proto(
17, /* nstack */
1, /* argc */
@ -652,7 +656,7 @@ be_local_closure(Animate_palette_to_css_gradient, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_const_class(be_class_Animate_palette),
@ -724,7 +728,8 @@ be_local_closure(Animate_palette_to_css_gradient, /* name */
/********************************************************************
** Solidified function: set_bri
********************************************************************/
be_local_closure(Animate_palette_set_bri, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_set_bri, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -732,7 +737,7 @@ be_local_closure(Animate_palette_set_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(bri),
@ -754,7 +759,8 @@ be_local_closure(Animate_palette_set_bri, /* name */
/********************************************************************
** Solidified function: parse_palette
********************************************************************/
be_local_closure(Animate_palette_parse_palette, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_parse_palette, /* name */
be_nested_proto(
15, /* nstack */
3, /* argc */
@ -762,7 +768,7 @@ be_local_closure(Animate_palette_parse_palette, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(slots),
@ -857,7 +863,8 @@ be_local_closure(Animate_palette_parse_palette, /* name */
/********************************************************************
** Solidified function: set_range
********************************************************************/
be_local_closure(Animate_palette_set_range, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_set_range, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -865,7 +872,7 @@ be_local_closure(Animate_palette_set_range, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(value_error),
@ -898,7 +905,8 @@ be_local_closure(Animate_palette_set_range, /* name */
/********************************************************************
** Solidified function: set_value
********************************************************************/
be_local_closure(Animate_palette_set_value, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_set_value, /* name */
be_nested_proto(
18, /* nstack */
2, /* argc */
@ -906,7 +914,7 @@ be_local_closure(Animate_palette_set_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(range_min),
@ -1031,7 +1039,8 @@ be_local_closure(Animate_palette_set_value, /* name */
/********************************************************************
** Solidified function: set_duration
********************************************************************/
be_local_closure(Animate_palette_set_duration, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_set_duration, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -1039,7 +1048,7 @@ be_local_closure(Animate_palette_set_duration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_const_int(0),
@ -1076,7 +1085,8 @@ be_local_closure(Animate_palette_set_duration, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_palette_init, /* name */
extern const bclass be_class_Animate_palette;
be_local_closure(class_Animate_palette_init, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -1084,7 +1094,7 @@ be_local_closure(Animate_palette_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_palette,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -1135,38 +1145,32 @@ be_local_class(Animate_palette,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(color, 13), be_const_var(6) },
{ be_const_key_weak(slots, -1), be_const_var(2) },
{ be_const_key_weak(animate, 11), be_const_closure(Animate_palette_animate_closure) },
{ be_const_key_weak(animate, 11), be_const_closure(class_Animate_palette_animate_closure) },
{ be_const_key_weak(range_max, 10), be_const_var(4) },
{ be_const_key_weak(set_palette, -1), be_const_closure(Animate_palette_set_palette_closure) },
{ be_const_key_weak(set_bri, -1), be_const_closure(Animate_palette_set_bri_closure) },
{ be_const_key_weak(set_palette, -1), be_const_closure(class_Animate_palette_set_palette_closure) },
{ be_const_key_weak(set_bri, -1), be_const_closure(class_Animate_palette_set_bri_closure) },
{ be_const_key_weak(bri, -1), be_const_var(5) },
{ be_const_key_weak(to_css_gradient, 12), be_const_static_closure(Animate_palette_to_css_gradient_closure) },
{ be_const_key_weak(to_css_gradient, 12), be_const_static_closure(class_Animate_palette_to_css_gradient_closure) },
{ be_const_key_weak(slots_arr, 1), be_const_var(1) },
{ be_const_key_weak(range_min, 5), be_const_var(3) },
{ be_const_key_weak(set_value, -1), be_const_closure(Animate_palette_set_value_closure) },
{ be_const_key_weak(set_range, -1), be_const_closure(Animate_palette_set_range_closure) },
{ be_const_key_weak(parse_palette, -1), be_const_closure(Animate_palette_parse_palette_closure) },
{ be_const_key_weak(set_value, -1), be_const_closure(class_Animate_palette_set_value_closure) },
{ be_const_key_weak(set_range, -1), be_const_closure(class_Animate_palette_set_range_closure) },
{ be_const_key_weak(parse_palette, -1), be_const_closure(class_Animate_palette_parse_palette_closure) },
{ be_const_key_weak(palette, -1), be_const_var(0) },
{ be_const_key_weak(set_duration, -1), be_const_closure(Animate_palette_set_duration_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Animate_palette_init_closure) },
{ be_const_key_weak(ptr_to_palette, 0), be_const_static_closure(Animate_palette_ptr_to_palette_closure) },
{ be_const_key_weak(set_duration, -1), be_const_closure(class_Animate_palette_set_duration_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Animate_palette_init_closure) },
{ be_const_key_weak(ptr_to_palette, 0), be_const_static_closure(class_Animate_palette_ptr_to_palette_closure) },
})),
be_str_weak(Animate_palette)
);
/*******************************************************************/
void be_load_Animate_palette_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_palette);
be_setglobal(vm, "Animate_palette");
be_pop(vm, 1);
}
extern const bclass be_class_Animate_oscillator;
/********************************************************************
** Solidified function: set_duty_cycle
********************************************************************/
be_local_closure(Animate_oscillator_set_duty_cycle, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_set_duty_cycle, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -1174,7 +1178,7 @@ be_local_closure(Animate_oscillator_set_duty_cycle, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_const_int(0),
@ -1201,7 +1205,8 @@ be_local_closure(Animate_oscillator_set_duty_cycle, /* name */
/********************************************************************
** Solidified function: set_a
********************************************************************/
be_local_closure(Animate_oscillator_set_a, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_set_a, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1209,7 +1214,7 @@ be_local_closure(Animate_oscillator_set_a, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(a),
@ -1228,7 +1233,8 @@ be_local_closure(Animate_oscillator_set_a, /* name */
/********************************************************************
** Solidified function: set_b
********************************************************************/
be_local_closure(Animate_oscillator_set_b, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_set_b, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1236,7 +1242,7 @@ be_local_closure(Animate_oscillator_set_b, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(b),
@ -1255,7 +1261,8 @@ be_local_closure(Animate_oscillator_set_b, /* name */
/********************************************************************
** Solidified function: set_form
********************************************************************/
be_local_closure(Animate_oscillator_set_form, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_set_form, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -1263,7 +1270,7 @@ be_local_closure(Animate_oscillator_set_form, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_const_int(1),
@ -1287,7 +1294,8 @@ be_local_closure(Animate_oscillator_set_form, /* name */
/********************************************************************
** Solidified function: set_phase
********************************************************************/
be_local_closure(Animate_oscillator_set_phase, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_set_phase, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -1295,7 +1303,7 @@ be_local_closure(Animate_oscillator_set_phase, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_const_int(0),
@ -1322,7 +1330,8 @@ be_local_closure(Animate_oscillator_set_phase, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Animate_oscillator_init, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_init, /* name */
be_nested_proto(
7, /* nstack */
5, /* argc */
@ -1330,7 +1339,7 @@ be_local_closure(Animate_oscillator_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -1374,7 +1383,8 @@ be_local_closure(Animate_oscillator_init, /* name */
/********************************************************************
** Solidified function: animate
********************************************************************/
be_local_closure(Animate_oscillator_animate, /* name */
extern const bclass be_class_Animate_oscillator;
be_local_closure(class_Animate_oscillator_animate, /* name */
be_nested_proto(
18, /* nstack */
2, /* argc */
@ -1382,7 +1392,7 @@ be_local_closure(Animate_oscillator_animate, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Animate_oscillator,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_nested_str_weak(duration_ms),
@ -1565,28 +1575,21 @@ be_local_class(Animate_oscillator,
&be_class_Animate_animator,
be_nested_map(13,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(animate, -1), be_const_closure(Animate_oscillator_animate_closure) },
{ be_const_key_weak(animate, -1), be_const_closure(class_Animate_oscillator_animate_closure) },
{ be_const_key_weak(a, -1), be_const_var(2) },
{ be_const_key_weak(init, 11), be_const_closure(Animate_oscillator_init_closure) },
{ be_const_key_weak(init, 11), be_const_closure(class_Animate_oscillator_init_closure) },
{ be_const_key_weak(duty_cycle, 10), be_const_var(1) },
{ be_const_key_weak(b, -1), be_const_var(3) },
{ be_const_key_weak(value, -1), be_const_var(5) },
{ be_const_key_weak(set_duty_cycle, 2), be_const_closure(Animate_oscillator_set_duty_cycle_closure) },
{ be_const_key_weak(set_a, -1), be_const_closure(Animate_oscillator_set_a_closure) },
{ be_const_key_weak(set_b, -1), be_const_closure(Animate_oscillator_set_b_closure) },
{ be_const_key_weak(set_form, -1), be_const_closure(Animate_oscillator_set_form_closure) },
{ be_const_key_weak(set_duty_cycle, 2), be_const_closure(class_Animate_oscillator_set_duty_cycle_closure) },
{ be_const_key_weak(set_a, -1), be_const_closure(class_Animate_oscillator_set_a_closure) },
{ be_const_key_weak(set_b, -1), be_const_closure(class_Animate_oscillator_set_b_closure) },
{ be_const_key_weak(set_form, -1), be_const_closure(class_Animate_oscillator_set_form_closure) },
{ be_const_key_weak(phase, -1), be_const_var(0) },
{ be_const_key_weak(form, -1), be_const_var(4) },
{ be_const_key_weak(set_phase, 0), be_const_closure(Animate_oscillator_set_phase_closure) },
{ be_const_key_weak(set_phase, 0), be_const_closure(class_Animate_oscillator_set_phase_closure) },
})),
be_str_weak(Animate_oscillator)
);
/*******************************************************************/
void be_load_Animate_oscillator_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Animate_oscillator);
be_setglobal(vm, "Animate_oscillator");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Leds_frame_be;
/********************************************************************
** Solidified function: setitem
********************************************************************/
be_local_closure(Leds_frame_be_setitem, /* name */
extern const bclass be_class_Leds_frame_be;
be_local_closure(class_Leds_frame_be_setitem, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Leds_frame_be_setitem, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Leds_frame_be,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str(set),
@ -41,7 +42,8 @@ be_local_closure(Leds_frame_be_setitem, /* name */
/********************************************************************
** Solidified function: set_pixel
********************************************************************/
be_local_closure(Leds_frame_be_set_pixel, /* name */
extern const bclass be_class_Leds_frame_be;
be_local_closure(class_Leds_frame_be_set_pixel, /* name */
be_nested_proto(
11, /* nstack */
6, /* argc */
@ -49,7 +51,7 @@ be_local_closure(Leds_frame_be_set_pixel, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Leds_frame_be,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_const_int(0),
@ -93,7 +95,8 @@ be_local_closure(Leds_frame_be_set_pixel, /* name */
/********************************************************************
** Solidified function: item
********************************************************************/
be_local_closure(Leds_frame_be_item, /* name */
extern const bclass be_class_Leds_frame_be;
be_local_closure(class_Leds_frame_be_item, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -101,7 +104,7 @@ be_local_closure(Leds_frame_be_item, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Leds_frame_be,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str(get),
@ -124,7 +127,8 @@ be_local_closure(Leds_frame_be_item, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Leds_frame_be_init, /* name */
extern const bclass be_class_Leds_frame_be;
be_local_closure(class_Leds_frame_be_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -132,7 +136,7 @@ be_local_closure(Leds_frame_be_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Leds_frame_be,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_int(0),
@ -168,19 +172,12 @@ be_local_class(Leds_frame_be,
NULL,
be_nested_map(4,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key(setitem, 1), be_const_closure(Leds_frame_be_setitem_closure) },
{ be_const_key(set_pixel, -1), be_const_closure(Leds_frame_be_set_pixel_closure) },
{ be_const_key(item, -1), be_const_closure(Leds_frame_be_item_closure) },
{ be_const_key(init, -1), be_const_closure(Leds_frame_be_init_closure) },
{ be_const_key(setitem, 1), be_const_closure(class_Leds_frame_be_setitem_closure) },
{ be_const_key(set_pixel, -1), be_const_closure(class_Leds_frame_be_set_pixel_closure) },
{ be_const_key(item, -1), be_const_closure(class_Leds_frame_be_item_closure) },
{ be_const_key(init, -1), be_const_closure(class_Leds_frame_be_init_closure) },
})),
(bstring*) &be_const_str_Leds_frame_be
);
/*******************************************************************/
void be_load_Leds_frame_be_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Leds_frame_be);
be_setglobal(vm, "Leds_frame_be");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -80,6 +80,11 @@ def parse_file(fname, prefix_out)
o = o.(subname)
cl_name = obj_name
obj_name = subname
if (type(o) == 'class')
obj_name = 'class_' + obj_name
elif (type(o) == 'module')
obj_name = 'module_' + obj_name
end
end
solidify.dump(o, weak, fout, cl_name)
end

View File

@ -79,6 +79,11 @@ def parse_file(fname, prefix_out)
o = o.(subname)
cl_name = obj_name
obj_name = subname
if (type(o) == 'class')
obj_name = 'class_' + obj_name
elif (type(o) == 'module')
obj_name = 'module_' + obj_name
end
end
solidify.dump(o, weak, fout, cl_name)
end

View File

@ -310,8 +310,8 @@ module matter (scope: global, strings: weak) {
Verhoeff, class(be_class_Matter_Verhoeff)
Counter, class(be_class_Matter_Counter)
setmember, closure(matter_setmember_closure)
member, closure(matter_member_closure)
setmember, closure(module_matter_setmember_closure)
member, closure(module_matter_member_closure)
get_ip_bytes, ctype_func(matter_get_ip_bytes)
publish_command, func(matter_publish_command)
@ -323,11 +323,11 @@ module matter (scope: global, strings: weak) {
get_command_name, ctype_func(matter_get_command_name)
get_opcode_name, ctype_func(matter_get_opcode_name)
TLV, class(be_class_Matter_TLV)
sort, closure(matter_sort_closure)
jitter, closure(matter_jitter_closure)
inspect, closure(matter_inspect_closure)
consolidate_clusters, closure(matter_consolidate_clusters_closure)
UC_LIST, closure(matter_UC_LIST_closure)
sort, closure(module_matter_sort_closure)
jitter, closure(module_matter_jitter_closure)
inspect, closure(module_matter_inspect_closure)
consolidate_clusters, closure(module_matter_consolidate_clusters_closure)
UC_LIST, closure(module_matter_UC_LIST_closure)
Profiler, class(be_class_Matter_Profiler)
// Status codes

View File

@ -21,9 +21,6 @@ import matter
#@ solidify:Matter_Session_Store,weak
# for compilation
class Matter_Expirable end
#################################################################################
#################################################################################
#################################################################################

View File

@ -7,7 +7,7 @@
/********************************************************************
** Solidified function: sort
********************************************************************/
be_local_closure(matter_sort, /* name */
be_local_closure(module_matter_sort, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -15,7 +15,7 @@ be_local_closure(matter_sort, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_int(1),
@ -63,7 +63,7 @@ be_local_closure(matter_sort, /* name */
/********************************************************************
** Solidified function: jitter
********************************************************************/
be_local_closure(matter_jitter, /* name */
be_local_closure(module_matter_jitter, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -71,7 +71,7 @@ be_local_closure(matter_jitter, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -108,7 +108,7 @@ be_local_closure(matter_jitter, /* name */
/********************************************************************
** Solidified function: inspect
********************************************************************/
be_local_closure(matter_inspect, /* name */
be_local_closure(module_matter_inspect, /* name */
be_nested_proto(
14, /* nstack */
1, /* argc */
@ -116,7 +116,7 @@ be_local_closure(matter_inspect, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(introspect),
@ -231,7 +231,7 @@ be_local_closure(matter_inspect, /* name */
/********************************************************************
** Solidified function: consolidate_clusters
********************************************************************/
be_local_closure(matter_consolidate_clusters, /* name */
be_local_closure(module_matter_consolidate_clusters, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -239,7 +239,7 @@ be_local_closure(matter_consolidate_clusters, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(CLUSTERS),
@ -361,7 +361,7 @@ be_local_closure(matter_consolidate_clusters, /* name */
/********************************************************************
** Solidified function: UC_LIST
********************************************************************/
be_local_closure(matter_UC_LIST, /* name */
be_local_closure(module_matter_UC_LIST, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -369,7 +369,7 @@ be_local_closure(matter_UC_LIST, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(UPDATE_COMMANDS),

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Base38;
/********************************************************************
** Solidified function: encode
********************************************************************/
be_local_closure(Matter_Base38_encode, /* name */
extern const bclass be_class_Matter_Base38;
be_local_closure(class_Matter_Base38_encode, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Base38_encode, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -25,7 +26,7 @@ be_local_closure(Matter_Base38_encode, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_X2D_X2E),
@ -52,6 +53,7 @@ be_local_closure(Matter_Base38_encode, /* name */
0x80040800, // 000D RET 1 R4
})
),
&be_class_Matter_Base38,
}),
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
@ -137,16 +139,9 @@ be_local_class(Matter_Base38,
NULL,
be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(encode, -1), be_const_static_closure(Matter_Base38_encode_closure) },
{ be_const_key_weak(encode, -1), be_const_static_closure(class_Matter_Base38_encode_closure) },
})),
be_str_weak(Matter_Base38)
);
/*******************************************************************/
void be_load_Matter_Base38_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Base38);
be_setglobal(vm, "Matter_Base38");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Commisioning_Context;
/********************************************************************
** Solidified function: parse_StatusReport
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_StatusReport, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_StatusReport, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Commisioning_Context_parse_StatusReport, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -56,7 +57,8 @@ be_local_closure(Matter_Commisioning_Context_parse_StatusReport, /* name */
/********************************************************************
** Solidified function: find_fabric_by_destination_id
********************************************************************/
be_local_closure(Matter_Commisioning_Context_find_fabric_by_destination_id, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_find_fabric_by_destination_id, /* name */
be_nested_proto(
14, /* nstack */
3, /* argc */
@ -64,7 +66,7 @@ be_local_closure(Matter_Commisioning_Context_find_fabric_by_destination_id, /*
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -172,7 +174,8 @@ be_local_closure(Matter_Commisioning_Context_find_fabric_by_destination_id, /*
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_Commisioning_Context_every_second, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_every_second, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -180,7 +183,7 @@ be_local_closure(Matter_Commisioning_Context_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
0, /* has constants */
NULL, /* no const */
be_str_weak(every_second),
@ -196,7 +199,8 @@ be_local_closure(Matter_Commisioning_Context_every_second, /* name */
/********************************************************************
** Solidified function: add_session
********************************************************************/
be_local_closure(Matter_Commisioning_Context_add_session, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_add_session, /* name */
be_nested_proto(
12, /* nstack */
6, /* argc */
@ -204,7 +208,7 @@ be_local_closure(Matter_Commisioning_Context_add_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -248,7 +252,8 @@ be_local_closure(Matter_Commisioning_Context_add_session, /* name */
/********************************************************************
** Solidified function: parse_PBKDFParamRequest
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_PBKDFParamRequest, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_PBKDFParamRequest, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -256,7 +261,7 @@ be_local_closure(Matter_Commisioning_Context_parse_PBKDFParamRequest, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[48]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -438,7 +443,8 @@ be_local_closure(Matter_Commisioning_Context_parse_PBKDFParamRequest, /* name
/********************************************************************
** Solidified function: send_status_report
********************************************************************/
be_local_closure(Matter_Commisioning_Context_send_status_report, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_send_status_report, /* name */
be_nested_proto(
12, /* nstack */
6, /* argc */
@ -446,7 +452,7 @@ be_local_closure(Matter_Commisioning_Context_send_status_report, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(build_response),
@ -494,7 +500,8 @@ be_local_closure(Matter_Commisioning_Context_send_status_report, /* name */
/********************************************************************
** Solidified function: parse_Pake1
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_Pake1, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_Pake1, /* name */
be_nested_proto(
21, /* nstack */
2, /* argc */
@ -502,7 +509,7 @@ be_local_closure(Matter_Commisioning_Context_parse_Pake1, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[52]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -685,7 +692,8 @@ be_local_closure(Matter_Commisioning_Context_parse_Pake1, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Commisioning_Context_init, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_init, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -693,7 +701,7 @@ be_local_closure(Matter_Commisioning_Context_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -717,7 +725,8 @@ be_local_closure(Matter_Commisioning_Context_init, /* name */
/********************************************************************
** Solidified function: parse_Pake3
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_Pake3, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_Pake3, /* name */
be_nested_proto(
19, /* nstack */
2, /* argc */
@ -725,7 +734,7 @@ be_local_closure(Matter_Commisioning_Context_parse_Pake3, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[31]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -877,7 +886,8 @@ be_local_closure(Matter_Commisioning_Context_parse_Pake3, /* name */
/********************************************************************
** Solidified function: parse_Sigma3
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_Sigma3, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_Sigma3, /* name */
be_nested_proto(
36, /* nstack */
2, /* argc */
@ -885,7 +895,7 @@ be_local_closure(Matter_Commisioning_Context_parse_Sigma3, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[66]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -1253,7 +1263,8 @@ be_local_closure(Matter_Commisioning_Context_parse_Sigma3, /* name */
/********************************************************************
** Solidified function: process_incoming
********************************************************************/
be_local_closure(Matter_Commisioning_Context_process_incoming, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_process_incoming, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -1261,7 +1272,7 @@ be_local_closure(Matter_Commisioning_Context_process_incoming, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -1381,7 +1392,8 @@ be_local_closure(Matter_Commisioning_Context_process_incoming, /* name */
/********************************************************************
** Solidified function: parse_Sigma1
********************************************************************/
be_local_closure(Matter_Commisioning_Context_parse_Sigma1, /* name */
extern const bclass be_class_Matter_Commisioning_Context;
be_local_closure(class_Matter_Commisioning_Context_parse_Sigma1, /* name */
be_nested_proto(
36, /* nstack */
2, /* argc */
@ -1389,7 +1401,7 @@ be_local_closure(Matter_Commisioning_Context_parse_Sigma1, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Commisioning_Context,
1, /* has constants */
( &(const bvalue[103]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -1994,35 +2006,28 @@ be_local_class(Matter_Commisioning_Context,
NULL,
be_nested_map(20,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_Commisioning_Context_every_second_closure) },
{ be_const_key_weak(parse_StatusReport, -1), be_const_closure(Matter_Commisioning_Context_parse_StatusReport_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_Commisioning_Context_every_second_closure) },
{ be_const_key_weak(parse_StatusReport, -1), be_const_closure(class_Matter_Commisioning_Context_parse_StatusReport_closure) },
{ be_const_key_weak(S2K_Info, -1), be_nested_str_weak(Sigma2) },
{ be_const_key_weak(find_fabric_by_destination_id, -1), be_const_closure(Matter_Commisioning_Context_find_fabric_by_destination_id_closure) },
{ be_const_key_weak(process_incoming, 18), be_const_closure(Matter_Commisioning_Context_process_incoming_closure) },
{ be_const_key_weak(find_fabric_by_destination_id, -1), be_const_closure(class_Matter_Commisioning_Context_find_fabric_by_destination_id_closure) },
{ be_const_key_weak(process_incoming, 18), be_const_closure(class_Matter_Commisioning_Context_process_incoming_closure) },
{ be_const_key_weak(Matter_Context_Prefix, 0), be_nested_str_weak(CHIP_X20PAKE_X20V1_X20Commissioning) },
{ be_const_key_weak(SEKeys_Info, -1), be_nested_str_weak(SessionKeys) },
{ be_const_key_weak(TBEData3_Nonce, 4), be_nested_str_weak(NCASE_Sigma3N) },
{ be_const_key_weak(parse_PBKDFParamRequest, -1), be_const_closure(Matter_Commisioning_Context_parse_PBKDFParamRequest_closure) },
{ be_const_key_weak(send_status_report, -1), be_const_closure(Matter_Commisioning_Context_send_status_report_closure) },
{ be_const_key_weak(parse_Sigma3, -1), be_const_closure(Matter_Commisioning_Context_parse_Sigma3_closure) },
{ be_const_key_weak(parse_PBKDFParamRequest, -1), be_const_closure(class_Matter_Commisioning_Context_parse_PBKDFParamRequest_closure) },
{ be_const_key_weak(send_status_report, -1), be_const_closure(class_Matter_Commisioning_Context_send_status_report_closure) },
{ be_const_key_weak(parse_Sigma3, -1), be_const_closure(class_Matter_Commisioning_Context_parse_Sigma3_closure) },
{ be_const_key_weak(device, -1), be_const_var(1) },
{ be_const_key_weak(TBEData2_Nonce, -1), be_nested_str_weak(NCASE_Sigma2N) },
{ be_const_key_weak(responder, 16), be_const_var(0) },
{ be_const_key_weak(parse_Pake3, -1), be_const_closure(Matter_Commisioning_Context_parse_Pake3_closure) },
{ be_const_key_weak(init, 14), be_const_closure(Matter_Commisioning_Context_init_closure) },
{ be_const_key_weak(parse_Pake1, -1), be_const_closure(Matter_Commisioning_Context_parse_Pake1_closure) },
{ be_const_key_weak(parse_Pake3, -1), be_const_closure(class_Matter_Commisioning_Context_parse_Pake3_closure) },
{ be_const_key_weak(init, 14), be_const_closure(class_Matter_Commisioning_Context_init_closure) },
{ be_const_key_weak(parse_Pake1, -1), be_const_closure(class_Matter_Commisioning_Context_parse_Pake1_closure) },
{ be_const_key_weak(S3K_Info, 10), be_nested_str_weak(Sigma3) },
{ be_const_key_weak(add_session, -1), be_const_closure(Matter_Commisioning_Context_add_session_closure) },
{ be_const_key_weak(parse_Sigma1, -1), be_const_closure(Matter_Commisioning_Context_parse_Sigma1_closure) },
{ be_const_key_weak(add_session, -1), be_const_closure(class_Matter_Commisioning_Context_add_session_closure) },
{ be_const_key_weak(parse_Sigma1, -1), be_const_closure(class_Matter_Commisioning_Context_parse_Sigma1_closure) },
})),
be_str_weak(Matter_Commisioning_Context)
);
/*******************************************************************/
void be_load_Matter_Commisioning_Context_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Commisioning_Context);
be_setglobal(vm, "Matter_Commisioning_Context");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_PBKDFParamRequest;
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_PBKDFParamRequest_parse, /* name */
extern const bclass be_class_Matter_PBKDFParamRequest;
be_local_closure(class_Matter_PBKDFParamRequest_parse, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_PBKDFParamRequest_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PBKDFParamRequest,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_const_int(0),
@ -98,27 +99,21 @@ be_local_class(Matter_PBKDFParamRequest,
{ be_const_key_weak(initiatorRandom, 6), be_const_var(0) },
{ be_const_key_weak(passcodeId, -1), be_const_var(2) },
{ be_const_key_weak(hasPBKDFParameters, -1), be_const_var(3) },
{ be_const_key_weak(parse, -1), be_const_closure(Matter_PBKDFParamRequest_parse_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(class_Matter_PBKDFParamRequest_parse_closure) },
{ be_const_key_weak(initiator_session_id, 0), be_const_var(1) },
{ be_const_key_weak(SLEEPY_IDLE_INTERVAL, 3), be_const_var(4) },
{ be_const_key_weak(SLEEPY_ACTIVE_INTERVAL, -1), be_const_var(5) },
})),
be_str_weak(Matter_PBKDFParamRequest)
);
/*******************************************************************/
void be_load_Matter_PBKDFParamRequest_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_PBKDFParamRequest);
be_setglobal(vm, "Matter_PBKDFParamRequest");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_PBKDFParamResponse;
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_PBKDFParamResponse_tlv2raw, /* name */
extern const bclass be_class_Matter_PBKDFParamResponse;
be_local_closure(class_Matter_PBKDFParamResponse_tlv2raw, /* name */
be_nested_proto(
10, /* nstack */
2, /* argc */
@ -126,7 +121,7 @@ be_local_closure(Matter_PBKDFParamResponse_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PBKDFParamResponse,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -244,24 +239,18 @@ be_local_class(Matter_PBKDFParamResponse,
{ be_const_key_weak(pbkdf_parameters_iterations, -1), be_const_var(3) },
{ be_const_key_weak(initiatorRandom, 7), be_const_var(0) },
{ be_const_key_weak(responderRandom, 3), be_const_var(1) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_PBKDFParamResponse_tlv2raw_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_PBKDFParamResponse_tlv2raw_closure) },
})),
be_str_weak(Matter_PBKDFParamResponse)
);
/*******************************************************************/
void be_load_Matter_PBKDFParamResponse_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_PBKDFParamResponse);
be_setglobal(vm, "Matter_PBKDFParamResponse");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Pake1;
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_Pake1_parse, /* name */
extern const bclass be_class_Matter_Pake1;
be_local_closure(class_Matter_Pake1_parse, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -269,7 +258,7 @@ be_local_closure(Matter_Pake1_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Pake1,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_const_int(0),
@ -313,24 +302,18 @@ be_local_class(Matter_Pake1,
be_nested_map(2,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pA, 1), be_const_var(0) },
{ be_const_key_weak(parse, -1), be_const_closure(Matter_Pake1_parse_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(class_Matter_Pake1_parse_closure) },
})),
be_str_weak(Matter_Pake1)
);
/*******************************************************************/
void be_load_Matter_Pake1_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Pake1);
be_setglobal(vm, "Matter_Pake1");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Pake2;
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_Pake2_tlv2raw, /* name */
extern const bclass be_class_Matter_Pake2;
be_local_closure(class_Matter_Pake2_tlv2raw, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -338,7 +321,7 @@ be_local_closure(Matter_Pake2_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Pake2,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -391,26 +374,20 @@ be_local_class(Matter_Pake2,
NULL,
be_nested_map(3,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_Pake2_tlv2raw_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_Pake2_tlv2raw_closure) },
{ be_const_key_weak(cB, -1), be_const_var(1) },
{ be_const_key_weak(pB, 0), be_const_var(0) },
})),
be_str_weak(Matter_Pake2)
);
/*******************************************************************/
void be_load_Matter_Pake2_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Pake2);
be_setglobal(vm, "Matter_Pake2");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Pake3;
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_Pake3_parse, /* name */
extern const bclass be_class_Matter_Pake3;
be_local_closure(class_Matter_Pake3_parse, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -418,7 +395,7 @@ be_local_closure(Matter_Pake3_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Pake3,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_const_int(0),
@ -461,25 +438,19 @@ be_local_class(Matter_Pake3,
NULL,
be_nested_map(2,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(parse, -1), be_const_closure(Matter_Pake3_parse_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(class_Matter_Pake3_parse_closure) },
{ be_const_key_weak(cA, -1), be_const_var(0) },
})),
be_str_weak(Matter_Pake3)
);
/*******************************************************************/
void be_load_Matter_Pake3_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Pake3);
be_setglobal(vm, "Matter_Pake3");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Sigma1;
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_Sigma1_parse, /* name */
extern const bclass be_class_Matter_Sigma1;
be_local_closure(class_Matter_Sigma1_parse, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -487,7 +458,7 @@ be_local_closure(Matter_Sigma1_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Sigma1,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_const_int(0),
@ -582,7 +553,7 @@ be_local_class(Matter_Sigma1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(SLEEPY_ACTIVE_INTERVAL, -1), be_const_var(5) },
{ be_const_key_weak(Msg1, -1), be_const_var(8) },
{ be_const_key_weak(parse, 6), be_const_closure(Matter_Sigma1_parse_closure) },
{ be_const_key_weak(parse, 6), be_const_closure(class_Matter_Sigma1_parse_closure) },
{ be_const_key_weak(initiatorRandom, -1), be_const_var(0) },
{ be_const_key_weak(SLEEPY_IDLE_INTERVAL, 7), be_const_var(4) },
{ be_const_key_weak(initiatorEphPubKey, -1), be_const_var(3) },
@ -593,20 +564,14 @@ be_local_class(Matter_Sigma1,
})),
be_str_weak(Matter_Sigma1)
);
/*******************************************************************/
void be_load_Matter_Sigma1_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Sigma1);
be_setglobal(vm, "Matter_Sigma1");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Sigma2;
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_Sigma2_tlv2raw, /* name */
extern const bclass be_class_Matter_Sigma2;
be_local_closure(class_Matter_Sigma2_tlv2raw, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -614,7 +579,7 @@ be_local_closure(Matter_Sigma2_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Sigma2,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -714,7 +679,7 @@ be_local_class(Matter_Sigma2,
NULL,
be_nested_map(7,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_Sigma2_tlv2raw_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_Sigma2_tlv2raw_closure) },
{ be_const_key_weak(responderEphPubKey, 3), be_const_var(2) },
{ be_const_key_weak(responderSessionId, -1), be_const_var(1) },
{ be_const_key_weak(SLEEPY_IDLE_INTERVAL, -1), be_const_var(4) },
@ -724,20 +689,14 @@ be_local_class(Matter_Sigma2,
})),
be_str_weak(Matter_Sigma2)
);
/*******************************************************************/
void be_load_Matter_Sigma2_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Sigma2);
be_setglobal(vm, "Matter_Sigma2");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Sigma2Resume;
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_Sigma2Resume_tlv2raw, /* name */
extern const bclass be_class_Matter_Sigma2Resume;
be_local_closure(class_Matter_Sigma2Resume_tlv2raw, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -745,7 +704,7 @@ be_local_closure(Matter_Sigma2Resume_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Sigma2Resume,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -842,24 +801,18 @@ be_local_class(Matter_Sigma2Resume,
{ be_const_key_weak(sigma2ResumeMIC, -1), be_const_var(1) },
{ be_const_key_weak(responderSessionID, 1), be_const_var(2) },
{ be_const_key_weak(SLEEPY_ACTIVE_INTERVAL, -1), be_const_var(4) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_Sigma2Resume_tlv2raw_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_Sigma2Resume_tlv2raw_closure) },
})),
be_str_weak(Matter_Sigma2Resume)
);
/*******************************************************************/
void be_load_Matter_Sigma2Resume_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Sigma2Resume);
be_setglobal(vm, "Matter_Sigma2Resume");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Sigma3;
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_Sigma3_parse, /* name */
extern const bclass be_class_Matter_Sigma3;
be_local_closure(class_Matter_Sigma3_parse, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -867,7 +820,7 @@ be_local_closure(Matter_Sigma3_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Sigma3,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_const_int(0),
@ -916,17 +869,10 @@ be_local_class(Matter_Sigma3,
be_nested_map(3,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(TBEData3Encrypted, 2), be_const_var(0) },
{ be_const_key_weak(parse, -1), be_const_closure(Matter_Sigma3_parse_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(class_Matter_Sigma3_parse_closure) },
{ be_const_key_weak(Msg3, -1), be_const_var(1) },
})),
be_str_weak(Matter_Sigma3)
);
/*******************************************************************/
void be_load_Matter_Sigma3_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Sigma3);
be_setglobal(vm, "Matter_Sigma3");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Control_Message;
/********************************************************************
** Solidified function: parse_MsgCounterSyncRsp
********************************************************************/
be_local_closure(Matter_Control_Message_parse_MsgCounterSyncRsp, /* name */
extern const bclass be_class_Matter_Control_Message;
be_local_closure(class_Matter_Control_Message_parse_MsgCounterSyncRsp, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Control_Message_parse_MsgCounterSyncRsp, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Control_Message,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -58,7 +59,8 @@ be_local_closure(Matter_Control_Message_parse_MsgCounterSyncRsp, /* name */
/********************************************************************
** Solidified function: parse_MsgCounterSyncReq
********************************************************************/
be_local_closure(Matter_Control_Message_parse_MsgCounterSyncReq, /* name */
extern const bclass be_class_Matter_Control_Message;
be_local_closure(class_Matter_Control_Message_parse_MsgCounterSyncReq, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -66,7 +68,7 @@ be_local_closure(Matter_Control_Message_parse_MsgCounterSyncReq, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Control_Message,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -107,7 +109,8 @@ be_local_closure(Matter_Control_Message_parse_MsgCounterSyncReq, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Control_Message_init, /* name */
extern const bclass be_class_Matter_Control_Message;
be_local_closure(class_Matter_Control_Message_init, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -115,7 +118,7 @@ be_local_closure(Matter_Control_Message_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Control_Message,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -139,7 +142,8 @@ be_local_closure(Matter_Control_Message_init, /* name */
/********************************************************************
** Solidified function: process_incoming_control_message
********************************************************************/
be_local_closure(Matter_Control_Message_process_incoming_control_message, /* name */
extern const bclass be_class_Matter_Control_Message;
be_local_closure(class_Matter_Control_Message_process_incoming_control_message, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -147,7 +151,7 @@ be_local_closure(Matter_Control_Message_process_incoming_control_message, /* n
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Control_Message,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -218,21 +222,14 @@ be_local_class(Matter_Control_Message,
NULL,
be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(parse_MsgCounterSyncRsp, -1), be_const_closure(Matter_Control_Message_parse_MsgCounterSyncRsp_closure) },
{ be_const_key_weak(parse_MsgCounterSyncRsp, -1), be_const_closure(class_Matter_Control_Message_parse_MsgCounterSyncRsp_closure) },
{ be_const_key_weak(responder, 2), be_const_var(0) },
{ be_const_key_weak(parse_MsgCounterSyncReq, -1), be_const_closure(Matter_Control_Message_parse_MsgCounterSyncReq_closure) },
{ be_const_key_weak(init, 4), be_const_closure(Matter_Control_Message_init_closure) },
{ be_const_key_weak(parse_MsgCounterSyncReq, -1), be_const_closure(class_Matter_Control_Message_parse_MsgCounterSyncReq_closure) },
{ be_const_key_weak(init, 4), be_const_closure(class_Matter_Control_Message_init_closure) },
{ be_const_key_weak(device, -1), be_const_var(1) },
{ be_const_key_weak(process_incoming_control_message, -1), be_const_closure(Matter_Control_Message_process_incoming_control_message_closure) },
{ be_const_key_weak(process_incoming_control_message, -1), be_const_closure(class_Matter_Control_Message_process_incoming_control_message_closure) },
})),
be_str_weak(Matter_Control_Message)
);
/*******************************************************************/
void be_load_Matter_Control_Message_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Control_Message);
be_setglobal(vm, "Matter_Control_Message");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Expirable;
/********************************************************************
** Solidified function: before_remove
********************************************************************/
be_local_closure(Matter_Expirable_before_remove, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_before_remove, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Expirable_before_remove, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
0, /* has constants */
NULL, /* no const */
be_str_weak(before_remove),
@ -33,7 +34,8 @@ be_local_closure(Matter_Expirable_before_remove, /* name */
/********************************************************************
** Solidified function: set_no_expiration
********************************************************************/
be_local_closure(Matter_Expirable_set_no_expiration, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_set_no_expiration, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -41,7 +43,7 @@ be_local_closure(Matter_Expirable_set_no_expiration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_expiration),
@ -61,7 +63,8 @@ be_local_closure(Matter_Expirable_set_no_expiration, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Expirable_init, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_init, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -69,7 +72,7 @@ be_local_closure(Matter_Expirable_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_persist),
@ -89,7 +92,8 @@ be_local_closure(Matter_Expirable_init, /* name */
/********************************************************************
** Solidified function: set_expire_time
********************************************************************/
be_local_closure(Matter_Expirable_set_expire_time, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_set_expire_time, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -97,7 +101,7 @@ be_local_closure(Matter_Expirable_set_expire_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_expiration),
@ -119,7 +123,8 @@ be_local_closure(Matter_Expirable_set_expire_time, /* name */
/********************************************************************
** Solidified function: has_expired
********************************************************************/
be_local_closure(Matter_Expirable_has_expired, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_has_expired, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -127,7 +132,7 @@ be_local_closure(Matter_Expirable_has_expired, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -162,7 +167,8 @@ be_local_closure(Matter_Expirable_has_expired, /* name */
/********************************************************************
** Solidified function: set_parent_list
********************************************************************/
be_local_closure(Matter_Expirable_set_parent_list, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_set_parent_list, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -170,7 +176,7 @@ be_local_closure(Matter_Expirable_set_parent_list, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_list),
@ -189,7 +195,8 @@ be_local_closure(Matter_Expirable_set_parent_list, /* name */
/********************************************************************
** Solidified function: hydrate_post
********************************************************************/
be_local_closure(Matter_Expirable_hydrate_post, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_hydrate_post, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -197,7 +204,7 @@ be_local_closure(Matter_Expirable_hydrate_post, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
0, /* has constants */
NULL, /* no const */
be_str_weak(hydrate_post),
@ -213,7 +220,8 @@ be_local_closure(Matter_Expirable_hydrate_post, /* name */
/********************************************************************
** Solidified function: set_expire_in_seconds
********************************************************************/
be_local_closure(Matter_Expirable_set_expire_in_seconds, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_set_expire_in_seconds, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -221,7 +229,7 @@ be_local_closure(Matter_Expirable_set_expire_in_seconds, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -255,7 +263,8 @@ be_local_closure(Matter_Expirable_set_expire_in_seconds, /* name */
/********************************************************************
** Solidified function: get_parent_list
********************************************************************/
be_local_closure(Matter_Expirable_get_parent_list, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_get_parent_list, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -263,7 +272,7 @@ be_local_closure(Matter_Expirable_get_parent_list, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_list),
@ -282,7 +291,8 @@ be_local_closure(Matter_Expirable_get_parent_list, /* name */
/********************************************************************
** Solidified function: does_persist
********************************************************************/
be_local_closure(Matter_Expirable_does_persist, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_does_persist, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -290,7 +300,7 @@ be_local_closure(Matter_Expirable_does_persist, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_persist),
@ -309,7 +319,8 @@ be_local_closure(Matter_Expirable_does_persist, /* name */
/********************************************************************
** Solidified function: set_persist
********************************************************************/
be_local_closure(Matter_Expirable_set_persist, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_set_persist, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -317,7 +328,7 @@ be_local_closure(Matter_Expirable_set_persist, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_persist),
@ -339,7 +350,8 @@ be_local_closure(Matter_Expirable_set_persist, /* name */
/********************************************************************
** Solidified function: persist_pre
********************************************************************/
be_local_closure(Matter_Expirable_persist_pre, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_persist_pre, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -347,7 +359,7 @@ be_local_closure(Matter_Expirable_persist_pre, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
0, /* has constants */
NULL, /* no const */
be_str_weak(persist_pre),
@ -363,7 +375,8 @@ be_local_closure(Matter_Expirable_persist_pre, /* name */
/********************************************************************
** Solidified function: persist_post
********************************************************************/
be_local_closure(Matter_Expirable_persist_post, /* name */
extern const bclass be_class_Matter_Expirable;
be_local_closure(class_Matter_Expirable_persist_post, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -371,7 +384,7 @@ be_local_closure(Matter_Expirable_persist_post, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable,
0, /* has constants */
NULL, /* no const */
be_str_weak(persist_post),
@ -393,38 +406,32 @@ be_local_class(Matter_Expirable,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(_expiration, -1), be_const_var(2) },
{ be_const_key_weak(set_no_expiration, 9), be_const_closure(Matter_Expirable_set_no_expiration_closure) },
{ be_const_key_weak(persist_post, -1), be_const_closure(Matter_Expirable_persist_post_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Expirable_init_closure) },
{ be_const_key_weak(has_expired, -1), be_const_closure(Matter_Expirable_has_expired_closure) },
{ be_const_key_weak(set_expire_time, 6), be_const_closure(Matter_Expirable_set_expire_time_closure) },
{ be_const_key_weak(set_parent_list, 4), be_const_closure(Matter_Expirable_set_parent_list_closure) },
{ be_const_key_weak(hydrate_post, -1), be_const_closure(Matter_Expirable_hydrate_post_closure) },
{ be_const_key_weak(set_expire_in_seconds, -1), be_const_closure(Matter_Expirable_set_expire_in_seconds_closure) },
{ be_const_key_weak(get_parent_list, 8), be_const_closure(Matter_Expirable_get_parent_list_closure) },
{ be_const_key_weak(set_no_expiration, 9), be_const_closure(class_Matter_Expirable_set_no_expiration_closure) },
{ be_const_key_weak(persist_post, -1), be_const_closure(class_Matter_Expirable_persist_post_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Expirable_init_closure) },
{ be_const_key_weak(has_expired, -1), be_const_closure(class_Matter_Expirable_has_expired_closure) },
{ be_const_key_weak(set_expire_time, 6), be_const_closure(class_Matter_Expirable_set_expire_time_closure) },
{ be_const_key_weak(set_parent_list, 4), be_const_closure(class_Matter_Expirable_set_parent_list_closure) },
{ be_const_key_weak(hydrate_post, -1), be_const_closure(class_Matter_Expirable_hydrate_post_closure) },
{ be_const_key_weak(set_expire_in_seconds, -1), be_const_closure(class_Matter_Expirable_set_expire_in_seconds_closure) },
{ be_const_key_weak(get_parent_list, 8), be_const_closure(class_Matter_Expirable_get_parent_list_closure) },
{ be_const_key_weak(_list, -1), be_const_var(0) },
{ be_const_key_weak(does_persist, -1), be_const_closure(Matter_Expirable_does_persist_closure) },
{ be_const_key_weak(set_persist, -1), be_const_closure(Matter_Expirable_set_persist_closure) },
{ be_const_key_weak(persist_pre, -1), be_const_closure(Matter_Expirable_persist_pre_closure) },
{ be_const_key_weak(does_persist, -1), be_const_closure(class_Matter_Expirable_does_persist_closure) },
{ be_const_key_weak(set_persist, -1), be_const_closure(class_Matter_Expirable_set_persist_closure) },
{ be_const_key_weak(persist_pre, -1), be_const_closure(class_Matter_Expirable_persist_pre_closure) },
{ be_const_key_weak(_persist, 2), be_const_var(1) },
{ be_const_key_weak(before_remove, 0), be_const_closure(Matter_Expirable_before_remove_closure) },
{ be_const_key_weak(before_remove, 0), be_const_closure(class_Matter_Expirable_before_remove_closure) },
})),
be_str_weak(Matter_Expirable)
);
/*******************************************************************/
void be_load_Matter_Expirable_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Expirable);
be_setglobal(vm, "Matter_Expirable");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Expirable_list;
/********************************************************************
** Solidified function: count_persistables
********************************************************************/
be_local_closure(Matter_Expirable_list_count_persistables, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_count_persistables, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -432,7 +439,7 @@ be_local_closure(Matter_Expirable_list_count_persistables, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_int(0),
@ -465,7 +472,8 @@ be_local_closure(Matter_Expirable_list_count_persistables, /* name */
/********************************************************************
** Solidified function: remove
********************************************************************/
be_local_closure(Matter_Expirable_list_remove, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_remove, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -473,7 +481,7 @@ be_local_closure(Matter_Expirable_list_remove, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_int(0),
@ -513,7 +521,8 @@ be_local_closure(Matter_Expirable_list_remove, /* name */
/********************************************************************
** Solidified function: push
********************************************************************/
be_local_closure(Matter_Expirable_list_push, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_push, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -521,7 +530,7 @@ be_local_closure(Matter_Expirable_list_push, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -560,7 +569,8 @@ be_local_closure(Matter_Expirable_list_push, /* name */
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_Expirable_list_every_second, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_every_second, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -568,7 +578,7 @@ be_local_closure(Matter_Expirable_list_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(remove_expired),
@ -588,7 +598,8 @@ be_local_closure(Matter_Expirable_list_every_second, /* name */
/********************************************************************
** Solidified function: remove_expired
********************************************************************/
be_local_closure(Matter_Expirable_list_remove_expired, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_remove_expired, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -596,7 +607,7 @@ be_local_closure(Matter_Expirable_list_remove_expired, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_const_int(0),
@ -639,7 +650,8 @@ be_local_closure(Matter_Expirable_list_remove_expired, /* name */
/********************************************************************
** Solidified function: persistables
********************************************************************/
be_local_closure(Matter_Expirable_list_persistables, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_persistables, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -647,7 +659,7 @@ be_local_closure(Matter_Expirable_list_persistables, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -657,7 +669,7 @@ be_local_closure(Matter_Expirable_list_persistables, /* name */
be_local_const_upval(1, 1),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_persist),
@ -676,6 +688,7 @@ be_local_closure(Matter_Expirable_list_persistables, /* name */
0x80000000, // 0008 RET 0
})
),
&be_class_Matter_Expirable_list,
}),
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
@ -698,7 +711,8 @@ be_local_closure(Matter_Expirable_list_persistables, /* name */
/********************************************************************
** Solidified function: setitem
********************************************************************/
be_local_closure(Matter_Expirable_list_setitem, /* name */
extern const bclass be_class_Matter_Expirable_list;
be_local_closure(class_Matter_Expirable_list_setitem, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -706,7 +720,7 @@ be_local_closure(Matter_Expirable_list_setitem, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Expirable_list,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -752,22 +766,15 @@ be_local_class(Matter_Expirable_list,
&be_class_list,
be_nested_map(7,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(count_persistables, 4), be_const_closure(Matter_Expirable_list_count_persistables_closure) },
{ be_const_key_weak(remove, -1), be_const_closure(Matter_Expirable_list_remove_closure) },
{ be_const_key_weak(push, 5), be_const_closure(Matter_Expirable_list_push_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_Expirable_list_every_second_closure) },
{ be_const_key_weak(setitem, 6), be_const_closure(Matter_Expirable_list_setitem_closure) },
{ be_const_key_weak(persistables, -1), be_const_closure(Matter_Expirable_list_persistables_closure) },
{ be_const_key_weak(remove_expired, -1), be_const_closure(Matter_Expirable_list_remove_expired_closure) },
{ be_const_key_weak(count_persistables, 4), be_const_closure(class_Matter_Expirable_list_count_persistables_closure) },
{ be_const_key_weak(remove, -1), be_const_closure(class_Matter_Expirable_list_remove_closure) },
{ be_const_key_weak(push, 5), be_const_closure(class_Matter_Expirable_list_push_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_Expirable_list_every_second_closure) },
{ be_const_key_weak(setitem, 6), be_const_closure(class_Matter_Expirable_list_setitem_closure) },
{ be_const_key_weak(persistables, -1), be_const_closure(class_Matter_Expirable_list_persistables_closure) },
{ be_const_key_weak(remove_expired, -1), be_const_closure(class_Matter_Expirable_list_remove_expired_closure) },
})),
be_str_weak(Matter_Expirable_list)
);
/*******************************************************************/
void be_load_Matter_Expirable_list_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Expirable_list);
be_setglobal(vm, "Matter_Expirable_list");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Fabric;
/********************************************************************
** Solidified function: get_icac
********************************************************************/
be_local_closure(Matter_Fabric_get_icac, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_icac, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Fabric_get_icac, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(icac),
@ -36,7 +37,8 @@ be_local_closure(Matter_Fabric_get_icac, /* name */
/********************************************************************
** Solidified function: before_remove
********************************************************************/
be_local_closure(Matter_Fabric_before_remove, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_before_remove, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -44,7 +46,7 @@ be_local_closure(Matter_Fabric_before_remove, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -84,7 +86,8 @@ be_local_closure(Matter_Fabric_before_remove, /* name */
/********************************************************************
** Solidified function: get_pk
********************************************************************/
be_local_closure(Matter_Fabric_get_pk, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_pk, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -92,7 +95,7 @@ be_local_closure(Matter_Fabric_get_pk, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(no_private_key),
@ -111,7 +114,8 @@ be_local_closure(Matter_Fabric_get_pk, /* name */
/********************************************************************
** Solidified function: get_fabric_compressed
********************************************************************/
be_local_closure(Matter_Fabric_get_fabric_compressed, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_fabric_compressed, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -119,7 +123,7 @@ be_local_closure(Matter_Fabric_get_fabric_compressed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_compressed),
@ -138,7 +142,8 @@ be_local_closure(Matter_Fabric_get_fabric_compressed, /* name */
/********************************************************************
** Solidified function: get_fabric_id
********************************************************************/
be_local_closure(Matter_Fabric_get_fabric_id, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_fabric_id, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -146,7 +151,7 @@ be_local_closure(Matter_Fabric_get_fabric_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_id),
@ -165,7 +170,8 @@ be_local_closure(Matter_Fabric_get_fabric_id, /* name */
/********************************************************************
** Solidified function: set_admin_subject_vendor
********************************************************************/
be_local_closure(Matter_Fabric_set_admin_subject_vendor, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_admin_subject_vendor, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -173,7 +179,7 @@ be_local_closure(Matter_Fabric_set_admin_subject_vendor, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(admin_subject),
@ -194,7 +200,8 @@ be_local_closure(Matter_Fabric_set_admin_subject_vendor, /* name */
/********************************************************************
** Solidified function: get_admin_vendor
********************************************************************/
be_local_closure(Matter_Fabric_get_admin_vendor, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_admin_vendor, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -202,7 +209,7 @@ be_local_closure(Matter_Fabric_get_admin_vendor, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(admin_vendor),
@ -221,7 +228,8 @@ be_local_closure(Matter_Fabric_get_admin_vendor, /* name */
/********************************************************************
** Solidified function: get_noc
********************************************************************/
be_local_closure(Matter_Fabric_get_noc, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_noc, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -229,7 +237,7 @@ be_local_closure(Matter_Fabric_get_noc, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(noc),
@ -248,7 +256,8 @@ be_local_closure(Matter_Fabric_get_noc, /* name */
/********************************************************************
** Solidified function: fromjson
********************************************************************/
be_local_closure(Matter_Fabric_fromjson, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_fromjson, /* name */
be_nested_proto(
16, /* nstack */
2, /* argc */
@ -256,7 +265,7 @@ be_local_closure(Matter_Fabric_fromjson, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_Fabric),
@ -366,7 +375,8 @@ be_local_closure(Matter_Fabric_fromjson, /* name */
/********************************************************************
** Solidified function: set_ca
********************************************************************/
be_local_closure(Matter_Fabric_set_ca, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_ca, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -374,7 +384,7 @@ be_local_closure(Matter_Fabric_set_ca, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(root_ca_certificate),
@ -393,7 +403,8 @@ be_local_closure(Matter_Fabric_set_ca, /* name */
/********************************************************************
** Solidified function: tojson
********************************************************************/
be_local_closure(Matter_Fabric_tojson, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_tojson, /* name */
be_nested_proto(
16, /* nstack */
1, /* argc */
@ -401,7 +412,7 @@ be_local_closure(Matter_Fabric_tojson, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[27]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -563,7 +574,8 @@ be_local_closure(Matter_Fabric_tojson, /* name */
/********************************************************************
** Solidified function: hydrate_post
********************************************************************/
be_local_closure(Matter_Fabric_hydrate_post, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_hydrate_post, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -571,7 +583,7 @@ be_local_closure(Matter_Fabric_hydrate_post, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_group_data_snd_impl),
@ -610,7 +622,8 @@ be_local_closure(Matter_Fabric_hydrate_post, /* name */
/********************************************************************
** Solidified function: set_ipk_epoch_key
********************************************************************/
be_local_closure(Matter_Fabric_set_ipk_epoch_key, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_ipk_epoch_key, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -618,7 +631,7 @@ be_local_closure(Matter_Fabric_set_ipk_epoch_key, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(ipk_epoch_key),
@ -637,7 +650,8 @@ be_local_closure(Matter_Fabric_set_ipk_epoch_key, /* name */
/********************************************************************
** Solidified function: set_fabric_device
********************************************************************/
be_local_closure(Matter_Fabric_set_fabric_device, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_fabric_device, /* name */
be_nested_proto(
7, /* nstack */
5, /* argc */
@ -645,7 +659,7 @@ be_local_closure(Matter_Fabric_set_fabric_device, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_id),
@ -678,7 +692,8 @@ be_local_closure(Matter_Fabric_set_fabric_device, /* name */
/********************************************************************
** Solidified function: get_device_id
********************************************************************/
be_local_closure(Matter_Fabric_get_device_id, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_device_id, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -686,7 +701,7 @@ be_local_closure(Matter_Fabric_get_device_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(device_id),
@ -705,7 +720,8 @@ be_local_closure(Matter_Fabric_get_device_id, /* name */
/********************************************************************
** Solidified function: get_admin_subject
********************************************************************/
be_local_closure(Matter_Fabric_get_admin_subject, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_admin_subject, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -713,7 +729,7 @@ be_local_closure(Matter_Fabric_get_admin_subject, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(admin_subject),
@ -732,7 +748,8 @@ be_local_closure(Matter_Fabric_get_admin_subject, /* name */
/********************************************************************
** Solidified function: is_marked_for_deletion
********************************************************************/
be_local_closure(Matter_Fabric_is_marked_for_deletion, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_is_marked_for_deletion, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -740,7 +757,7 @@ be_local_closure(Matter_Fabric_is_marked_for_deletion, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(deleted),
@ -761,7 +778,8 @@ be_local_closure(Matter_Fabric_is_marked_for_deletion, /* name */
/********************************************************************
** Solidified function: get_fabric_id_as_int64
********************************************************************/
be_local_closure(Matter_Fabric_get_fabric_id_as_int64, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_fabric_id_as_int64, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -769,7 +787,7 @@ be_local_closure(Matter_Fabric_get_fabric_id_as_int64, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(int64),
@ -793,7 +811,8 @@ be_local_closure(Matter_Fabric_get_fabric_id_as_int64, /* name */
/********************************************************************
** Solidified function: get_ca
********************************************************************/
be_local_closure(Matter_Fabric_get_ca, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_ca, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -801,7 +820,7 @@ be_local_closure(Matter_Fabric_get_ca, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(root_ca_certificate),
@ -820,7 +839,8 @@ be_local_closure(Matter_Fabric_get_ca, /* name */
/********************************************************************
** Solidified function: get_oldest_session
********************************************************************/
be_local_closure(Matter_Fabric_get_oldest_session, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_oldest_session, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -828,7 +848,7 @@ be_local_closure(Matter_Fabric_get_oldest_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(get_old_recent_session),
@ -849,7 +869,8 @@ be_local_closure(Matter_Fabric_get_oldest_session, /* name */
/********************************************************************
** Solidified function: fabric_completed
********************************************************************/
be_local_closure(Matter_Fabric_fabric_completed, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_fabric_completed, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -857,7 +878,7 @@ be_local_closure(Matter_Fabric_fabric_completed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(set_no_expiration),
@ -890,7 +911,8 @@ be_local_closure(Matter_Fabric_fabric_completed, /* name */
/********************************************************************
** Solidified function: counter_group_data_snd_next
********************************************************************/
be_local_closure(Matter_Fabric_counter_group_data_snd_next, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_counter_group_data_snd_next, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -898,7 +920,7 @@ be_local_closure(Matter_Fabric_counter_group_data_snd_next, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_group_data_snd_impl),
@ -954,7 +976,8 @@ be_local_closure(Matter_Fabric_counter_group_data_snd_next, /* name */
/********************************************************************
** Solidified function: set_noc_icac
********************************************************************/
be_local_closure(Matter_Fabric_set_noc_icac, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_noc_icac, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -962,7 +985,7 @@ be_local_closure(Matter_Fabric_set_noc_icac, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(noc),
@ -983,7 +1006,8 @@ be_local_closure(Matter_Fabric_set_noc_icac, /* name */
/********************************************************************
** Solidified function: set_pk
********************************************************************/
be_local_closure(Matter_Fabric_set_pk, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_pk, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -991,7 +1015,7 @@ be_local_closure(Matter_Fabric_set_pk, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(no_private_key),
@ -1010,7 +1034,8 @@ be_local_closure(Matter_Fabric_set_pk, /* name */
/********************************************************************
** Solidified function: get_newest_session
********************************************************************/
be_local_closure(Matter_Fabric_get_newest_session, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_newest_session, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1018,7 +1043,7 @@ be_local_closure(Matter_Fabric_get_newest_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(get_old_recent_session),
@ -1039,7 +1064,8 @@ be_local_closure(Matter_Fabric_get_newest_session, /* name */
/********************************************************************
** Solidified function: log_new_fabric
********************************************************************/
be_local_closure(Matter_Fabric_log_new_fabric, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_log_new_fabric, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -1047,7 +1073,7 @@ be_local_closure(Matter_Fabric_log_new_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -1090,7 +1116,8 @@ be_local_closure(Matter_Fabric_log_new_fabric, /* name */
/********************************************************************
** Solidified function: get_ca_pub
********************************************************************/
be_local_closure(Matter_Fabric_get_ca_pub, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_ca_pub, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1098,7 +1125,7 @@ be_local_closure(Matter_Fabric_get_ca_pub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(root_ca_certificate),
@ -1131,7 +1158,8 @@ be_local_closure(Matter_Fabric_get_ca_pub, /* name */
/********************************************************************
** Solidified function: get_fabric_index
********************************************************************/
be_local_closure(Matter_Fabric_get_fabric_index, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_fabric_index, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1139,7 +1167,7 @@ be_local_closure(Matter_Fabric_get_fabric_index, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_index),
@ -1158,7 +1186,8 @@ be_local_closure(Matter_Fabric_get_fabric_index, /* name */
/********************************************************************
** Solidified function: writejson
********************************************************************/
be_local_closure(Matter_Fabric_writejson, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_writejson, /* name */
be_nested_proto(
17, /* nstack */
2, /* argc */
@ -1166,7 +1195,7 @@ be_local_closure(Matter_Fabric_writejson, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[26]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -1333,7 +1362,8 @@ be_local_closure(Matter_Fabric_writejson, /* name */
/********************************************************************
** Solidified function: counter_group_ctrl_snd_next
********************************************************************/
be_local_closure(Matter_Fabric_counter_group_ctrl_snd_next, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_counter_group_ctrl_snd_next, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -1341,7 +1371,7 @@ be_local_closure(Matter_Fabric_counter_group_ctrl_snd_next, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_group_ctrl_snd_impl),
@ -1397,7 +1427,8 @@ be_local_closure(Matter_Fabric_counter_group_ctrl_snd_next, /* name */
/********************************************************************
** Solidified function: fabric_candidate
********************************************************************/
be_local_closure(Matter_Fabric_fabric_candidate, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_fabric_candidate, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1405,7 +1436,7 @@ be_local_closure(Matter_Fabric_fabric_candidate, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(set_expire_in_seconds),
@ -1435,7 +1466,8 @@ be_local_closure(Matter_Fabric_fabric_candidate, /* name */
/********************************************************************
** Solidified function: assign_fabric_index
********************************************************************/
be_local_closure(Matter_Fabric_assign_fabric_index, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_assign_fabric_index, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -1443,7 +1475,7 @@ be_local_closure(Matter_Fabric_assign_fabric_index, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(get_fabric_index),
@ -1474,7 +1506,8 @@ be_local_closure(Matter_Fabric_assign_fabric_index, /* name */
/********************************************************************
** Solidified function: get_old_recent_session
********************************************************************/
be_local_closure(Matter_Fabric_get_old_recent_session, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_old_recent_session, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -1482,7 +1515,7 @@ be_local_closure(Matter_Fabric_get_old_recent_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(_sessions),
@ -1532,7 +1565,8 @@ be_local_closure(Matter_Fabric_get_old_recent_session, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Fabric_init, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1540,7 +1574,7 @@ be_local_closure(Matter_Fabric_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -1605,7 +1639,8 @@ be_local_closure(Matter_Fabric_init, /* name */
/********************************************************************
** Solidified function: get_ipk_epoch_key
********************************************************************/
be_local_closure(Matter_Fabric_get_ipk_epoch_key, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_ipk_epoch_key, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1613,7 +1648,7 @@ be_local_closure(Matter_Fabric_get_ipk_epoch_key, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(ipk_epoch_key),
@ -1632,7 +1667,8 @@ be_local_closure(Matter_Fabric_get_ipk_epoch_key, /* name */
/********************************************************************
** Solidified function: add_session
********************************************************************/
be_local_closure(Matter_Fabric_add_session, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_add_session, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -1640,7 +1676,7 @@ be_local_closure(Matter_Fabric_add_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(_sessions),
@ -1696,7 +1732,8 @@ be_local_closure(Matter_Fabric_add_session, /* name */
/********************************************************************
** Solidified function: set_fabric_index
********************************************************************/
be_local_closure(Matter_Fabric_set_fabric_index, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_set_fabric_index, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1704,7 +1741,7 @@ be_local_closure(Matter_Fabric_set_fabric_index, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_index),
@ -1723,7 +1760,8 @@ be_local_closure(Matter_Fabric_set_fabric_index, /* name */
/********************************************************************
** Solidified function: get_device_id_as_int64
********************************************************************/
be_local_closure(Matter_Fabric_get_device_id_as_int64, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_device_id_as_int64, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1731,7 +1769,7 @@ be_local_closure(Matter_Fabric_get_device_id_as_int64, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(int64),
@ -1755,7 +1793,8 @@ be_local_closure(Matter_Fabric_get_device_id_as_int64, /* name */
/********************************************************************
** Solidified function: get_fabric_label
********************************************************************/
be_local_closure(Matter_Fabric_get_fabric_label, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_fabric_label, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1763,7 +1802,7 @@ be_local_closure(Matter_Fabric_get_fabric_label, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(fabric_label),
@ -1782,7 +1821,8 @@ be_local_closure(Matter_Fabric_get_fabric_label, /* name */
/********************************************************************
** Solidified function: get_ipk_group_key
********************************************************************/
be_local_closure(Matter_Fabric_get_ipk_group_key, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_ipk_group_key, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -1790,7 +1830,7 @@ be_local_closure(Matter_Fabric_get_ipk_group_key, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(ipk_epoch_key),
@ -1838,7 +1878,8 @@ be_local_closure(Matter_Fabric_get_ipk_group_key, /* name */
/********************************************************************
** Solidified function: mark_for_deletion
********************************************************************/
be_local_closure(Matter_Fabric_mark_for_deletion, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_mark_for_deletion, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1846,7 +1887,7 @@ be_local_closure(Matter_Fabric_mark_for_deletion, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(deleted),
@ -1870,7 +1911,8 @@ be_local_closure(Matter_Fabric_mark_for_deletion, /* name */
/********************************************************************
** Solidified function: get_admin_vendor_name
********************************************************************/
be_local_closure(Matter_Fabric_get_admin_vendor_name, /* name */
extern const bclass be_class_Matter_Fabric;
be_local_closure(class_Matter_Fabric_get_admin_vendor_name, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1878,7 +1920,7 @@ be_local_closure(Matter_Fabric_get_admin_vendor_name, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Fabric,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(admin_vendor),
@ -1925,81 +1967,74 @@ be_local_class(Matter_Fabric,
&be_class_Matter_Expirable,
be_nested_map(66,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(get_icac, -1), be_const_closure(Matter_Fabric_get_icac_closure) },
{ be_const_key_weak(get_icac, -1), be_const_closure(class_Matter_Fabric_get_icac_closure) },
{ be_const_key_weak(_counter_group_ctrl_snd_impl, 2), be_const_var(18) },
{ be_const_key_weak(get_fabric_compressed, -1), be_const_closure(Matter_Fabric_get_fabric_compressed_closure) },
{ be_const_key_weak(get_pk, -1), be_const_closure(Matter_Fabric_get_pk_closure) },
{ be_const_key_weak(get_admin_vendor_name, 8), be_const_closure(Matter_Fabric_get_admin_vendor_name_closure) },
{ be_const_key_weak(get_fabric_id, -1), be_const_closure(Matter_Fabric_get_fabric_id_closure) },
{ be_const_key_weak(get_fabric_compressed, -1), be_const_closure(class_Matter_Fabric_get_fabric_compressed_closure) },
{ be_const_key_weak(get_pk, -1), be_const_closure(class_Matter_Fabric_get_pk_closure) },
{ be_const_key_weak(get_admin_vendor_name, 8), be_const_closure(class_Matter_Fabric_get_admin_vendor_name_closure) },
{ be_const_key_weak(get_fabric_id, -1), be_const_closure(class_Matter_Fabric_get_fabric_id_closure) },
{ be_const_key_weak(deleted, 49), be_const_var(2) },
{ be_const_key_weak(set_admin_subject_vendor, -1), be_const_closure(Matter_Fabric_set_admin_subject_vendor_closure) },
{ be_const_key_weak(set_ipk_epoch_key, -1), be_const_closure(Matter_Fabric_set_ipk_epoch_key_closure) },
{ be_const_key_weak(set_admin_subject_vendor, -1), be_const_closure(class_Matter_Fabric_set_admin_subject_vendor_closure) },
{ be_const_key_weak(set_ipk_epoch_key, -1), be_const_closure(class_Matter_Fabric_set_ipk_epoch_key_closure) },
{ be_const_key_weak(fabric_parent, 45), be_const_var(4) },
{ be_const_key_weak(get_ipk_group_key, 18), be_const_closure(Matter_Fabric_get_ipk_group_key_closure) },
{ be_const_key_weak(fromjson, -1), be_const_static_closure(Matter_Fabric_fromjson_closure) },
{ be_const_key_weak(set_ca, -1), be_const_closure(Matter_Fabric_set_ca_closure) },
{ be_const_key_weak(get_ipk_group_key, 18), be_const_closure(class_Matter_Fabric_get_ipk_group_key_closure) },
{ be_const_key_weak(fromjson, -1), be_const_static_closure(class_Matter_Fabric_fromjson_closure) },
{ be_const_key_weak(set_ca, -1), be_const_closure(class_Matter_Fabric_set_ca_closure) },
{ be_const_key_weak(counter_group_ctrl_snd, -1), be_const_var(16) },
{ be_const_key_weak(tojson, -1), be_const_closure(Matter_Fabric_tojson_closure) },
{ be_const_key_weak(hydrate_post, 53), be_const_closure(Matter_Fabric_hydrate_post_closure) },
{ be_const_key_weak(tojson, -1), be_const_closure(class_Matter_Fabric_tojson_closure) },
{ be_const_key_weak(hydrate_post, 53), be_const_closure(class_Matter_Fabric_hydrate_post_closure) },
{ be_const_key_weak(no_private_key, 58), be_const_var(6) },
{ be_const_key_weak(_sessions, -1), be_const_var(5) },
{ be_const_key_weak(fabric_compressed, -1), be_const_var(12) },
{ be_const_key_weak(device_id, -1), be_const_var(13) },
{ be_const_key_weak(get_noc, 25), be_const_closure(Matter_Fabric_get_noc_closure) },
{ be_const_key_weak(get_fabric_label, -1), be_const_closure(Matter_Fabric_get_fabric_label_closure) },
{ be_const_key_weak(get_admin_subject, -1), be_const_closure(Matter_Fabric_get_admin_subject_closure) },
{ be_const_key_weak(before_remove, 28), be_const_closure(Matter_Fabric_before_remove_closure) },
{ be_const_key_weak(get_fabric_id_as_int64, -1), be_const_closure(Matter_Fabric_get_fabric_id_as_int64_closure) },
{ be_const_key_weak(set_fabric_device, -1), be_const_closure(Matter_Fabric_set_fabric_device_closure) },
{ be_const_key_weak(get_ca, -1), be_const_closure(Matter_Fabric_get_ca_closure) },
{ be_const_key_weak(get_noc, 25), be_const_closure(class_Matter_Fabric_get_noc_closure) },
{ be_const_key_weak(get_fabric_label, -1), be_const_closure(class_Matter_Fabric_get_fabric_label_closure) },
{ be_const_key_weak(get_admin_subject, -1), be_const_closure(class_Matter_Fabric_get_admin_subject_closure) },
{ be_const_key_weak(before_remove, 28), be_const_closure(class_Matter_Fabric_before_remove_closure) },
{ be_const_key_weak(get_fabric_id_as_int64, -1), be_const_closure(class_Matter_Fabric_get_fabric_id_as_int64_closure) },
{ be_const_key_weak(set_fabric_device, -1), be_const_closure(class_Matter_Fabric_set_fabric_device_closure) },
{ be_const_key_weak(get_ca, -1), be_const_closure(class_Matter_Fabric_get_ca_closure) },
{ be_const_key_weak(ipk_epoch_key, -1), be_const_var(10) },
{ be_const_key_weak(fabric_index, 48), be_const_var(3) },
{ be_const_key_weak(set_pk, -1), be_const_closure(Matter_Fabric_set_pk_closure) },
{ be_const_key_weak(fabric_completed, -1), be_const_closure(Matter_Fabric_fabric_completed_closure) },
{ be_const_key_weak(set_pk, -1), be_const_closure(class_Matter_Fabric_set_pk_closure) },
{ be_const_key_weak(fabric_completed, -1), be_const_closure(class_Matter_Fabric_fabric_completed_closure) },
{ be_const_key_weak(created, -1), be_const_var(1) },
{ be_const_key_weak(counter_group_data_snd_next, -1), be_const_closure(Matter_Fabric_counter_group_data_snd_next_closure) },
{ be_const_key_weak(set_noc_icac, -1), be_const_closure(Matter_Fabric_set_noc_icac_closure) },
{ be_const_key_weak(counter_group_data_snd_next, -1), be_const_closure(class_Matter_Fabric_counter_group_data_snd_next_closure) },
{ be_const_key_weak(set_noc_icac, -1), be_const_closure(class_Matter_Fabric_set_noc_icac_closure) },
{ be_const_key_weak(_GROUP_SND_INCR, -1), be_const_int(32) },
{ be_const_key_weak(admin_vendor, 29), be_const_var(20) },
{ be_const_key_weak(fabric_id, -1), be_const_var(11) },
{ be_const_key_weak(fabric_label, -1), be_const_var(14) },
{ be_const_key_weak(log_new_fabric, -1), be_const_closure(Matter_Fabric_log_new_fabric_closure) },
{ be_const_key_weak(log_new_fabric, -1), be_const_closure(class_Matter_Fabric_log_new_fabric_closure) },
{ be_const_key_weak(noc, -1), be_const_var(8) },
{ be_const_key_weak(_counter_group_data_snd_impl, -1), be_const_var(17) },
{ be_const_key_weak(get_newest_session, 37), be_const_closure(Matter_Fabric_get_newest_session_closure) },
{ be_const_key_weak(get_ca_pub, -1), be_const_closure(Matter_Fabric_get_ca_pub_closure) },
{ be_const_key_weak(add_session, -1), be_const_closure(Matter_Fabric_add_session_closure) },
{ be_const_key_weak(get_ipk_epoch_key, -1), be_const_closure(Matter_Fabric_get_ipk_epoch_key_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Fabric_init_closure) },
{ be_const_key_weak(writejson, -1), be_const_closure(Matter_Fabric_writejson_closure) },
{ be_const_key_weak(counter_group_ctrl_snd_next, -1), be_const_closure(Matter_Fabric_counter_group_ctrl_snd_next_closure) },
{ be_const_key_weak(get_newest_session, 37), be_const_closure(class_Matter_Fabric_get_newest_session_closure) },
{ be_const_key_weak(get_ca_pub, -1), be_const_closure(class_Matter_Fabric_get_ca_pub_closure) },
{ be_const_key_weak(add_session, -1), be_const_closure(class_Matter_Fabric_add_session_closure) },
{ be_const_key_weak(get_ipk_epoch_key, -1), be_const_closure(class_Matter_Fabric_get_ipk_epoch_key_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Fabric_init_closure) },
{ be_const_key_weak(writejson, -1), be_const_closure(class_Matter_Fabric_writejson_closure) },
{ be_const_key_weak(counter_group_ctrl_snd_next, -1), be_const_closure(class_Matter_Fabric_counter_group_ctrl_snd_next_closure) },
{ be_const_key_weak(_store, 61), be_const_var(0) },
{ be_const_key_weak(fabric_candidate, -1), be_const_closure(Matter_Fabric_fabric_candidate_closure) },
{ be_const_key_weak(fabric_candidate, -1), be_const_closure(class_Matter_Fabric_fabric_candidate_closure) },
{ be_const_key_weak(counter_group_data_snd, -1), be_const_var(15) },
{ be_const_key_weak(assign_fabric_index, -1), be_const_closure(Matter_Fabric_assign_fabric_index_closure) },
{ be_const_key_weak(get_old_recent_session, -1), be_const_closure(Matter_Fabric_get_old_recent_session_closure) },
{ be_const_key_weak(assign_fabric_index, -1), be_const_closure(class_Matter_Fabric_assign_fabric_index_closure) },
{ be_const_key_weak(get_old_recent_session, -1), be_const_closure(class_Matter_Fabric_get_old_recent_session_closure) },
{ be_const_key_weak(admin_subject, -1), be_const_var(19) },
{ be_const_key_weak(get_fabric_index, 44), be_const_closure(Matter_Fabric_get_fabric_index_closure) },
{ be_const_key_weak(get_fabric_index, 44), be_const_closure(class_Matter_Fabric_get_fabric_index_closure) },
{ be_const_key_weak(_GROUP_KEY, 43), be_nested_str_weak(GroupKey_X20v1_X2E0) },
{ be_const_key_weak(set_fabric_index, -1), be_const_closure(Matter_Fabric_set_fabric_index_closure) },
{ be_const_key_weak(set_fabric_index, -1), be_const_closure(class_Matter_Fabric_set_fabric_index_closure) },
{ be_const_key_weak(icac, -1), be_const_var(9) },
{ be_const_key_weak(root_ca_certificate, -1), be_const_var(7) },
{ be_const_key_weak(get_device_id_as_int64, -1), be_const_closure(Matter_Fabric_get_device_id_as_int64_closure) },
{ be_const_key_weak(get_device_id, 21), be_const_closure(Matter_Fabric_get_device_id_closure) },
{ be_const_key_weak(is_marked_for_deletion, -1), be_const_closure(Matter_Fabric_is_marked_for_deletion_closure) },
{ be_const_key_weak(get_oldest_session, 10), be_const_closure(Matter_Fabric_get_oldest_session_closure) },
{ be_const_key_weak(mark_for_deletion, -1), be_const_closure(Matter_Fabric_mark_for_deletion_closure) },
{ be_const_key_weak(get_admin_vendor, 4), be_const_closure(Matter_Fabric_get_admin_vendor_closure) },
{ be_const_key_weak(get_device_id_as_int64, -1), be_const_closure(class_Matter_Fabric_get_device_id_as_int64_closure) },
{ be_const_key_weak(get_device_id, 21), be_const_closure(class_Matter_Fabric_get_device_id_closure) },
{ be_const_key_weak(is_marked_for_deletion, -1), be_const_closure(class_Matter_Fabric_is_marked_for_deletion_closure) },
{ be_const_key_weak(get_oldest_session, 10), be_const_closure(class_Matter_Fabric_get_oldest_session_closure) },
{ be_const_key_weak(mark_for_deletion, -1), be_const_closure(class_Matter_Fabric_mark_for_deletion_closure) },
{ be_const_key_weak(get_admin_vendor, 4), be_const_closure(class_Matter_Fabric_get_admin_vendor_closure) },
{ be_const_key_weak(_MAX_CASE, -1), be_const_int(5) },
})),
be_str_weak(Matter_Fabric)
);
/*******************************************************************/
void be_load_Matter_Fabric_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Fabric);
be_setglobal(vm, "Matter_Fabric");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_HTTP_async;
/********************************************************************
** Solidified function: parse_http_payload
********************************************************************/
be_local_closure(Matter_HTTP_async_parse_http_payload, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_parse_http_payload, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_HTTP_async_parse_http_payload, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(is_chunked),
@ -131,7 +132,8 @@ be_local_closure(Matter_HTTP_async_parse_http_payload, /* name */
/********************************************************************
** Solidified function: event_http_finished
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_finished, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_finished, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -139,7 +141,7 @@ be_local_closure(Matter_HTTP_async_event_http_finished, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_http_finished),
@ -155,7 +157,8 @@ be_local_closure(Matter_HTTP_async_event_http_finished, /* name */
/********************************************************************
** Solidified function: event_http_header
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_header, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_header, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -163,7 +166,7 @@ be_local_closure(Matter_HTTP_async_event_http_header, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -203,7 +206,8 @@ be_local_closure(Matter_HTTP_async_event_http_header, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_HTTP_async_init, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_init, /* name */
be_nested_proto(
13, /* nstack */
5, /* argc */
@ -211,7 +215,7 @@ be_local_closure(Matter_HTTP_async_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -274,7 +278,8 @@ be_local_closure(Matter_HTTP_async_init, /* name */
/********************************************************************
** Solidified function: event_http_failed
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_failed, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_failed, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -282,7 +287,7 @@ be_local_closure(Matter_HTTP_async_event_http_failed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_http_failed),
@ -298,7 +303,8 @@ be_local_closure(Matter_HTTP_async_event_http_failed, /* name */
/********************************************************************
** Solidified function: parse_http_response
********************************************************************/
be_local_closure(Matter_HTTP_async_parse_http_response, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_parse_http_response, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -306,7 +312,7 @@ be_local_closure(Matter_HTTP_async_parse_http_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(phase),
@ -347,7 +353,8 @@ be_local_closure(Matter_HTTP_async_parse_http_response, /* name */
/********************************************************************
** Solidified function: event_refused
********************************************************************/
be_local_closure(Matter_HTTP_async_event_refused, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_refused, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -355,7 +362,7 @@ be_local_closure(Matter_HTTP_async_event_refused, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(http_status),
@ -378,7 +385,8 @@ be_local_closure(Matter_HTTP_async_event_refused, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_HTTP_async_reset, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_reset, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -386,7 +394,7 @@ be_local_closure(Matter_HTTP_async_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(reset),
@ -431,7 +439,8 @@ be_local_closure(Matter_HTTP_async_reset, /* name */
/********************************************************************
** Solidified function: begin
********************************************************************/
be_local_closure(Matter_HTTP_async_begin, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_begin, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -439,7 +448,7 @@ be_local_closure(Matter_HTTP_async_begin, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(begin),
@ -464,7 +473,8 @@ be_local_closure(Matter_HTTP_async_begin, /* name */
/********************************************************************
** Solidified function: event_established
********************************************************************/
be_local_closure(Matter_HTTP_async_event_established, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_established, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -472,7 +482,7 @@ be_local_closure(Matter_HTTP_async_event_established, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(send_http),
@ -492,7 +502,8 @@ be_local_closure(Matter_HTTP_async_event_established, /* name */
/********************************************************************
** Solidified function: parse_http_headers
********************************************************************/
be_local_closure(Matter_HTTP_async_parse_http_headers, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_parse_http_headers, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -500,7 +511,7 @@ be_local_closure(Matter_HTTP_async_parse_http_headers, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -580,7 +591,8 @@ be_local_closure(Matter_HTTP_async_parse_http_headers, /* name */
/********************************************************************
** Solidified function: event_available
********************************************************************/
be_local_closure(Matter_HTTP_async_event_available, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_available, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -588,7 +600,7 @@ be_local_closure(Matter_HTTP_async_event_available, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(receive),
@ -608,7 +620,8 @@ be_local_closure(Matter_HTTP_async_event_available, /* name */
/********************************************************************
** Solidified function: event_timeout
********************************************************************/
be_local_closure(Matter_HTTP_async_event_timeout, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_timeout, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -616,7 +629,7 @@ be_local_closure(Matter_HTTP_async_event_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(http_status),
@ -639,7 +652,8 @@ be_local_closure(Matter_HTTP_async_event_timeout, /* name */
/********************************************************************
** Solidified function: compile_re
********************************************************************/
be_local_closure(Matter_HTTP_async_compile_re, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_compile_re, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -647,7 +661,7 @@ be_local_closure(Matter_HTTP_async_compile_re, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(re),
@ -702,7 +716,8 @@ be_local_closure(Matter_HTTP_async_compile_re, /* name */
/********************************************************************
** Solidified function: event_closed
********************************************************************/
be_local_closure(Matter_HTTP_async_event_closed, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_closed, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -710,7 +725,7 @@ be_local_closure(Matter_HTTP_async_event_closed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(http_status),
@ -737,7 +752,8 @@ be_local_closure(Matter_HTTP_async_event_closed, /* name */
/********************************************************************
** Solidified function: begin_sync
********************************************************************/
be_local_closure(Matter_HTTP_async_begin_sync, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_begin_sync, /* name */
be_nested_proto(
10, /* nstack */
3, /* argc */
@ -745,7 +761,7 @@ be_local_closure(Matter_HTTP_async_begin_sync, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(timeout),
@ -804,7 +820,8 @@ be_local_closure(Matter_HTTP_async_begin_sync, /* name */
/********************************************************************
** Solidified function: send_http
********************************************************************/
be_local_closure(Matter_HTTP_async_send_http, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_send_http, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -812,7 +829,7 @@ be_local_closure(Matter_HTTP_async_send_http, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -897,7 +914,8 @@ be_local_closure(Matter_HTTP_async_send_http, /* name */
/********************************************************************
** Solidified function: event_http_headers_end
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_headers_end, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_headers_end, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -905,7 +923,7 @@ be_local_closure(Matter_HTTP_async_event_http_headers_end, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(response_offset),
@ -935,7 +953,8 @@ be_local_closure(Matter_HTTP_async_event_http_headers_end, /* name */
/********************************************************************
** Solidified function: event_http_status_code
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_status_code, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_status_code, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -943,7 +962,7 @@ be_local_closure(Matter_HTTP_async_event_http_status_code, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(status_code),
@ -962,7 +981,8 @@ be_local_closure(Matter_HTTP_async_event_http_status_code, /* name */
/********************************************************************
** Solidified function: parse_http_status_line
********************************************************************/
be_local_closure(Matter_HTTP_async_parse_http_status_line, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_parse_http_status_line, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -970,7 +990,7 @@ be_local_closure(Matter_HTTP_async_parse_http_status_line, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -1026,7 +1046,8 @@ be_local_closure(Matter_HTTP_async_parse_http_status_line, /* name */
/********************************************************************
** Solidified function: event_http_timeout
********************************************************************/
be_local_closure(Matter_HTTP_async_event_http_timeout, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_event_http_timeout, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -1034,7 +1055,7 @@ be_local_closure(Matter_HTTP_async_event_http_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_http_timeout),
@ -1050,7 +1071,8 @@ be_local_closure(Matter_HTTP_async_event_http_timeout, /* name */
/********************************************************************
** Solidified function: receive
********************************************************************/
be_local_closure(Matter_HTTP_async_receive, /* name */
extern const bclass be_class_Matter_HTTP_async;
be_local_closure(class_Matter_HTTP_async_receive, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1058,7 +1080,7 @@ be_local_closure(Matter_HTTP_async_receive, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_async,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -1144,53 +1166,46 @@ be_local_class(Matter_HTTP_async,
be_nested_map(39,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(response, -1), be_const_var(2) },
{ be_const_key_weak(parse_http_payload, -1), be_const_closure(Matter_HTTP_async_parse_http_payload_closure) },
{ be_const_key_weak(receive, 10), be_const_closure(Matter_HTTP_async_receive_closure) },
{ be_const_key_weak(event_http_finished, 22), be_const_closure(Matter_HTTP_async_event_http_finished_closure) },
{ be_const_key_weak(parse_http_payload, -1), be_const_closure(class_Matter_HTTP_async_parse_http_payload_closure) },
{ be_const_key_weak(receive, 10), be_const_closure(class_Matter_HTTP_async_receive_closure) },
{ be_const_key_weak(event_http_finished, 22), be_const_closure(class_Matter_HTTP_async_event_http_finished_closure) },
{ be_const_key_weak(HTTP_BODY_REGEX, -1), be_nested_str_weak(_X0D_X0A) },
{ be_const_key_weak(HTTP_GET_AUTH, -1), be_nested_str_weak(GET_X20_X25s_X20HTTP_X2F1_X2E1_X0D_X0AHost_X20_X25s_X3A_X25s_X0D_X0AAuthorization_X3A_X20Basic_X20_X25s_X0D_X0AConnection_X3A_X20close_X0D_X0A_X0D_X0A) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_HTTP_async_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_HTTP_async_init_closure) },
{ be_const_key_weak(response_offset, 23), be_const_var(3) },
{ be_const_key_weak(parse_http_response, -1), be_const_closure(Matter_HTTP_async_parse_http_response_closure) },
{ be_const_key_weak(event_refused, -1), be_const_closure(Matter_HTTP_async_event_refused_closure) },
{ be_const_key_weak(event_http_timeout, -1), be_const_closure(Matter_HTTP_async_event_http_timeout_closure) },
{ be_const_key_weak(parse_http_response, -1), be_const_closure(class_Matter_HTTP_async_parse_http_response_closure) },
{ be_const_key_weak(event_refused, -1), be_const_closure(class_Matter_HTTP_async_event_refused_closure) },
{ be_const_key_weak(event_http_timeout, -1), be_const_closure(class_Matter_HTTP_async_event_http_timeout_closure) },
{ be_const_key_weak(HTTP_STATUS_REGEX, -1), be_nested_str_weak(HTTP_X2F1_X5C_X2E_X5B0_X2D1_X5D_X20_X28_X5Cd_X2B_X29_X20_X2E_X2A_X3F_X0D_X0A) },
{ be_const_key_weak(cmd, -1), be_const_var(1) },
{ be_const_key_weak(event_http_status_code, -1), be_const_closure(Matter_HTTP_async_event_http_status_code_closure) },
{ be_const_key_weak(event_http_status_code, -1), be_const_closure(class_Matter_HTTP_async_event_http_status_code_closure) },
{ be_const_key_weak(payload, -1), be_const_var(5) },
{ be_const_key_weak(is_chunked, -1), be_const_var(8) },
{ be_const_key_weak(HTTP_GET, -1), be_nested_str_weak(GET_X20_X25s_X20HTTP_X2F1_X2E1_X0D_X0AHost_X20_X25s_X3A_X25s_X0D_X0AConnection_X3A_X20close_X0D_X0A_X0D_X0A) },
{ be_const_key_weak(chunk_size, 16), be_const_var(9) },
{ be_const_key_weak(auth, 35), be_const_var(0) },
{ be_const_key_weak(parse_http_headers, 26), be_const_closure(Matter_HTTP_async_parse_http_headers_closure) },
{ be_const_key_weak(event_available, -1), be_const_closure(Matter_HTTP_async_event_available_closure) },
{ be_const_key_weak(parse_http_headers, 26), be_const_closure(class_Matter_HTTP_async_parse_http_headers_closure) },
{ be_const_key_weak(event_available, -1), be_const_closure(class_Matter_HTTP_async_event_available_closure) },
{ be_const_key_weak(status_code, 11), be_const_var(4) },
{ be_const_key_weak(phase, 36), be_const_var(7) },
{ be_const_key_weak(event_http_headers_end, -1), be_const_closure(Matter_HTTP_async_event_http_headers_end_closure) },
{ be_const_key_weak(reset, 31), be_const_closure(Matter_HTTP_async_reset_closure) },
{ be_const_key_weak(begin_sync, -1), be_const_closure(Matter_HTTP_async_begin_sync_closure) },
{ be_const_key_weak(send_http, -1), be_const_closure(Matter_HTTP_async_send_http_closure) },
{ be_const_key_weak(event_timeout, 28), be_const_closure(Matter_HTTP_async_event_timeout_closure) },
{ be_const_key_weak(event_http_headers_end, -1), be_const_closure(class_Matter_HTTP_async_event_http_headers_end_closure) },
{ be_const_key_weak(reset, 31), be_const_closure(class_Matter_HTTP_async_reset_closure) },
{ be_const_key_weak(begin_sync, -1), be_const_closure(class_Matter_HTTP_async_begin_sync_closure) },
{ be_const_key_weak(send_http, -1), be_const_closure(class_Matter_HTTP_async_send_http_closure) },
{ be_const_key_weak(event_timeout, 28), be_const_closure(class_Matter_HTTP_async_event_timeout_closure) },
{ be_const_key_weak(HTTP_CHUNK_REGEX, -1), be_nested_str_weak(_X0D_X0A_X28_X5BA_X2DFa_X2Df0_X2D9_X5D_X2B_X29_X5B_X20_X09_X5D_X2A_X2E_X2A_X3F_X0D_X0A) },
{ be_const_key_weak(compile_re, 7), be_const_closure(Matter_HTTP_async_compile_re_closure) },
{ be_const_key_weak(compile_re, 7), be_const_closure(class_Matter_HTTP_async_compile_re_closure) },
{ be_const_key_weak(HTTP_HEADER_REGEX, -1), be_nested_str_weak(_X28_X5BA_X2DZa_X2Dz0_X2D9_X2D_X5D_X2B_X29_X3A_X20_X28_X2E_X2A_X3F_X29_X0D_X0A) },
{ be_const_key_weak(event_closed, 30), be_const_closure(Matter_HTTP_async_event_closed_closure) },
{ be_const_key_weak(event_http_header, 14), be_const_closure(Matter_HTTP_async_event_http_header_closure) },
{ be_const_key_weak(event_http_failed, 13), be_const_closure(Matter_HTTP_async_event_http_failed_closure) },
{ be_const_key_weak(parse_http_status_line, -1), be_const_closure(Matter_HTTP_async_parse_http_status_line_closure) },
{ be_const_key_weak(event_established, -1), be_const_closure(Matter_HTTP_async_event_established_closure) },
{ be_const_key_weak(begin, 4), be_const_closure(Matter_HTTP_async_begin_closure) },
{ be_const_key_weak(event_closed, 30), be_const_closure(class_Matter_HTTP_async_event_closed_closure) },
{ be_const_key_weak(event_http_header, 14), be_const_closure(class_Matter_HTTP_async_event_http_header_closure) },
{ be_const_key_weak(event_http_failed, 13), be_const_closure(class_Matter_HTTP_async_event_http_failed_closure) },
{ be_const_key_weak(parse_http_status_line, -1), be_const_closure(class_Matter_HTTP_async_parse_http_status_line_closure) },
{ be_const_key_weak(event_established, -1), be_const_closure(class_Matter_HTTP_async_event_established_closure) },
{ be_const_key_weak(begin, 4), be_const_closure(class_Matter_HTTP_async_begin_closure) },
{ be_const_key_weak(http_status, -1), be_const_var(6) },
{ be_const_key_weak(SPINLOCK, 2), be_const_int(5) },
})),
be_str_weak(Matter_HTTP_async)
);
/*******************************************************************/
void be_load_Matter_HTTP_async_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_HTTP_async);
be_setglobal(vm, "Matter_HTTP_async");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_HTTP_remote;
/********************************************************************
** Solidified function: device_is_alive
********************************************************************/
be_local_closure(Matter_HTTP_remote_device_is_alive, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_device_is_alive, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_HTTP_remote_device_is_alive, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(reachable),
@ -48,7 +49,8 @@ be_local_closure(Matter_HTTP_remote_device_is_alive, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_HTTP_remote_parse_update, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_parse_update, /* name */
be_nested_proto(
12, /* nstack */
3, /* argc */
@ -56,7 +58,7 @@ be_local_closure(Matter_HTTP_remote_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[28]) { /* constants */
/* K0 */ be_const_int(0),
@ -245,7 +247,8 @@ be_local_closure(Matter_HTTP_remote_parse_update, /* name */
/********************************************************************
** Solidified function: call_sync
********************************************************************/
be_local_closure(Matter_HTTP_remote_call_sync, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_call_sync, /* name */
be_nested_proto(
16, /* nstack */
3, /* argc */
@ -253,7 +256,7 @@ be_local_closure(Matter_HTTP_remote_call_sync, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[24]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -365,7 +368,8 @@ be_local_closure(Matter_HTTP_remote_call_sync, /* name */
/********************************************************************
** Solidified function: event_http_finished
********************************************************************/
be_local_closure(Matter_HTTP_remote_event_http_finished, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_event_http_finished, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -373,7 +377,7 @@ be_local_closure(Matter_HTTP_remote_event_http_finished, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(current_cmd),
@ -448,7 +452,8 @@ be_local_closure(Matter_HTTP_remote_event_http_finished, /* name */
/********************************************************************
** Solidified function: web_last_seen
********************************************************************/
be_local_closure(Matter_HTTP_remote_web_last_seen, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_web_last_seen, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -456,7 +461,7 @@ be_local_closure(Matter_HTTP_remote_web_last_seen, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -495,7 +500,8 @@ be_local_closure(Matter_HTTP_remote_web_last_seen, /* name */
/********************************************************************
** Solidified function: event_http_failed
********************************************************************/
be_local_closure(Matter_HTTP_remote_event_http_failed, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_event_http_failed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -503,7 +509,7 @@ be_local_closure(Matter_HTTP_remote_event_http_failed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(current_cmd),
@ -541,7 +547,8 @@ be_local_closure(Matter_HTTP_remote_event_http_failed, /* name */
/********************************************************************
** Solidified function: parse_status_response
********************************************************************/
be_local_closure(Matter_HTTP_remote_parse_status_response, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_parse_status_response, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -549,7 +556,7 @@ be_local_closure(Matter_HTTP_remote_parse_status_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_const_int(0),
@ -614,7 +621,8 @@ be_local_closure(Matter_HTTP_remote_parse_status_response, /* name */
/********************************************************************
** Solidified function: get_info
********************************************************************/
be_local_closure(Matter_HTTP_remote_get_info, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_get_info, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -622,7 +630,7 @@ be_local_closure(Matter_HTTP_remote_get_info, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(info),
@ -641,7 +649,8 @@ be_local_closure(Matter_HTTP_remote_get_info, /* name */
/********************************************************************
** Solidified function: event_http_timeout
********************************************************************/
be_local_closure(Matter_HTTP_remote_event_http_timeout, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_event_http_timeout, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -649,7 +658,7 @@ be_local_closure(Matter_HTTP_remote_event_http_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(current_cmd),
@ -698,7 +707,8 @@ be_local_closure(Matter_HTTP_remote_event_http_timeout, /* name */
/********************************************************************
** Solidified function: info_changed
********************************************************************/
be_local_closure(Matter_HTTP_remote_info_changed, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_info_changed, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -706,7 +716,7 @@ be_local_closure(Matter_HTTP_remote_info_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -728,7 +738,8 @@ be_local_closure(Matter_HTTP_remote_info_changed, /* name */
/********************************************************************
** Solidified function: scheduler
********************************************************************/
be_local_closure(Matter_HTTP_remote_scheduler, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_scheduler, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -736,7 +747,7 @@ be_local_closure(Matter_HTTP_remote_scheduler, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(probe_next_timestamp_map),
@ -828,7 +839,8 @@ be_local_closure(Matter_HTTP_remote_scheduler, /* name */
/********************************************************************
** Solidified function: add_schedule
********************************************************************/
be_local_closure(Matter_HTTP_remote_add_schedule, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_add_schedule, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -836,7 +848,7 @@ be_local_closure(Matter_HTTP_remote_add_schedule, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(probe_update_time_map),
@ -883,7 +895,8 @@ be_local_closure(Matter_HTTP_remote_add_schedule, /* name */
/********************************************************************
** Solidified function: probe_async
********************************************************************/
be_local_closure(Matter_HTTP_remote_probe_async, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_probe_async, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -891,7 +904,7 @@ be_local_closure(Matter_HTTP_remote_probe_async, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -959,7 +972,8 @@ be_local_closure(Matter_HTTP_remote_probe_async, /* name */
/********************************************************************
** Solidified function: add_async_cb
********************************************************************/
be_local_closure(Matter_HTTP_remote_add_async_cb, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_add_async_cb, /* name */
be_nested_proto(
4, /* nstack */
3, /* argc */
@ -967,7 +981,7 @@ be_local_closure(Matter_HTTP_remote_add_async_cb, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(async_cb_map),
@ -987,7 +1001,8 @@ be_local_closure(Matter_HTTP_remote_add_async_cb, /* name */
/********************************************************************
** Solidified function: set_info
********************************************************************/
be_local_closure(Matter_HTTP_remote_set_info, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_set_info, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -995,7 +1010,7 @@ be_local_closure(Matter_HTTP_remote_set_info, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(info),
@ -1014,7 +1029,8 @@ be_local_closure(Matter_HTTP_remote_set_info, /* name */
/********************************************************************
** Solidified function: dispatch_cb
********************************************************************/
be_local_closure(Matter_HTTP_remote_dispatch_cb, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_dispatch_cb, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -1022,7 +1038,7 @@ be_local_closure(Matter_HTTP_remote_dispatch_cb, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_const_int(0),
@ -1070,7 +1086,8 @@ be_local_closure(Matter_HTTP_remote_dispatch_cb, /* name */
/********************************************************************
** Solidified function: change_schedule
********************************************************************/
be_local_closure(Matter_HTTP_remote_change_schedule, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_change_schedule, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -1078,7 +1095,7 @@ be_local_closure(Matter_HTTP_remote_change_schedule, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_HTTP_remote,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(probe_update_time_map),
@ -1113,7 +1130,8 @@ be_local_closure(Matter_HTTP_remote_change_schedule, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_HTTP_remote_init, /* name */
extern const bclass be_class_Matter_HTTP_remote;
be_local_closure(class_Matter_HTTP_remote_init, /* name */
be_nested_proto(
11, /* nstack */
5, /* argc */
@ -1121,7 +1139,7 @@ be_local_closure(Matter_HTTP_remote_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 3]) {
( &(const struct bproto*[ 4]) {
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -1131,7 +1149,7 @@ be_local_closure(Matter_HTTP_remote_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parse_status_response),
@ -1157,7 +1175,7 @@ be_local_closure(Matter_HTTP_remote_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parse_status_response),
@ -1183,7 +1201,7 @@ be_local_closure(Matter_HTTP_remote_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parse_status_response),
@ -1200,6 +1218,7 @@ be_local_closure(Matter_HTTP_remote_init, /* name */
0x80040600, // 0006 RET 1 R3
})
),
&be_class_Matter_HTTP_remote,
}),
1, /* has constants */
( &(const bvalue[13]) { /* constants */
@ -1280,46 +1299,39 @@ be_local_class(Matter_HTTP_remote,
&be_class_Matter_HTTP_async,
be_nested_map(31,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(device_is_alive, -1), be_const_closure(Matter_HTTP_remote_device_is_alive_closure) },
{ be_const_key_weak(device_is_alive, -1), be_const_closure(class_Matter_HTTP_remote_device_is_alive_closure) },
{ be_const_key_weak(reachable, 21), be_const_var(5) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_HTTP_remote_parse_update_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_HTTP_remote_parse_update_closure) },
{ be_const_key_weak(UPDATE_TIME, 7), be_const_int(5000) },
{ be_const_key_weak(web_last_seen, 30), be_const_closure(Matter_HTTP_remote_web_last_seen_closure) },
{ be_const_key_weak(call_sync, 4), be_const_closure(Matter_HTTP_remote_call_sync_closure) },
{ be_const_key_weak(change_schedule, 19), be_const_closure(Matter_HTTP_remote_change_schedule_closure) },
{ be_const_key_weak(web_last_seen, 30), be_const_closure(class_Matter_HTTP_remote_web_last_seen_closure) },
{ be_const_key_weak(call_sync, 4), be_const_closure(class_Matter_HTTP_remote_call_sync_closure) },
{ be_const_key_weak(change_schedule, 19), be_const_closure(class_Matter_HTTP_remote_change_schedule_closure) },
{ be_const_key_weak(device, -1), be_const_var(0) },
{ be_const_key_weak(UPDATE_CMD5, -1), be_nested_str_weak(Status_X205) },
{ be_const_key_weak(get_info, 17), be_const_closure(Matter_HTTP_remote_get_info_closure) },
{ be_const_key_weak(get_info, 17), be_const_closure(class_Matter_HTTP_remote_get_info_closure) },
{ be_const_key_weak(info, -1), be_const_var(7) },
{ be_const_key_weak(event_http_timeout, -1), be_const_closure(Matter_HTTP_remote_event_http_timeout_closure) },
{ be_const_key_weak(info_changed, -1), be_const_closure(Matter_HTTP_remote_info_changed_closure) },
{ be_const_key_weak(add_schedule, -1), be_const_closure(Matter_HTTP_remote_add_schedule_closure) },
{ be_const_key_weak(event_http_timeout, -1), be_const_closure(class_Matter_HTTP_remote_event_http_timeout_closure) },
{ be_const_key_weak(info_changed, -1), be_const_closure(class_Matter_HTTP_remote_info_changed_closure) },
{ be_const_key_weak(add_schedule, -1), be_const_closure(class_Matter_HTTP_remote_add_schedule_closure) },
{ be_const_key_weak(UPDATE_TIME2, -1), be_const_int(300000) },
{ be_const_key_weak(scheduler, -1), be_const_closure(Matter_HTTP_remote_scheduler_closure) },
{ be_const_key_weak(parse_status_response, 13), be_const_closure(Matter_HTTP_remote_parse_status_response_closure) },
{ be_const_key_weak(probe_async, 18), be_const_closure(Matter_HTTP_remote_probe_async_closure) },
{ be_const_key_weak(scheduler, -1), be_const_closure(class_Matter_HTTP_remote_scheduler_closure) },
{ be_const_key_weak(parse_status_response, 13), be_const_closure(class_Matter_HTTP_remote_parse_status_response_closure) },
{ be_const_key_weak(probe_async, 18), be_const_closure(class_Matter_HTTP_remote_probe_async_closure) },
{ be_const_key_weak(probe_update_time_map, -1), be_const_var(1) },
{ be_const_key_weak(reachable_utc, -1), be_const_var(6) },
{ be_const_key_weak(probe_next_timestamp_map, -1), be_const_var(2) },
{ be_const_key_weak(async_cb_map, -1), be_const_var(3) },
{ be_const_key_weak(current_cmd, -1), be_const_var(4) },
{ be_const_key_weak(set_info, -1), be_const_closure(Matter_HTTP_remote_set_info_closure) },
{ be_const_key_weak(dispatch_cb, -1), be_const_closure(Matter_HTTP_remote_dispatch_cb_closure) },
{ be_const_key_weak(set_info, -1), be_const_closure(class_Matter_HTTP_remote_set_info_closure) },
{ be_const_key_weak(dispatch_cb, -1), be_const_closure(class_Matter_HTTP_remote_dispatch_cb_closure) },
{ be_const_key_weak(UPDATE_CMD2, -1), be_nested_str_weak(Status_X202) },
{ be_const_key_weak(UPDATE_CMD0, -1), be_nested_str_weak(Status) },
{ be_const_key_weak(event_http_failed, 3), be_const_closure(Matter_HTTP_remote_event_http_failed_closure) },
{ be_const_key_weak(add_async_cb, 6), be_const_closure(Matter_HTTP_remote_add_async_cb_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_HTTP_remote_init_closure) },
{ be_const_key_weak(event_http_finished, -1), be_const_closure(Matter_HTTP_remote_event_http_finished_closure) },
{ be_const_key_weak(event_http_failed, 3), be_const_closure(class_Matter_HTTP_remote_event_http_failed_closure) },
{ be_const_key_weak(add_async_cb, 6), be_const_closure(class_Matter_HTTP_remote_add_async_cb_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_HTTP_remote_init_closure) },
{ be_const_key_weak(event_http_finished, -1), be_const_closure(class_Matter_HTTP_remote_event_http_finished_closure) },
})),
be_str_weak(Matter_HTTP_remote)
);
/*******************************************************************/
void be_load_Matter_HTTP_remote_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_HTTP_remote);
be_setglobal(vm, "Matter_HTTP_remote");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_IM;
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
be_local_closure(Matter_IM_every_250ms, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_every_250ms, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_IM_every_250ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(subs_shop),
@ -39,7 +40,8 @@ be_local_closure(Matter_IM_every_250ms, /* name */
/********************************************************************
** Solidified function: process_incoming_ack
********************************************************************/
be_local_closure(Matter_IM_process_incoming_ack, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_incoming_ack, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -47,7 +49,7 @@ be_local_closure(Matter_IM_process_incoming_ack, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(find_sendqueue_by_exchangeid),
@ -76,7 +78,8 @@ be_local_closure(Matter_IM_process_incoming_ack, /* name */
/********************************************************************
** Solidified function: subscribe_response
********************************************************************/
be_local_closure(Matter_IM_subscribe_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_subscribe_response, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -84,7 +87,7 @@ be_local_closure(Matter_IM_subscribe_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -111,7 +114,8 @@ be_local_closure(Matter_IM_subscribe_response, /* name */
/********************************************************************
** Solidified function: process_write_response
********************************************************************/
be_local_closure(Matter_IM_process_write_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_write_response, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -119,7 +123,7 @@ be_local_closure(Matter_IM_process_write_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -146,7 +150,8 @@ be_local_closure(Matter_IM_process_write_response, /* name */
/********************************************************************
** Solidified function: process_status_response
********************************************************************/
be_local_closure(Matter_IM_process_status_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_status_response, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -154,7 +159,7 @@ be_local_closure(Matter_IM_process_status_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(findsubval),
@ -231,7 +236,8 @@ be_local_closure(Matter_IM_process_status_response, /* name */
/********************************************************************
** Solidified function: process_timed_request
********************************************************************/
be_local_closure(Matter_IM_process_timed_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_timed_request, /* name */
be_nested_proto(
10, /* nstack */
3, /* argc */
@ -239,7 +245,7 @@ be_local_closure(Matter_IM_process_timed_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -290,7 +296,8 @@ be_local_closure(Matter_IM_process_timed_request, /* name */
/********************************************************************
** Solidified function: attributedata2raw
********************************************************************/
be_local_closure(Matter_IM_attributedata2raw, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_attributedata2raw, /* name */
be_nested_proto(
11, /* nstack */
5, /* argc */
@ -298,7 +305,7 @@ be_local_closure(Matter_IM_attributedata2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(add),
@ -344,7 +351,8 @@ be_local_closure(Matter_IM_attributedata2raw, /* name */
/********************************************************************
** Solidified function: process_invoke_request_solo
********************************************************************/
be_local_closure(Matter_IM_process_invoke_request_solo, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_invoke_request_solo, /* name */
be_nested_proto(
15, /* nstack */
3, /* argc */
@ -352,7 +360,7 @@ be_local_closure(Matter_IM_process_invoke_request_solo, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[42]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -618,7 +626,8 @@ be_local_closure(Matter_IM_process_invoke_request_solo, /* name */
/********************************************************************
** Solidified function: invokeresponse2raw
********************************************************************/
be_local_closure(Matter_IM_invokeresponse2raw, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_invokeresponse2raw, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -626,7 +635,7 @@ be_local_closure(Matter_IM_invokeresponse2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(add),
@ -801,7 +810,8 @@ be_local_closure(Matter_IM_invokeresponse2raw, /* name */
/********************************************************************
** Solidified function: send_ack_now
********************************************************************/
be_local_closure(Matter_IM_send_ack_now, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_ack_now, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -809,7 +819,7 @@ be_local_closure(Matter_IM_send_ack_now, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -839,7 +849,8 @@ be_local_closure(Matter_IM_send_ack_now, /* name */
/********************************************************************
** Solidified function: process_invoke_request
********************************************************************/
be_local_closure(Matter_IM_process_invoke_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_invoke_request, /* name */
be_nested_proto(
20, /* nstack */
3, /* argc */
@ -847,7 +858,7 @@ be_local_closure(Matter_IM_process_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[43]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -1139,7 +1150,8 @@ be_local_closure(Matter_IM_process_invoke_request, /* name */
/********************************************************************
** Solidified function: process_read_request
********************************************************************/
be_local_closure(Matter_IM_process_read_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_read_request, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -1147,7 +1159,7 @@ be_local_closure(Matter_IM_process_read_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -1199,7 +1211,8 @@ be_local_closure(Matter_IM_process_read_request, /* name */
/********************************************************************
** Solidified function: send_invoke_response
********************************************************************/
be_local_closure(Matter_IM_send_invoke_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_invoke_response, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -1207,7 +1220,7 @@ be_local_closure(Matter_IM_send_invoke_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(send_queue),
@ -1236,7 +1249,8 @@ be_local_closure(Matter_IM_send_invoke_response, /* name */
/********************************************************************
** Solidified function: send_write_response
********************************************************************/
be_local_closure(Matter_IM_send_write_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_write_response, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -1244,7 +1258,7 @@ be_local_closure(Matter_IM_send_write_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(send_queue),
@ -1273,7 +1287,8 @@ be_local_closure(Matter_IM_send_write_response, /* name */
/********************************************************************
** Solidified function: process_write_request
********************************************************************/
be_local_closure(Matter_IM_process_write_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_write_request, /* name */
be_nested_proto(
19, /* nstack */
3, /* argc */
@ -1281,7 +1296,7 @@ be_local_closure(Matter_IM_process_write_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 2]) {
( &(const struct bproto*[ 3]) {
be_nested_proto(
17, /* nstack */
5, /* argc */
@ -1291,7 +1306,7 @@ be_local_closure(Matter_IM_process_write_request, /* name */
be_local_const_upval(1, 1),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[26]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -1438,7 +1453,7 @@ be_local_closure(Matter_IM_process_write_request, /* name */
be_local_const_upval(1, 12),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -1454,6 +1469,7 @@ be_local_closure(Matter_IM_process_write_request, /* name */
0x80040600, // 0007 RET 1 R3
})
),
&be_class_Matter_IM,
}),
1, /* has constants */
( &(const bvalue[30]) { /* constants */
@ -1604,7 +1620,8 @@ be_local_closure(Matter_IM_process_write_request, /* name */
/********************************************************************
** Solidified function: path2raw
********************************************************************/
be_local_closure(Matter_IM_path2raw, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_path2raw, /* name */
be_nested_proto(
9, /* nstack */
5, /* argc */
@ -1612,7 +1629,7 @@ be_local_closure(Matter_IM_path2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(add),
@ -1741,7 +1758,8 @@ be_local_closure(Matter_IM_path2raw, /* name */
/********************************************************************
** Solidified function: send_subscribe_update
********************************************************************/
be_local_closure(Matter_IM_send_subscribe_update, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_subscribe_update, /* name */
be_nested_proto(
11, /* nstack */
2, /* argc */
@ -1749,7 +1767,7 @@ be_local_closure(Matter_IM_send_subscribe_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[25]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -1857,7 +1875,8 @@ be_local_closure(Matter_IM_send_subscribe_update, /* name */
/********************************************************************
** Solidified function: remove_sendqueue_by_exchangeid
********************************************************************/
be_local_closure(Matter_IM_remove_sendqueue_by_exchangeid, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_remove_sendqueue_by_exchangeid, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -1865,7 +1884,7 @@ be_local_closure(Matter_IM_remove_sendqueue_by_exchangeid, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_const_int(0),
@ -1910,7 +1929,8 @@ be_local_closure(Matter_IM_remove_sendqueue_by_exchangeid, /* name */
/********************************************************************
** Solidified function: process_incoming
********************************************************************/
be_local_closure(Matter_IM_process_incoming, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_incoming, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -1918,7 +1938,7 @@ be_local_closure(Matter_IM_process_incoming, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[25]) { /* constants */
/* K0 */ be_nested_str_weak(opcode),
@ -2092,7 +2112,8 @@ be_local_closure(Matter_IM_process_incoming, /* name */
/********************************************************************
** Solidified function: process_invoke_response
********************************************************************/
be_local_closure(Matter_IM_process_invoke_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_invoke_response, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -2100,7 +2121,7 @@ be_local_closure(Matter_IM_process_invoke_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -2127,7 +2148,8 @@ be_local_closure(Matter_IM_process_invoke_response, /* name */
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_IM_every_second, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_every_second, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -2135,7 +2157,7 @@ be_local_closure(Matter_IM_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(expire_sendqueue),
@ -2155,7 +2177,8 @@ be_local_closure(Matter_IM_every_second, /* name */
/********************************************************************
** Solidified function: send_status
********************************************************************/
be_local_closure(Matter_IM_send_status, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_status, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -2163,7 +2186,7 @@ be_local_closure(Matter_IM_send_status, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(send_queue),
@ -2192,7 +2215,8 @@ be_local_closure(Matter_IM_send_status, /* name */
/********************************************************************
** Solidified function: _inner_process_read_request
********************************************************************/
be_local_closure(Matter_IM__inner_process_read_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM__inner_process_read_request, /* name */
be_nested_proto(
19, /* nstack */
5, /* argc */
@ -2200,7 +2224,7 @@ be_local_closure(Matter_IM__inner_process_read_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 2]) {
( &(const struct bproto*[ 3]) {
be_nested_proto(
20, /* nstack */
4, /* argc */
@ -2212,7 +2236,7 @@ be_local_closure(Matter_IM__inner_process_read_request, /* name */
be_local_const_upval(1, 4),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[35]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -2504,7 +2528,7 @@ be_local_closure(Matter_IM__inner_process_read_request, /* name */
be_local_const_upval(1, 8),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -2519,6 +2543,7 @@ be_local_closure(Matter_IM__inner_process_read_request, /* name */
0x80040600, // 0006 RET 1 R3
})
),
&be_class_Matter_IM,
}),
1, /* has constants */
( &(const bvalue[25]) { /* constants */
@ -2656,7 +2681,8 @@ be_local_closure(Matter_IM__inner_process_read_request, /* name */
/********************************************************************
** Solidified function: report_data
********************************************************************/
be_local_closure(Matter_IM_report_data, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_report_data, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -2664,7 +2690,7 @@ be_local_closure(Matter_IM_report_data, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -2691,7 +2717,8 @@ be_local_closure(Matter_IM_report_data, /* name */
/********************************************************************
** Solidified function: attributestatus2raw
********************************************************************/
be_local_closure(Matter_IM_attributestatus2raw, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_attributestatus2raw, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -2699,7 +2726,7 @@ be_local_closure(Matter_IM_attributestatus2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(add),
@ -2768,7 +2795,8 @@ be_local_closure(Matter_IM_attributestatus2raw, /* name */
/********************************************************************
** Solidified function: send_subscribe_response
********************************************************************/
be_local_closure(Matter_IM_send_subscribe_response, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_subscribe_response, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -2776,7 +2804,7 @@ be_local_closure(Matter_IM_send_subscribe_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(send_queue),
@ -2806,7 +2834,8 @@ be_local_closure(Matter_IM_send_subscribe_response, /* name */
/********************************************************************
** Solidified function: send_report_data
********************************************************************/
be_local_closure(Matter_IM_send_report_data, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_report_data, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -2814,7 +2843,7 @@ be_local_closure(Matter_IM_send_report_data, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(send_queue),
@ -2843,7 +2872,8 @@ be_local_closure(Matter_IM_send_report_data, /* name */
/********************************************************************
** Solidified function: find_sendqueue_by_exchangeid
********************************************************************/
be_local_closure(Matter_IM_find_sendqueue_by_exchangeid, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_find_sendqueue_by_exchangeid, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -2851,7 +2881,7 @@ be_local_closure(Matter_IM_find_sendqueue_by_exchangeid, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
@ -2893,7 +2923,8 @@ be_local_closure(Matter_IM_find_sendqueue_by_exchangeid, /* name */
/********************************************************************
** Solidified function: process_read_request_solo
********************************************************************/
be_local_closure(Matter_IM_process_read_request_solo, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_process_read_request_solo, /* name */
be_nested_proto(
20, /* nstack */
3, /* argc */
@ -2901,7 +2932,7 @@ be_local_closure(Matter_IM_process_read_request_solo, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[55]) { /* constants */
/* K0 */ be_nested_str_weak(status),
@ -3223,7 +3254,8 @@ be_local_closure(Matter_IM_process_read_request_solo, /* name */
/********************************************************************
** Solidified function: send_enqueued
********************************************************************/
be_local_closure(Matter_IM_send_enqueued, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_enqueued, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -3231,7 +3263,7 @@ be_local_closure(Matter_IM_send_enqueued, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_const_int(0),
@ -3293,7 +3325,8 @@ be_local_closure(Matter_IM_send_enqueued, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_init, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -3301,7 +3334,7 @@ be_local_closure(Matter_IM_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -3352,7 +3385,8 @@ be_local_closure(Matter_IM_init, /* name */
/********************************************************************
** Solidified function: expire_sendqueue
********************************************************************/
be_local_closure(Matter_IM_expire_sendqueue, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_expire_sendqueue, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -3360,7 +3394,7 @@ be_local_closure(Matter_IM_expire_sendqueue, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_const_int(0),
@ -3408,7 +3442,8 @@ be_local_closure(Matter_IM_expire_sendqueue, /* name */
/********************************************************************
** Solidified function: subscribe_request
********************************************************************/
be_local_closure(Matter_IM_subscribe_request, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_subscribe_request, /* name */
be_nested_proto(
18, /* nstack */
3, /* argc */
@ -3416,7 +3451,7 @@ be_local_closure(Matter_IM_subscribe_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[33]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -3564,7 +3599,8 @@ be_local_closure(Matter_IM_subscribe_request, /* name */
/********************************************************************
** Solidified function: send_subscribe_heartbeat
********************************************************************/
be_local_closure(Matter_IM_send_subscribe_heartbeat, /* name */
extern const bclass be_class_Matter_IM;
be_local_closure(class_Matter_IM_send_subscribe_heartbeat, /* name */
be_nested_proto(
10, /* nstack */
2, /* argc */
@ -3572,7 +3608,7 @@ be_local_closure(Matter_IM_send_subscribe_heartbeat, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(session),
@ -3643,55 +3679,48 @@ be_local_class(Matter_IM,
NULL,
be_nested_map(40,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_IM_every_250ms_closure) },
{ be_const_key_weak(process_incoming_ack, -1), be_const_closure(Matter_IM_process_incoming_ack_closure) },
{ be_const_key_weak(send_ack_now, -1), be_const_closure(Matter_IM_send_ack_now_closure) },
{ be_const_key_weak(subscribe_response, -1), be_const_closure(Matter_IM_subscribe_response_closure) },
{ be_const_key_weak(process_write_response, -1), be_const_closure(Matter_IM_process_write_response_closure) },
{ be_const_key_weak(process_status_response, -1), be_const_closure(Matter_IM_process_status_response_closure) },
{ be_const_key_weak(send_subscribe_heartbeat, -1), be_const_closure(Matter_IM_send_subscribe_heartbeat_closure) },
{ be_const_key_weak(attributedata2raw, 12), be_const_closure(Matter_IM_attributedata2raw_closure) },
{ be_const_key_weak(subscribe_request, 37), be_const_closure(Matter_IM_subscribe_request_closure) },
{ be_const_key_weak(send_subscribe_update, -1), be_const_closure(Matter_IM_send_subscribe_update_closure) },
{ be_const_key_weak(invokeresponse2raw, 2), be_const_closure(Matter_IM_invokeresponse2raw_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_IM_every_250ms_closure) },
{ be_const_key_weak(process_incoming_ack, -1), be_const_closure(class_Matter_IM_process_incoming_ack_closure) },
{ be_const_key_weak(send_ack_now, -1), be_const_closure(class_Matter_IM_send_ack_now_closure) },
{ be_const_key_weak(subscribe_response, -1), be_const_closure(class_Matter_IM_subscribe_response_closure) },
{ be_const_key_weak(process_write_response, -1), be_const_closure(class_Matter_IM_process_write_response_closure) },
{ be_const_key_weak(process_status_response, -1), be_const_closure(class_Matter_IM_process_status_response_closure) },
{ be_const_key_weak(send_subscribe_heartbeat, -1), be_const_closure(class_Matter_IM_send_subscribe_heartbeat_closure) },
{ be_const_key_weak(attributedata2raw, 12), be_const_closure(class_Matter_IM_attributedata2raw_closure) },
{ be_const_key_weak(subscribe_request, 37), be_const_closure(class_Matter_IM_subscribe_request_closure) },
{ be_const_key_weak(send_subscribe_update, -1), be_const_closure(class_Matter_IM_send_subscribe_update_closure) },
{ be_const_key_weak(invokeresponse2raw, 2), be_const_closure(class_Matter_IM_invokeresponse2raw_closure) },
{ be_const_key_weak(read_request_solo, 38), be_const_var(3) },
{ be_const_key_weak(process_incoming, -1), be_const_closure(Matter_IM_process_incoming_closure) },
{ be_const_key_weak(process_invoke_request_solo, 8), be_const_closure(Matter_IM_process_invoke_request_solo_closure) },
{ be_const_key_weak(send_invoke_response, -1), be_const_closure(Matter_IM_send_invoke_response_closure) },
{ be_const_key_weak(send_write_response, 6), be_const_closure(Matter_IM_send_write_response_closure) },
{ be_const_key_weak(process_write_request, -1), be_const_closure(Matter_IM_process_write_request_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_IM_every_second_closure) },
{ be_const_key_weak(path2raw, -1), be_const_closure(Matter_IM_path2raw_closure) },
{ be_const_key_weak(process_incoming, -1), be_const_closure(class_Matter_IM_process_incoming_closure) },
{ be_const_key_weak(process_invoke_request_solo, 8), be_const_closure(class_Matter_IM_process_invoke_request_solo_closure) },
{ be_const_key_weak(send_invoke_response, -1), be_const_closure(class_Matter_IM_send_invoke_response_closure) },
{ be_const_key_weak(send_write_response, 6), be_const_closure(class_Matter_IM_send_write_response_closure) },
{ be_const_key_weak(process_write_request, -1), be_const_closure(class_Matter_IM_process_write_request_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_IM_every_second_closure) },
{ be_const_key_weak(path2raw, -1), be_const_closure(class_Matter_IM_path2raw_closure) },
{ be_const_key_weak(invoke_request_solo, -1), be_const_var(4) },
{ be_const_key_weak(_inner_process_read_request, -1), be_const_closure(Matter_IM__inner_process_read_request_closure) },
{ be_const_key_weak(_inner_process_read_request, -1), be_const_closure(class_Matter_IM__inner_process_read_request_closure) },
{ be_const_key_weak(tlv_solo, -1), be_const_var(5) },
{ be_const_key_weak(remove_sendqueue_by_exchangeid, -1), be_const_closure(Matter_IM_remove_sendqueue_by_exchangeid_closure) },
{ be_const_key_weak(find_sendqueue_by_exchangeid, -1), be_const_closure(Matter_IM_find_sendqueue_by_exchangeid_closure) },
{ be_const_key_weak(send_report_data, -1), be_const_closure(Matter_IM_send_report_data_closure) },
{ be_const_key_weak(process_invoke_request, 17), be_const_closure(Matter_IM_process_invoke_request_closure) },
{ be_const_key_weak(send_status, -1), be_const_closure(Matter_IM_send_status_closure) },
{ be_const_key_weak(remove_sendqueue_by_exchangeid, -1), be_const_closure(class_Matter_IM_remove_sendqueue_by_exchangeid_closure) },
{ be_const_key_weak(find_sendqueue_by_exchangeid, -1), be_const_closure(class_Matter_IM_find_sendqueue_by_exchangeid_closure) },
{ be_const_key_weak(send_report_data, -1), be_const_closure(class_Matter_IM_send_report_data_closure) },
{ be_const_key_weak(process_invoke_request, 17), be_const_closure(class_Matter_IM_process_invoke_request_closure) },
{ be_const_key_weak(send_status, -1), be_const_closure(class_Matter_IM_send_status_closure) },
{ be_const_key_weak(subs_shop, 20), be_const_var(1) },
{ be_const_key_weak(process_timed_request, 32), be_const_closure(Matter_IM_process_timed_request_closure) },
{ be_const_key_weak(attributestatus2raw, 23), be_const_closure(Matter_IM_attributestatus2raw_closure) },
{ be_const_key_weak(send_subscribe_response, -1), be_const_closure(Matter_IM_send_subscribe_response_closure) },
{ be_const_key_weak(process_invoke_response, 24), be_const_closure(Matter_IM_process_invoke_response_closure) },
{ be_const_key_weak(report_data, 9), be_const_closure(Matter_IM_report_data_closure) },
{ be_const_key_weak(process_read_request_solo, -1), be_const_closure(Matter_IM_process_read_request_solo_closure) },
{ be_const_key_weak(send_enqueued, -1), be_const_closure(Matter_IM_send_enqueued_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_init_closure) },
{ be_const_key_weak(expire_sendqueue, -1), be_const_closure(Matter_IM_expire_sendqueue_closure) },
{ be_const_key_weak(process_read_request, -1), be_const_closure(Matter_IM_process_read_request_closure) },
{ be_const_key_weak(process_timed_request, 32), be_const_closure(class_Matter_IM_process_timed_request_closure) },
{ be_const_key_weak(attributestatus2raw, 23), be_const_closure(class_Matter_IM_attributestatus2raw_closure) },
{ be_const_key_weak(send_subscribe_response, -1), be_const_closure(class_Matter_IM_send_subscribe_response_closure) },
{ be_const_key_weak(process_invoke_response, 24), be_const_closure(class_Matter_IM_process_invoke_response_closure) },
{ be_const_key_weak(report_data, 9), be_const_closure(class_Matter_IM_report_data_closure) },
{ be_const_key_weak(process_read_request_solo, -1), be_const_closure(class_Matter_IM_process_read_request_solo_closure) },
{ be_const_key_weak(send_enqueued, -1), be_const_closure(class_Matter_IM_send_enqueued_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_init_closure) },
{ be_const_key_weak(expire_sendqueue, -1), be_const_closure(class_Matter_IM_expire_sendqueue_closure) },
{ be_const_key_weak(process_read_request, -1), be_const_closure(class_Matter_IM_process_read_request_closure) },
{ be_const_key_weak(device, -1), be_const_var(0) },
{ be_const_key_weak(send_queue, -1), be_const_var(2) },
})),
be_str_weak(Matter_IM)
);
/*******************************************************************/
void be_load_Matter_IM_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM);
be_setglobal(vm, "Matter_IM");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_IM_Message;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_Message_init, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_IM_Message_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(reset),
@ -40,7 +41,8 @@ be_local_closure(Matter_IM_Message_init, /* name */
/********************************************************************
** Solidified function: get_exchangeid
********************************************************************/
be_local_closure(Matter_IM_Message_get_exchangeid, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_get_exchangeid, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_IM_Message_get_exchangeid, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(resp),
@ -69,7 +71,8 @@ be_local_closure(Matter_IM_Message_get_exchangeid, /* name */
/********************************************************************
** Solidified function: send_im
********************************************************************/
be_local_closure(Matter_IM_Message_send_im, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_send_im, /* name */
be_nested_proto(
13, /* nstack */
2, /* argc */
@ -77,7 +80,7 @@ be_local_closure(Matter_IM_Message_send_im, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(ready),
@ -152,7 +155,8 @@ be_local_closure(Matter_IM_Message_send_im, /* name */
/********************************************************************
** Solidified function: status_error_received
********************************************************************/
be_local_closure(Matter_IM_Message_status_error_received, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_status_error_received, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -160,7 +164,7 @@ be_local_closure(Matter_IM_Message_status_error_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
0, /* has constants */
NULL, /* no const */
be_str_weak(status_error_received),
@ -176,7 +180,8 @@ be_local_closure(Matter_IM_Message_status_error_received, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_IM_Message_reset, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_reset, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -184,7 +189,7 @@ be_local_closure(Matter_IM_Message_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(resp),
@ -230,7 +235,8 @@ be_local_closure(Matter_IM_Message_reset, /* name */
/********************************************************************
** Solidified function: reached_timeout
********************************************************************/
be_local_closure(Matter_IM_Message_reached_timeout, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_reached_timeout, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -238,7 +244,7 @@ be_local_closure(Matter_IM_Message_reached_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
0, /* has constants */
NULL, /* no const */
be_str_weak(reached_timeout),
@ -254,7 +260,8 @@ be_local_closure(Matter_IM_Message_reached_timeout, /* name */
/********************************************************************
** Solidified function: status_ok_received
********************************************************************/
be_local_closure(Matter_IM_Message_status_ok_received, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_status_ok_received, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -262,7 +269,7 @@ be_local_closure(Matter_IM_Message_status_ok_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(expiration),
@ -306,7 +313,8 @@ be_local_closure(Matter_IM_Message_status_ok_received, /* name */
/********************************************************************
** Solidified function: ack_received
********************************************************************/
be_local_closure(Matter_IM_Message_ack_received, /* name */
extern const bclass be_class_Matter_IM_Message;
be_local_closure(class_Matter_IM_Message_ack_received, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -314,7 +322,7 @@ be_local_closure(Matter_IM_Message_ack_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Message,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(expiration),
@ -347,38 +355,32 @@ be_local_class(Matter_IM_Message,
NULL,
be_nested_map(15,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, 11), be_const_closure(Matter_IM_Message_init_closure) },
{ be_const_key_weak(get_exchangeid, 10), be_const_closure(Matter_IM_Message_get_exchangeid_closure) },
{ be_const_key_weak(reset, -1), be_const_closure(Matter_IM_Message_reset_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(Matter_IM_Message_send_im_closure) },
{ be_const_key_weak(status_error_received, -1), be_const_closure(Matter_IM_Message_status_error_received_closure) },
{ be_const_key_weak(init, 11), be_const_closure(class_Matter_IM_Message_init_closure) },
{ be_const_key_weak(get_exchangeid, 10), be_const_closure(class_Matter_IM_Message_get_exchangeid_closure) },
{ be_const_key_weak(reset, -1), be_const_closure(class_Matter_IM_Message_reset_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(class_Matter_IM_Message_send_im_closure) },
{ be_const_key_weak(status_error_received, -1), be_const_closure(class_Matter_IM_Message_status_error_received_closure) },
{ be_const_key_weak(finish, -1), be_const_var(3) },
{ be_const_key_weak(status_ok_received, 2), be_const_closure(Matter_IM_Message_status_ok_received_closure) },
{ be_const_key_weak(status_ok_received, 2), be_const_closure(class_Matter_IM_Message_status_ok_received_closure) },
{ be_const_key_weak(last_counter, -1), be_const_var(5) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(Matter_IM_Message_reached_timeout_closure) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(class_Matter_IM_Message_reached_timeout_closure) },
{ be_const_key_weak(resp, -1), be_const_var(1) },
{ be_const_key_weak(data, -1), be_const_var(4) },
{ be_const_key_weak(expiration, -1), be_const_var(0) },
{ be_const_key_weak(ready, 6), be_const_var(2) },
{ be_const_key_weak(MSG_TIMEOUT, 5), be_const_int(5000) },
{ be_const_key_weak(ack_received, -1), be_const_closure(Matter_IM_Message_ack_received_closure) },
{ be_const_key_weak(ack_received, -1), be_const_closure(class_Matter_IM_Message_ack_received_closure) },
})),
be_str_weak(Matter_IM_Message)
);
/*******************************************************************/
void be_load_Matter_IM_Message_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_Message);
be_setglobal(vm, "Matter_IM_Message");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_Status;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_Status_init, /* name */
extern const bclass be_class_Matter_IM_Status;
be_local_closure(class_Matter_IM_Status_init, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -386,7 +388,7 @@ be_local_closure(Matter_IM_Status_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Status,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -428,24 +430,18 @@ be_local_class(Matter_IM_Status,
&be_class_Matter_IM_Message,
be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_Status_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_Status_init_closure) },
})),
be_str_weak(Matter_IM_Status)
);
/*******************************************************************/
void be_load_Matter_IM_Status_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_Status);
be_setglobal(vm, "Matter_IM_Status");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_InvokeResponse;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_InvokeResponse_init, /* name */
extern const bclass be_class_Matter_IM_InvokeResponse;
be_local_closure(class_Matter_IM_InvokeResponse_init, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -453,7 +449,7 @@ be_local_closure(Matter_IM_InvokeResponse_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_InvokeResponse,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -487,24 +483,18 @@ be_local_class(Matter_IM_InvokeResponse,
&be_class_Matter_IM_Message,
be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_InvokeResponse_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_InvokeResponse_init_closure) },
})),
be_str_weak(Matter_IM_InvokeResponse)
);
/*******************************************************************/
void be_load_Matter_IM_InvokeResponse_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_InvokeResponse);
be_setglobal(vm, "Matter_IM_InvokeResponse");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_WriteResponse;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_WriteResponse_init, /* name */
extern const bclass be_class_Matter_IM_WriteResponse;
be_local_closure(class_Matter_IM_WriteResponse_init, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -512,7 +502,7 @@ be_local_closure(Matter_IM_WriteResponse_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_WriteResponse,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -546,24 +536,18 @@ be_local_class(Matter_IM_WriteResponse,
&be_class_Matter_IM_Message,
be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_WriteResponse_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_WriteResponse_init_closure) },
})),
be_str_weak(Matter_IM_WriteResponse)
);
/*******************************************************************/
void be_load_Matter_IM_WriteResponse_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_WriteResponse);
be_setglobal(vm, "Matter_IM_WriteResponse");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_ReportData;
/********************************************************************
** Solidified function: send_im
********************************************************************/
be_local_closure(Matter_IM_ReportData_send_im, /* name */
extern const bclass be_class_Matter_IM_ReportData;
be_local_closure(class_Matter_IM_ReportData_send_im, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -571,7 +555,7 @@ be_local_closure(Matter_IM_ReportData_send_im, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportData,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(ready),
@ -671,7 +655,8 @@ be_local_closure(Matter_IM_ReportData_send_im, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_ReportData_init, /* name */
extern const bclass be_class_Matter_IM_ReportData;
be_local_closure(class_Matter_IM_ReportData_init, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -679,7 +664,7 @@ be_local_closure(Matter_IM_ReportData_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportData,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -713,26 +698,20 @@ be_local_class(Matter_IM_ReportData,
&be_class_Matter_IM_Message,
be_nested_map(3,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(send_im, 1), be_const_closure(Matter_IM_ReportData_send_im_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_ReportData_init_closure) },
{ be_const_key_weak(send_im, 1), be_const_closure(class_Matter_IM_ReportData_send_im_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_ReportData_init_closure) },
{ be_const_key_weak(MAX_MESSAGE, -1), be_const_int(1200) },
})),
be_str_weak(Matter_IM_ReportData)
);
/*******************************************************************/
void be_load_Matter_IM_ReportData_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_ReportData);
be_setglobal(vm, "Matter_IM_ReportData");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
/********************************************************************
** Solidified function: ack_received
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_ack_received, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_ack_received, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -740,7 +719,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_ack_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(ack_received),
@ -781,7 +760,8 @@ be_local_closure(Matter_IM_ReportDataSubscribed_ack_received, /* name */
/********************************************************************
** Solidified function: send_im
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_send_im, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_send_im, /* name */
be_nested_proto(
10, /* nstack */
2, /* argc */
@ -789,7 +769,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_send_im, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_nested_str_weak(ready),
@ -900,7 +880,8 @@ be_local_closure(Matter_IM_ReportDataSubscribed_send_im, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_init, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_init, /* name */
be_nested_proto(
11, /* nstack */
5, /* argc */
@ -908,7 +889,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(resp),
@ -958,7 +939,8 @@ be_local_closure(Matter_IM_ReportDataSubscribed_init, /* name */
/********************************************************************
** Solidified function: status_error_received
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_status_error_received, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_status_error_received, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -966,7 +948,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_status_error_received, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(sub),
@ -988,7 +970,8 @@ be_local_closure(Matter_IM_ReportDataSubscribed_status_error_received, /* name
/********************************************************************
** Solidified function: reached_timeout
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_reached_timeout, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_reached_timeout, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -996,7 +979,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_reached_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(sub),
@ -1018,7 +1001,8 @@ be_local_closure(Matter_IM_ReportDataSubscribed_reached_timeout, /* name */
/********************************************************************
** Solidified function: status_ok_received
********************************************************************/
be_local_closure(Matter_IM_ReportDataSubscribed_status_ok_received, /* name */
extern const bclass be_class_Matter_IM_ReportDataSubscribed;
be_local_closure(class_Matter_IM_ReportDataSubscribed_status_ok_received, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1026,7 +1010,7 @@ be_local_closure(Matter_IM_ReportDataSubscribed_status_ok_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_ReportDataSubscribed,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(report_data_phase),
@ -1074,31 +1058,25 @@ be_local_class(Matter_IM_ReportDataSubscribed,
&be_class_Matter_IM_ReportData,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ack_received, 1), be_const_closure(Matter_IM_ReportDataSubscribed_ack_received_closure) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(Matter_IM_ReportDataSubscribed_status_ok_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(Matter_IM_ReportDataSubscribed_send_im_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_ReportDataSubscribed_init_closure) },
{ be_const_key_weak(ack_received, 1), be_const_closure(class_Matter_IM_ReportDataSubscribed_ack_received_closure) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(class_Matter_IM_ReportDataSubscribed_status_ok_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(class_Matter_IM_ReportDataSubscribed_send_im_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_ReportDataSubscribed_init_closure) },
{ be_const_key_weak(report_data_phase, 7), be_const_var(1) },
{ be_const_key_weak(sub, 6), be_const_var(0) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(Matter_IM_ReportDataSubscribed_reached_timeout_closure) },
{ be_const_key_weak(status_error_received, -1), be_const_closure(Matter_IM_ReportDataSubscribed_status_error_received_closure) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(class_Matter_IM_ReportDataSubscribed_reached_timeout_closure) },
{ be_const_key_weak(status_error_received, -1), be_const_closure(class_Matter_IM_ReportDataSubscribed_status_error_received_closure) },
})),
be_str_weak(Matter_IM_ReportDataSubscribed)
);
/*******************************************************************/
void be_load_Matter_IM_ReportDataSubscribed_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_ReportDataSubscribed);
be_setglobal(vm, "Matter_IM_ReportDataSubscribed");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
/********************************************************************
** Solidified function: status_error_received
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_status_error_received, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_status_error_received, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -1106,7 +1084,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_status_error_received, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(sub),
@ -1129,7 +1107,8 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_status_error_received, /* name
/********************************************************************
** Solidified function: send_im
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_send_im, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_send_im, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1137,7 +1116,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_send_im, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(ready),
@ -1168,7 +1147,8 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_send_im, /* name */
/********************************************************************
** Solidified function: ack_received
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_ack_received, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_ack_received, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1176,7 +1156,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_ack_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(ack_received),
@ -1204,7 +1184,8 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_ack_received, /* name */
/********************************************************************
** Solidified function: reached_timeout
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_reached_timeout, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_reached_timeout, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1212,7 +1193,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_reached_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(sub),
@ -1234,7 +1215,8 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_reached_timeout, /* name */
/********************************************************************
** Solidified function: status_ok_received
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_status_ok_received, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_status_ok_received, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -1242,7 +1224,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_status_ok_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
0, /* has constants */
NULL, /* no const */
be_str_weak(status_ok_received),
@ -1259,7 +1241,8 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_status_ok_received, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_SubscribedHeartbeat_init, /* name */
extern const bclass be_class_Matter_IM_SubscribedHeartbeat;
be_local_closure(class_Matter_IM_SubscribedHeartbeat_init, /* name */
be_nested_proto(
11, /* nstack */
5, /* argc */
@ -1267,7 +1250,7 @@ be_local_closure(Matter_IM_SubscribedHeartbeat_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribedHeartbeat,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(resp),
@ -1320,30 +1303,24 @@ be_local_class(Matter_IM_SubscribedHeartbeat,
&be_class_Matter_IM_ReportData,
be_nested_map(7,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, 1), be_const_closure(Matter_IM_SubscribedHeartbeat_init_closure) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(Matter_IM_SubscribedHeartbeat_status_ok_received_closure) },
{ be_const_key_weak(init, 1), be_const_closure(class_Matter_IM_SubscribedHeartbeat_init_closure) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(class_Matter_IM_SubscribedHeartbeat_status_ok_received_closure) },
{ be_const_key_weak(sub, 6), be_const_var(0) },
{ be_const_key_weak(ack_received, -1), be_const_closure(Matter_IM_SubscribedHeartbeat_ack_received_closure) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(Matter_IM_SubscribedHeartbeat_reached_timeout_closure) },
{ be_const_key_weak(status_error_received, 0), be_const_closure(Matter_IM_SubscribedHeartbeat_status_error_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(Matter_IM_SubscribedHeartbeat_send_im_closure) },
{ be_const_key_weak(ack_received, -1), be_const_closure(class_Matter_IM_SubscribedHeartbeat_ack_received_closure) },
{ be_const_key_weak(reached_timeout, -1), be_const_closure(class_Matter_IM_SubscribedHeartbeat_reached_timeout_closure) },
{ be_const_key_weak(status_error_received, 0), be_const_closure(class_Matter_IM_SubscribedHeartbeat_status_error_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(class_Matter_IM_SubscribedHeartbeat_send_im_closure) },
})),
be_str_weak(Matter_IM_SubscribedHeartbeat)
);
/*******************************************************************/
void be_load_Matter_IM_SubscribedHeartbeat_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_SubscribedHeartbeat);
be_setglobal(vm, "Matter_IM_SubscribedHeartbeat");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_SubscribeResponse;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_SubscribeResponse_init, /* name */
extern const bclass be_class_Matter_IM_SubscribeResponse;
be_local_closure(class_Matter_IM_SubscribeResponse_init, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -1351,7 +1328,7 @@ be_local_closure(Matter_IM_SubscribeResponse_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribeResponse,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -1381,7 +1358,8 @@ be_local_closure(Matter_IM_SubscribeResponse_init, /* name */
/********************************************************************
** Solidified function: status_ok_received
********************************************************************/
be_local_closure(Matter_IM_SubscribeResponse_status_ok_received, /* name */
extern const bclass be_class_Matter_IM_SubscribeResponse;
be_local_closure(class_Matter_IM_SubscribeResponse_status_ok_received, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -1389,7 +1367,7 @@ be_local_closure(Matter_IM_SubscribeResponse_status_ok_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribeResponse,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -1438,7 +1416,8 @@ be_local_closure(Matter_IM_SubscribeResponse_status_ok_received, /* name */
/********************************************************************
** Solidified function: send_im
********************************************************************/
be_local_closure(Matter_IM_SubscribeResponse_send_im, /* name */
extern const bclass be_class_Matter_IM_SubscribeResponse;
be_local_closure(class_Matter_IM_SubscribeResponse_send_im, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -1446,7 +1425,7 @@ be_local_closure(Matter_IM_SubscribeResponse_send_im, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_SubscribeResponse,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(ready),
@ -1540,20 +1519,13 @@ be_local_class(Matter_IM_SubscribeResponse,
&be_class_Matter_IM_ReportData,
be_nested_map(5,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, 4), be_const_closure(Matter_IM_SubscribeResponse_init_closure) },
{ be_const_key_weak(init, 4), be_const_closure(class_Matter_IM_SubscribeResponse_init_closure) },
{ be_const_key_weak(sub, -1), be_const_var(0) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(Matter_IM_SubscribeResponse_status_ok_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(Matter_IM_SubscribeResponse_send_im_closure) },
{ be_const_key_weak(status_ok_received, -1), be_const_closure(class_Matter_IM_SubscribeResponse_status_ok_received_closure) },
{ be_const_key_weak(send_im, -1), be_const_closure(class_Matter_IM_SubscribeResponse_send_im_closure) },
{ be_const_key_weak(report_data_phase, -1), be_const_var(1) },
})),
be_str_weak(Matter_IM_SubscribeResponse)
);
/*******************************************************************/
void be_load_Matter_IM_SubscribeResponse_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_SubscribeResponse);
be_setglobal(vm, "Matter_IM_SubscribeResponse");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_IM_Subscription;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_Subscription_init, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription_init, /* name */
be_nested_proto(
13, /* nstack */
5, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_IM_Subscription_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[22]) { /* constants */
/* K0 */ be_nested_str_weak(subs_shop),
@ -116,7 +117,8 @@ be_local_closure(Matter_IM_Subscription_init, /* name */
/********************************************************************
** Solidified function: _add_attribute_unique_path
********************************************************************/
be_local_closure(Matter_IM_Subscription__add_attribute_unique_path, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription__add_attribute_unique_path, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -124,7 +126,7 @@ be_local_closure(Matter_IM_Subscription__add_attribute_unique_path, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_const_int(0),
@ -175,7 +177,8 @@ be_local_closure(Matter_IM_Subscription__add_attribute_unique_path, /* name */
/********************************************************************
** Solidified function: remove_self
********************************************************************/
be_local_closure(Matter_IM_Subscription_remove_self, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription_remove_self, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -183,7 +186,7 @@ be_local_closure(Matter_IM_Subscription_remove_self, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -219,7 +222,8 @@ be_local_closure(Matter_IM_Subscription_remove_self, /* name */
/********************************************************************
** Solidified function: clear_before_arm
********************************************************************/
be_local_closure(Matter_IM_Subscription_clear_before_arm, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription_clear_before_arm, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -227,7 +231,7 @@ be_local_closure(Matter_IM_Subscription_clear_before_arm, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(updates),
@ -252,7 +256,8 @@ be_local_closure(Matter_IM_Subscription_clear_before_arm, /* name */
/********************************************************************
** Solidified function: attribute_updated_ctx
********************************************************************/
be_local_closure(Matter_IM_Subscription_attribute_updated_ctx, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription_attribute_updated_ctx, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -260,7 +265,7 @@ be_local_closure(Matter_IM_Subscription_attribute_updated_ctx, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_const_int(0),
@ -321,7 +326,8 @@ be_local_closure(Matter_IM_Subscription_attribute_updated_ctx, /* name */
/********************************************************************
** Solidified function: re_arm
********************************************************************/
be_local_closure(Matter_IM_Subscription_re_arm, /* name */
extern const bclass be_class_Matter_IM_Subscription;
be_local_closure(class_Matter_IM_Subscription_re_arm, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -329,7 +335,7 @@ be_local_closure(Matter_IM_Subscription_re_arm, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(wait_status),
@ -394,41 +400,35 @@ be_local_class(Matter_IM_Subscription,
be_nested_map(19,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(not_before, -1), be_const_var(7) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_IM_Subscription_init_closure) },
{ be_const_key_weak(attribute_updated_ctx, -1), be_const_closure(Matter_IM_Subscription_attribute_updated_ctx_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_IM_Subscription_init_closure) },
{ be_const_key_weak(attribute_updated_ctx, -1), be_const_closure(class_Matter_IM_Subscription_attribute_updated_ctx_closure) },
{ be_const_key_weak(updates, -1), be_const_var(11) },
{ be_const_key_weak(min_interval, -1), be_const_var(4) },
{ be_const_key_weak(expiration, -1), be_const_var(8) },
{ be_const_key_weak(subscription_id, 3), be_const_var(1) },
{ be_const_key_weak(subs_shop, -1), be_const_var(0) },
{ be_const_key_weak(max_interval, -1), be_const_var(5) },
{ be_const_key_weak(remove_self, 1), be_const_closure(Matter_IM_Subscription_remove_self_closure) },
{ be_const_key_weak(remove_self, 1), be_const_closure(class_Matter_IM_Subscription_remove_self_closure) },
{ be_const_key_weak(MAX_INTERVAL_MARGIN, -1), be_const_int(5) },
{ be_const_key_weak(fabric_filtered, 7), be_const_var(6) },
{ be_const_key_weak(_add_attribute_unique_path, 11), be_const_closure(Matter_IM_Subscription__add_attribute_unique_path_closure) },
{ be_const_key_weak(_add_attribute_unique_path, 11), be_const_closure(class_Matter_IM_Subscription__add_attribute_unique_path_closure) },
{ be_const_key_weak(path_list, 9), be_const_var(3) },
{ be_const_key_weak(is_keep_alive, -1), be_const_var(10) },
{ be_const_key_weak(clear_before_arm, -1), be_const_closure(Matter_IM_Subscription_clear_before_arm_closure) },
{ be_const_key_weak(clear_before_arm, -1), be_const_closure(class_Matter_IM_Subscription_clear_before_arm_closure) },
{ be_const_key_weak(session, 2), be_const_var(2) },
{ be_const_key_weak(re_arm, -1), be_const_closure(Matter_IM_Subscription_re_arm_closure) },
{ be_const_key_weak(re_arm, -1), be_const_closure(class_Matter_IM_Subscription_re_arm_closure) },
{ be_const_key_weak(wait_status, 0), be_const_var(9) },
})),
be_str_weak(Matter_IM_Subscription)
);
/*******************************************************************/
void be_load_Matter_IM_Subscription_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_Subscription);
be_setglobal(vm, "Matter_IM_Subscription");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_IM_Subscription_Shop;
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_every_250ms, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_every_250ms, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -436,7 +436,7 @@ be_local_closure(Matter_IM_Subscription_Shop_every_250ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_const_int(0),
@ -520,7 +520,8 @@ be_local_closure(Matter_IM_Subscription_Shop_every_250ms, /* name */
/********************************************************************
** Solidified function: get_by_id
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_get_by_id, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_get_by_id, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -528,7 +529,7 @@ be_local_closure(Matter_IM_Subscription_Shop_get_by_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
@ -565,7 +566,8 @@ be_local_closure(Matter_IM_Subscription_Shop_get_by_id, /* name */
/********************************************************************
** Solidified function: new_subscription
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_new_subscription, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_new_subscription, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -573,7 +575,7 @@ be_local_closure(Matter_IM_Subscription_Shop_new_subscription, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -632,7 +634,8 @@ be_local_closure(Matter_IM_Subscription_Shop_new_subscription, /* name */
/********************************************************************
** Solidified function: remove_sub
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_remove_sub, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_remove_sub, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -640,7 +643,7 @@ be_local_closure(Matter_IM_Subscription_Shop_remove_sub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
@ -678,7 +681,8 @@ be_local_closure(Matter_IM_Subscription_Shop_remove_sub, /* name */
/********************************************************************
** Solidified function: attribute_updated_ctx
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_attribute_updated_ctx, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_attribute_updated_ctx, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -686,7 +690,7 @@ be_local_closure(Matter_IM_Subscription_Shop_attribute_updated_ctx, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
@ -721,7 +725,8 @@ be_local_closure(Matter_IM_Subscription_Shop_attribute_updated_ctx, /* name */
/********************************************************************
** Solidified function: remove_by_session
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_remove_by_session, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_remove_by_session, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -729,7 +734,7 @@ be_local_closure(Matter_IM_Subscription_Shop_remove_by_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_const_int(0),
@ -769,7 +774,8 @@ be_local_closure(Matter_IM_Subscription_Shop_remove_by_session, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_init, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_init, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -777,7 +783,7 @@ be_local_closure(Matter_IM_Subscription_Shop_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(im),
@ -800,7 +806,8 @@ be_local_closure(Matter_IM_Subscription_Shop_init, /* name */
/********************************************************************
** Solidified function: remove_by_fabric
********************************************************************/
be_local_closure(Matter_IM_Subscription_Shop_remove_by_fabric, /* name */
extern const bclass be_class_Matter_IM_Subscription_Shop;
be_local_closure(class_Matter_IM_Subscription_Shop_remove_by_fabric, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -808,7 +815,7 @@ be_local_closure(Matter_IM_Subscription_Shop_remove_by_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_IM_Subscription_Shop,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(_sessions),
@ -846,25 +853,18 @@ be_local_class(Matter_IM_Subscription_Shop,
NULL,
be_nested_map(10,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_IM_Subscription_Shop_every_250ms_closure) },
{ be_const_key_weak(get_by_id, -1), be_const_closure(Matter_IM_Subscription_Shop_get_by_id_closure) },
{ be_const_key_weak(attribute_updated_ctx, -1), be_const_closure(Matter_IM_Subscription_Shop_attribute_updated_ctx_closure) },
{ be_const_key_weak(init, 2), be_const_closure(Matter_IM_Subscription_Shop_init_closure) },
{ be_const_key_weak(remove_sub, -1), be_const_closure(Matter_IM_Subscription_Shop_remove_sub_closure) },
{ be_const_key_weak(new_subscription, 3), be_const_closure(Matter_IM_Subscription_Shop_new_subscription_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_IM_Subscription_Shop_every_250ms_closure) },
{ be_const_key_weak(get_by_id, -1), be_const_closure(class_Matter_IM_Subscription_Shop_get_by_id_closure) },
{ be_const_key_weak(attribute_updated_ctx, -1), be_const_closure(class_Matter_IM_Subscription_Shop_attribute_updated_ctx_closure) },
{ be_const_key_weak(init, 2), be_const_closure(class_Matter_IM_Subscription_Shop_init_closure) },
{ be_const_key_weak(remove_sub, -1), be_const_closure(class_Matter_IM_Subscription_Shop_remove_sub_closure) },
{ be_const_key_weak(new_subscription, 3), be_const_closure(class_Matter_IM_Subscription_Shop_new_subscription_closure) },
{ be_const_key_weak(subs, 8), be_const_var(0) },
{ be_const_key_weak(im, -1), be_const_var(1) },
{ be_const_key_weak(remove_by_session, -1), be_const_closure(Matter_IM_Subscription_Shop_remove_by_session_closure) },
{ be_const_key_weak(remove_by_fabric, -1), be_const_closure(Matter_IM_Subscription_Shop_remove_by_fabric_closure) },
{ be_const_key_weak(remove_by_session, -1), be_const_closure(class_Matter_IM_Subscription_Shop_remove_by_session_closure) },
{ be_const_key_weak(remove_by_fabric, -1), be_const_closure(class_Matter_IM_Subscription_Shop_remove_by_fabric_closure) },
})),
be_str_weak(Matter_IM_Subscription_Shop)
);
/*******************************************************************/
void be_load_Matter_IM_Subscription_Shop_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_IM_Subscription_Shop);
be_setglobal(vm, "Matter_IM_Subscription_Shop");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Frame;
/********************************************************************
** Solidified function: encode_frame
********************************************************************/
be_local_closure(Matter_Frame_encode_frame, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_encode_frame, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Frame_encode_frame, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[29]) { /* constants */
/* K0 */ be_const_int(0),
@ -217,7 +218,8 @@ be_local_closure(Matter_Frame_encode_frame, /* name */
/********************************************************************
** Solidified function: encrypt
********************************************************************/
be_local_closure(Matter_Frame_encrypt, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_encrypt, /* name */
be_nested_proto(
23, /* nstack */
1, /* argc */
@ -225,7 +227,7 @@ be_local_closure(Matter_Frame_encrypt, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -322,7 +324,8 @@ be_local_closure(Matter_Frame_encrypt, /* name */
/********************************************************************
** Solidified function: debug
********************************************************************/
be_local_closure(Matter_Frame_debug, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_debug, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -330,7 +333,7 @@ be_local_closure(Matter_Frame_debug, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -361,7 +364,8 @@ be_local_closure(Matter_Frame_debug, /* name */
/********************************************************************
** Solidified function: build_standalone_ack
********************************************************************/
be_local_closure(Matter_Frame_build_standalone_ack, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_build_standalone_ack, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -369,7 +373,7 @@ be_local_closure(Matter_Frame_build_standalone_ack, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_nested_str_weak(message_handler),
@ -451,7 +455,8 @@ be_local_closure(Matter_Frame_build_standalone_ack, /* name */
/********************************************************************
** Solidified function: build_response
********************************************************************/
be_local_closure(Matter_Frame_build_response, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_build_response, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -459,7 +464,7 @@ be_local_closure(Matter_Frame_build_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[30]) { /* constants */
/* K0 */ be_nested_str_weak(message_handler),
@ -596,7 +601,8 @@ be_local_closure(Matter_Frame_build_response, /* name */
/********************************************************************
** Solidified function: initiate_response
********************************************************************/
be_local_closure(Matter_Frame_initiate_response, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_initiate_response, /* name */
be_nested_proto(
9, /* nstack */
5, /* argc */
@ -604,7 +610,7 @@ be_local_closure(Matter_Frame_initiate_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_Frame),
@ -689,7 +695,8 @@ be_local_closure(Matter_Frame_initiate_response, /* name */
/********************************************************************
** Solidified function: decode_header
********************************************************************/
be_local_closure(Matter_Frame_decode_header, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_decode_header, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -697,7 +704,7 @@ be_local_closure(Matter_Frame_decode_header, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_const_int(0),
@ -855,7 +862,8 @@ be_local_closure(Matter_Frame_decode_header, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Frame_init, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_init, /* name */
be_nested_proto(
5, /* nstack */
5, /* argc */
@ -863,7 +871,7 @@ be_local_closure(Matter_Frame_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(message_handler),
@ -888,7 +896,8 @@ be_local_closure(Matter_Frame_init, /* name */
/********************************************************************
** Solidified function: decode_payload
********************************************************************/
be_local_closure(Matter_Frame_decode_payload, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_decode_payload, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -896,7 +905,7 @@ be_local_closure(Matter_Frame_decode_payload, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(payload_idx),
@ -1024,7 +1033,8 @@ be_local_closure(Matter_Frame_decode_payload, /* name */
/********************************************************************
** Solidified function: decrypt
********************************************************************/
be_local_closure(Matter_Frame_decrypt, /* name */
extern const bclass be_class_Matter_Frame;
be_local_closure(class_Matter_Frame_decrypt, /* name */
be_nested_proto(
23, /* nstack */
1, /* argc */
@ -1032,7 +1042,7 @@ be_local_closure(Matter_Frame_decrypt, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Frame,
1, /* has constants */
( &(const bvalue[30]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -1206,26 +1216,26 @@ be_local_class(Matter_Frame,
{ be_const_key_weak(x_flag_a, -1), be_const_var(21) },
{ be_const_key_weak(exchange_id, -1), be_const_var(24) },
{ be_const_key_weak(opcode, -1), be_const_var(23) },
{ be_const_key_weak(encode_frame, -1), be_const_closure(Matter_Frame_encode_frame_closure) },
{ be_const_key_weak(encode_frame, -1), be_const_closure(class_Matter_Frame_encode_frame_closure) },
{ be_const_key_weak(app_payload_idx, -1), be_const_var(29) },
{ be_const_key_weak(payload_idx, -1), be_const_var(3) },
{ be_const_key_weak(ack_message_counter, 24), be_const_var(27) },
{ be_const_key_weak(build_standalone_ack, -1), be_const_closure(Matter_Frame_build_standalone_ack_closure) },
{ be_const_key_weak(build_standalone_ack, -1), be_const_closure(class_Matter_Frame_build_standalone_ack_closure) },
{ be_const_key_weak(x_flag_v, 6), be_const_var(18) },
{ be_const_key_weak(sec_c, -1), be_const_var(10) },
{ be_const_key_weak(vendor_id, 32), be_const_var(26) },
{ be_const_key_weak(local_session_id, -1), be_const_var(7) },
{ be_const_key_weak(flag_s, -1), be_const_var(5) },
{ be_const_key_weak(debug, -1), be_const_closure(Matter_Frame_debug_closure) },
{ be_const_key_weak(debug, -1), be_const_closure(class_Matter_Frame_debug_closure) },
{ be_const_key_weak(message_handler, 10), be_const_var(0) },
{ be_const_key_weak(encrypt, 34), be_const_closure(Matter_Frame_encrypt_closure) },
{ be_const_key_weak(encrypt, 34), be_const_closure(class_Matter_Frame_encrypt_closure) },
{ be_const_key_weak(session, -1), be_const_var(1) },
{ be_const_key_weak(sec_flags, -1), be_const_var(8) },
{ be_const_key_weak(build_response, -1), be_const_closure(Matter_Frame_build_response_closure) },
{ be_const_key_weak(initiate_response, -1), be_const_static_closure(Matter_Frame_initiate_response_closure) },
{ be_const_key_weak(build_response, -1), be_const_closure(class_Matter_Frame_build_response_closure) },
{ be_const_key_weak(initiate_response, -1), be_const_static_closure(class_Matter_Frame_initiate_response_closure) },
{ be_const_key_weak(remote_port, -1), be_const_var(31) },
{ be_const_key_weak(sec_sesstype, -1), be_const_var(12) },
{ be_const_key_weak(decode_header, 23), be_const_closure(Matter_Frame_decode_header_closure) },
{ be_const_key_weak(decode_header, 23), be_const_closure(class_Matter_Frame_decode_header_closure) },
{ be_const_key_weak(flags, -1), be_const_var(4) },
{ be_const_key_weak(protocol_id, 13), be_const_var(25) },
{ be_const_key_weak(raw, -1), be_const_var(2) },
@ -1233,24 +1243,17 @@ be_local_class(Matter_Frame,
{ be_const_key_weak(flag_dsiz, -1), be_const_var(6) },
{ be_const_key_weak(x_flag_r, -1), be_const_var(20) },
{ be_const_key_weak(message_counter, -1), be_const_var(13) },
{ be_const_key_weak(init, 14), be_const_closure(Matter_Frame_init_closure) },
{ be_const_key_weak(init, 14), be_const_closure(class_Matter_Frame_init_closure) },
{ be_const_key_weak(x_flag_sx, 12), be_const_var(19) },
{ be_const_key_weak(dest_node_id_2, -1), be_const_var(15) },
{ be_const_key_weak(decode_payload, -1), be_const_closure(Matter_Frame_decode_payload_closure) },
{ be_const_key_weak(decode_payload, -1), be_const_closure(class_Matter_Frame_decode_payload_closure) },
{ be_const_key_weak(sec_p, 8), be_const_var(9) },
{ be_const_key_weak(decrypt, -1), be_const_closure(Matter_Frame_decrypt_closure) },
{ be_const_key_weak(decrypt, -1), be_const_closure(class_Matter_Frame_decrypt_closure) },
{ be_const_key_weak(sec_extensions, -1), be_const_var(28) },
{ be_const_key_weak(sec_mx, 3), be_const_var(11) },
{ be_const_key_weak(remote_ip, 2), be_const_var(30) },
})),
be_str_weak(Matter_Frame)
);
/*******************************************************************/
void be_load_Matter_Frame_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Frame);
be_setglobal(vm, "Matter_Frame");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_MessageHandler;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_MessageHandler_init, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_MessageHandler_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -63,7 +64,8 @@ be_local_closure(Matter_MessageHandler_init, /* name */
/********************************************************************
** Solidified function: send_encrypted_ack
********************************************************************/
be_local_closure(Matter_MessageHandler_send_encrypted_ack, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_send_encrypted_ack, /* name */
be_nested_proto(
12, /* nstack */
3, /* argc */
@ -71,7 +73,7 @@ be_local_closure(Matter_MessageHandler_send_encrypted_ack, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(x_flag_r),
@ -135,7 +137,8 @@ be_local_closure(Matter_MessageHandler_send_encrypted_ack, /* name */
/********************************************************************
** Solidified function: msg_received
********************************************************************/
be_local_closure(Matter_MessageHandler_msg_received, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_msg_received, /* name */
be_nested_proto(
19, /* nstack */
4, /* argc */
@ -143,7 +146,7 @@ be_local_closure(Matter_MessageHandler_msg_received, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[70]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -594,7 +597,8 @@ be_local_closure(Matter_MessageHandler_msg_received, /* name */
/********************************************************************
** Solidified function: send_response_frame
********************************************************************/
be_local_closure(Matter_MessageHandler_send_response_frame, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_send_response_frame, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -602,7 +606,7 @@ be_local_closure(Matter_MessageHandler_send_response_frame, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -634,7 +638,8 @@ be_local_closure(Matter_MessageHandler_send_response_frame, /* name */
/********************************************************************
** Solidified function: send_simple_ack
********************************************************************/
be_local_closure(Matter_MessageHandler_send_simple_ack, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_send_simple_ack, /* name */
be_nested_proto(
12, /* nstack */
3, /* argc */
@ -642,7 +647,7 @@ be_local_closure(Matter_MessageHandler_send_simple_ack, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(x_flag_r),
@ -703,7 +708,8 @@ be_local_closure(Matter_MessageHandler_send_simple_ack, /* name */
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
be_local_closure(Matter_MessageHandler_every_250ms, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_every_250ms, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -711,7 +717,7 @@ be_local_closure(Matter_MessageHandler_every_250ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(im),
@ -733,7 +739,8 @@ be_local_closure(Matter_MessageHandler_every_250ms, /* name */
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_MessageHandler_every_second, /* name */
extern const bclass be_class_Matter_MessageHandler;
be_local_closure(class_Matter_MessageHandler_every_second, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -741,7 +748,7 @@ be_local_closure(Matter_MessageHandler_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_MessageHandler,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(commissioning),
@ -774,25 +781,18 @@ be_local_class(Matter_MessageHandler,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(commissioning, -1), be_const_var(1) },
{ be_const_key_weak(_n_bytes, 7), be_const_var(4) },
{ be_const_key_weak(send_encrypted_ack, -1), be_const_closure(Matter_MessageHandler_send_encrypted_ack_closure) },
{ be_const_key_weak(init, 5), be_const_closure(Matter_MessageHandler_init_closure) },
{ be_const_key_weak(msg_received, -1), be_const_closure(Matter_MessageHandler_msg_received_closure) },
{ be_const_key_weak(send_encrypted_ack, -1), be_const_closure(class_Matter_MessageHandler_send_encrypted_ack_closure) },
{ be_const_key_weak(init, 5), be_const_closure(class_Matter_MessageHandler_init_closure) },
{ be_const_key_weak(msg_received, -1), be_const_closure(class_Matter_MessageHandler_msg_received_closure) },
{ be_const_key_weak(im, 11), be_const_var(2) },
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_MessageHandler_every_second_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_MessageHandler_every_250ms_closure) },
{ be_const_key_weak(send_simple_ack, 1), be_const_closure(Matter_MessageHandler_send_simple_ack_closure) },
{ be_const_key_weak(send_response_frame, 6), be_const_closure(Matter_MessageHandler_send_response_frame_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_MessageHandler_every_second_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_MessageHandler_every_250ms_closure) },
{ be_const_key_weak(send_simple_ack, 1), be_const_closure(class_Matter_MessageHandler_send_simple_ack_closure) },
{ be_const_key_weak(send_response_frame, 6), be_const_closure(class_Matter_MessageHandler_send_response_frame_closure) },
{ be_const_key_weak(control_message, -1), be_const_var(3) },
{ be_const_key_weak(device, -1), be_const_var(0) },
})),
be_str_weak(Matter_MessageHandler)
);
/*******************************************************************/
void be_load_Matter_MessageHandler_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_MessageHandler);
be_setglobal(vm, "Matter_MessageHandler");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -7,7 +7,7 @@
/********************************************************************
** Solidified function: setmember
********************************************************************/
be_local_closure(matter_setmember, /* name */
be_local_closure(module_matter_setmember, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -15,7 +15,7 @@ be_local_closure(matter_setmember, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(global),
@ -45,7 +45,7 @@ be_local_closure(matter_setmember, /* name */
/********************************************************************
** Solidified function: member
********************************************************************/
be_local_closure(matter_member, /* name */
be_local_closure(module_matter_member, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -53,7 +53,7 @@ be_local_closure(matter_member, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(global),

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Path;
/********************************************************************
** Solidified function: tostring
********************************************************************/
be_local_closure(Matter_Path_tostring, /* name */
extern const bclass be_class_Matter_Path;
be_local_closure(class_Matter_Path_tostring, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Path_tostring, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Path,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -125,7 +126,8 @@ be_local_closure(Matter_Path_tostring, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_Path_reset, /* name */
extern const bclass be_class_Matter_Path;
be_local_closure(class_Matter_Path_reset, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -133,7 +135,7 @@ be_local_closure(Matter_Path_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Path,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(endpoint),
@ -177,20 +179,13 @@ be_local_class(Matter_Path,
{ be_const_key_weak(fabric_filtered, 6), be_const_var(3) },
{ be_const_key_weak(command, -1), be_const_var(4) },
{ be_const_key_weak(msg, -1), be_const_var(7) },
{ be_const_key_weak(tostring, -1), be_const_closure(Matter_Path_tostring_closure) },
{ be_const_key_weak(reset, -1), be_const_closure(Matter_Path_reset_closure) },
{ be_const_key_weak(tostring, -1), be_const_closure(class_Matter_Path_tostring_closure) },
{ be_const_key_weak(reset, -1), be_const_closure(class_Matter_Path_reset_closure) },
{ be_const_key_weak(cluster, -1), be_const_var(1) },
{ be_const_key_weak(endpoint, 3), be_const_var(0) },
{ be_const_key_weak(status, -1), be_const_var(5) },
})),
be_str_weak(Matter_Path)
);
/*******************************************************************/
void be_load_Matter_Path_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Path);
be_setglobal(vm, "Matter_Path");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_PathGenerator;
/********************************************************************
** Solidified function: next
********************************************************************/
be_local_closure(Matter_PathGenerator_next, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator_next, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_PathGenerator_next, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(path_in),
@ -109,7 +110,8 @@ be_local_closure(Matter_PathGenerator_next, /* name */
/********************************************************************
** Solidified function: _next_cluster
********************************************************************/
be_local_closure(Matter_PathGenerator__next_cluster, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator__next_cluster, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -117,7 +119,7 @@ be_local_closure(Matter_PathGenerator__next_cluster, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(cluster),
@ -184,7 +186,8 @@ be_local_closure(Matter_PathGenerator__next_cluster, /* name */
/********************************************************************
** Solidified function: start
********************************************************************/
be_local_closure(Matter_PathGenerator_start, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator_start, /* name */
be_nested_proto(
5, /* nstack */
3, /* argc */
@ -192,7 +195,7 @@ be_local_closure(Matter_PathGenerator_start, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(path_concrete),
@ -232,7 +235,8 @@ be_local_closure(Matter_PathGenerator_start, /* name */
/********************************************************************
** Solidified function: get_pi
********************************************************************/
be_local_closure(Matter_PathGenerator_get_pi, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator_get_pi, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -240,7 +244,7 @@ be_local_closure(Matter_PathGenerator_get_pi, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(pi),
@ -259,7 +263,8 @@ be_local_closure(Matter_PathGenerator_get_pi, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_PathGenerator_init, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator_init, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -267,7 +272,7 @@ be_local_closure(Matter_PathGenerator_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -286,7 +291,8 @@ be_local_closure(Matter_PathGenerator_init, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_PathGenerator_reset, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator_reset, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -294,7 +300,7 @@ be_local_closure(Matter_PathGenerator_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(path_in),
@ -330,7 +336,8 @@ be_local_closure(Matter_PathGenerator_reset, /* name */
/********************************************************************
** Solidified function: _next_endpoint
********************************************************************/
be_local_closure(Matter_PathGenerator__next_endpoint, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator__next_endpoint, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -338,7 +345,7 @@ be_local_closure(Matter_PathGenerator__next_endpoint, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(pi),
@ -420,7 +427,8 @@ be_local_closure(Matter_PathGenerator__next_endpoint, /* name */
/********************************************************************
** Solidified function: _next_attribute
********************************************************************/
be_local_closure(Matter_PathGenerator__next_attribute, /* name */
extern const bclass be_class_Matter_PathGenerator;
be_local_closure(class_Matter_PathGenerator__next_attribute, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -428,7 +436,7 @@ be_local_closure(Matter_PathGenerator__next_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_PathGenerator,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(attribute),
@ -502,12 +510,12 @@ be_local_class(Matter_PathGenerator,
NULL,
be_nested_map(19,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(_next_cluster, -1), be_const_closure(Matter_PathGenerator__next_cluster_closure) },
{ be_const_key_weak(_next_endpoint, -1), be_const_closure(Matter_PathGenerator__next_endpoint_closure) },
{ be_const_key_weak(_next_cluster, -1), be_const_closure(class_Matter_PathGenerator__next_cluster_closure) },
{ be_const_key_weak(_next_endpoint, -1), be_const_closure(class_Matter_PathGenerator__next_endpoint_closure) },
{ be_const_key_weak(endpoint_found, 0), be_const_var(7) },
{ be_const_key_weak(start, -1), be_const_closure(Matter_PathGenerator_start_closure) },
{ be_const_key_weak(start, -1), be_const_closure(class_Matter_PathGenerator_start_closure) },
{ be_const_key_weak(session, -1), be_const_var(2) },
{ be_const_key_weak(get_pi, 12), be_const_closure(Matter_PathGenerator_get_pi_closure) },
{ be_const_key_weak(get_pi, 12), be_const_closure(class_Matter_PathGenerator_get_pi_closure) },
{ be_const_key_weak(pi, -1), be_const_var(3) },
{ be_const_key_weak(attribute, 10), be_const_var(5) },
{ be_const_key_weak(cluster_found, 14), be_const_var(8) },
@ -515,21 +523,14 @@ be_local_class(Matter_PathGenerator,
{ be_const_key_weak(attribute_found, -1), be_const_var(9) },
{ be_const_key_weak(clusters, -1), be_const_var(6) },
{ be_const_key_weak(path_in, -1), be_const_var(1) },
{ be_const_key_weak(init, 11), be_const_closure(Matter_PathGenerator_init_closure) },
{ be_const_key_weak(init, 11), be_const_closure(class_Matter_PathGenerator_init_closure) },
{ be_const_key_weak(path_concrete, -1), be_const_var(10) },
{ be_const_key_weak(next, 9), be_const_closure(Matter_PathGenerator_next_closure) },
{ be_const_key_weak(next, 9), be_const_closure(class_Matter_PathGenerator_next_closure) },
{ be_const_key_weak(cluster, 4), be_const_var(4) },
{ be_const_key_weak(reset, 1), be_const_closure(Matter_PathGenerator_reset_closure) },
{ be_const_key_weak(_next_attribute, -1), be_const_closure(Matter_PathGenerator__next_attribute_closure) },
{ be_const_key_weak(reset, 1), be_const_closure(class_Matter_PathGenerator_reset_closure) },
{ be_const_key_weak(_next_attribute, -1), be_const_closure(class_Matter_PathGenerator__next_attribute_closure) },
})),
be_str_weak(Matter_PathGenerator)
);
/*******************************************************************/
void be_load_Matter_PathGenerator_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_PathGenerator);
be_setglobal(vm, "Matter_PathGenerator");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin;
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
be_local_closure(Matter_Plugin_every_250ms, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_every_250ms, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_every_250ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(update_next),
@ -71,7 +72,8 @@ be_local_closure(Matter_Plugin_every_250ms, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_parse_configuration, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -79,7 +81,7 @@ be_local_closure(Matter_Plugin_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(parse_configuration),
@ -95,7 +97,8 @@ be_local_closure(Matter_Plugin_parse_configuration, /* name */
/********************************************************************
** Solidified function: subscribe_attribute
********************************************************************/
be_local_closure(Matter_Plugin_subscribe_attribute, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_subscribe_attribute, /* name */
be_nested_proto(
6, /* nstack */
5, /* argc */
@ -103,7 +106,7 @@ be_local_closure(Matter_Plugin_subscribe_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(subscribe_attribute),
@ -120,7 +123,8 @@ be_local_closure(Matter_Plugin_subscribe_attribute, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_init, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_init, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -128,7 +132,7 @@ be_local_closure(Matter_Plugin_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -167,7 +171,8 @@ be_local_closure(Matter_Plugin_init, /* name */
/********************************************************************
** Solidified function: set_name
********************************************************************/
be_local_closure(Matter_Plugin_set_name, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_set_name, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -175,7 +180,7 @@ be_local_closure(Matter_Plugin_set_name, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(node_label),
@ -202,7 +207,8 @@ be_local_closure(Matter_Plugin_set_name, /* name */
/********************************************************************
** Solidified function: subscribe_event
********************************************************************/
be_local_closure(Matter_Plugin_subscribe_event, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_subscribe_event, /* name */
be_nested_proto(
6, /* nstack */
5, /* argc */
@ -210,7 +216,7 @@ be_local_closure(Matter_Plugin_subscribe_event, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(subscribe_event),
@ -227,7 +233,8 @@ be_local_closure(Matter_Plugin_subscribe_event, /* name */
/********************************************************************
** Solidified function: parse_sensors
********************************************************************/
be_local_closure(Matter_Plugin_parse_sensors, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_parse_sensors, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -235,7 +242,7 @@ be_local_closure(Matter_Plugin_parse_sensors, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(parse_sensors),
@ -251,7 +258,8 @@ be_local_closure(Matter_Plugin_parse_sensors, /* name */
/********************************************************************
** Solidified function: publish_command
********************************************************************/
be_local_closure(Matter_Plugin_publish_command, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_publish_command, /* name */
be_nested_proto(
16, /* nstack */
7, /* argc */
@ -259,7 +267,7 @@ be_local_closure(Matter_Plugin_publish_command, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -330,7 +338,8 @@ be_local_closure(Matter_Plugin_publish_command, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_read_attribute, /* name */
be_nested_proto(
17, /* nstack */
4, /* argc */
@ -338,7 +347,7 @@ be_local_closure(Matter_Plugin_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[22]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -537,7 +546,8 @@ be_local_closure(Matter_Plugin_read_attribute, /* name */
/********************************************************************
** Solidified function: ui_conf_to_string
********************************************************************/
be_local_closure(Matter_Plugin_ui_conf_to_string, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_ui_conf_to_string, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -545,7 +555,7 @@ be_local_closure(Matter_Plugin_ui_conf_to_string, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_Plugin),
@ -577,7 +587,8 @@ be_local_closure(Matter_Plugin_ui_conf_to_string, /* name */
/********************************************************************
** Solidified function: write_attribute
********************************************************************/
be_local_closure(Matter_Plugin_write_attribute, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_write_attribute, /* name */
be_nested_proto(
5, /* nstack */
4, /* argc */
@ -585,7 +596,7 @@ be_local_closure(Matter_Plugin_write_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(write_attribute),
@ -602,7 +613,8 @@ be_local_closure(Matter_Plugin_write_attribute, /* name */
/********************************************************************
** Solidified function: get_attribute_list
********************************************************************/
be_local_closure(Matter_Plugin_get_attribute_list, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_get_attribute_list, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -610,7 +622,7 @@ be_local_closure(Matter_Plugin_get_attribute_list, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(clusters),
@ -635,7 +647,8 @@ be_local_closure(Matter_Plugin_get_attribute_list, /* name */
/********************************************************************
** Solidified function: read_event
********************************************************************/
be_local_closure(Matter_Plugin_read_event, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_read_event, /* name */
be_nested_proto(
6, /* nstack */
5, /* argc */
@ -643,7 +656,7 @@ be_local_closure(Matter_Plugin_read_event, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(read_event),
@ -660,7 +673,8 @@ be_local_closure(Matter_Plugin_read_event, /* name */
/********************************************************************
** Solidified function: ack_request
********************************************************************/
be_local_closure(Matter_Plugin_ack_request, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_ack_request, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -668,7 +682,7 @@ be_local_closure(Matter_Plugin_ack_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(msg),
@ -702,7 +716,8 @@ be_local_closure(Matter_Plugin_ack_request, /* name */
/********************************************************************
** Solidified function: get_cluster_list_sorted
********************************************************************/
be_local_closure(Matter_Plugin_get_cluster_list_sorted, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_get_cluster_list_sorted, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -710,7 +725,7 @@ be_local_closure(Matter_Plugin_get_cluster_list_sorted, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -734,7 +749,8 @@ be_local_closure(Matter_Plugin_get_cluster_list_sorted, /* name */
/********************************************************************
** Solidified function: attribute_updated
********************************************************************/
be_local_closure(Matter_Plugin_attribute_updated, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_attribute_updated, /* name */
be_nested_proto(
10, /* nstack */
4, /* argc */
@ -742,7 +758,7 @@ be_local_closure(Matter_Plugin_attribute_updated, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -769,7 +785,8 @@ be_local_closure(Matter_Plugin_attribute_updated, /* name */
/********************************************************************
** Solidified function: timed_request
********************************************************************/
be_local_closure(Matter_Plugin_timed_request, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_timed_request, /* name */
be_nested_proto(
5, /* nstack */
4, /* argc */
@ -777,7 +794,7 @@ be_local_closure(Matter_Plugin_timed_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(timed_request),
@ -794,7 +811,8 @@ be_local_closure(Matter_Plugin_timed_request, /* name */
/********************************************************************
** Solidified function: get_endpoint
********************************************************************/
be_local_closure(Matter_Plugin_get_endpoint, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_get_endpoint, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -802,7 +820,7 @@ be_local_closure(Matter_Plugin_get_endpoint, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(endpoint),
@ -821,7 +839,8 @@ be_local_closure(Matter_Plugin_get_endpoint, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_update_shadow, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -829,7 +848,7 @@ be_local_closure(Matter_Plugin_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(tick),
@ -851,7 +870,8 @@ be_local_closure(Matter_Plugin_update_shadow, /* name */
/********************************************************************
** Solidified function: consolidate_update_commands
********************************************************************/
be_local_closure(Matter_Plugin_consolidate_update_commands, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_consolidate_update_commands, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -859,7 +879,7 @@ be_local_closure(Matter_Plugin_consolidate_update_commands, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(UPDATE_COMMANDS),
@ -878,7 +898,8 @@ be_local_closure(Matter_Plugin_consolidate_update_commands, /* name */
/********************************************************************
** Solidified function: append_state_json
********************************************************************/
be_local_closure(Matter_Plugin_append_state_json, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_append_state_json, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -886,7 +907,7 @@ be_local_closure(Matter_Plugin_append_state_json, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -904,7 +925,8 @@ be_local_closure(Matter_Plugin_append_state_json, /* name */
/********************************************************************
** Solidified function: state_json
********************************************************************/
be_local_closure(Matter_Plugin_state_json, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_state_json, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -912,7 +934,7 @@ be_local_closure(Matter_Plugin_state_json, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -961,7 +983,8 @@ be_local_closure(Matter_Plugin_state_json, /* name */
/********************************************************************
** Solidified function: has
********************************************************************/
be_local_closure(Matter_Plugin_has, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_has, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -969,7 +992,7 @@ be_local_closure(Matter_Plugin_has, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(clusters),
@ -1004,7 +1027,8 @@ be_local_closure(Matter_Plugin_has, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_invoke_request, /* name */
be_nested_proto(
5, /* nstack */
4, /* argc */
@ -1012,7 +1036,7 @@ be_local_closure(Matter_Plugin_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(invoke_request),
@ -1029,7 +1053,8 @@ be_local_closure(Matter_Plugin_invoke_request, /* name */
/********************************************************************
** Solidified function: update_shadow_lazy
********************************************************************/
be_local_closure(Matter_Plugin_update_shadow_lazy, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_update_shadow_lazy, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1037,7 +1062,7 @@ be_local_closure(Matter_Plugin_update_shadow_lazy, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tick),
@ -1067,7 +1092,8 @@ be_local_closure(Matter_Plugin_update_shadow_lazy, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_update_virtual, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1075,7 +1101,7 @@ be_local_closure(Matter_Plugin_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(update_virtual),
@ -1091,7 +1117,8 @@ be_local_closure(Matter_Plugin_update_virtual, /* name */
/********************************************************************
** Solidified function: consolidate_clusters
********************************************************************/
be_local_closure(Matter_Plugin_consolidate_clusters, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_consolidate_clusters, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1099,7 +1126,7 @@ be_local_closure(Matter_Plugin_consolidate_clusters, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(CLUSTERS),
@ -1118,7 +1145,8 @@ be_local_closure(Matter_Plugin_consolidate_clusters, /* name */
/********************************************************************
** Solidified function: contains_attribute
********************************************************************/
be_local_closure(Matter_Plugin_contains_attribute, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_contains_attribute, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -1126,7 +1154,7 @@ be_local_closure(Matter_Plugin_contains_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(clusters),
@ -1168,7 +1196,8 @@ be_local_closure(Matter_Plugin_contains_attribute, /* name */
/********************************************************************
** Solidified function: get_name
********************************************************************/
be_local_closure(Matter_Plugin_get_name, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_get_name, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1176,7 +1205,7 @@ be_local_closure(Matter_Plugin_get_name, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(node_label),
@ -1195,7 +1224,7 @@ be_local_closure(Matter_Plugin_get_name, /* name */
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1203,7 +1232,7 @@ be_local_closure(Matter_Plugin__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -1222,7 +1251,8 @@ be_local_closure(Matter_Plugin__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: contains_cluster
********************************************************************/
be_local_closure(Matter_Plugin_contains_cluster, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_contains_cluster, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1230,7 +1260,7 @@ be_local_closure(Matter_Plugin_contains_cluster, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(clusters),
@ -1253,7 +1283,8 @@ be_local_closure(Matter_Plugin_contains_cluster, /* name */
/********************************************************************
** Solidified function: is_local_device
********************************************************************/
be_local_closure(Matter_Plugin_is_local_device, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_is_local_device, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1261,7 +1292,7 @@ be_local_closure(Matter_Plugin_is_local_device, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
0, /* has constants */
NULL, /* no const */
be_str_weak(is_local_device),
@ -1278,7 +1309,8 @@ be_local_closure(Matter_Plugin_is_local_device, /* name */
/********************************************************************
** Solidified function: ui_string_to_conf
********************************************************************/
be_local_closure(Matter_Plugin_ui_string_to_conf, /* name */
extern const bclass be_class_Matter_Plugin;
be_local_closure(class_Matter_Plugin_ui_string_to_conf, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -1286,7 +1318,7 @@ be_local_closure(Matter_Plugin_ui_string_to_conf, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_Plugin),
@ -1320,7 +1352,7 @@ be_local_class(Matter_Plugin,
NULL,
be_nested_map(50,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Plugin_every_250ms_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_Plugin_every_250ms_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak() },
{ be_const_key_weak(FEATURE_MAPS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(2,
@ -1328,9 +1360,9 @@ be_local_class(Matter_Plugin,
{ be_const_key_int(258, -1), be_const_int(5) },
{ be_const_key_int(49, -1), be_const_int(4) },
})) ) } )) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_read_attribute_closure) },
{ be_const_key_weak(subscribe_attribute, 33), be_const_closure(Matter_Plugin_subscribe_attribute_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_init_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_read_attribute_closure) },
{ be_const_key_weak(subscribe_attribute, 33), be_const_closure(class_Matter_Plugin_subscribe_attribute_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_init_closure) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
{ be_const_key_weak(COMMANDS, 21), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
@ -1344,10 +1376,10 @@ be_local_class(Matter_Plugin,
})) ) } )) },
{ be_const_key_weak(VIRTUAL, -1), be_const_bool(0) },
{ be_const_key_weak(device, -1), be_const_var(1) },
{ be_const_key_weak(subscribe_event, 3), be_const_closure(Matter_Plugin_subscribe_event_closure) },
{ be_const_key_weak(subscribe_event, 3), be_const_closure(class_Matter_Plugin_subscribe_event_closure) },
{ be_const_key_weak(clusters, -1), be_const_var(3) },
{ be_const_key_weak(publish_command, -1), be_const_closure(Matter_Plugin_publish_command_closure) },
{ be_const_key_weak(is_local_device, 29), be_const_closure(Matter_Plugin_is_local_device_closure) },
{ be_const_key_weak(publish_command, -1), be_const_closure(class_Matter_Plugin_publish_command_closure) },
{ be_const_key_weak(is_local_device, 29), be_const_closure(class_Matter_Plugin_is_local_device_closure) },
{ be_const_key_weak(CLUSTER_REVISIONS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(25,
( (struct bmapnode*) &(const bmapnode[]) {
@ -1377,13 +1409,13 @@ be_local_class(Matter_Plugin,
{ be_const_key_int(6, -1), be_const_int(5) },
{ be_const_key_int(1024, -1), be_const_int(3) },
})) ) } )) },
{ be_const_key_weak(contains_cluster, -1), be_const_closure(Matter_Plugin_contains_cluster_closure) },
{ be_const_key_weak(ack_request, -1), be_const_closure(Matter_Plugin_ack_request_closure) },
{ be_const_key_weak(parse_configuration, 34), be_const_closure(Matter_Plugin_parse_configuration_closure) },
{ be_const_key_weak(read_event, 28), be_const_closure(Matter_Plugin_read_event_closure) },
{ be_const_key_weak(get_name, 43), be_const_closure(Matter_Plugin_get_name_closure) },
{ be_const_key_weak(contains_attribute, 31), be_const_closure(Matter_Plugin_contains_attribute_closure) },
{ be_const_key_weak(get_cluster_list_sorted, -1), be_const_closure(Matter_Plugin_get_cluster_list_sorted_closure) },
{ be_const_key_weak(contains_cluster, -1), be_const_closure(class_Matter_Plugin_contains_cluster_closure) },
{ be_const_key_weak(ack_request, -1), be_const_closure(class_Matter_Plugin_ack_request_closure) },
{ be_const_key_weak(parse_configuration, 34), be_const_closure(class_Matter_Plugin_parse_configuration_closure) },
{ be_const_key_weak(read_event, 28), be_const_closure(class_Matter_Plugin_read_event_closure) },
{ be_const_key_weak(get_name, 43), be_const_closure(class_Matter_Plugin_get_name_closure) },
{ be_const_key_weak(contains_attribute, 31), be_const_closure(class_Matter_Plugin_contains_attribute_closure) },
{ be_const_key_weak(get_cluster_list_sorted, -1), be_const_closure(class_Matter_Plugin_get_cluster_list_sorted_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[]) {
@ -1402,40 +1434,33 @@ be_local_class(Matter_Plugin,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(attribute_updated, -1), be_const_closure(Matter_Plugin_attribute_updated_closure) },
{ be_const_key_weak(timed_request, 13), be_const_closure(Matter_Plugin_timed_request_closure) },
{ be_const_key_weak(get_endpoint, -1), be_const_closure(Matter_Plugin_get_endpoint_closure) },
{ be_const_key_weak(consolidate_clusters, -1), be_const_closure(Matter_Plugin_consolidate_clusters_closure) },
{ be_const_key_weak(append_state_json, 18), be_const_closure(Matter_Plugin_append_state_json_closure) },
{ be_const_key_weak(ui_conf_to_string, 41), be_const_static_closure(Matter_Plugin_ui_conf_to_string_closure) },
{ be_const_key_weak(attribute_updated, -1), be_const_closure(class_Matter_Plugin_attribute_updated_closure) },
{ be_const_key_weak(timed_request, 13), be_const_closure(class_Matter_Plugin_timed_request_closure) },
{ be_const_key_weak(get_endpoint, -1), be_const_closure(class_Matter_Plugin_get_endpoint_closure) },
{ be_const_key_weak(consolidate_clusters, -1), be_const_closure(class_Matter_Plugin_consolidate_clusters_closure) },
{ be_const_key_weak(append_state_json, 18), be_const_closure(class_Matter_Plugin_append_state_json_closure) },
{ be_const_key_weak(ui_conf_to_string, 41), be_const_static_closure(class_Matter_Plugin_ui_conf_to_string_closure) },
{ be_const_key_weak(TYPE, 32), be_nested_str_weak() },
{ be_const_key_weak(state_json, -1), be_const_closure(Matter_Plugin_state_json_closure) },
{ be_const_key_weak(state_json, -1), be_const_closure(class_Matter_Plugin_state_json_closure) },
{ be_const_key_weak(tick, -1), be_const_var(4) },
{ be_const_key_weak(ARG, 47), be_nested_str_weak() },
{ be_const_key_weak(write_attribute, 36), be_const_closure(Matter_Plugin_write_attribute_closure) },
{ be_const_key_weak(has, -1), be_const_closure(Matter_Plugin_has_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_invoke_request_closure) },
{ be_const_key_weak(update_shadow_lazy, -1), be_const_closure(Matter_Plugin_update_shadow_lazy_closure) },
{ be_const_key_weak(update_shadow, 22), be_const_closure(Matter_Plugin_update_shadow_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_update_virtual_closure) },
{ be_const_key_weak(write_attribute, 36), be_const_closure(class_Matter_Plugin_write_attribute_closure) },
{ be_const_key_weak(has, -1), be_const_closure(class_Matter_Plugin_has_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_invoke_request_closure) },
{ be_const_key_weak(update_shadow_lazy, -1), be_const_closure(class_Matter_Plugin_update_shadow_lazy_closure) },
{ be_const_key_weak(update_shadow, 22), be_const_closure(class_Matter_Plugin_update_shadow_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_update_virtual_closure) },
{ be_const_key_weak(node_label, 42), be_const_var(5) },
{ be_const_key_weak(update_next, -1), be_const_var(0) },
{ be_const_key_weak(set_name, -1), be_const_closure(Matter_Plugin_set_name_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin__X3Clambda_X3E_closure) },
{ be_const_key_weak(set_name, -1), be_const_closure(class_Matter_Plugin_set_name_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, 17), be_nested_str_weak(_Not_X20used_) },
{ be_const_key_weak(parse_sensors, 15), be_const_closure(Matter_Plugin_parse_sensors_closure) },
{ be_const_key_weak(get_attribute_list, -1), be_const_closure(Matter_Plugin_get_attribute_list_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(consolidate_update_commands, 2), be_const_closure(Matter_Plugin_consolidate_update_commands_closure) },
{ be_const_key_weak(parse_sensors, 15), be_const_closure(class_Matter_Plugin_parse_sensors_closure) },
{ be_const_key_weak(get_attribute_list, -1), be_const_closure(class_Matter_Plugin_get_attribute_list_closure) },
{ be_const_key_weak(ui_string_to_conf, -1), be_const_static_closure(class_Matter_Plugin_ui_string_to_conf_closure) },
{ be_const_key_weak(consolidate_update_commands, 2), be_const_closure(class_Matter_Plugin_consolidate_update_commands_closure) },
})),
be_str_weak(Matter_Plugin)
);
/*******************************************************************/
void be_load_Matter_Plugin_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin);
be_setglobal(vm, "Matter_Plugin");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Aggregator;
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Aggregator_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Aggregator;
be_local_closure(class_Matter_Plugin_Aggregator_read_attribute, /* name */
be_nested_proto(
16, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Aggregator_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Aggregator,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -124,7 +125,8 @@ be_local_closure(Matter_Plugin_Aggregator_read_attribute, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Aggregator_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Aggregator;
be_local_closure(class_Matter_Plugin_Aggregator_invoke_request, /* name */
be_nested_proto(
13, /* nstack */
4, /* argc */
@ -132,7 +134,7 @@ be_local_closure(Matter_Plugin_Aggregator_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Aggregator,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -204,7 +206,7 @@ be_local_class(Matter_Plugin_Aggregator,
&be_class_Matter_Plugin,
be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Aggregator_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Aggregator_read_attribute_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(aggregator) },
{ be_const_key_weak(TYPES, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
@ -242,16 +244,9 @@ be_local_class(Matter_Plugin_Aggregator,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Aggregator_invoke_request_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Aggregator_invoke_request_closure) },
})),
be_str_weak(Matter_Plugin_Aggregator)
);
/*******************************************************************/
void be_load_Matter_Plugin_Aggregator_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Aggregator);
be_setglobal(vm, "Matter_Plugin_Aggregator");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Device;
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Device_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Device;
be_local_closure(class_Matter_Plugin_Device_read_attribute, /* name */
be_nested_proto(
17, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Device_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Device,
1, /* has constants */
( &(const bvalue[36]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -258,7 +259,8 @@ be_local_closure(Matter_Plugin_Device_read_attribute, /* name */
/********************************************************************
** Solidified function: append_state_json
********************************************************************/
be_local_closure(Matter_Plugin_Device_append_state_json, /* name */
extern const bclass be_class_Matter_Plugin_Device;
be_local_closure(class_Matter_Plugin_Device_append_state_json, /* name */
be_nested_proto(
11, /* nstack */
1, /* argc */
@ -266,7 +268,7 @@ be_local_closure(Matter_Plugin_Device_append_state_json, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -277,7 +279,7 @@ be_local_closure(Matter_Plugin_Device_append_state_json, /* name */
be_local_const_upval(1, 3),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(introspect),
@ -323,6 +325,7 @@ be_local_closure(Matter_Plugin_Device_append_state_json, /* name */
0x80000000, // 001E RET 0
})
),
&be_class_Matter_Plugin_Device,
}),
1, /* has constants */
( &(const bvalue[30]) { /* constants */
@ -440,7 +443,8 @@ be_local_closure(Matter_Plugin_Device_append_state_json, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Device_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Device;
be_local_closure(class_Matter_Plugin_Device_invoke_request, /* name */
be_nested_proto(
13, /* nstack */
4, /* argc */
@ -448,7 +452,7 @@ be_local_closure(Matter_Plugin_Device_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Device,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -532,14 +536,14 @@ be_local_class(Matter_Plugin_Device,
&be_class_Matter_Plugin,
be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Device_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Device_invoke_request_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Device_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Device_invoke_request_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(19, -1), be_const_int(1) },
})) ) } )) },
{ be_const_key_weak(append_state_json, -1), be_const_closure(Matter_Plugin_Device_append_state_json_closure) },
{ be_const_key_weak(append_state_json, -1), be_const_closure(class_Matter_Plugin_Device_append_state_json_closure) },
{ be_const_key_weak(CLUSTERS, 3), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(5,
( (struct bmapnode*) &(const bmapnode[]) {
@ -622,12 +626,5 @@ be_local_class(Matter_Plugin_Device,
})),
be_str_weak(Matter_Plugin_Device)
);
/*******************************************************************/
void be_load_Matter_Plugin_Device_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Device);
be_setglobal(vm, "Matter_Plugin_Device");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Root;
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Root_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Root;
be_local_closure(class_Matter_Plugin_Root_read_attribute, /* name */
be_nested_proto(
25, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Root_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Root,
1, /* has constants */
( &(const bvalue[94]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -1063,7 +1064,8 @@ be_local_closure(Matter_Plugin_Root_read_attribute, /* name */
/********************************************************************
** Solidified function: write_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Root_write_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Root;
be_local_closure(class_Matter_Plugin_Root_write_attribute, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -1071,7 +1073,7 @@ be_local_closure(Matter_Plugin_Root_write_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Root,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -1200,7 +1202,8 @@ be_local_closure(Matter_Plugin_Root_write_attribute, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Root;
be_local_closure(class_Matter_Plugin_Root_invoke_request, /* name */
be_nested_proto(
31, /* nstack */
4, /* argc */
@ -1208,7 +1211,7 @@ be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
3, /* nstack */
0, /* argc */
@ -1219,7 +1222,7 @@ be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
be_local_const_upval(1, 10),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -1236,6 +1239,7 @@ be_local_closure(Matter_Plugin_Root_invoke_request, /* name */
0x80000000, // 0005 RET 0
})
),
&be_class_Matter_Plugin_Root,
}),
1, /* has constants */
( &(const bvalue[102]) { /* constants */
@ -2105,15 +2109,15 @@ be_local_class(Matter_Plugin_Root,
&be_class_Matter_Plugin,
be_nested_map(7,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(read_attribute, 1), be_const_closure(Matter_Plugin_Root_read_attribute_closure) },
{ be_const_key_weak(invoke_request, 6), be_const_closure(Matter_Plugin_Root_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 1), be_const_closure(class_Matter_Plugin_Root_read_attribute_closure) },
{ be_const_key_weak(invoke_request, 6), be_const_closure(class_Matter_Plugin_Root_invoke_request_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(root) },
{ be_const_key_weak(TYPES, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_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(write_attribute, -1), be_const_closure(class_Matter_Plugin_Root_write_attribute_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Root_X20node) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(14,
@ -2313,12 +2317,5 @@ be_local_class(Matter_Plugin_Root,
})),
be_str_weak(Matter_Plugin_Root)
);
/*******************************************************************/
void be_load_Matter_Plugin_Root_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Root);
be_setglobal(vm, "Matter_Plugin_Root");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_GetOptionReader;
/********************************************************************
** Solidified function: getoption
********************************************************************/
be_local_closure(GetOptionReader_getoption, /* name */
extern const bclass be_class_GetOptionReader;
be_local_closure(class_GetOptionReader_getoption, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(GetOptionReader_getoption, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_GetOptionReader,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(flag),
@ -107,7 +108,8 @@ be_local_closure(GetOptionReader_getoption, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(GetOptionReader_init, /* name */
extern const bclass be_class_GetOptionReader;
be_local_closure(class_GetOptionReader_init, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -115,7 +117,7 @@ be_local_closure(GetOptionReader_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_GetOptionReader,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(value_error),
@ -207,8 +209,8 @@ be_local_class(GetOptionReader,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(flag2, -1), be_const_var(1) },
{ be_const_key_weak(flag4, -1), be_const_var(3) },
{ be_const_key_weak(getoption, -1), be_const_closure(GetOptionReader_getoption_closure) },
{ be_const_key_weak(init, 5), be_const_closure(GetOptionReader_init_closure) },
{ be_const_key_weak(getoption, -1), be_const_closure(class_GetOptionReader_getoption_closure) },
{ be_const_key_weak(init, 5), be_const_closure(class_GetOptionReader_init_closure) },
{ be_const_key_weak(flag3, -1), be_const_var(2) },
{ be_const_key_weak(flag6, -1), be_const_var(5) },
{ be_const_key_weak(flag5, -1), be_const_var(4) },
@ -216,20 +218,14 @@ be_local_class(GetOptionReader,
})),
be_str_weak(GetOptionReader)
);
/*******************************************************************/
void be_load_GetOptionReader_class(bvm *vm) {
be_pushntvclass(vm, &be_class_GetOptionReader);
be_setglobal(vm, "GetOptionReader");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
/********************************************************************
** Solidified function: call_remote_sync
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_call_remote_sync, /* name */
be_nested_proto(
10, /* nstack */
3, /* argc */
@ -237,7 +233,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -309,7 +305,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync, /* name */
/********************************************************************
** Solidified function: web_value_onoff
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -317,7 +314,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(_X3Cb_X3EOn_X3C_X2Fb_X3E),
@ -346,7 +343,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff, /* name */
/********************************************************************
** Solidified function: parse_http_response
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_parse_http_response, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_parse_http_response, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -354,7 +352,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_parse_http_response, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_const_int(0),
@ -421,7 +419,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_parse_http_response, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_web_values, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -429,7 +428,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -460,7 +459,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_values, /* name */
/********************************************************************
** Solidified function: is_local_device
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_is_local_device, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_is_local_device, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -468,7 +468,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_is_local_device, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
0, /* has constants */
NULL, /* no const */
be_str_weak(is_local_device),
@ -485,7 +485,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_is_local_device, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -493,7 +494,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -537,7 +538,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_init, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_parse_update, /* name */
be_nested_proto(
3, /* nstack */
3, /* argc */
@ -545,7 +547,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
0, /* has constants */
NULL, /* no const */
be_str_weak(parse_update),
@ -561,7 +563,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_parse_update, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
be_nested_proto(
14, /* nstack */
4, /* argc */
@ -569,7 +572,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -709,7 +712,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_read_attribute, /* name */
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -717,7 +721,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_values_prefix, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -754,7 +758,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_web_values_prefix, /* name */
/********************************************************************
** Solidified function: register_cmd_cb
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -762,7 +767,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -772,7 +777,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parse_http_response),
@ -789,6 +794,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
0x80040600, // 0006 RET 1 R3
})
),
&be_class_Matter_Plugin_Bridge_HTTP,
}),
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
@ -817,7 +823,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_update_shadow, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -825,7 +832,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(tick),
@ -860,7 +867,8 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_update_shadow, /* name */
/********************************************************************
** Solidified function: every_250ms
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_HTTP_every_250ms, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
be_local_closure(class_Matter_Plugin_Bridge_HTTP_every_250ms, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -868,7 +876,7 @@ be_local_closure(Matter_Plugin_Bridge_HTTP_every_250ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_HTTP,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(http_remote),
@ -897,37 +905,30 @@ be_local_class(Matter_Plugin_Bridge_HTTP,
be_nested_map(23,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(UPDATE_CMD, -1), be_nested_str_weak(Status_X2011) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_every_250ms_closure) },
{ be_const_key_weak(every_250ms, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_every_250ms_closure) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak() },
{ be_const_key_weak(call_remote_sync, 22), be_const_closure(Matter_Plugin_Bridge_HTTP_call_remote_sync_closure) },
{ be_const_key_weak(web_value_onoff, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_web_value_onoff_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_update_shadow_closure) },
{ be_const_key_weak(call_remote_sync, 22), be_const_closure(class_Matter_Plugin_Bridge_HTTP_call_remote_sync_closure) },
{ be_const_key_weak(web_value_onoff, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_web_value_onoff_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_update_shadow_closure) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(3000) },
{ be_const_key_weak(GetOptionReader, 5), be_const_class(be_class_GetOptionReader) },
{ be_const_key_weak(parse_http_response, 21), be_const_closure(Matter_Plugin_Bridge_HTTP_parse_http_response_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_parse_update_closure) },
{ be_const_key_weak(parse_http_response, 21), be_const_closure(class_Matter_Plugin_Bridge_HTTP_parse_http_response_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_parse_update_closure) },
{ be_const_key_weak(SYNC_TIMEOUT, 18), be_const_int(500) },
{ be_const_key_weak(is_local_device, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_is_local_device_closure) },
{ be_const_key_weak(is_local_device, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_is_local_device_closure) },
{ be_const_key_weak(PREFIX, 17), be_nested_str_weak(_X7C_X20_X3Ci_X3E_X25s_X3C_X2Fi_X3E_X20) },
{ be_const_key_weak(http_remote, 1), be_const_var(0) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_init_closure) },
{ be_const_key_weak(ARG_HTTP, -1), be_nested_str_weak(url) },
{ be_const_key_weak(DISPLAY_NAME, 9), be_nested_str_weak() },
{ be_const_key_weak(web_values_prefix, 19), be_const_closure(Matter_Plugin_Bridge_HTTP_web_values_prefix_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_read_attribute_closure) },
{ be_const_key_weak(web_values_prefix, 19), be_const_closure(class_Matter_Plugin_Bridge_HTTP_web_values_prefix_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_read_attribute_closure) },
{ be_const_key_weak(PROBE_TIMEOUT, -1), be_const_int(1700) },
{ be_const_key_weak(register_cmd_cb, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_register_cmd_cb_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_HTTP_web_values_closure) },
{ be_const_key_weak(register_cmd_cb, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_register_cmd_cb_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_HTTP_web_values_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak() },
})),
be_str_weak(Matter_Plugin_Bridge_HTTP)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_HTTP_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_HTTP);
be_setglobal(vm, "Matter_Plugin_Bridge_HTTP");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Light1;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Light1_init, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Light1_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -49,7 +50,8 @@ be_local_closure(Matter_Plugin_Light1_init, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Light1_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_invoke_request, /* name */
be_nested_proto(
22, /* nstack */
4, /* argc */
@ -57,7 +59,7 @@ be_local_closure(Matter_Plugin_Light1_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_nested_str_weak(light),
@ -263,7 +265,8 @@ be_local_closure(Matter_Plugin_Light1_invoke_request, /* name */
/********************************************************************
** Solidified function: set_onoff
********************************************************************/
be_local_closure(Matter_Plugin_Light1_set_onoff, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_set_onoff, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -271,7 +274,7 @@ be_local_closure(Matter_Plugin_Light1_set_onoff, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -315,7 +318,8 @@ be_local_closure(Matter_Plugin_Light1_set_onoff, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Light1_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_update_shadow, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -323,7 +327,7 @@ be_local_closure(Matter_Plugin_Light1_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -402,7 +406,8 @@ be_local_closure(Matter_Plugin_Light1_update_shadow, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Light1_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_update_virtual, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -410,7 +415,7 @@ be_local_closure(Matter_Plugin_Light1_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -464,7 +469,8 @@ be_local_closure(Matter_Plugin_Light1_update_virtual, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Light1_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -472,7 +478,7 @@ be_local_closure(Matter_Plugin_Light1_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -574,7 +580,8 @@ be_local_closure(Matter_Plugin_Light1_read_attribute, /* name */
/********************************************************************
** Solidified function: set_bri
********************************************************************/
be_local_closure(Matter_Plugin_Light1_set_bri, /* name */
extern const bclass be_class_Matter_Plugin_Light1;
be_local_closure(class_Matter_Plugin_Light1_set_bri, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -582,7 +589,7 @@ be_local_closure(Matter_Plugin_Light1_set_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light1,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_const_int(0),
@ -681,12 +688,12 @@ be_local_class(Matter_Plugin_Light1,
&be_class_Matter_Plugin_Device,
be_nested_map(15,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Light1_init_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Light1_update_shadow_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Light1_invoke_request_closure) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(Matter_Plugin_Light1_set_onoff_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Light1_init_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_Light1_update_shadow_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Light1_invoke_request_closure) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(class_Matter_Plugin_Light1_set_onoff_closure) },
{ be_const_key_weak(TYPE, 10), be_nested_str_weak(light1) },
{ be_const_key_weak(update_virtual, 11), be_const_closure(Matter_Plugin_Light1_update_virtual_closure) },
{ be_const_key_weak(update_virtual, 11), be_const_closure(class_Matter_Plugin_Light1_update_virtual_closure) },
{ be_const_key_weak(UPDATE_TIME, 8), be_const_int(250) },
{ be_const_key_weak(shadow_bri, 1), be_const_var(1) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Light_X201_X20Dimmer) },
@ -800,18 +807,11 @@ be_local_class(Matter_Plugin_Light1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(257, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Light1_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Light1_read_attribute_closure) },
{ be_const_key_weak(shadow_onoff, -1), be_const_var(0) },
{ be_const_key_weak(set_bri, -1), be_const_closure(Matter_Plugin_Light1_set_bri_closure) },
{ be_const_key_weak(set_bri, -1), be_const_closure(class_Matter_Plugin_Light1_set_bri_closure) },
})),
be_str_weak(Matter_Plugin_Light1)
);
/*******************************************************************/
void be_load_Matter_Plugin_Light1_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Light1);
be_setglobal(vm, "Matter_Plugin_Light1");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_OnOff;
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_invoke_request, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_OnOff_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -97,7 +98,8 @@ be_local_closure(Matter_Plugin_OnOff_invoke_request, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -105,7 +107,7 @@ be_local_closure(Matter_Plugin_OnOff_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -156,7 +158,8 @@ be_local_closure(Matter_Plugin_OnOff_read_attribute, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_parse_configuration, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -164,7 +167,7 @@ be_local_closure(Matter_Plugin_OnOff_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_relay_index),
@ -197,7 +200,8 @@ be_local_closure(Matter_Plugin_OnOff_parse_configuration, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_update_virtual, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -205,7 +209,7 @@ be_local_closure(Matter_Plugin_OnOff_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -243,7 +247,7 @@ be_local_closure(Matter_Plugin_OnOff_update_virtual, /* name */
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_OnOff__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_OnOff__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -251,7 +255,7 @@ be_local_closure(Matter_Plugin_OnOff__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -270,7 +274,8 @@ be_local_closure(Matter_Plugin_OnOff__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: set_onoff
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_set_onoff, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_set_onoff, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -278,7 +283,7 @@ be_local_closure(Matter_Plugin_OnOff_set_onoff, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -325,7 +330,8 @@ be_local_closure(Matter_Plugin_OnOff_set_onoff, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_update_shadow, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -333,7 +339,7 @@ be_local_closure(Matter_Plugin_OnOff_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -385,7 +391,8 @@ be_local_closure(Matter_Plugin_OnOff_update_shadow, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_OnOff_init, /* name */
extern const bclass be_class_Matter_Plugin_OnOff;
be_local_closure(class_Matter_Plugin_OnOff_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -393,7 +400,7 @@ be_local_closure(Matter_Plugin_OnOff_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_OnOff,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -524,28 +531,21 @@ be_local_class(Matter_Plugin_OnOff,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_OnOff_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 16), be_const_closure(Matter_Plugin_OnOff_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, 13), be_const_closure(Matter_Plugin_OnOff_parse_configuration_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_OnOff_update_virtual_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_OnOff_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 16), be_const_closure(class_Matter_Plugin_OnOff_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, 13), be_const_closure(class_Matter_Plugin_OnOff_parse_configuration_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_OnOff_update_virtual_closure) },
{ be_const_key_weak(DISPLAY_NAME, 14), be_nested_str_weak(Relay) },
{ be_const_key_weak(ARG_TYPE, 12), be_const_static_closure(Matter_Plugin_OnOff__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 12), be_const_static_closure(class_Matter_Plugin_OnOff__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(relay) },
{ be_const_key_weak(shadow_onoff, -1), be_const_var(0) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_OnOff_update_shadow_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_OnOff_update_shadow_closure) },
{ be_const_key_weak(ARG_HINT, 11), be_nested_str_weak(Relay_X3Cx_X3E_X20number) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_OnOff_init_closure) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(Matter_Plugin_OnOff_set_onoff_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_OnOff_init_closure) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(class_Matter_Plugin_OnOff_set_onoff_closure) },
{ be_const_key_weak(tasmota_relay_index, -1), be_const_var(1) },
})),
be_str_weak(Matter_Plugin_OnOff)
);
/*******************************************************************/
void be_load_Matter_Plugin_OnOff_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_OnOff);
be_setglobal(vm, "Matter_Plugin_OnOff");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor;
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_update_virtual, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -67,7 +68,8 @@ be_local_closure(Matter_Plugin_Sensor_update_virtual, /* name */
/********************************************************************
** Solidified function: parse_sensors
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_parse_sensors, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_parse_sensors, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -75,7 +77,7 @@ be_local_closure(Matter_Plugin_Sensor_parse_sensors, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -119,7 +121,8 @@ be_local_closure(Matter_Plugin_Sensor_parse_sensors, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_parse_configuration, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -127,7 +130,7 @@ be_local_closure(Matter_Plugin_Sensor_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_sensor_filter),
@ -163,7 +166,8 @@ be_local_closure(Matter_Plugin_Sensor_parse_configuration, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_init, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -171,7 +175,7 @@ be_local_closure(Matter_Plugin_Sensor_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -202,7 +206,8 @@ be_local_closure(Matter_Plugin_Sensor_init, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_pre_value, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -210,7 +215,7 @@ be_local_closure(Matter_Plugin_Sensor_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -226,7 +231,8 @@ be_local_closure(Matter_Plugin_Sensor_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor;
be_local_closure(class_Matter_Plugin_Sensor_value_changed, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -234,7 +240,7 @@ be_local_closure(Matter_Plugin_Sensor_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor,
0, /* has constants */
NULL, /* no const */
be_str_weak(value_changed),
@ -257,27 +263,20 @@ be_local_class(Matter_Plugin_Sensor,
be_nested_map(13,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG, 1), be_nested_str_weak(filter) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Sensor_value_changed_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_Sensor_update_virtual_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(class_Matter_Plugin_Sensor_value_changed_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_Sensor_update_virtual_closure) },
{ be_const_key_weak(ARG_HINT, 9), be_nested_str_weak(Filter_X20pattern) },
{ be_const_key_weak(tasmota_sensor_matcher, -1), be_const_var(1) },
{ be_const_key_weak(parse_sensors, -1), be_const_closure(Matter_Plugin_Sensor_parse_sensors_closure) },
{ be_const_key_weak(parse_sensors, -1), be_const_closure(class_Matter_Plugin_Sensor_parse_sensors_closure) },
{ be_const_key_weak(JSON_NAME, 8), be_nested_str_weak() },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_parse_configuration_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Sensor_init_closure) },
{ be_const_key_weak(pre_value, 12), be_const_closure(Matter_Plugin_Sensor_pre_value_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_Sensor_parse_configuration_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Sensor_init_closure) },
{ be_const_key_weak(pre_value, 12), be_const_closure(class_Matter_Plugin_Sensor_pre_value_closure) },
{ be_const_key_weak(shadow_value, -1), be_const_var(2) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
{ be_const_key_weak(tasmota_sensor_filter, -1), be_const_var(0) },
})),
be_str_weak(Matter_Plugin_Sensor)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor);
be_setglobal(vm, "Matter_Plugin_Sensor");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Sensor_Contact;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Sensor_Contact__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Sensor_Contact__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact_init, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Sensor_Contact_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -73,7 +74,8 @@ be_local_closure(Matter_Plugin_Sensor_Contact_init, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Sensor_Contact_update_shadow, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -81,7 +83,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Contact,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(update_shadow),
@ -154,7 +156,8 @@ be_local_closure(Matter_Plugin_Sensor_Contact_update_shadow, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Sensor_Contact_parse_configuration, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -162,7 +165,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_switch_index),
@ -195,7 +198,8 @@ be_local_closure(Matter_Plugin_Sensor_Contact_parse_configuration, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Sensor_Contact_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -203,7 +207,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Contact,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -262,7 +266,8 @@ be_local_closure(Matter_Plugin_Sensor_Contact_read_attribute, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Contact_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Sensor_Contact_update_virtual, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -270,7 +275,7 @@ be_local_closure(Matter_Plugin_Sensor_Contact_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -323,12 +328,12 @@ be_local_class(Matter_Plugin_Sensor_Contact,
&be_class_Matter_Plugin_Device,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(Matter_Plugin_Sensor_Contact__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(class_Matter_Plugin_Sensor_Contact__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(shadow_contact, -1), be_const_var(1) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Sensor_Contact_init_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_Sensor_Contact_update_virtual_closure) },
{ be_const_key_weak(update_shadow, 15), be_const_closure(Matter_Plugin_Sensor_Contact_update_shadow_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Sensor_Contact_init_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_Sensor_Contact_update_virtual_closure) },
{ be_const_key_weak(update_shadow, 15), be_const_closure(class_Matter_Plugin_Sensor_Contact_update_shadow_closure) },
{ be_const_key_weak(UPDATE_COMMANDS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
be_const_list( * be_nested_list(1,
( (struct bvalue*) &(const bvalue[]) {
@ -428,17 +433,10 @@ be_local_class(Matter_Plugin_Sensor_Contact,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(TYPE, 9), be_nested_str_weak(contact) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Contact_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_Contact_parse_configuration_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Contact_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_Sensor_Contact_parse_configuration_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Contact)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Contact_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Contact);
be_setglobal(vm, "Matter_Plugin_Sensor_Contact");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Sensor_Occupancy_update_virtual, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -91,7 +92,8 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_update_virtual, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy_init, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Sensor_Occupancy_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -99,7 +101,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -128,7 +130,8 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_init, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Sensor_Occupancy_update_shadow, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -136,7 +139,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(update_shadow),
@ -209,7 +212,8 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_update_shadow, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Sensor_Occupancy_parse_configuration, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -217,7 +221,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_switch_index),
@ -250,7 +254,8 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration, /* name *
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Occupancy_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Sensor_Occupancy_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -258,7 +263,7 @@ be_local_closure(Matter_Plugin_Sensor_Occupancy_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -342,12 +347,12 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
&be_class_Matter_Plugin_Device,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 2), be_const_static_closure(Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 2), be_const_static_closure(class_Matter_Plugin_Sensor_Occupancy__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_Sensor_Occupancy_update_virtual_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Sensor_Occupancy_init_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_update_virtual_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_init_closure) },
{ be_const_key_weak(tasmota_switch_index, 9), be_const_var(0) },
{ be_const_key_weak(update_shadow, 14), be_const_closure(Matter_Plugin_Sensor_Occupancy_update_shadow_closure) },
{ be_const_key_weak(update_shadow, 14), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_update_shadow_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Occupancy) },
{ be_const_key_weak(ARG, 12), be_nested_str_weak(switch) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(750) },
@ -437,7 +442,7 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 4), be_const_closure(Matter_Plugin_Sensor_Occupancy_read_attribute_closure) },
{ be_const_key_weak(read_attribute, 4), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_read_attribute_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[]) {
@ -449,17 +454,10 @@ be_local_class(Matter_Plugin_Sensor_Occupancy,
be_nested_str_weak(Occupancy),
})) ) } )) },
{ be_const_key_weak(TYPE, 6), be_nested_str_weak(occupancy) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_Occupancy_parse_configuration_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_Sensor_Occupancy_parse_configuration_closure) },
{ be_const_key_weak(shadow_occupancy, -1), be_const_var(1) },
})),
be_str_weak(Matter_Plugin_Sensor_Occupancy)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Occupancy_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Occupancy);
be_setglobal(vm, "Matter_Plugin_Sensor_Occupancy");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Sensor_OnOff__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_OnOff_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
be_local_closure(class_Matter_Plugin_Sensor_OnOff_update_shadow, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_OnOff,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(update_shadow),
@ -117,7 +118,8 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_update_shadow, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_OnOff_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
be_local_closure(class_Matter_Plugin_Sensor_OnOff_parse_configuration, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -125,7 +127,7 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_OnOff,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_switch_index),
@ -158,7 +160,8 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_parse_configuration, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_OnOff_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
be_local_closure(class_Matter_Plugin_Sensor_OnOff_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -166,7 +169,7 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_OnOff,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -217,7 +220,8 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_read_attribute, /* name */
/********************************************************************
** Solidified function: append_state_json
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_OnOff_append_state_json, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_OnOff;
be_local_closure(class_Matter_Plugin_Sensor_OnOff_append_state_json, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -225,7 +229,7 @@ be_local_closure(Matter_Plugin_Sensor_OnOff_append_state_json, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_OnOff,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_X2C_X22OnOff_X22_X3A_X25s),
@ -343,12 +347,12 @@ be_local_class(Matter_Plugin_Sensor_OnOff,
{ be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
{ be_const_key_weak(UPDATE_TIME, 4), be_const_int(750) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(onoff) },
{ be_const_key_weak(append_state_json, 12), be_const_closure(Matter_Plugin_Sensor_OnOff_append_state_json_closure) },
{ be_const_key_weak(append_state_json, 12), be_const_closure(class_Matter_Plugin_Sensor_OnOff_append_state_json_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(OnOff_X20Sensor) },
{ be_const_key_weak(shadow_onoff, -1), be_const_var(1) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Sensor_OnOff_update_shadow_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_OnOff_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_OnOff_parse_configuration_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_Sensor_OnOff_update_shadow_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_OnOff_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(class_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[]) {
@ -356,16 +360,9 @@ be_local_class(Matter_Plugin_Sensor_OnOff,
})) ) } )) },
{ be_const_key_weak(ARG_HINT, 9), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(tasmota_switch_index, 13), be_const_var(0) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin_Sensor_OnOff__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin_Sensor_OnOff__X3Clambda_X3E_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_OnOff)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_OnOff_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_OnOff);
be_setglobal(vm, "Matter_Plugin_Sensor_OnOff");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak_init, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Sensor_Waterleak_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -73,7 +74,8 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_init, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Sensor_Waterleak_update_shadow, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -81,7 +83,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(update_shadow),
@ -154,7 +156,8 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_update_shadow, /* name */
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Sensor_Waterleak_parse_configuration, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -162,7 +165,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_parse_configuration, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_switch_index),
@ -195,7 +198,8 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_parse_configuration, /* name *
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Sensor_Waterleak_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -203,7 +207,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -262,7 +266,8 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_read_attribute, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Waterleak_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Sensor_Waterleak_update_virtual, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -270,7 +275,7 @@ be_local_closure(Matter_Plugin_Sensor_Waterleak_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -323,12 +328,12 @@ be_local_class(Matter_Plugin_Sensor_Waterleak,
&be_class_Matter_Plugin_Device,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 2), be_const_static_closure(Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 2), be_const_static_closure(class_Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(Matter_Plugin_Sensor_Waterleak_update_virtual_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Sensor_Waterleak_init_closure) },
{ be_const_key_weak(update_virtual, -1), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_update_virtual_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_init_closure) },
{ be_const_key_weak(shadow_leak, 15), be_const_var(1) },
{ be_const_key_weak(update_shadow, 4), be_const_closure(Matter_Plugin_Sensor_Waterleak_update_shadow_closure) },
{ be_const_key_weak(update_shadow, 4), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_update_shadow_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Waterleak) },
{ be_const_key_weak(ARG, 11), be_nested_str_weak(switch) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(750) },
@ -422,23 +427,16 @@ be_local_class(Matter_Plugin_Sensor_Waterleak,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Waterleak),
})) ) } )) },
{ be_const_key_weak(read_attribute, 14), be_const_closure(Matter_Plugin_Sensor_Waterleak_read_attribute_closure) },
{ be_const_key_weak(read_attribute, 14), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_read_attribute_closure) },
{ be_const_key_weak(TYPE, 6), be_nested_str_weak(waterleak) },
{ 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(67, -1), be_const_int(1) },
})) ) } )) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(Matter_Plugin_Sensor_Waterleak_parse_configuration_closure) },
{ be_const_key_weak(parse_configuration, -1), be_const_closure(class_Matter_Plugin_Sensor_Waterleak_parse_configuration_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Waterleak)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Waterleak_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Waterleak);
be_setglobal(vm, "Matter_Plugin_Sensor_Waterleak");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Shutter;
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_parse_configuration, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Shutter_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_shutter_index),
@ -50,7 +51,8 @@ be_local_closure(Matter_Plugin_Shutter_parse_configuration, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_invoke_request, /* name */
be_nested_proto(
14, /* nstack */
4, /* argc */
@ -58,7 +60,7 @@ be_local_closure(Matter_Plugin_Shutter_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[24]) { /* constants */
/* K0 */ be_nested_str_weak(light),
@ -214,7 +216,8 @@ be_local_closure(Matter_Plugin_Shutter_invoke_request, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_read_attribute, /* name */
be_nested_proto(
13, /* nstack */
4, /* argc */
@ -222,7 +225,7 @@ be_local_closure(Matter_Plugin_Shutter_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -386,7 +389,7 @@ be_local_closure(Matter_Plugin_Shutter_read_attribute, /* name */
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Shutter__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Shutter__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -394,7 +397,7 @@ be_local_closure(Matter_Plugin_Shutter__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -413,7 +416,8 @@ be_local_closure(Matter_Plugin_Shutter__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: parse_sensors
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_parse_sensors, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_parse_sensors, /* name */
be_nested_proto(
11, /* nstack */
2, /* argc */
@ -421,7 +425,7 @@ be_local_closure(Matter_Plugin_Shutter_parse_sensors, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(Shutter),
@ -502,7 +506,8 @@ be_local_closure(Matter_Plugin_Shutter_parse_sensors, /* name */
/********************************************************************
** Solidified function: update_inverted
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_update_inverted, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_update_inverted, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -510,7 +515,7 @@ be_local_closure(Matter_Plugin_Shutter_update_inverted, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(shadow_shutter_inverted),
@ -574,7 +579,8 @@ be_local_closure(Matter_Plugin_Shutter_update_inverted, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Shutter_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Shutter;
be_local_closure(class_Matter_Plugin_Shutter_update_shadow, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -582,7 +588,7 @@ be_local_closure(Matter_Plugin_Shutter_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Shutter,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -735,28 +741,21 @@ be_local_class(Matter_Plugin_Shutter,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(invoke_request, 3), be_const_closure(Matter_Plugin_Shutter_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 11), be_const_closure(Matter_Plugin_Shutter_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, 14), be_const_closure(Matter_Plugin_Shutter_parse_configuration_closure) },
{ be_const_key_weak(invoke_request, 3), be_const_closure(class_Matter_Plugin_Shutter_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 11), be_const_closure(class_Matter_Plugin_Shutter_read_attribute_closure) },
{ be_const_key_weak(parse_configuration, 14), be_const_closure(class_Matter_Plugin_Shutter_parse_configuration_closure) },
{ be_const_key_weak(shadow_shutter_pos, -1), be_const_var(1) },
{ be_const_key_weak(ARG, 13), 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(parse_sensors, -1), be_const_closure(Matter_Plugin_Shutter_parse_sensors_closure) },
{ be_const_key_weak(update_inverted, -1), be_const_closure(Matter_Plugin_Shutter_update_inverted_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin_Shutter__X3Clambda_X3E_closure) },
{ be_const_key_weak(parse_sensors, -1), be_const_closure(class_Matter_Plugin_Shutter_parse_sensors_closure) },
{ be_const_key_weak(update_inverted, -1), be_const_closure(class_Matter_Plugin_Shutter_update_inverted_closure) },
{ be_const_key_weak(ARG_HINT, 16), be_nested_str_weak(Relay_X3Cx_X3E_X20number) },
{ be_const_key_weak(update_shadow, 0), be_const_closure(Matter_Plugin_Shutter_update_shadow_closure) },
{ be_const_key_weak(update_shadow, 0), be_const_closure(class_Matter_Plugin_Shutter_update_shadow_closure) },
{ be_const_key_weak(tasmota_shutter_index, -1), be_const_var(0) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Shutter) },
{ be_const_key_weak(shadow_shutter_direction, -1), be_const_var(3) },
})),
be_str_weak(Matter_Plugin_Shutter)
);
/*******************************************************************/
void be_load_Matter_Plugin_Shutter_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Shutter);
be_setglobal(vm, "Matter_Plugin_Shutter");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Light0;
/********************************************************************
** Solidified function: set_onoff
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_set_onoff, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_set_onoff, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_set_onoff, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(call_remote_sync),
@ -57,7 +58,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0_set_onoff, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -65,7 +67,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -110,7 +112,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0_init, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -118,7 +121,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -169,7 +172,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_read_attribute, /* name */
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Bridge_Light0__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -177,7 +180,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0__X3Clambda_X3E, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -196,7 +199,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0__X3Clambda_X3E, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_parse_update, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -204,7 +208,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_relay_index),
@ -270,7 +274,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0_parse_update, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_invoke_request, /* name */
be_nested_proto(
11, /* nstack */
4, /* argc */
@ -278,7 +283,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -355,7 +360,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0_invoke_request, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_web_values, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -363,7 +369,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -397,7 +403,8 @@ be_local_closure(Matter_Plugin_Bridge_Light0_web_values, /* name */
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light0_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light0;
be_local_closure(class_Matter_Plugin_Bridge_Light0_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -405,7 +412,7 @@ be_local_closure(Matter_Plugin_Bridge_Light0_web_values_prefix, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light0,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -459,16 +466,16 @@ be_local_class(Matter_Plugin_Bridge_Light0,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(shadow_onoff, 5), be_const_var(1) },
{ be_const_key_weak(tasmota_relay_index, 4), be_const_var(0) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(Matter_Plugin_Bridge_Light0_set_onoff_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Light0_init_closure) },
{ be_const_key_weak(web_values_prefix, 9), be_const_closure(Matter_Plugin_Bridge_Light0_web_values_prefix_closure) },
{ be_const_key_weak(web_values, 15), be_const_closure(Matter_Plugin_Bridge_Light0_web_values_closure) },
{ be_const_key_weak(set_onoff, -1), be_const_closure(class_Matter_Plugin_Bridge_Light0_set_onoff_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_Light0_init_closure) },
{ be_const_key_weak(web_values_prefix, 9), be_const_closure(class_Matter_Plugin_Bridge_Light0_web_values_prefix_closure) },
{ be_const_key_weak(web_values, 15), be_const_closure(class_Matter_Plugin_Bridge_Light0_web_values_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_light0) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(relay) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_Light0_parse_update_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_Plugin_Bridge_Light0_parse_update_closure) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Power_X3Cx_X3E_X20number) },
{ be_const_key_weak(read_attribute, 12), be_const_closure(Matter_Plugin_Bridge_Light0_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light0_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 12), be_const_closure(class_Matter_Plugin_Bridge_Light0_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Bridge_Light0_invoke_request_closure) },
{ be_const_key_weak(CLUSTERS, 14), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -559,16 +566,9 @@ be_local_class(Matter_Plugin_Bridge_Light0,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(256, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(Matter_Plugin_Bridge_Light0__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, -1), be_const_static_closure(class_Matter_Plugin_Bridge_Light0__X3Clambda_X3E_closure) },
})),
be_str_weak(Matter_Plugin_Bridge_Light0)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Light0_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Light0);
be_setglobal(vm, "Matter_Plugin_Bridge_Light0");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
/********************************************************************
** Solidified function: parse_configuration
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_parse_configuration, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_parse_configuration, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_parse_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_sensor_filter),
@ -61,7 +62,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_parse_configuration, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_value_changed, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -69,7 +71,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
0, /* has constants */
NULL, /* no const */
be_str_weak(value_changed),
@ -85,7 +87,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_value_changed, /* name */
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -93,7 +96,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_web_values_prefix, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -136,7 +139,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_web_values_prefix, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_parse_update, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -144,7 +148,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(contains),
@ -205,7 +209,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_parse_update, /* name */
/********************************************************************
** Solidified function: filter_name_html
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_filter_name_html, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_filter_name_html, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -213,7 +218,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_filter_name_html, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota_sensor_filter),
@ -250,7 +255,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_filter_name_html, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_pre_value, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -258,7 +264,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -283,34 +289,27 @@ be_local_class(Matter_Plugin_Bridge_Sensor,
{ be_const_key_weak(tasmota_sensor_filter, -1), be_const_var(0) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Filter_X20pattern) },
{ be_const_key_weak(shadow_value, -1), be_const_var(2) },
{ be_const_key_weak(pre_value, 10), be_const_closure(Matter_Plugin_Bridge_Sensor_pre_value_closure) },
{ be_const_key_weak(pre_value, 10), be_const_closure(class_Matter_Plugin_Bridge_Sensor_pre_value_closure) },
{ be_const_key_weak(ARG_HTTP, -1), be_nested_str_weak(url) },
{ be_const_key_weak(pressure_unit, -1), be_const_var(4) },
{ be_const_key_weak(tasmota_sensor_matcher, -1), be_const_var(1) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(filter) },
{ be_const_key_weak(PRESSURE_MMHG, -1), be_nested_str_weak(mmHg) },
{ be_const_key_weak(value_changed, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_value_changed_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_parse_update_closure) },
{ be_const_key_weak(value_changed, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_value_changed_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_parse_update_closure) },
{ be_const_key_weak(TEMP_C, -1), be_nested_str_weak(C) },
{ be_const_key_weak(temp_unit, 4), be_const_var(3) },
{ be_const_key_weak(PRESSURE_INHG, -1), be_nested_str_weak(inHg) },
{ be_const_key_weak(PRESSURE_HPA, 18), be_nested_str_weak(hPa) },
{ be_const_key_weak(PROBE_TIMEOUT, 16), be_const_int(1700) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_web_values_prefix_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_web_values_prefix_closure) },
{ be_const_key_weak(UPDATE_CMD, 13), be_nested_str_weak(Status_X208) },
{ be_const_key_weak(TEMP_F, -1), be_nested_str_weak(F) },
{ be_const_key_weak(filter_name_html, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_filter_name_html_closure) },
{ be_const_key_weak(filter_name_html, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_filter_name_html_closure) },
{ be_const_key_weak(UPDATE_TIME, 3), be_const_int(5000) },
{ be_const_key_weak(parse_configuration, 2), be_const_closure(Matter_Plugin_Bridge_Sensor_parse_configuration_closure) },
{ be_const_key_weak(parse_configuration, 2), be_const_closure(class_Matter_Plugin_Bridge_Sensor_parse_configuration_closure) },
})),
be_str_weak(Matter_Plugin_Bridge_Sensor)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E, /* name *
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -86,7 +87,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_init, /* name */
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -94,7 +96,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix, /* nam
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -140,7 +142,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix, /* nam
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact_parse_update, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -148,7 +151,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -199,7 +202,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_parse_update, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -207,7 +211,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_read_attribute, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Contact,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -266,7 +270,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_read_attribute, /* name *
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Contact;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Contact_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -274,7 +279,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Contact,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -316,16 +321,16 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Contact,
&be_class_Matter_Plugin_Bridge_HTTP,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 5), be_const_static_closure(Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 5), be_const_static_closure(class_Matter_Plugin_Bridge_Sensor_Contact__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, 4), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(shadow_contact, -1), be_const_var(1) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Contact_init_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Contact_web_values_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Contact_init_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Contact_web_values_prefix_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Contact_web_values_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Contact) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
{ be_const_key_weak(parse_update, 11), be_const_closure(Matter_Plugin_Bridge_Sensor_Contact_parse_update_closure) },
{ be_const_key_weak(read_attribute, 12), be_const_closure(Matter_Plugin_Bridge_Sensor_Contact_read_attribute_closure) },
{ be_const_key_weak(parse_update, 11), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Contact_parse_update_closure) },
{ be_const_key_weak(read_attribute, 12), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Contact_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, 9), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -422,12 +427,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Contact,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Contact)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Contact_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Contact);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Contact");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E, /* name
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -86,7 +87,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_init, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_parse_update, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -94,7 +96,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_parse_update, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -145,7 +147,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_parse_update, /* name *
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -153,7 +156,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix, /* n
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -199,7 +202,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix, /* n
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -207,7 +211,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -285,7 +289,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute, /* name
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Occupancy;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -293,7 +298,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Occupancy,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -335,11 +340,11 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Occupancy,
&be_class_Matter_Plugin_Bridge_HTTP,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, 12), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(shadow_occupancy, -1), be_const_var(1) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_init_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_init_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_web_values_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Occupancy) },
{ be_const_key_weak(TYPES, 9), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
@ -347,7 +352,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Occupancy,
{ be_const_key_int(263, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
{ be_const_key_weak(parse_update, 14), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_parse_update_closure) },
{ be_const_key_weak(parse_update, 14), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_parse_update_closure) },
{ be_const_key_weak(CLUSTERS, 11), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -435,20 +440,13 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Occupancy,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(tasmota_switch_index, 6), be_const_var(0) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_read_attribute_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Occupancy_web_values_prefix_closure) },
{ be_const_key_weak(TYPE, 5), be_nested_str_weak(http_occupancy) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
{ be_const_key_weak(UPDATE_CMD, 2), be_nested_str_weak(Status_X208) },
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Occupancy)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Occupancy_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Occupancy);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Occupancy");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,7 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
/********************************************************************
** Solidified function: <lambda>
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E, /* name */
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +17,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
0, /* has constants */
NULL, /* no const */
be_str_weak(_X3Clambda_X3E),
@ -36,7 +36,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E, /* name
/********************************************************************
** Solidified function: web_values_prefix
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -44,7 +45,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix, /* n
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -90,7 +91,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix, /* n
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -98,7 +100,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -140,7 +142,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_init, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -148,7 +151,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -184,7 +187,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_parse_update, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -192,7 +196,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_parse_update, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -243,7 +247,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_parse_update, /* name *
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -251,7 +256,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Waterleak_read_attribute, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -316,11 +321,11 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Waterleak,
&be_class_Matter_Plugin_Bridge_HTTP,
be_nested_map(16,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_TYPE, 4), be_const_static_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E_closure) },
{ be_const_key_weak(ARG_HINT, 2), be_nested_str_weak(Switch_X3Cx_X3E_X20number) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Waterleak_init_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Waterleak_web_values_closure) },
{ be_const_key_weak(web_values_prefix, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_web_values_prefix_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_init_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_web_values_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Waterleak) },
{ be_const_key_weak(TYPES, 9), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
@ -328,7 +333,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Waterleak,
{ be_const_key_int(67, -1), be_const_int(1) },
})) ) } )) },
{ be_const_key_weak(ARG, -1), be_nested_str_weak(switch) },
{ be_const_key_weak(parse_update, 12), be_const_closure(Matter_Plugin_Bridge_Sensor_Waterleak_parse_update_closure) },
{ be_const_key_weak(parse_update, 12), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_parse_update_closure) },
{ be_const_key_weak(CLUSTERS, 11), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -414,7 +419,7 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Waterleak,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(tasmota_switch_index, 6), be_const_var(0) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Waterleak_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak_read_attribute_closure) },
{ be_const_key_weak(UPDATE_TIME, -1), be_const_int(5000) },
{ be_const_key_weak(TYPE, 5), be_nested_str_weak(http_waterleak) },
{ be_const_key_weak(shadow_Waterleak, -1), be_const_var(1) },
@ -422,12 +427,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Waterleak,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Waterleak)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Waterleak_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Waterleak);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Waterleak");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -25,12 +25,5 @@ be_local_class(Matter_Plugin_Light0,
})),
be_str_weak(Matter_Plugin_Light0)
);
/*******************************************************************/
void be_load_Matter_Plugin_Light0_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Light0);
be_setglobal(vm, "Matter_Plugin_Light0");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Light2;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Light2_init, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Light2_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -49,7 +50,8 @@ be_local_closure(Matter_Plugin_Light2_init, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Light2_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_invoke_request, /* name */
be_nested_proto(
13, /* nstack */
4, /* argc */
@ -57,7 +59,7 @@ be_local_closure(Matter_Plugin_Light2_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(light),
@ -146,7 +148,8 @@ be_local_closure(Matter_Plugin_Light2_invoke_request, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Light2_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_update_shadow, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -154,7 +157,7 @@ be_local_closure(Matter_Plugin_Light2_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(VIRTUAL),
@ -217,7 +220,8 @@ be_local_closure(Matter_Plugin_Light2_update_shadow, /* name */
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Light2_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_update_virtual, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -225,7 +229,7 @@ be_local_closure(Matter_Plugin_Light2_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -263,7 +267,8 @@ be_local_closure(Matter_Plugin_Light2_update_virtual, /* name */
/********************************************************************
** Solidified function: set_ct
********************************************************************/
be_local_closure(Matter_Plugin_Light2_set_ct, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_set_ct, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -271,7 +276,7 @@ be_local_closure(Matter_Plugin_Light2_set_ct, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(ct_min),
@ -324,7 +329,8 @@ be_local_closure(Matter_Plugin_Light2_set_ct, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Light2_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -332,7 +338,7 @@ be_local_closure(Matter_Plugin_Light2_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -433,7 +439,8 @@ be_local_closure(Matter_Plugin_Light2_read_attribute, /* name */
/********************************************************************
** Solidified function: update_ct_minmax
********************************************************************/
be_local_closure(Matter_Plugin_Light2_update_ct_minmax, /* name */
extern const bclass be_class_Matter_Plugin_Light2;
be_local_closure(class_Matter_Plugin_Light2_update_ct_minmax, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -441,7 +448,7 @@ be_local_closure(Matter_Plugin_Light2_update_ct_minmax, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light2,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -482,14 +489,14 @@ be_local_class(Matter_Plugin_Light2,
&be_class_Matter_Plugin_Light1,
be_nested_map(15,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Light2_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Light2_init_closure) },
{ be_const_key_weak(shadow_ct, -1), be_const_var(0) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Light2_invoke_request_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Light2_invoke_request_closure) },
{ be_const_key_weak(ct_max, -1), be_const_var(2) },
{ be_const_key_weak(update_shadow, 10), be_const_closure(Matter_Plugin_Light2_update_shadow_closure) },
{ be_const_key_weak(update_virtual, 8), be_const_closure(Matter_Plugin_Light2_update_virtual_closure) },
{ be_const_key_weak(update_shadow, 10), be_const_closure(class_Matter_Plugin_Light2_update_shadow_closure) },
{ be_const_key_weak(update_virtual, 8), be_const_closure(class_Matter_Plugin_Light2_update_virtual_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Light_X202_X20CT) },
{ be_const_key_weak(set_ct, -1), be_const_closure(Matter_Plugin_Light2_set_ct_closure) },
{ be_const_key_weak(set_ct, -1), be_const_closure(class_Matter_Plugin_Light2_set_ct_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[]) {
@ -616,19 +623,12 @@ be_local_class(Matter_Plugin_Light2,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(update_ct_minmax, -1), be_const_closure(Matter_Plugin_Light2_update_ct_minmax_closure) },
{ be_const_key_weak(read_attribute, 11), be_const_closure(Matter_Plugin_Light2_read_attribute_closure) },
{ be_const_key_weak(update_ct_minmax, -1), be_const_closure(class_Matter_Plugin_Light2_update_ct_minmax_closure) },
{ be_const_key_weak(read_attribute, 11), be_const_closure(class_Matter_Plugin_Light2_read_attribute_closure) },
{ be_const_key_weak(ct_min, -1), be_const_var(1) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(light2) },
})),
be_str_weak(Matter_Plugin_Light2)
);
/*******************************************************************/
void be_load_Matter_Plugin_Light2_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Light2);
be_setglobal(vm, "Matter_Plugin_Light2");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Light3;
/********************************************************************
** Solidified function: update_virtual
********************************************************************/
be_local_closure(Matter_Plugin_Light3_update_virtual, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_update_virtual, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Light3_update_virtual, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(find),
@ -65,7 +66,8 @@ be_local_closure(Matter_Plugin_Light3_update_virtual, /* name */
/********************************************************************
** Solidified function: set_hue_sat
********************************************************************/
be_local_closure(Matter_Plugin_Light3_set_hue_sat, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_set_hue_sat, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -73,7 +75,7 @@ be_local_closure(Matter_Plugin_Light3_set_hue_sat, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_const_int(0),
@ -206,7 +208,8 @@ be_local_closure(Matter_Plugin_Light3_set_hue_sat, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Light3_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_invoke_request, /* name */
be_nested_proto(
16, /* nstack */
4, /* argc */
@ -214,7 +217,7 @@ be_local_closure(Matter_Plugin_Light3_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_nested_str_weak(light),
@ -372,7 +375,8 @@ be_local_closure(Matter_Plugin_Light3_invoke_request, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Light3_init, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -380,7 +384,7 @@ be_local_closure(Matter_Plugin_Light3_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -411,7 +415,8 @@ be_local_closure(Matter_Plugin_Light3_init, /* name */
/********************************************************************
** Solidified function: update_shadow
********************************************************************/
be_local_closure(Matter_Plugin_Light3_update_shadow, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_update_shadow, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -419,7 +424,7 @@ be_local_closure(Matter_Plugin_Light3_update_shadow, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(update_shadow),
@ -515,7 +520,8 @@ be_local_closure(Matter_Plugin_Light3_update_shadow, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Light3_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Light3;
be_local_closure(class_Matter_Plugin_Light3_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -523,7 +529,7 @@ be_local_closure(Matter_Plugin_Light3_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Light3,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -656,12 +662,12 @@ be_local_class(Matter_Plugin_Light3,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(shadow_hue, -1), be_const_var(0) },
{ be_const_key_weak(shadow_sat, -1), be_const_var(1) },
{ be_const_key_weak(update_virtual, 8), be_const_closure(Matter_Plugin_Light3_update_virtual_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(Matter_Plugin_Light3_update_shadow_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Light3_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Light3_invoke_request_closure) },
{ be_const_key_weak(init, 9), be_const_closure(Matter_Plugin_Light3_init_closure) },
{ be_const_key_weak(set_hue_sat, 3), be_const_closure(Matter_Plugin_Light3_set_hue_sat_closure) },
{ be_const_key_weak(update_virtual, 8), be_const_closure(class_Matter_Plugin_Light3_update_virtual_closure) },
{ be_const_key_weak(update_shadow, -1), be_const_closure(class_Matter_Plugin_Light3_update_shadow_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Light3_read_attribute_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Light3_invoke_request_closure) },
{ be_const_key_weak(init, 9), be_const_closure(class_Matter_Plugin_Light3_init_closure) },
{ be_const_key_weak(set_hue_sat, 3), be_const_closure(class_Matter_Plugin_Light3_set_hue_sat_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(light3) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Light_X203_X20RGB) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -796,12 +802,5 @@ be_local_class(Matter_Plugin_Light3,
})),
be_str_weak(Matter_Plugin_Light3)
);
/*******************************************************************/
void be_load_Matter_Plugin_Light3_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Light3);
be_setglobal(vm, "Matter_Plugin_Light3");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor_Flow;
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Flow_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Sensor_Flow_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_Flow_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Flow,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -40,7 +41,8 @@ be_local_closure(Matter_Plugin_Sensor_Flow_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Flow_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Sensor_Flow_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_Plugin_Sensor_Flow_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Flow,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -127,7 +129,8 @@ be_local_closure(Matter_Plugin_Sensor_Flow_read_attribute, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Flow_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Sensor_Flow_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -135,7 +138,7 @@ be_local_closure(Matter_Plugin_Sensor_Flow_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Flow,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -178,9 +181,9 @@ be_local_class(Matter_Plugin_Sensor_Flow,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Flow),
})) ) } )) },
{ be_const_key_weak(value_changed, 7), be_const_closure(Matter_Plugin_Sensor_Flow_value_changed_closure) },
{ be_const_key_weak(value_changed, 7), be_const_closure(class_Matter_Plugin_Sensor_Flow_value_changed_closure) },
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Flow) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Flow_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Flow_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -267,16 +270,9 @@ be_local_class(Matter_Plugin_Sensor_Flow,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_Flow_pre_value_closure) },
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Flow_pre_value_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Flow)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Flow_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Flow);
be_setglobal(vm, "Matter_Plugin_Sensor_Flow");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor_Humidity;
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Humidity_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Sensor_Humidity_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_Humidity_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Humidity,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -40,7 +41,8 @@ be_local_closure(Matter_Plugin_Sensor_Humidity_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Humidity_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Sensor_Humidity_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_Plugin_Sensor_Humidity_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Humidity,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -127,7 +129,8 @@ be_local_closure(Matter_Plugin_Sensor_Humidity_read_attribute, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Humidity_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Sensor_Humidity_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -135,7 +138,7 @@ be_local_closure(Matter_Plugin_Sensor_Humidity_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Humidity,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -178,9 +181,9 @@ be_local_class(Matter_Plugin_Sensor_Humidity,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Humidity),
})) ) } )) },
{ be_const_key_weak(value_changed, 7), be_const_closure(Matter_Plugin_Sensor_Humidity_value_changed_closure) },
{ be_const_key_weak(value_changed, 7), be_const_closure(class_Matter_Plugin_Sensor_Humidity_value_changed_closure) },
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Humidity) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Humidity_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Humidity_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -267,16 +270,9 @@ be_local_class(Matter_Plugin_Sensor_Humidity,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_Humidity_pre_value_closure) },
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Humidity_pre_value_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Humidity)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Humidity_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Humidity);
be_setglobal(vm, "Matter_Plugin_Sensor_Humidity");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor_Illuminance;
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Illuminance_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Sensor_Illuminance_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_Illuminance_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -40,7 +41,8 @@ be_local_closure(Matter_Plugin_Sensor_Illuminance_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Illuminance_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Sensor_Illuminance_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_Plugin_Sensor_Illuminance_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -127,7 +129,8 @@ be_local_closure(Matter_Plugin_Sensor_Illuminance_read_attribute, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Illuminance_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Sensor_Illuminance_pre_value, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -135,7 +138,7 @@ be_local_closure(Matter_Plugin_Sensor_Illuminance_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(math),
@ -190,9 +193,9 @@ be_local_class(Matter_Plugin_Sensor_Illuminance,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Illuminance),
})) ) } )) },
{ be_const_key_weak(value_changed, 7), be_const_closure(Matter_Plugin_Sensor_Illuminance_value_changed_closure) },
{ be_const_key_weak(value_changed, 7), be_const_closure(class_Matter_Plugin_Sensor_Illuminance_value_changed_closure) },
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Illuminance) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Illuminance_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Illuminance_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -279,16 +282,9 @@ be_local_class(Matter_Plugin_Sensor_Illuminance,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_Illuminance_pre_value_closure) },
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Illuminance_pre_value_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Illuminance)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Illuminance_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Illuminance);
be_setglobal(vm, "Matter_Plugin_Sensor_Illuminance");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor_Pressure;
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Pressure_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Sensor_Pressure_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_Pressure_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Pressure,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -40,7 +41,8 @@ be_local_closure(Matter_Plugin_Sensor_Pressure_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Pressure_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Sensor_Pressure_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_Plugin_Sensor_Pressure_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Pressure,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -127,7 +129,8 @@ be_local_closure(Matter_Plugin_Sensor_Pressure_read_attribute, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Pressure_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Sensor_Pressure_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -135,7 +138,7 @@ be_local_closure(Matter_Plugin_Sensor_Pressure_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Pressure,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -177,9 +180,9 @@ be_local_class(Matter_Plugin_Sensor_Pressure,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Pressure),
})) ) } )) },
{ be_const_key_weak(value_changed, 7), be_const_closure(Matter_Plugin_Sensor_Pressure_value_changed_closure) },
{ be_const_key_weak(value_changed, 7), be_const_closure(class_Matter_Plugin_Sensor_Pressure_value_changed_closure) },
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Pressure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Pressure_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Pressure_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -266,16 +269,9 @@ be_local_class(Matter_Plugin_Sensor_Pressure,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_Pressure_pre_value_closure) },
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Pressure_pre_value_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Pressure)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Pressure_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Pressure);
be_setglobal(vm, "Matter_Plugin_Sensor_Pressure");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Sensor_Temp;
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Temp_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Sensor_Temp_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Sensor_Temp_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Temp,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -40,7 +41,8 @@ be_local_closure(Matter_Plugin_Sensor_Temp_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Temp_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Sensor_Temp_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -48,7 +50,7 @@ be_local_closure(Matter_Plugin_Sensor_Temp_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Temp,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -125,7 +127,8 @@ be_local_closure(Matter_Plugin_Sensor_Temp_read_attribute, /* name */
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Sensor_Temp_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Sensor_Temp_pre_value, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -133,7 +136,7 @@ be_local_closure(Matter_Plugin_Sensor_Temp_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Sensor_Temp,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -191,9 +194,9 @@ be_local_class(Matter_Plugin_Sensor_Temp,
( (struct bvalue*) &(const bvalue[]) {
be_nested_str_weak(Temperature),
})) ) } )) },
{ be_const_key_weak(value_changed, 7), be_const_closure(Matter_Plugin_Sensor_Temp_value_changed_closure) },
{ be_const_key_weak(value_changed, 7), be_const_closure(class_Matter_Plugin_Sensor_Temp_value_changed_closure) },
{ be_const_key_weak(JSON_NAME, -1), be_nested_str_weak(Temperature) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Sensor_Temp_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Sensor_Temp_read_attribute_closure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
( (struct bmapnode*) &(const bmapnode[]) {
@ -280,16 +283,9 @@ be_local_class(Matter_Plugin_Sensor_Temp,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(pre_value, -1), be_const_closure(Matter_Plugin_Sensor_Temp_pre_value_closure) },
{ be_const_key_weak(pre_value, -1), be_const_closure(class_Matter_Plugin_Sensor_Temp_pre_value_closure) },
})),
be_str_weak(Matter_Plugin_Sensor_Temp)
);
/*******************************************************************/
void be_load_Matter_Plugin_Sensor_Temp_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Sensor_Temp);
be_setglobal(vm, "Matter_Plugin_Sensor_Temp");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_ShutterTilt;
/********************************************************************
** Solidified function: update_tilt_min_max
********************************************************************/
be_local_closure(Matter_Plugin_ShutterTilt_update_tilt_min_max, /* name */
extern const bclass be_class_Matter_Plugin_ShutterTilt;
be_local_closure(class_Matter_Plugin_ShutterTilt_update_tilt_min_max, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_ShutterTilt_update_tilt_min_max, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_ShutterTilt,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -79,7 +80,8 @@ be_local_closure(Matter_Plugin_ShutterTilt_update_tilt_min_max, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_ShutterTilt_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_ShutterTilt;
be_local_closure(class_Matter_Plugin_ShutterTilt_read_attribute, /* name */
be_nested_proto(
14, /* nstack */
4, /* argc */
@ -87,7 +89,7 @@ be_local_closure(Matter_Plugin_ShutterTilt_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_ShutterTilt,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -236,7 +238,8 @@ be_local_closure(Matter_Plugin_ShutterTilt_read_attribute, /* name */
/********************************************************************
** Solidified function: parse_sensors
********************************************************************/
be_local_closure(Matter_Plugin_ShutterTilt_parse_sensors, /* name */
extern const bclass be_class_Matter_Plugin_ShutterTilt;
be_local_closure(class_Matter_Plugin_ShutterTilt_parse_sensors, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -244,7 +247,7 @@ be_local_closure(Matter_Plugin_ShutterTilt_parse_sensors, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_ShutterTilt,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(Shutter),
@ -300,7 +303,8 @@ be_local_closure(Matter_Plugin_ShutterTilt_parse_sensors, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_ShutterTilt_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_ShutterTilt;
be_local_closure(class_Matter_Plugin_ShutterTilt_invoke_request, /* name */
be_nested_proto(
18, /* nstack */
4, /* argc */
@ -308,7 +312,7 @@ be_local_closure(Matter_Plugin_ShutterTilt_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_ShutterTilt,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_nested_str_weak(light),
@ -432,9 +436,9 @@ be_local_class(Matter_Plugin_ShutterTilt,
&be_class_Matter_Plugin_Shutter,
be_nested_map(10,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(update_tilt_min_max, -1), be_const_closure(Matter_Plugin_ShutterTilt_update_tilt_min_max_closure) },
{ be_const_key_weak(update_tilt_min_max, -1), be_const_closure(class_Matter_Plugin_ShutterTilt_update_tilt_min_max_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Shutter_X20_X2B_X20Tilt) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_ShutterTilt_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_ShutterTilt_read_attribute_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(shutter_X2Btilt) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(6,
@ -531,19 +535,12 @@ be_local_class(Matter_Plugin_ShutterTilt,
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(tilt_min, 8), be_const_var(1) },
{ be_const_key_weak(parse_sensors, -1), be_const_closure(Matter_Plugin_ShutterTilt_parse_sensors_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_ShutterTilt_invoke_request_closure) },
{ be_const_key_weak(parse_sensors, -1), be_const_closure(class_Matter_Plugin_ShutterTilt_parse_sensors_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_ShutterTilt_invoke_request_closure) },
{ be_const_key_weak(shadow_shutter_tilt, -1), be_const_var(0) },
{ be_const_key_weak(tilt_max, 3), be_const_var(2) },
})),
be_str_weak(Matter_Plugin_ShutterTilt)
);
/*******************************************************************/
void be_load_Matter_Plugin_ShutterTilt_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_ShutterTilt);
be_setglobal(vm, "Matter_Plugin_ShutterTilt");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Light1;
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_invoke_request, /* name */
be_nested_proto(
21, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -185,7 +186,8 @@ be_local_closure(Matter_Plugin_Bridge_Light1_invoke_request, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -193,7 +195,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -301,7 +303,8 @@ be_local_closure(Matter_Plugin_Bridge_Light1_read_attribute, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_web_values, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -309,7 +312,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -346,7 +349,8 @@ be_local_closure(Matter_Plugin_Bridge_Light1_web_values, /* name */
/********************************************************************
** Solidified function: set_bri
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_set_bri, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_set_bri, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -354,7 +358,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_set_bri, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -398,7 +402,8 @@ be_local_closure(Matter_Plugin_Bridge_Light1_set_bri, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_parse_update, /* name */
be_nested_proto(
11, /* nstack */
3, /* argc */
@ -406,7 +411,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(parse_update),
@ -465,7 +470,8 @@ be_local_closure(Matter_Plugin_Bridge_Light1_parse_update, /* name */
/********************************************************************
** Solidified function: web_value_dimmer
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light1_web_value_dimmer, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light1;
be_local_closure(class_Matter_Plugin_Bridge_Light1_web_value_dimmer, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -473,7 +479,7 @@ be_local_closure(Matter_Plugin_Bridge_Light1_web_value_dimmer, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light1,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -522,10 +528,10 @@ be_local_class(Matter_Plugin_Bridge_Light1,
&be_class_Matter_Plugin_Bridge_Light0,
be_nested_map(11,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(web_value_dimmer, -1), be_const_closure(Matter_Plugin_Bridge_Light1_web_value_dimmer_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_Light1_parse_update_closure) },
{ be_const_key_weak(web_value_dimmer, -1), be_const_closure(class_Matter_Plugin_Bridge_Light1_web_value_dimmer_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_Plugin_Bridge_Light1_parse_update_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_light1) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Light1_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Bridge_Light1_read_attribute_closure) },
{ be_const_key_weak(TYPES, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
@ -631,19 +637,12 @@ be_local_class(Matter_Plugin_Bridge_Light1,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(set_bri, -1), be_const_closure(Matter_Plugin_Bridge_Light1_set_bri_closure) },
{ be_const_key_weak(set_bri, -1), be_const_closure(class_Matter_Plugin_Bridge_Light1_set_bri_closure) },
{ be_const_key_weak(DISPLAY_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) },
{ be_const_key_weak(web_values, 1), be_const_closure(class_Matter_Plugin_Bridge_Light1_web_values_closure) },
{ be_const_key_weak(invoke_request, 0), be_const_closure(class_Matter_Plugin_Bridge_Light1_invoke_request_closure) },
})),
be_str_weak(Matter_Plugin_Bridge_Light1)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Light1_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Light1);
be_setglobal(vm, "Matter_Plugin_Bridge_Light1");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_OnOff;
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_OnOff_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_OnOff;
be_local_closure(class_Matter_Plugin_Bridge_OnOff_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_OnOff_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_OnOff,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -65,18 +66,11 @@ be_local_class(Matter_Plugin_Bridge_OnOff,
{ be_const_key_int(266, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Relay) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_OnOff_web_values_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_OnOff_web_values_closure) },
{ be_const_key_weak(ARG_HINT, -1), be_nested_str_weak(Relay_X3Cx_X3E_X20number) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_relay) },
})),
be_str_weak(Matter_Plugin_Bridge_OnOff)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_OnOff_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_OnOff);
be_setglobal(vm, "Matter_Plugin_Bridge_OnOff");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Flow;
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Flow_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Flow,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -42,7 +43,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Flow_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -50,7 +52,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Flow,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -73,7 +75,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Flow_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -81,7 +84,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Flow,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -160,7 +163,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_read_attribute, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Flow;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Flow_web_values, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -168,7 +172,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Flow_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Flow,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -207,15 +211,15 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Flow,
&be_class_Matter_Plugin_Bridge_Sensor,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pre_value, 1), be_const_closure(Matter_Plugin_Bridge_Sensor_Flow_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Flow_web_values_closure) },
{ be_const_key_weak(pre_value, 1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Flow_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Flow_web_values_closure) },
{ be_const_key_weak(TYPES, 3), 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(774, -1), be_const_int(1) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Flow_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(Matter_Plugin_Bridge_Sensor_Flow_value_changed_closure) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Flow_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Flow_value_changed_closure) },
{ be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Flow) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_flow) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -307,12 +311,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Flow,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Flow)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Flow_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Flow);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Flow");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Humidity;
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Humidity,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -42,7 +43,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -50,7 +52,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_value_changed, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Humidity,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -73,7 +75,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_value_changed, /* name *
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -81,7 +84,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_read_attribute, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Humidity,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -160,7 +163,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_read_attribute, /* name
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Humidity;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_web_values, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -168,7 +172,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Humidity_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Humidity,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -215,15 +219,15 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Humidity,
&be_class_Matter_Plugin_Bridge_Sensor,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pre_value, 1), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_web_values_closure) },
{ be_const_key_weak(pre_value, 1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_web_values_closure) },
{ be_const_key_weak(TYPES, 3), 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(775, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(Matter_Plugin_Bridge_Sensor_Humidity_value_changed_closure) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Humidity_value_changed_closure) },
{ be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Humidity) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_humidity) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -315,12 +319,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Humidity,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Humidity)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Humidity_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Humidity);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Humidity");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Illuminance;
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_pre_value, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(math),
@ -54,7 +55,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -62,7 +64,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_value_changed, /* nam
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -85,7 +87,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_value_changed, /* nam
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -93,7 +96,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute, /* na
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -172,7 +175,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute, /* na
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Illuminance;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_web_values, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -180,7 +184,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Illuminance_web_values, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Illuminance,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -219,15 +223,15 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Illuminance,
&be_class_Matter_Plugin_Bridge_Sensor,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pre_value, 1), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_web_values_closure) },
{ be_const_key_weak(pre_value, 1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_web_values_closure) },
{ be_const_key_weak(TYPES, 3), 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(262, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(Matter_Plugin_Bridge_Sensor_Illuminance_value_changed_closure) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Illuminance_value_changed_closure) },
{ be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Illuminance) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_illuminance) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -319,12 +323,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Illuminance,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Illuminance)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Illuminance_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Illuminance);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Illuminance");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Pressure;
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Pressure,
0, /* has constants */
NULL, /* no const */
be_str_weak(pre_value),
@ -41,7 +42,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -49,7 +51,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_value_changed, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Pressure,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -72,7 +74,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_value_changed, /* name *
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -80,7 +83,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_read_attribute, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Pressure,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -159,7 +162,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_read_attribute, /* name
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Pressure;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_web_values, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -167,7 +171,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Pressure_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Pressure,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -206,15 +210,15 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Pressure,
&be_class_Matter_Plugin_Bridge_Sensor,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pre_value, 1), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_web_values_closure) },
{ be_const_key_weak(pre_value, 1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_web_values_closure) },
{ be_const_key_weak(TYPES, 3), 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(773, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(Matter_Plugin_Bridge_Sensor_Pressure_value_changed_closure) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Pressure_value_changed_closure) },
{ be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Pressure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_pressure) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -306,12 +310,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Pressure,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Pressure)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Pressure_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Pressure);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Pressure");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Temp;
/********************************************************************
** Solidified function: pre_value
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_pre_value, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Temp_pre_value, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_pre_value, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Temp,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(temp_unit),
@ -54,7 +55,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_pre_value, /* name */
/********************************************************************
** Solidified function: value_changed
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_value_changed, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Temp_value_changed, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -62,7 +64,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_value_changed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Temp,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(attribute_updated),
@ -85,7 +87,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_value_changed, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Temp_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -93,7 +96,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Temp,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -170,7 +173,8 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_read_attribute, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Temp;
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Temp_web_values, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -178,7 +182,7 @@ be_local_closure(Matter_Plugin_Bridge_Sensor_Temp_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Sensor_Temp,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -225,15 +229,15 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Temp,
&be_class_Matter_Plugin_Bridge_Sensor,
be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(pre_value, 1), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_web_values_closure) },
{ be_const_key_weak(pre_value, 1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Temp_pre_value_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Temp_web_values_closure) },
{ be_const_key_weak(TYPES, 3), 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(770, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(Matter_Plugin_Bridge_Sensor_Temp_value_changed_closure) },
{ be_const_key_weak(read_attribute, 7), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Temp_read_attribute_closure) },
{ be_const_key_weak(value_changed, 6), be_const_closure(class_Matter_Plugin_Bridge_Sensor_Temp_value_changed_closure) },
{ be_const_key_weak(DISPLAY_NAME, 4), be_nested_str_weak(Temperature) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_temperature) },
{ be_const_key_weak(CLUSTERS, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
@ -325,12 +329,5 @@ be_local_class(Matter_Plugin_Bridge_Sensor_Temp,
})),
be_str_weak(Matter_Plugin_Bridge_Sensor_Temp)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Sensor_Temp_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Sensor_Temp);
be_setglobal(vm, "Matter_Plugin_Bridge_Sensor_Temp");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Light2;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -46,7 +47,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_init, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_parse_update, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -54,7 +56,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(parse_update),
@ -112,7 +114,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_parse_update, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -120,7 +123,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -160,7 +163,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_web_values, /* name */
/********************************************************************
** Solidified function: web_value_ct
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_web_value_ct, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_web_value_ct, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -168,7 +172,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_web_value_ct, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -209,7 +213,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_web_value_ct, /* name */
/********************************************************************
** Solidified function: set_ct
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_set_ct, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_set_ct, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -217,7 +222,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_set_ct, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(call_remote_sync),
@ -250,7 +255,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_set_ct, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_invoke_request, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -258,7 +264,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -352,7 +358,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_invoke_request, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -360,7 +367,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -472,7 +479,8 @@ be_local_closure(Matter_Plugin_Bridge_Light2_read_attribute, /* name */
/********************************************************************
** Solidified function: update_ct_minmax
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light2_update_ct_minmax, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light2;
be_local_closure(class_Matter_Plugin_Bridge_Light2_update_ct_minmax, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -480,7 +488,7 @@ be_local_closure(Matter_Plugin_Bridge_Light2_update_ct_minmax, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light2,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -521,9 +529,9 @@ be_local_class(Matter_Plugin_Bridge_Light2,
&be_class_Matter_Plugin_Bridge_Light1,
be_nested_map(15,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_Plugin_Bridge_Light2_init_closure) },
{ be_const_key_weak(parse_update, 9), be_const_closure(Matter_Plugin_Bridge_Light2_parse_update_closure) },
{ be_const_key_weak(web_values, 11), be_const_closure(Matter_Plugin_Bridge_Light2_web_values_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Plugin_Bridge_Light2_init_closure) },
{ be_const_key_weak(parse_update, 9), be_const_closure(class_Matter_Plugin_Bridge_Light2_parse_update_closure) },
{ be_const_key_weak(web_values, 11), be_const_closure(class_Matter_Plugin_Bridge_Light2_web_values_closure) },
{ be_const_key_weak(ct_max, -1), be_const_var(2) },
{ be_const_key_weak(CLUSTERS, 14), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(8,
@ -645,24 +653,17 @@ be_local_class(Matter_Plugin_Bridge_Light2,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_int(268, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(web_value_ct, 8), 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(web_value_ct, 8), be_const_closure(class_Matter_Plugin_Bridge_Light2_web_value_ct_closure) },
{ be_const_key_weak(set_ct, -1), be_const_closure(class_Matter_Plugin_Bridge_Light2_set_ct_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Light_X202_X20CT) },
{ be_const_key_weak(shadow_ct, -1), be_const_var(0) },
{ be_const_key_weak(update_ct_minmax, -1), be_const_closure(Matter_Plugin_Bridge_Light2_update_ct_minmax_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light2_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 10), be_const_closure(Matter_Plugin_Bridge_Light2_read_attribute_closure) },
{ be_const_key_weak(update_ct_minmax, -1), be_const_closure(class_Matter_Plugin_Bridge_Light2_update_ct_minmax_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Bridge_Light2_invoke_request_closure) },
{ be_const_key_weak(read_attribute, 10), be_const_closure(class_Matter_Plugin_Bridge_Light2_read_attribute_closure) },
{ be_const_key_weak(ct_min, -1), be_const_var(1) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_light2) },
})),
be_str_weak(Matter_Plugin_Bridge_Light2)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Light2_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Light2);
be_setglobal(vm, "Matter_Plugin_Bridge_Light2");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Plugin_Bridge_Light3;
/********************************************************************
** Solidified function: set_sat
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_set_sat, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_set_sat, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_set_sat, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -59,7 +60,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_set_sat, /* name */
/********************************************************************
** Solidified function: parse_update
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_parse_update, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_parse_update, /* name */
be_nested_proto(
15, /* nstack */
3, /* argc */
@ -67,7 +69,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_parse_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(parse_update),
@ -166,7 +168,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_parse_update, /* name */
/********************************************************************
** Solidified function: web_values
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_web_values, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_web_values, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -174,7 +177,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_web_values, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -214,7 +217,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_web_values, /* name */
/********************************************************************
** Solidified function: web_value_RGB
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_web_value_RGB, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_web_value_RGB, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -222,7 +226,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_web_value_RGB, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(shadow_hue),
@ -298,7 +302,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_web_value_RGB, /* name */
/********************************************************************
** Solidified function: read_attribute
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_read_attribute, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_read_attribute, /* name */
be_nested_proto(
12, /* nstack */
4, /* argc */
@ -306,7 +311,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_read_attribute, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -443,7 +448,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_read_attribute, /* name */
/********************************************************************
** Solidified function: invoke_request
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_invoke_request, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_invoke_request, /* name */
be_nested_proto(
15, /* nstack */
4, /* argc */
@ -451,7 +457,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_invoke_request, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -605,7 +611,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_invoke_request, /* name */
/********************************************************************
** Solidified function: set_hue
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_set_hue, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_set_hue, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -613,7 +620,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_set_hue, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -655,7 +662,8 @@ be_local_closure(Matter_Plugin_Bridge_Light3_set_hue, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Plugin_Bridge_Light3_init, /* name */
extern const bclass be_class_Matter_Plugin_Bridge_Light3;
be_local_closure(class_Matter_Plugin_Bridge_Light3_init, /* name */
be_nested_proto(
9, /* nstack */
4, /* argc */
@ -663,7 +671,7 @@ be_local_closure(Matter_Plugin_Bridge_Light3_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Plugin_Bridge_Light3,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -695,12 +703,12 @@ be_local_class(Matter_Plugin_Bridge_Light3,
&be_class_Matter_Plugin_Bridge_Light1,
be_nested_map(14,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(set_sat, 6), be_const_closure(Matter_Plugin_Bridge_Light3_set_sat_closure) },
{ be_const_key_weak(init, 8), be_const_closure(Matter_Plugin_Bridge_Light3_init_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(Matter_Plugin_Bridge_Light3_parse_update_closure) },
{ be_const_key_weak(set_sat, 6), be_const_closure(class_Matter_Plugin_Bridge_Light3_set_sat_closure) },
{ be_const_key_weak(init, 8), be_const_closure(class_Matter_Plugin_Bridge_Light3_init_closure) },
{ be_const_key_weak(parse_update, -1), be_const_closure(class_Matter_Plugin_Bridge_Light3_parse_update_closure) },
{ be_const_key_weak(TYPE, -1), be_nested_str_weak(http_light3) },
{ be_const_key_weak(web_values, -1), be_const_closure(Matter_Plugin_Bridge_Light3_web_values_closure) },
{ be_const_key_weak(web_value_RGB, 1), be_const_closure(Matter_Plugin_Bridge_Light3_web_value_RGB_closure) },
{ be_const_key_weak(web_values, -1), be_const_closure(class_Matter_Plugin_Bridge_Light3_web_values_closure) },
{ be_const_key_weak(web_value_RGB, 1), be_const_closure(class_Matter_Plugin_Bridge_Light3_web_value_RGB_closure) },
{ be_const_key_weak(CLUSTERS, 13), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(8,
( (struct bmapnode*) &(const bmapnode[]) {
@ -817,9 +825,9 @@ be_local_class(Matter_Plugin_Bridge_Light3,
be_const_int(65533),
})) ) } )) },
})) ) } )) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(Matter_Plugin_Bridge_Light3_invoke_request_closure) },
{ be_const_key_weak(invoke_request, -1), be_const_closure(class_Matter_Plugin_Bridge_Light3_invoke_request_closure) },
{ be_const_key_weak(DISPLAY_NAME, -1), be_nested_str_weak(Light_X203_X20RGB) },
{ be_const_key_weak(set_hue, 11), be_const_closure(Matter_Plugin_Bridge_Light3_set_hue_closure) },
{ be_const_key_weak(set_hue, 11), be_const_closure(class_Matter_Plugin_Bridge_Light3_set_hue_closure) },
{ be_const_key_weak(shadow_hue, 9), be_const_var(0) },
{ be_const_key_weak(TYPES, 12), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
be_const_map( * be_nested_map(1,
@ -827,16 +835,9 @@ be_local_class(Matter_Plugin_Bridge_Light3,
{ be_const_key_int(269, -1), be_const_int(2) },
})) ) } )) },
{ be_const_key_weak(shadow_sat, -1), be_const_var(1) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(Matter_Plugin_Bridge_Light3_read_attribute_closure) },
{ be_const_key_weak(read_attribute, -1), be_const_closure(class_Matter_Plugin_Bridge_Light3_read_attribute_closure) },
})),
be_str_weak(Matter_Plugin_Bridge_Light3)
);
/*******************************************************************/
void be_load_Matter_Plugin_Bridge_Light3_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Bridge_Light3);
be_setglobal(vm, "Matter_Plugin_Bridge_Light3");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Light0,
})),
be_str_weak(Matter_Plugin_Virt_Light0)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Light0_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Light0);
be_setglobal(vm, "Matter_Plugin_Virt_Light0");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Light1,
})),
be_str_weak(Matter_Plugin_Virt_Light1)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Light1_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Light1);
be_setglobal(vm, "Matter_Plugin_Virt_Light1");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Light2,
})),
be_str_weak(Matter_Plugin_Virt_Light2)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Light2_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Light2);
be_setglobal(vm, "Matter_Plugin_Virt_Light2");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Light3,
})),
be_str_weak(Matter_Plugin_Virt_Light3)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Light3_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Light3);
be_setglobal(vm, "Matter_Plugin_Virt_Light3");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_OnOff,
})),
be_str_weak(Matter_Plugin_Virt_OnOff)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_OnOff_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_OnOff);
be_setglobal(vm, "Matter_Plugin_Virt_OnOff");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Contact,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Contact)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Contact_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Contact);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Contact");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Flow,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Flow)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Flow_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Flow);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Flow");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Humidity,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Humidity)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Humidity_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Humidity);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Humidity");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Illuminance,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Illuminance)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Illuminance_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Illuminance);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Illuminance");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Occupancy,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Occupancy)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Occupancy_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Occupancy);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Occupancy");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Pressure,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Pressure)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Pressure_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Pressure);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Pressure");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Temp,
})),
be_str_weak(Matter_Plugin_Virt_Sensor_Temp)
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Temp_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Temp);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Temp");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -23,12 +23,5 @@ be_local_class(Matter_Plugin_Virt_Sensor_Waterleak,
})),
(bstring*) &be_const_str_Matter_Plugin_Virt_Sensor_Waterleak
);
/*******************************************************************/
void be_load_Matter_Plugin_Virt_Sensor_Waterleak_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Plugin_Virt_Sensor_Waterleak);
be_setglobal(vm, "Matter_Plugin_Virt_Sensor_Waterleak");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Profiler;
/********************************************************************
** Solidified function: start
********************************************************************/
be_local_closure(Matter_Profiler_start, /* name */
extern const bclass be_class_Matter_Profiler;
be_local_closure(class_Matter_Profiler_start, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Profiler_start, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Profiler,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(active),
@ -67,7 +68,8 @@ be_local_closure(Matter_Profiler_start, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Profiler_init, /* name */
extern const bclass be_class_Matter_Profiler;
be_local_closure(class_Matter_Profiler_init, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -75,7 +77,7 @@ be_local_closure(Matter_Profiler_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Profiler,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(active),
@ -132,7 +134,8 @@ be_local_closure(Matter_Profiler_init, /* name */
/********************************************************************
** Solidified function: set_active
********************************************************************/
be_local_closure(Matter_Profiler_set_active, /* name */
extern const bclass be_class_Matter_Profiler;
be_local_closure(class_Matter_Profiler_set_active, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -140,7 +143,7 @@ be_local_closure(Matter_Profiler_set_active, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Profiler,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(active),
@ -162,7 +165,8 @@ be_local_closure(Matter_Profiler_set_active, /* name */
/********************************************************************
** Solidified function: log
********************************************************************/
be_local_closure(Matter_Profiler_log, /* name */
extern const bclass be_class_Matter_Profiler;
be_local_closure(class_Matter_Profiler_log, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -170,7 +174,7 @@ be_local_closure(Matter_Profiler_log, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Profiler,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(active),
@ -224,7 +228,8 @@ be_local_closure(Matter_Profiler_log, /* name */
/********************************************************************
** Solidified function: dump
********************************************************************/
be_local_closure(Matter_Profiler_dump, /* name */
extern const bclass be_class_Matter_Profiler;
be_local_closure(class_Matter_Profiler_dump, /* name */
be_nested_proto(
13, /* nstack */
2, /* argc */
@ -232,7 +237,7 @@ be_local_closure(Matter_Profiler_dump, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Profiler,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(active),
@ -305,27 +310,20 @@ be_local_class(Matter_Profiler,
NULL,
be_nested_map(12,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(dump, 8), be_const_closure(Matter_Profiler_dump_closure) },
{ be_const_key_weak(dump, 8), be_const_closure(class_Matter_Profiler_dump_closure) },
{ be_const_key_weak(millis, 5), be_const_var(0) },
{ be_const_key_weak(reallocs, -1), be_const_var(4) },
{ be_const_key_weak(init, 1), be_const_closure(Matter_Profiler_init_closure) },
{ be_const_key_weak(init, 1), be_const_closure(class_Matter_Profiler_init_closure) },
{ be_const_key_weak(len, -1), be_const_var(5) },
{ be_const_key_weak(active, -1), be_const_var(2) },
{ be_const_key_weak(set_active, -1), be_const_closure(Matter_Profiler_set_active_closure) },
{ be_const_key_weak(set_active, -1), be_const_closure(class_Matter_Profiler_set_active_closure) },
{ be_const_key_weak(names, -1), be_const_var(1) },
{ be_const_key_weak(allocs, 10), be_const_var(3) },
{ be_const_key_weak(log, -1), be_const_closure(Matter_Profiler_log_closure) },
{ be_const_key_weak(log, -1), be_const_closure(class_Matter_Profiler_log_closure) },
{ be_const_key_weak(PREALLOCATED, -1), be_const_int(50) },
{ be_const_key_weak(start, 0), be_const_closure(Matter_Profiler_start_closure) },
{ be_const_key_weak(start, 0), be_const_closure(class_Matter_Profiler_start_closure) },
})),
be_str_weak(Matter_Profiler)
);
/*******************************************************************/
void be_load_Matter_Profiler_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Profiler);
be_setglobal(vm, "Matter_Profiler");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Session;
/********************************************************************
** Solidified function: close
********************************************************************/
be_local_closure(Matter_Session_close, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_close, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Session_close, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_nested_str_weak(local_session_id),
@ -115,7 +116,8 @@ be_local_closure(Matter_Session_close, /* name */
/********************************************************************
** Solidified function: update
********************************************************************/
be_local_closure(Matter_Session_update, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_update, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -123,7 +125,7 @@ be_local_closure(Matter_Session_update, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(last_used),
@ -147,7 +149,8 @@ be_local_closure(Matter_Session_update, /* name */
/********************************************************************
** Solidified function: get_ac
********************************************************************/
be_local_closure(Matter_Session_get_ac, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_ac, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -155,7 +158,7 @@ be_local_closure(Matter_Session_get_ac, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(attestation_challenge),
@ -174,7 +177,8 @@ be_local_closure(Matter_Session_get_ac, /* name */
/********************************************************************
** Solidified function: get_fabric
********************************************************************/
be_local_closure(Matter_Session_get_fabric, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_fabric, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -182,7 +186,7 @@ be_local_closure(Matter_Session_get_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -201,7 +205,8 @@ be_local_closure(Matter_Session_get_fabric, /* name */
/********************************************************************
** Solidified function: get_noc
********************************************************************/
be_local_closure(Matter_Session_get_noc, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_noc, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -209,7 +214,7 @@ be_local_closure(Matter_Session_get_noc, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -230,7 +235,8 @@ be_local_closure(Matter_Session_get_noc, /* name */
/********************************************************************
** Solidified function: get_device_id
********************************************************************/
be_local_closure(Matter_Session_get_device_id, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_device_id, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -238,7 +244,7 @@ be_local_closure(Matter_Session_get_device_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -263,7 +269,8 @@ be_local_closure(Matter_Session_get_device_id, /* name */
/********************************************************************
** Solidified function: set_fabric_label
********************************************************************/
be_local_closure(Matter_Session_set_fabric_label, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_fabric_label, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -271,7 +278,7 @@ be_local_closure(Matter_Session_set_fabric_label, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(string),
@ -298,7 +305,8 @@ be_local_closure(Matter_Session_set_fabric_label, /* name */
/********************************************************************
** Solidified function: set_keys
********************************************************************/
be_local_closure(Matter_Session_set_keys, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_keys, /* name */
be_nested_proto(
6, /* nstack */
5, /* argc */
@ -306,7 +314,7 @@ be_local_closure(Matter_Session_set_keys, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(i2rkey),
@ -334,7 +342,8 @@ be_local_closure(Matter_Session_set_keys, /* name */
/********************************************************************
** Solidified function: get_r2i
********************************************************************/
be_local_closure(Matter_Session_get_r2i, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_r2i, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -342,7 +351,7 @@ be_local_closure(Matter_Session_get_r2i, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(r2ikey),
@ -361,7 +370,8 @@ be_local_closure(Matter_Session_get_r2i, /* name */
/********************************************************************
** Solidified function: tojson
********************************************************************/
be_local_closure(Matter_Session_tojson, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_tojson, /* name */
be_nested_proto(
16, /* nstack */
1, /* argc */
@ -369,7 +379,7 @@ be_local_closure(Matter_Session_tojson, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[22]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -502,7 +512,8 @@ be_local_closure(Matter_Session_tojson, /* name */
/********************************************************************
** Solidified function: fromjson
********************************************************************/
be_local_closure(Matter_Session_fromjson, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_fromjson, /* name */
be_nested_proto(
17, /* nstack */
3, /* argc */
@ -510,7 +521,7 @@ be_local_closure(Matter_Session_fromjson, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_Session),
@ -618,7 +629,8 @@ be_local_closure(Matter_Session_fromjson, /* name */
/********************************************************************
** Solidified function: gen_CSR
********************************************************************/
be_local_closure(Matter_Session_gen_CSR, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_gen_CSR, /* name */
be_nested_proto(
15, /* nstack */
1, /* argc */
@ -626,7 +638,7 @@ be_local_closure(Matter_Session_gen_CSR, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(get_pk),
@ -727,7 +739,8 @@ be_local_closure(Matter_Session_gen_CSR, /* name */
/********************************************************************
** Solidified function: get_ipk_epoch_key
********************************************************************/
be_local_closure(Matter_Session_get_ipk_epoch_key, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_ipk_epoch_key, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -735,7 +748,7 @@ be_local_closure(Matter_Session_get_ipk_epoch_key, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -756,7 +769,8 @@ be_local_closure(Matter_Session_get_ipk_epoch_key, /* name */
/********************************************************************
** Solidified function: counter_rcv_validate
********************************************************************/
be_local_closure(Matter_Session_counter_rcv_validate, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_counter_rcv_validate, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -764,7 +778,7 @@ be_local_closure(Matter_Session_counter_rcv_validate, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_rcv_impl),
@ -795,7 +809,8 @@ be_local_closure(Matter_Session_counter_rcv_validate, /* name */
/********************************************************************
** Solidified function: get_admin_subject
********************************************************************/
be_local_closure(Matter_Session_get_admin_subject, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_admin_subject, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -803,7 +818,7 @@ be_local_closure(Matter_Session_get_admin_subject, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -828,7 +843,8 @@ be_local_closure(Matter_Session_get_admin_subject, /* name */
/********************************************************************
** Solidified function: get_fabric_compressed
********************************************************************/
be_local_closure(Matter_Session_get_fabric_compressed, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_fabric_compressed, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -836,7 +852,7 @@ be_local_closure(Matter_Session_get_fabric_compressed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -861,7 +877,8 @@ be_local_closure(Matter_Session_get_fabric_compressed, /* name */
/********************************************************************
** Solidified function: persist_to_fabric
********************************************************************/
be_local_closure(Matter_Session_persist_to_fabric, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_persist_to_fabric, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -869,7 +886,7 @@ be_local_closure(Matter_Session_persist_to_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -892,7 +909,8 @@ be_local_closure(Matter_Session_persist_to_fabric, /* name */
/********************************************************************
** Solidified function: get_ca
********************************************************************/
be_local_closure(Matter_Session_get_ca, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_ca, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -900,7 +918,7 @@ be_local_closure(Matter_Session_get_ca, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -921,7 +939,8 @@ be_local_closure(Matter_Session_get_ca, /* name */
/********************************************************************
** Solidified function: is_PASE
********************************************************************/
be_local_closure(Matter_Session_is_PASE, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_is_PASE, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -929,7 +948,7 @@ be_local_closure(Matter_Session_is_PASE, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(mode),
@ -951,7 +970,8 @@ be_local_closure(Matter_Session_is_PASE, /* name */
/********************************************************************
** Solidified function: is_CASE
********************************************************************/
be_local_closure(Matter_Session_is_CASE, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_is_CASE, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -959,7 +979,7 @@ be_local_closure(Matter_Session_is_CASE, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(mode),
@ -981,7 +1001,8 @@ be_local_closure(Matter_Session_is_CASE, /* name */
/********************************************************************
** Solidified function: before_remove
********************************************************************/
be_local_closure(Matter_Session_before_remove, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_before_remove, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -989,7 +1010,7 @@ be_local_closure(Matter_Session_before_remove, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -1019,7 +1040,8 @@ be_local_closure(Matter_Session_before_remove, /* name */
/********************************************************************
** Solidified function: save
********************************************************************/
be_local_closure(Matter_Session_save, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_save, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1027,7 +1049,7 @@ be_local_closure(Matter_Session_save, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_store),
@ -1049,7 +1071,8 @@ be_local_closure(Matter_Session_save, /* name */
/********************************************************************
** Solidified function: get_fabric_id
********************************************************************/
be_local_closure(Matter_Session_get_fabric_id, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_fabric_id, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1057,7 +1080,7 @@ be_local_closure(Matter_Session_get_fabric_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1078,7 +1101,8 @@ be_local_closure(Matter_Session_get_fabric_id, /* name */
/********************************************************************
** Solidified function: get_ipk_group_key
********************************************************************/
be_local_closure(Matter_Session_get_ipk_group_key, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_ipk_group_key, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1086,7 +1110,7 @@ be_local_closure(Matter_Session_get_ipk_group_key, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1108,7 +1132,8 @@ be_local_closure(Matter_Session_get_ipk_group_key, /* name */
/********************************************************************
** Solidified function: get_temp_ca_pub
********************************************************************/
be_local_closure(Matter_Session_get_temp_ca_pub, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_temp_ca_pub, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1116,7 +1141,7 @@ be_local_closure(Matter_Session_get_temp_ca_pub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
@ -1149,7 +1174,8 @@ be_local_closure(Matter_Session_get_temp_ca_pub, /* name */
/********************************************************************
** Solidified function: get_ca_pub
********************************************************************/
be_local_closure(Matter_Session_get_ca_pub, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_ca_pub, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1157,7 +1183,7 @@ be_local_closure(Matter_Session_get_ca_pub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1179,7 +1205,8 @@ be_local_closure(Matter_Session_get_ca_pub, /* name */
/********************************************************************
** Solidified function: get_mode
********************************************************************/
be_local_closure(Matter_Session_get_mode, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_mode, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1187,7 +1214,7 @@ be_local_closure(Matter_Session_get_mode, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(mode),
@ -1206,7 +1233,8 @@ be_local_closure(Matter_Session_get_mode, /* name */
/********************************************************************
** Solidified function: hydrate_post
********************************************************************/
be_local_closure(Matter_Session_hydrate_post, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_hydrate_post, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1214,7 +1242,7 @@ be_local_closure(Matter_Session_hydrate_post, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_snd_impl),
@ -1253,7 +1281,8 @@ be_local_closure(Matter_Session_hydrate_post, /* name */
/********************************************************************
** Solidified function: get_fabric_label
********************************************************************/
be_local_closure(Matter_Session_get_fabric_label, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_fabric_label, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1261,7 +1290,7 @@ be_local_closure(Matter_Session_get_fabric_label, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1286,7 +1315,8 @@ be_local_closure(Matter_Session_get_fabric_label, /* name */
/********************************************************************
** Solidified function: get_icac
********************************************************************/
be_local_closure(Matter_Session_get_icac, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_icac, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1294,7 +1324,7 @@ be_local_closure(Matter_Session_get_icac, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1315,7 +1345,8 @@ be_local_closure(Matter_Session_get_icac, /* name */
/********************************************************************
** Solidified function: set_mode_CASE
********************************************************************/
be_local_closure(Matter_Session_set_mode_CASE, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_mode_CASE, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1323,7 +1354,7 @@ be_local_closure(Matter_Session_set_mode_CASE, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(set_mode),
@ -1345,7 +1376,8 @@ be_local_closure(Matter_Session_set_mode_CASE, /* name */
/********************************************************************
** Solidified function: counter_snd_next
********************************************************************/
be_local_closure(Matter_Session_counter_snd_next, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_counter_snd_next, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1353,7 +1385,7 @@ be_local_closure(Matter_Session_counter_snd_next, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(_counter_snd_impl),
@ -1397,7 +1429,8 @@ be_local_closure(Matter_Session_counter_snd_next, /* name */
/********************************************************************
** Solidified function: get_i2r_privacy
********************************************************************/
be_local_closure(Matter_Session_get_i2r_privacy, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_i2r_privacy, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -1405,7 +1438,7 @@ be_local_closure(Matter_Session_get_i2r_privacy, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(_i2r_privacy),
@ -1450,7 +1483,8 @@ be_local_closure(Matter_Session_get_i2r_privacy, /* name */
/********************************************************************
** Solidified function: get_i2r
********************************************************************/
be_local_closure(Matter_Session_get_i2r, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_i2r, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1458,7 +1492,7 @@ be_local_closure(Matter_Session_get_i2r, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(i2rkey),
@ -1477,7 +1511,8 @@ be_local_closure(Matter_Session_get_i2r, /* name */
/********************************************************************
** Solidified function: get_admin_vendor
********************************************************************/
be_local_closure(Matter_Session_get_admin_vendor, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_admin_vendor, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1485,7 +1520,7 @@ be_local_closure(Matter_Session_get_admin_vendor, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1510,7 +1545,8 @@ be_local_closure(Matter_Session_get_admin_vendor, /* name */
/********************************************************************
** Solidified function: set_temp_ca
********************************************************************/
be_local_closure(Matter_Session_set_temp_ca, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_temp_ca, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1518,7 +1554,7 @@ be_local_closure(Matter_Session_set_temp_ca, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
@ -1537,7 +1573,8 @@ be_local_closure(Matter_Session_set_temp_ca, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Session_init, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_init, /* name */
be_nested_proto(
10, /* nstack */
5, /* argc */
@ -1545,7 +1582,7 @@ be_local_closure(Matter_Session_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -1625,7 +1662,8 @@ be_local_closure(Matter_Session_init, /* name */
/********************************************************************
** Solidified function: get_fabric_index
********************************************************************/
be_local_closure(Matter_Session_get_fabric_index, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_fabric_index, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1633,7 +1671,7 @@ be_local_closure(Matter_Session_get_fabric_index, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1658,7 +1696,8 @@ be_local_closure(Matter_Session_get_fabric_index, /* name */
/********************************************************************
** Solidified function: get_temp_ca
********************************************************************/
be_local_closure(Matter_Session_get_temp_ca, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_temp_ca, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1666,7 +1705,7 @@ be_local_closure(Matter_Session_get_temp_ca, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(_temp_root_ca_certificate),
@ -1685,7 +1724,8 @@ be_local_closure(Matter_Session_get_temp_ca, /* name */
/********************************************************************
** Solidified function: get_pk
********************************************************************/
be_local_closure(Matter_Session_get_pk, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_get_pk, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -1693,7 +1733,7 @@ be_local_closure(Matter_Session_get_pk, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(_fabric),
@ -1731,7 +1771,8 @@ be_local_closure(Matter_Session_get_pk, /* name */
/********************************************************************
** Solidified function: set_mode_PASE
********************************************************************/
be_local_closure(Matter_Session_set_mode_PASE, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_mode_PASE, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -1739,7 +1780,7 @@ be_local_closure(Matter_Session_set_mode_PASE, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(set_mode),
@ -1761,7 +1802,8 @@ be_local_closure(Matter_Session_set_mode_PASE, /* name */
/********************************************************************
** Solidified function: set_mode
********************************************************************/
be_local_closure(Matter_Session_set_mode, /* name */
extern const bclass be_class_Matter_Session;
be_local_closure(class_Matter_Session_set_mode, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -1769,7 +1811,7 @@ be_local_closure(Matter_Session_set_mode, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(mode),
@ -1794,99 +1836,92 @@ be_local_class(Matter_Session,
&be_class_Matter_Expirable,
be_nested_map(84,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(set_mode, 6), be_const_closure(Matter_Session_set_mode_closure) },
{ be_const_key_weak(set_mode_PASE, 57), be_const_closure(Matter_Session_set_mode_PASE_closure) },
{ be_const_key_weak(set_mode, 6), be_const_closure(class_Matter_Session_set_mode_closure) },
{ be_const_key_weak(set_mode_PASE, 57), be_const_closure(class_Matter_Session_set_mode_PASE_closure) },
{ be_const_key_weak(_counter_rcv_impl, 79), be_const_var(14) },
{ be_const_key_weak(attestation_challenge, 56), be_const_var(25) },
{ be_const_key_weak(get_ac, -1), be_const_closure(Matter_Session_get_ac_closure) },
{ be_const_key_weak(get_fabric, -1), be_const_closure(Matter_Session_get_fabric_closure) },
{ be_const_key_weak(get_temp_ca, 69), be_const_closure(Matter_Session_get_temp_ca_closure) },
{ be_const_key_weak(get_ac, -1), be_const_closure(class_Matter_Session_get_ac_closure) },
{ be_const_key_weak(get_fabric, -1), be_const_closure(class_Matter_Session_get_fabric_closure) },
{ be_const_key_weak(get_temp_ca, 69), be_const_closure(class_Matter_Session_get_temp_ca_closure) },
{ be_const_key_weak(_COUNTER_SND_INCR, -1), be_const_int(1024) },
{ be_const_key_weak(_CASE, -1), be_const_int(2) },
{ be_const_key_weak(_counter_insecure_rcv, 2), be_const_var(20) },
{ be_const_key_weak(_breadcrumb, -1), be_const_var(27) },
{ be_const_key_weak(r2ikey, 82), be_const_var(23) },
{ be_const_key_weak(set_keys, 52), be_const_closure(Matter_Session_set_keys_closure) },
{ be_const_key_weak(set_keys, 52), be_const_closure(class_Matter_Session_set_keys_closure) },
{ be_const_key_weak(_exchange_id, -1), be_const_var(16) },
{ be_const_key_weak(peer_node_id, 8), be_const_var(26) },
{ be_const_key_weak(last_used, 80), be_const_var(6) },
{ be_const_key_weak(_source_node_id, 48), be_const_var(7) },
{ be_const_key_weak(init, 36), be_const_closure(Matter_Session_init_closure) },
{ be_const_key_weak(set_temp_ca, -1), be_const_closure(Matter_Session_set_temp_ca_closure) },
{ be_const_key_weak(init, 36), be_const_closure(class_Matter_Session_init_closure) },
{ be_const_key_weak(set_temp_ca, -1), be_const_closure(class_Matter_Session_set_temp_ca_closure) },
{ be_const_key_weak(created, -1), be_const_var(5) },
{ be_const_key_weak(persist_to_fabric, -1), be_const_closure(Matter_Session_persist_to_fabric_closure) },
{ be_const_key_weak(persist_to_fabric, -1), be_const_closure(class_Matter_Session_persist_to_fabric_closure) },
{ be_const_key_weak(__initiator_pub, -1), be_const_var(32) },
{ be_const_key_weak(gen_CSR, -1), be_const_closure(Matter_Session_gen_CSR_closure) },
{ be_const_key_weak(gen_CSR, -1), be_const_closure(class_Matter_Session_gen_CSR_closure) },
{ be_const_key_weak(_store, -1), be_const_var(0) },
{ be_const_key_weak(get_ipk_epoch_key, 49), be_const_closure(Matter_Session_get_ipk_epoch_key_closure) },
{ be_const_key_weak(get_ipk_epoch_key, 49), be_const_closure(class_Matter_Session_get_ipk_epoch_key_closure) },
{ be_const_key_weak(__responder_priv, 7), be_const_var(30) },
{ be_const_key_weak(counter_rcv_validate, -1), be_const_closure(Matter_Session_counter_rcv_validate_closure) },
{ be_const_key_weak(counter_rcv_validate, -1), be_const_closure(class_Matter_Session_counter_rcv_validate_closure) },
{ be_const_key_weak(_ip, -1), be_const_var(17) },
{ be_const_key_weak(get_admin_subject, 40), be_const_closure(Matter_Session_get_admin_subject_closure) },
{ be_const_key_weak(get_admin_subject, 40), be_const_closure(class_Matter_Session_get_admin_subject_closure) },
{ be_const_key_weak(resumption_id, -1), be_const_var(28) },
{ be_const_key_weak(_i2r_privacy, -1), be_const_var(24) },
{ be_const_key_weak(get_fabric_compressed, -1), be_const_closure(Matter_Session_get_fabric_compressed_closure) },
{ be_const_key_weak(get_fabric_compressed, -1), be_const_closure(class_Matter_Session_get_fabric_compressed_closure) },
{ be_const_key_weak(_temp_pk, -1), be_const_var(9) },
{ be_const_key_weak(shared_secret, 74), be_const_var(29) },
{ be_const_key_weak(_temp_root_ca_certificate, -1), be_const_var(8) },
{ be_const_key_weak(get_ca, -1), be_const_closure(Matter_Session_get_ca_closure) },
{ be_const_key_weak(get_ca, -1), be_const_closure(class_Matter_Session_get_ca_closure) },
{ be_const_key_weak(_fabric, 10), be_const_var(2) },
{ be_const_key_weak(__spake_cA, -1), be_const_var(33) },
{ be_const_key_weak(get_ipk_group_key, -1), be_const_closure(Matter_Session_get_ipk_group_key_closure) },
{ be_const_key_weak(get_ipk_group_key, -1), be_const_closure(class_Matter_Session_get_ipk_group_key_closure) },
{ be_const_key_weak(initiator_session_id, 18), be_const_var(4) },
{ be_const_key_weak(get_i2r_privacy, -1), be_const_closure(Matter_Session_get_i2r_privacy_closure) },
{ be_const_key_weak(get_i2r_privacy, -1), be_const_closure(class_Matter_Session_get_i2r_privacy_closure) },
{ be_const_key_weak(__chunked_attr_reports, -1), be_const_var(37) },
{ be_const_key_weak(get_ca_pub, -1), be_const_closure(Matter_Session_get_ca_pub_closure) },
{ be_const_key_weak(get_ca_pub, -1), be_const_closure(class_Matter_Session_get_ca_pub_closure) },
{ be_const_key_weak(counter_snd, 20), be_const_var(13) },
{ be_const_key_weak(set_fabric_label, 35), be_const_closure(Matter_Session_set_fabric_label_closure) },
{ be_const_key_weak(set_fabric_label, 35), be_const_closure(class_Matter_Session_set_fabric_label_closure) },
{ be_const_key_weak(_counter_snd_impl, 71), be_const_var(15) },
{ be_const_key_weak(is_CASE, -1), be_const_closure(Matter_Session_is_CASE_closure) },
{ be_const_key_weak(before_remove, -1), be_const_closure(Matter_Session_before_remove_closure) },
{ be_const_key_weak(set_mode_CASE, -1), be_const_closure(Matter_Session_set_mode_CASE_closure) },
{ be_const_key_weak(get_icac, -1), be_const_closure(Matter_Session_get_icac_closure) },
{ be_const_key_weak(tojson, 61), be_const_closure(Matter_Session_tojson_closure) },
{ be_const_key_weak(close, 1), be_const_closure(Matter_Session_close_closure) },
{ be_const_key_weak(get_fabric_label, 42), be_const_closure(Matter_Session_get_fabric_label_closure) },
{ be_const_key_weak(is_CASE, -1), be_const_closure(class_Matter_Session_is_CASE_closure) },
{ be_const_key_weak(before_remove, -1), be_const_closure(class_Matter_Session_before_remove_closure) },
{ be_const_key_weak(set_mode_CASE, -1), be_const_closure(class_Matter_Session_set_mode_CASE_closure) },
{ be_const_key_weak(get_icac, -1), be_const_closure(class_Matter_Session_get_icac_closure) },
{ be_const_key_weak(tojson, 61), be_const_closure(class_Matter_Session_tojson_closure) },
{ be_const_key_weak(close, 1), be_const_closure(class_Matter_Session_close_closure) },
{ be_const_key_weak(get_fabric_label, 42), be_const_closure(class_Matter_Session_get_fabric_label_closure) },
{ be_const_key_weak(_counter_insecure_snd, -1), be_const_var(21) },
{ be_const_key_weak(get_device_id, 63), be_const_closure(Matter_Session_get_device_id_closure) },
{ be_const_key_weak(get_device_id, 63), be_const_closure(class_Matter_Session_get_device_id_closure) },
{ be_const_key_weak(counter_rcv, 62), be_const_var(12) },
{ be_const_key_weak(__Msg1, -1), be_const_var(35) },
{ be_const_key_weak(hydrate_post, 66), be_const_closure(Matter_Session_hydrate_post_closure) },
{ be_const_key_weak(hydrate_post, 66), be_const_closure(class_Matter_Session_hydrate_post_closure) },
{ be_const_key_weak(_message_handler, -1), be_const_var(19) },
{ be_const_key_weak(__future_initiator_session_id, -1), be_const_var(10) },
{ be_const_key_weak(__spake_Ke, 32), be_const_var(34) },
{ be_const_key_weak(__Msg2, 38), be_const_var(36) },
{ be_const_key_weak(get_mode, -1), be_const_closure(Matter_Session_get_mode_closure) },
{ be_const_key_weak(get_mode, -1), be_const_closure(class_Matter_Session_get_mode_closure) },
{ be_const_key_weak(mode, -1), be_const_var(1) },
{ be_const_key_weak(update, 16), be_const_closure(Matter_Session_update_closure) },
{ be_const_key_weak(counter_snd_next, -1), be_const_closure(Matter_Session_counter_snd_next_closure) },
{ be_const_key_weak(get_temp_ca_pub, -1), be_const_closure(Matter_Session_get_temp_ca_pub_closure) },
{ be_const_key_weak(get_i2r, -1), be_const_closure(Matter_Session_get_i2r_closure) },
{ be_const_key_weak(get_noc, 37), be_const_closure(Matter_Session_get_noc_closure) },
{ be_const_key_weak(get_fabric_id, -1), be_const_closure(Matter_Session_get_fabric_id_closure) },
{ be_const_key_weak(get_admin_vendor, -1), be_const_closure(Matter_Session_get_admin_vendor_closure) },
{ be_const_key_weak(is_PASE, -1), be_const_closure(Matter_Session_is_PASE_closure) },
{ be_const_key_weak(save, 21), be_const_closure(Matter_Session_save_closure) },
{ be_const_key_weak(update, 16), be_const_closure(class_Matter_Session_update_closure) },
{ be_const_key_weak(counter_snd_next, -1), be_const_closure(class_Matter_Session_counter_snd_next_closure) },
{ be_const_key_weak(get_temp_ca_pub, -1), be_const_closure(class_Matter_Session_get_temp_ca_pub_closure) },
{ be_const_key_weak(get_i2r, -1), be_const_closure(class_Matter_Session_get_i2r_closure) },
{ be_const_key_weak(get_noc, 37), be_const_closure(class_Matter_Session_get_noc_closure) },
{ be_const_key_weak(get_fabric_id, -1), be_const_closure(class_Matter_Session_get_fabric_id_closure) },
{ be_const_key_weak(get_admin_vendor, -1), be_const_closure(class_Matter_Session_get_admin_vendor_closure) },
{ be_const_key_weak(is_PASE, -1), be_const_closure(class_Matter_Session_is_PASE_closure) },
{ be_const_key_weak(save, 21), be_const_closure(class_Matter_Session_save_closure) },
{ be_const_key_weak(_GROUP_KEY, -1), be_nested_str_weak(GroupKey_X20v1_X2E0) },
{ be_const_key_weak(local_session_id, 76), be_const_var(3) },
{ be_const_key_weak(i2rkey, 17), be_const_var(22) },
{ be_const_key_weak(__future_local_session_id, -1), be_const_var(11) },
{ be_const_key_weak(_PASE, -1), be_const_int(1) },
{ be_const_key_weak(get_fabric_index, -1), be_const_closure(Matter_Session_get_fabric_index_closure) },
{ be_const_key_weak(get_fabric_index, -1), be_const_closure(class_Matter_Session_get_fabric_index_closure) },
{ be_const_key_weak(_port, -1), be_const_var(18) },
{ be_const_key_weak(get_r2i, -1), be_const_closure(Matter_Session_get_r2i_closure) },
{ be_const_key_weak(get_pk, -1), be_const_closure(Matter_Session_get_pk_closure) },
{ be_const_key_weak(get_r2i, -1), be_const_closure(class_Matter_Session_get_r2i_closure) },
{ be_const_key_weak(get_pk, -1), be_const_closure(class_Matter_Session_get_pk_closure) },
{ be_const_key_weak(__responder_pub, -1), be_const_var(31) },
{ be_const_key_weak(fromjson, 0), be_const_static_closure(Matter_Session_fromjson_closure) },
{ be_const_key_weak(fromjson, 0), be_const_static_closure(class_Matter_Session_fromjson_closure) },
})),
be_str_weak(Matter_Session)
);
/*******************************************************************/
void be_load_Matter_Session_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Session);
be_setglobal(vm, "Matter_Session");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_Session_Store;
/********************************************************************
** Solidified function: remove_session
********************************************************************/
be_local_closure(Matter_Session_Store_remove_session, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_remove_session, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_Session_Store_remove_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_int(0),
@ -54,7 +55,8 @@ be_local_closure(Matter_Session_Store_remove_session, /* name */
/********************************************************************
** Solidified function: gen_local_session_id
********************************************************************/
be_local_closure(Matter_Session_Store_gen_local_session_id, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_gen_local_session_id, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -62,7 +64,7 @@ be_local_closure(Matter_Session_Store_gen_local_session_id, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(crypto),
@ -103,7 +105,8 @@ be_local_closure(Matter_Session_Store_gen_local_session_id, /* name */
/********************************************************************
** Solidified function: load_fabrics
********************************************************************/
be_local_closure(Matter_Session_Store_load_fabrics, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_load_fabrics, /* name */
be_nested_proto(
16, /* nstack */
1, /* argc */
@ -111,7 +114,7 @@ be_local_closure(Matter_Session_Store_load_fabrics, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[27]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
@ -271,7 +274,8 @@ be_local_closure(Matter_Session_Store_load_fabrics, /* name */
/********************************************************************
** Solidified function: find_children_fabrics
********************************************************************/
be_local_closure(Matter_Session_Store_find_children_fabrics, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_find_children_fabrics, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -279,7 +283,7 @@ be_local_closure(Matter_Session_Store_find_children_fabrics, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -291,7 +295,7 @@ be_local_closure(Matter_Session_Store_find_children_fabrics, /* name */
be_local_const_upval(1, 3),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(active_fabrics),
@ -336,6 +340,7 @@ be_local_closure(Matter_Session_Store_find_children_fabrics, /* name */
0x80000000, // 001D RET 0
})
),
&be_class_Matter_Session_Store,
}),
0, /* has constants */
NULL, /* no const */
@ -366,7 +371,8 @@ be_local_closure(Matter_Session_Store_find_children_fabrics, /* name */
/********************************************************************
** Solidified function: sessions_active
********************************************************************/
be_local_closure(Matter_Session_Store_sessions_active, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_sessions_active, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -374,7 +380,7 @@ be_local_closure(Matter_Session_Store_sessions_active, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_const_int(0),
@ -418,7 +424,8 @@ be_local_closure(Matter_Session_Store_sessions_active, /* name */
/********************************************************************
** Solidified function: find_fabric_by_index
********************************************************************/
be_local_closure(Matter_Session_Store_find_fabric_by_index, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_find_fabric_by_index, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -426,7 +433,7 @@ be_local_closure(Matter_Session_Store_find_fabric_by_index, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(active_fabrics),
@ -464,7 +471,8 @@ be_local_closure(Matter_Session_Store_find_fabric_by_index, /* name */
/********************************************************************
** Solidified function: active_fabrics
********************************************************************/
be_local_closure(Matter_Session_Store_active_fabrics, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_active_fabrics, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -472,7 +480,7 @@ be_local_closure(Matter_Session_Store_active_fabrics, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(remove_expired),
@ -497,7 +505,8 @@ be_local_closure(Matter_Session_Store_active_fabrics, /* name */
/********************************************************************
** Solidified function: create_fabric
********************************************************************/
be_local_closure(Matter_Session_Store_create_fabric, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_create_fabric, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -505,7 +514,7 @@ be_local_closure(Matter_Session_Store_create_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -528,7 +537,8 @@ be_local_closure(Matter_Session_Store_create_fabric, /* name */
/********************************************************************
** Solidified function: count_active_fabrics
********************************************************************/
be_local_closure(Matter_Session_Store_count_active_fabrics, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_count_active_fabrics, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -536,7 +546,7 @@ be_local_closure(Matter_Session_Store_count_active_fabrics, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(remove_expired),
@ -569,7 +579,8 @@ be_local_closure(Matter_Session_Store_count_active_fabrics, /* name */
/********************************************************************
** Solidified function: find_session_by_resumption_id
********************************************************************/
be_local_closure(Matter_Session_Store_find_session_by_resumption_id, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_find_session_by_resumption_id, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -577,7 +588,7 @@ be_local_closure(Matter_Session_Store_find_session_by_resumption_id, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_const_int(0),
@ -640,7 +651,8 @@ be_local_closure(Matter_Session_Store_find_session_by_resumption_id, /* name *
/********************************************************************
** Solidified function: add_session
********************************************************************/
be_local_closure(Matter_Session_Store_add_session, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_add_session, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -648,7 +660,7 @@ be_local_closure(Matter_Session_Store_add_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(set_expire_in_seconds),
@ -678,7 +690,8 @@ be_local_closure(Matter_Session_Store_add_session, /* name */
/********************************************************************
** Solidified function: find_session_source_id_unsecure
********************************************************************/
be_local_closure(Matter_Session_Store_find_session_source_id_unsecure, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_find_session_source_id_unsecure, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -686,7 +699,7 @@ be_local_closure(Matter_Session_Store_find_session_source_id_unsecure, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(get_session_by_source_node_id),
@ -735,7 +748,8 @@ be_local_closure(Matter_Session_Store_find_session_source_id_unsecure, /* name
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_Session_Store_every_second, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_every_second, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -743,7 +757,7 @@ be_local_closure(Matter_Session_Store_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(remove_expired),
@ -763,7 +777,8 @@ be_local_closure(Matter_Session_Store_every_second, /* name */
/********************************************************************
** Solidified function: get_session_by_local_session_id
********************************************************************/
be_local_closure(Matter_Session_Store_get_session_by_local_session_id, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_get_session_by_local_session_id, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -771,7 +786,7 @@ be_local_closure(Matter_Session_Store_get_session_by_local_session_id, /* name
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
@ -814,7 +829,8 @@ be_local_closure(Matter_Session_Store_get_session_by_local_session_id, /* name
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_Session_Store_init, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_init, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -822,7 +838,7 @@ be_local_closure(Matter_Session_Store_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -853,7 +869,8 @@ be_local_closure(Matter_Session_Store_init, /* name */
/********************************************************************
** Solidified function: remove_expired
********************************************************************/
be_local_closure(Matter_Session_Store_remove_expired, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_remove_expired, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -861,7 +878,7 @@ be_local_closure(Matter_Session_Store_remove_expired, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
@ -887,7 +904,8 @@ be_local_closure(Matter_Session_Store_remove_expired, /* name */
/********************************************************************
** Solidified function: remove_redundant_fabric
********************************************************************/
be_local_closure(Matter_Session_Store_remove_redundant_fabric, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_remove_redundant_fabric, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -895,7 +913,7 @@ be_local_closure(Matter_Session_Store_remove_redundant_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_const_int(0),
@ -943,7 +961,8 @@ be_local_closure(Matter_Session_Store_remove_redundant_fabric, /* name */
/********************************************************************
** Solidified function: add_fabric
********************************************************************/
be_local_closure(Matter_Session_Store_add_fabric, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_add_fabric, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -951,7 +970,7 @@ be_local_closure(Matter_Session_Store_add_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -997,7 +1016,8 @@ be_local_closure(Matter_Session_Store_add_fabric, /* name */
/********************************************************************
** Solidified function: get_session_by_source_node_id
********************************************************************/
be_local_closure(Matter_Session_Store_get_session_by_source_node_id, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_get_session_by_source_node_id, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -1005,7 +1025,7 @@ be_local_closure(Matter_Session_Store_get_session_by_source_node_id, /* name *
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
@ -1048,7 +1068,8 @@ be_local_closure(Matter_Session_Store_get_session_by_source_node_id, /* name *
/********************************************************************
** Solidified function: next_fabric_idx
********************************************************************/
be_local_closure(Matter_Session_Store_next_fabric_idx, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_next_fabric_idx, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -1056,7 +1077,7 @@ be_local_closure(Matter_Session_Store_next_fabric_idx, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(remove_expired),
@ -1103,7 +1124,8 @@ be_local_closure(Matter_Session_Store_next_fabric_idx, /* name */
/********************************************************************
** Solidified function: save_fabrics
********************************************************************/
be_local_closure(Matter_Session_Store_save_fabrics, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_save_fabrics, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -1111,7 +1133,7 @@ be_local_closure(Matter_Session_Store_save_fabrics, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[29]) { /* constants */
/* K0 */ be_nested_str_weak(json),
@ -1257,7 +1279,8 @@ be_local_closure(Matter_Session_Store_save_fabrics, /* name */
/********************************************************************
** Solidified function: create_session
********************************************************************/
be_local_closure(Matter_Session_Store_create_session, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_create_session, /* name */
be_nested_proto(
9, /* nstack */
3, /* argc */
@ -1265,7 +1288,7 @@ be_local_closure(Matter_Session_Store_create_session, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(get_session_by_local_session_id),
@ -1308,7 +1331,8 @@ be_local_closure(Matter_Session_Store_create_session, /* name */
/********************************************************************
** Solidified function: remove_fabric
********************************************************************/
be_local_closure(Matter_Session_Store_remove_fabric, /* name */
extern const bclass be_class_Matter_Session_Store;
be_local_closure(class_Matter_Session_Store_remove_fabric, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -1316,7 +1340,7 @@ be_local_closure(Matter_Session_Store_remove_fabric, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_Session_Store,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(sessions),
@ -1379,42 +1403,35 @@ be_local_class(Matter_Session_Store,
be_nested_map(28,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(sessions, -1), be_const_var(1) },
{ be_const_key_weak(remove_fabric, -1), be_const_closure(Matter_Session_Store_remove_fabric_closure) },
{ be_const_key_weak(remove_session, -1), be_const_closure(Matter_Session_Store_remove_session_closure) },
{ be_const_key_weak(active_fabrics, -1), be_const_closure(Matter_Session_Store_active_fabrics_closure) },
{ be_const_key_weak(load_fabrics, 18), be_const_closure(Matter_Session_Store_load_fabrics_closure) },
{ be_const_key_weak(remove_fabric, -1), be_const_closure(class_Matter_Session_Store_remove_fabric_closure) },
{ be_const_key_weak(remove_session, -1), be_const_closure(class_Matter_Session_Store_remove_session_closure) },
{ be_const_key_weak(active_fabrics, -1), be_const_closure(class_Matter_Session_Store_active_fabrics_closure) },
{ be_const_key_weak(load_fabrics, 18), be_const_closure(class_Matter_Session_Store_load_fabrics_closure) },
{ be_const_key_weak(fabrics, -1), be_const_var(2) },
{ be_const_key_weak(save_fabrics, -1), be_const_closure(Matter_Session_Store_save_fabrics_closure) },
{ be_const_key_weak(save_fabrics, -1), be_const_closure(class_Matter_Session_Store_save_fabrics_closure) },
{ be_const_key_weak(_FABRICS_TEMP, 22), be_nested_str_weak(_X2F_matter_fabrics_X2Etmp) },
{ be_const_key_weak(create_fabric, -1), be_const_closure(Matter_Session_Store_create_fabric_closure) },
{ be_const_key_weak(find_fabric_by_index, -1), be_const_closure(Matter_Session_Store_find_fabric_by_index_closure) },
{ be_const_key_weak(gen_local_session_id, 3), be_const_closure(Matter_Session_Store_gen_local_session_id_closure) },
{ be_const_key_weak(sessions_active, 8), be_const_closure(Matter_Session_Store_sessions_active_closure) },
{ be_const_key_weak(create_fabric, -1), be_const_closure(class_Matter_Session_Store_create_fabric_closure) },
{ be_const_key_weak(find_fabric_by_index, -1), be_const_closure(class_Matter_Session_Store_find_fabric_by_index_closure) },
{ be_const_key_weak(gen_local_session_id, 3), be_const_closure(class_Matter_Session_Store_gen_local_session_id_closure) },
{ be_const_key_weak(sessions_active, 8), be_const_closure(class_Matter_Session_Store_sessions_active_closure) },
{ be_const_key_weak(_FABRICS, -1), be_nested_str_weak(_X2F_matter_fabrics_X2Ejson) },
{ be_const_key_weak(get_session_by_source_node_id, -1), be_const_closure(Matter_Session_Store_get_session_by_source_node_id_closure) },
{ be_const_key_weak(count_active_fabrics, 23), be_const_closure(Matter_Session_Store_count_active_fabrics_closure) },
{ be_const_key_weak(add_session, 13), be_const_closure(Matter_Session_Store_add_session_closure) },
{ be_const_key_weak(find_session_source_id_unsecure, -1), be_const_closure(Matter_Session_Store_find_session_source_id_unsecure_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_Session_Store_every_second_closure) },
{ be_const_key_weak(add_fabric, -1), be_const_closure(Matter_Session_Store_add_fabric_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_Session_Store_init_closure) },
{ be_const_key_weak(remove_redundant_fabric, -1), be_const_closure(Matter_Session_Store_remove_redundant_fabric_closure) },
{ be_const_key_weak(get_session_by_local_session_id, 20), be_const_closure(Matter_Session_Store_get_session_by_local_session_id_closure) },
{ be_const_key_weak(remove_expired, -1), be_const_closure(Matter_Session_Store_remove_expired_closure) },
{ be_const_key_weak(find_session_by_resumption_id, -1), be_const_closure(Matter_Session_Store_find_session_by_resumption_id_closure) },
{ be_const_key_weak(next_fabric_idx, -1), be_const_closure(Matter_Session_Store_next_fabric_idx_closure) },
{ be_const_key_weak(find_children_fabrics, 6), be_const_closure(Matter_Session_Store_find_children_fabrics_closure) },
{ be_const_key_weak(create_session, -1), be_const_closure(Matter_Session_Store_create_session_closure) },
{ be_const_key_weak(get_session_by_source_node_id, -1), be_const_closure(class_Matter_Session_Store_get_session_by_source_node_id_closure) },
{ be_const_key_weak(count_active_fabrics, 23), be_const_closure(class_Matter_Session_Store_count_active_fabrics_closure) },
{ be_const_key_weak(add_session, 13), be_const_closure(class_Matter_Session_Store_add_session_closure) },
{ be_const_key_weak(find_session_source_id_unsecure, -1), be_const_closure(class_Matter_Session_Store_find_session_source_id_unsecure_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_Session_Store_every_second_closure) },
{ be_const_key_weak(add_fabric, -1), be_const_closure(class_Matter_Session_Store_add_fabric_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_Session_Store_init_closure) },
{ be_const_key_weak(remove_redundant_fabric, -1), be_const_closure(class_Matter_Session_Store_remove_redundant_fabric_closure) },
{ be_const_key_weak(get_session_by_local_session_id, 20), be_const_closure(class_Matter_Session_Store_get_session_by_local_session_id_closure) },
{ be_const_key_weak(remove_expired, -1), be_const_closure(class_Matter_Session_Store_remove_expired_closure) },
{ be_const_key_weak(find_session_by_resumption_id, -1), be_const_closure(class_Matter_Session_Store_find_session_by_resumption_id_closure) },
{ be_const_key_weak(next_fabric_idx, -1), be_const_closure(class_Matter_Session_Store_next_fabric_idx_closure) },
{ be_const_key_weak(find_children_fabrics, 6), be_const_closure(class_Matter_Session_Store_find_children_fabrics_closure) },
{ be_const_key_weak(create_session, -1), be_const_closure(class_Matter_Session_Store_create_session_closure) },
{ be_const_key_weak(device, 1), be_const_var(0) },
})),
be_str_weak(Matter_Session_Store)
);
/*******************************************************************/
void be_load_Matter_Session_Store_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_Session_Store);
be_setglobal(vm, "Matter_Session_Store");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_TCP_async;
/********************************************************************
** Solidified function: read
********************************************************************/
be_local_closure(Matter_TCP_async_read, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_read, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_TCP_async_read, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -44,7 +45,8 @@ be_local_closure(Matter_TCP_async_read, /* name */
/********************************************************************
** Solidified function: begin
********************************************************************/
be_local_closure(Matter_TCP_async_begin, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_begin, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -52,7 +54,7 @@ be_local_closure(Matter_TCP_async_begin, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[23]) { /* constants */
/* K0 */ be_nested_str_weak(reset),
@ -154,7 +156,8 @@ be_local_closure(Matter_TCP_async_begin, /* name */
/********************************************************************
** Solidified function: readbytes
********************************************************************/
be_local_closure(Matter_TCP_async_readbytes, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_readbytes, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -162,7 +165,7 @@ be_local_closure(Matter_TCP_async_readbytes, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -189,7 +192,8 @@ be_local_closure(Matter_TCP_async_readbytes, /* name */
/********************************************************************
** Solidified function: event_closed
********************************************************************/
be_local_closure(Matter_TCP_async_event_closed, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_closed, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -197,7 +201,7 @@ be_local_closure(Matter_TCP_async_event_closed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_closed),
@ -213,7 +217,8 @@ be_local_closure(Matter_TCP_async_event_closed, /* name */
/********************************************************************
** Solidified function: available
********************************************************************/
be_local_closure(Matter_TCP_async_available, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_available, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -221,7 +226,7 @@ be_local_closure(Matter_TCP_async_available, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -248,7 +253,8 @@ be_local_closure(Matter_TCP_async_available, /* name */
/********************************************************************
** Solidified function: event_listening
********************************************************************/
be_local_closure(Matter_TCP_async_event_listening, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_listening, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -256,7 +262,7 @@ be_local_closure(Matter_TCP_async_event_listening, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_listening),
@ -272,7 +278,8 @@ be_local_closure(Matter_TCP_async_event_listening, /* name */
/********************************************************************
** Solidified function: get_timeout
********************************************************************/
be_local_closure(Matter_TCP_async_get_timeout, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_get_timeout, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -280,7 +287,7 @@ be_local_closure(Matter_TCP_async_get_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(timeout),
@ -299,7 +306,8 @@ be_local_closure(Matter_TCP_async_get_timeout, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_TCP_async_init, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_init, /* name */
be_nested_proto(
7, /* nstack */
5, /* argc */
@ -307,7 +315,7 @@ be_local_closure(Matter_TCP_async_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -317,7 +325,7 @@ be_local_closure(Matter_TCP_async_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(loop),
@ -331,6 +339,7 @@ be_local_closure(Matter_TCP_async_init, /* name */
0x80040000, // 0003 RET 1 R0
})
),
&be_class_Matter_TCP_async,
}),
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
@ -379,7 +388,8 @@ be_local_closure(Matter_TCP_async_init, /* name */
/********************************************************************
** Solidified function: every_50ms
********************************************************************/
be_local_closure(Matter_TCP_async_every_50ms, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_every_50ms, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -387,7 +397,7 @@ be_local_closure(Matter_TCP_async_every_50ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(loop),
@ -407,7 +417,8 @@ be_local_closure(Matter_TCP_async_every_50ms, /* name */
/********************************************************************
** Solidified function: event_timeout
********************************************************************/
be_local_closure(Matter_TCP_async_event_timeout, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_timeout, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -415,7 +426,7 @@ be_local_closure(Matter_TCP_async_event_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_timeout),
@ -431,7 +442,8 @@ be_local_closure(Matter_TCP_async_event_timeout, /* name */
/********************************************************************
** Solidified function: event_available
********************************************************************/
be_local_closure(Matter_TCP_async_event_available, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_available, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -439,7 +451,7 @@ be_local_closure(Matter_TCP_async_event_available, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_available),
@ -455,7 +467,8 @@ be_local_closure(Matter_TCP_async_event_available, /* name */
/********************************************************************
** Solidified function: write
********************************************************************/
be_local_closure(Matter_TCP_async_write, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_write, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -463,7 +476,7 @@ be_local_closure(Matter_TCP_async_write, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -491,7 +504,8 @@ be_local_closure(Matter_TCP_async_write, /* name */
/********************************************************************
** Solidified function: event_established
********************************************************************/
be_local_closure(Matter_TCP_async_event_established, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_established, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -499,7 +513,7 @@ be_local_closure(Matter_TCP_async_event_established, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_established),
@ -515,7 +529,8 @@ be_local_closure(Matter_TCP_async_event_established, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_TCP_async_reset, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_reset, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -523,7 +538,7 @@ be_local_closure(Matter_TCP_async_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tcp),
@ -548,7 +563,8 @@ be_local_closure(Matter_TCP_async_reset, /* name */
/********************************************************************
** Solidified function: loop
********************************************************************/
be_local_closure(Matter_TCP_async_loop, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_loop, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -556,7 +572,7 @@ be_local_closure(Matter_TCP_async_loop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -679,7 +695,8 @@ be_local_closure(Matter_TCP_async_loop, /* name */
/********************************************************************
** Solidified function: listening
********************************************************************/
be_local_closure(Matter_TCP_async_listening, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_listening, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -687,7 +704,7 @@ be_local_closure(Matter_TCP_async_listening, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tcp_connected),
@ -714,7 +731,8 @@ be_local_closure(Matter_TCP_async_listening, /* name */
/********************************************************************
** Solidified function: set_timeout
********************************************************************/
be_local_closure(Matter_TCP_async_set_timeout, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_set_timeout, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -722,7 +740,7 @@ be_local_closure(Matter_TCP_async_set_timeout, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(TIMEOUT),
@ -746,7 +764,8 @@ be_local_closure(Matter_TCP_async_set_timeout, /* name */
/********************************************************************
** Solidified function: event_dnsfailed
********************************************************************/
be_local_closure(Matter_TCP_async_event_dnsfailed, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_dnsfailed, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -754,7 +773,7 @@ be_local_closure(Matter_TCP_async_event_dnsfailed, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_dnsfailed),
@ -770,7 +789,8 @@ be_local_closure(Matter_TCP_async_event_dnsfailed, /* name */
/********************************************************************
** Solidified function: close
********************************************************************/
be_local_closure(Matter_TCP_async_close, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_close, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -778,7 +798,7 @@ be_local_closure(Matter_TCP_async_close, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(tcp),
@ -825,7 +845,8 @@ be_local_closure(Matter_TCP_async_close, /* name */
/********************************************************************
** Solidified function: event_refused
********************************************************************/
be_local_closure(Matter_TCP_async_event_refused, /* name */
extern const bclass be_class_Matter_TCP_async;
be_local_closure(class_Matter_TCP_async_event_refused, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -833,7 +854,7 @@ be_local_closure(Matter_TCP_async_event_refused, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TCP_async,
0, /* has constants */
NULL, /* no const */
be_str_weak(event_refused),
@ -854,44 +875,37 @@ be_local_class(Matter_TCP_async,
NULL,
be_nested_map(29,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(read, 13), be_const_closure(Matter_TCP_async_read_closure) },
{ be_const_key_weak(read, 13), be_const_closure(class_Matter_TCP_async_read_closure) },
{ be_const_key_weak(addr, -1), be_const_var(0) },
{ be_const_key_weak(event_refused, -1), be_const_closure(Matter_TCP_async_event_refused_closure) },
{ be_const_key_weak(begin, -1), be_const_closure(Matter_TCP_async_begin_closure) },
{ be_const_key_weak(readbytes, -1), be_const_closure(Matter_TCP_async_readbytes_closure) },
{ be_const_key_weak(event_closed, 11), be_const_closure(Matter_TCP_async_event_closed_closure) },
{ be_const_key_weak(event_listening, -1), be_const_closure(Matter_TCP_async_event_listening_closure) },
{ be_const_key_weak(event_refused, -1), be_const_closure(class_Matter_TCP_async_event_refused_closure) },
{ be_const_key_weak(begin, -1), be_const_closure(class_Matter_TCP_async_begin_closure) },
{ be_const_key_weak(readbytes, -1), be_const_closure(class_Matter_TCP_async_readbytes_closure) },
{ be_const_key_weak(event_closed, 11), be_const_closure(class_Matter_TCP_async_event_closed_closure) },
{ be_const_key_weak(event_listening, -1), be_const_closure(class_Matter_TCP_async_event_listening_closure) },
{ be_const_key_weak(tcp_connected, -1), be_const_var(5) },
{ be_const_key_weak(get_timeout, -1), be_const_closure(Matter_TCP_async_get_timeout_closure) },
{ be_const_key_weak(get_timeout, -1), be_const_closure(class_Matter_TCP_async_get_timeout_closure) },
{ be_const_key_weak(timeout, 18), be_const_var(2) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_TCP_async_init_closure) },
{ be_const_key_weak(event_timeout, 6), be_const_closure(Matter_TCP_async_event_timeout_closure) },
{ be_const_key_weak(set_timeout, -1), be_const_closure(Matter_TCP_async_set_timeout_closure) },
{ be_const_key_weak(listening, 23), be_const_closure(Matter_TCP_async_listening_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_TCP_async_init_closure) },
{ be_const_key_weak(event_timeout, 6), be_const_closure(class_Matter_TCP_async_event_timeout_closure) },
{ be_const_key_weak(set_timeout, -1), be_const_closure(class_Matter_TCP_async_set_timeout_closure) },
{ be_const_key_weak(listening, 23), be_const_closure(class_Matter_TCP_async_listening_closure) },
{ be_const_key_weak(tcp, -1), be_const_var(3) },
{ be_const_key_weak(event_available, -1), be_const_closure(Matter_TCP_async_event_available_closure) },
{ be_const_key_weak(write, -1), be_const_closure(Matter_TCP_async_write_closure) },
{ be_const_key_weak(event_established, -1), be_const_closure(Matter_TCP_async_event_established_closure) },
{ be_const_key_weak(event_available, -1), be_const_closure(class_Matter_TCP_async_event_available_closure) },
{ be_const_key_weak(write, -1), be_const_closure(class_Matter_TCP_async_write_closure) },
{ be_const_key_weak(event_established, -1), be_const_closure(class_Matter_TCP_async_event_established_closure) },
{ be_const_key_weak(TIMEOUT, 7), be_const_int(1000) },
{ be_const_key_weak(time_start, 22), be_const_var(4) },
{ be_const_key_weak(reset, -1), be_const_closure(Matter_TCP_async_reset_closure) },
{ be_const_key_weak(loop, -1), be_const_closure(Matter_TCP_async_loop_closure) },
{ be_const_key_weak(reset, -1), be_const_closure(class_Matter_TCP_async_reset_closure) },
{ be_const_key_weak(loop, -1), be_const_closure(class_Matter_TCP_async_loop_closure) },
{ be_const_key_weak(status, -1), be_const_var(6) },
{ be_const_key_weak(port, -1), be_const_var(1) },
{ be_const_key_weak(every_50ms, 12), be_const_closure(Matter_TCP_async_every_50ms_closure) },
{ be_const_key_weak(every_50ms, 12), be_const_closure(class_Matter_TCP_async_every_50ms_closure) },
{ be_const_key_weak(fast_loop, -1), be_const_var(7) },
{ be_const_key_weak(event_dnsfailed, -1), be_const_closure(Matter_TCP_async_event_dnsfailed_closure) },
{ be_const_key_weak(close, -1), be_const_closure(Matter_TCP_async_close_closure) },
{ be_const_key_weak(available, 2), be_const_closure(Matter_TCP_async_available_closure) },
{ be_const_key_weak(event_dnsfailed, -1), be_const_closure(class_Matter_TCP_async_event_dnsfailed_closure) },
{ be_const_key_weak(close, -1), be_const_closure(class_Matter_TCP_async_close_closure) },
{ be_const_key_weak(available, 2), be_const_closure(class_Matter_TCP_async_available_closure) },
})),
be_str_weak(Matter_TCP_async)
);
/*******************************************************************/
void be_load_Matter_TCP_async_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TCP_async);
be_setglobal(vm, "Matter_TCP_async");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_TLV_item;
/********************************************************************
** Solidified function: to_TLV
********************************************************************/
be_local_closure(Matter_TLV_item_to_TLV, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_to_TLV, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_TLV_item_to_TLV, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
0, /* has constants */
NULL, /* no const */
be_str_weak(to_TLV),
@ -33,7 +34,8 @@ be_local_closure(Matter_TLV_item_to_TLV, /* name */
/********************************************************************
** Solidified function: set_parent
********************************************************************/
be_local_closure(Matter_TLV_item_set_parent, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set_parent, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -41,7 +43,7 @@ be_local_closure(Matter_TLV_item_set_parent, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parent),
@ -60,7 +62,8 @@ be_local_closure(Matter_TLV_item_set_parent, /* name */
/********************************************************************
** Solidified function: set_fulltag
********************************************************************/
be_local_closure(Matter_TLV_item_set_fulltag, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set_fulltag, /* name */
be_nested_proto(
6, /* nstack */
4, /* argc */
@ -68,7 +71,7 @@ be_local_closure(Matter_TLV_item_set_fulltag, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tag_vendor),
@ -103,7 +106,8 @@ be_local_closure(Matter_TLV_item_set_fulltag, /* name */
/********************************************************************
** Solidified function: set_contextspecific
********************************************************************/
be_local_closure(Matter_TLV_item_set_contextspecific, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set_contextspecific, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -111,7 +115,7 @@ be_local_closure(Matter_TLV_item_set_contextspecific, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(set_fulltag),
@ -136,7 +140,8 @@ be_local_closure(Matter_TLV_item_set_contextspecific, /* name */
/********************************************************************
** Solidified function: sort
********************************************************************/
be_local_closure(Matter_TLV_item_sort, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_sort, /* name */
be_nested_proto(
9, /* nstack */
1, /* argc */
@ -144,7 +149,7 @@ be_local_closure(Matter_TLV_item_sort, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_TLV_item),
@ -198,7 +203,8 @@ be_local_closure(Matter_TLV_item_sort, /* name */
/********************************************************************
** Solidified function: to_str_val
********************************************************************/
be_local_closure(Matter_TLV_item_to_str_val, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_to_str_val, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -206,7 +212,7 @@ be_local_closure(Matter_TLV_item_to_str_val, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -336,7 +342,8 @@ be_local_closure(Matter_TLV_item_to_str_val, /* name */
/********************************************************************
** Solidified function: encode_len
********************************************************************/
be_local_closure(Matter_TLV_item_encode_len, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_encode_len, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -344,7 +351,7 @@ be_local_closure(Matter_TLV_item_encode_len, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[32]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -650,7 +657,8 @@ be_local_closure(Matter_TLV_item_encode_len, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Matter_TLV_item_reset, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_reset, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -658,7 +666,7 @@ be_local_closure(Matter_TLV_item_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(parent),
@ -692,7 +700,8 @@ be_local_closure(Matter_TLV_item_reset, /* name */
/********************************************************************
** Solidified function: create_TLV
********************************************************************/
be_local_closure(Matter_TLV_item_create_TLV, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_create_TLV, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -700,7 +709,7 @@ be_local_closure(Matter_TLV_item_create_TLV, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_TLV_item),
@ -732,7 +741,8 @@ be_local_closure(Matter_TLV_item_create_TLV, /* name */
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_TLV_item_parse, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_parse, /* name */
be_nested_proto(
10, /* nstack */
3, /* argc */
@ -740,7 +750,7 @@ be_local_closure(Matter_TLV_item_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[25]) { /* constants */
/* K0 */ be_nested_str_weak(typ),
@ -884,7 +894,8 @@ be_local_closure(Matter_TLV_item_parse, /* name */
/********************************************************************
** Solidified function: _encode_tag_len
********************************************************************/
be_local_closure(Matter_TLV_item__encode_tag_len, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item__encode_tag_len, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -892,7 +903,7 @@ be_local_closure(Matter_TLV_item__encode_tag_len, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(tag_number),
@ -970,7 +981,8 @@ be_local_closure(Matter_TLV_item__encode_tag_len, /* name */
/********************************************************************
** Solidified function: set
********************************************************************/
be_local_closure(Matter_TLV_item_set, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set, /* name */
be_nested_proto(
5, /* nstack */
3, /* argc */
@ -978,7 +990,7 @@ be_local_closure(Matter_TLV_item_set, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(reset),
@ -1009,7 +1021,8 @@ be_local_closure(Matter_TLV_item_set, /* name */
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_TLV_item_tlv2raw, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_tlv2raw, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -1017,7 +1030,7 @@ be_local_closure(Matter_TLV_item_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[42]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -1443,7 +1456,8 @@ be_local_closure(Matter_TLV_item_tlv2raw, /* name */
/********************************************************************
** Solidified function: set_anonymoustag
********************************************************************/
be_local_closure(Matter_TLV_item_set_anonymoustag, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set_anonymoustag, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1451,7 +1465,7 @@ be_local_closure(Matter_TLV_item_set_anonymoustag, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(set_fulltag),
@ -1471,7 +1485,8 @@ be_local_closure(Matter_TLV_item_set_anonymoustag, /* name */
/********************************************************************
** Solidified function: _cmp_gt
********************************************************************/
be_local_closure(Matter_TLV_item__cmp_gt, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item__cmp_gt, /* name */
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -1479,7 +1494,7 @@ be_local_closure(Matter_TLV_item__cmp_gt, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(tag_vendor),
@ -1573,7 +1588,8 @@ be_local_closure(Matter_TLV_item__cmp_gt, /* name */
/********************************************************************
** Solidified function: _encode_tag
********************************************************************/
be_local_closure(Matter_TLV_item__encode_tag, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item__encode_tag, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -1581,7 +1597,7 @@ be_local_closure(Matter_TLV_item__encode_tag, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(tag_number),
@ -1739,7 +1755,8 @@ be_local_closure(Matter_TLV_item__encode_tag, /* name */
/********************************************************************
** Solidified function: tostring
********************************************************************/
be_local_closure(Matter_TLV_item_tostring, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_tostring, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -1747,7 +1764,7 @@ be_local_closure(Matter_TLV_item_tostring, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[34]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -1964,7 +1981,8 @@ be_local_closure(Matter_TLV_item_tostring, /* name */
/********************************************************************
** Solidified function: set_commonprofile
********************************************************************/
be_local_closure(Matter_TLV_item_set_commonprofile, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_set_commonprofile, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -1972,7 +1990,7 @@ be_local_closure(Matter_TLV_item_set_commonprofile, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(set_fulltag),
@ -1995,7 +2013,8 @@ be_local_closure(Matter_TLV_item_set_commonprofile, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_TLV_item_init, /* name */
extern const bclass be_class_Matter_TLV_item;
be_local_closure(class_Matter_TLV_item_init, /* name */
be_nested_proto(
2, /* nstack */
2, /* argc */
@ -2003,7 +2022,7 @@ be_local_closure(Matter_TLV_item_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_item,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(parent),
@ -2028,53 +2047,47 @@ be_local_class(Matter_TLV_item,
be_nested_map(31,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(is_array, 17), be_const_bool(0) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_TLV_item_init_closure) },
{ be_const_key_weak(set_parent, -1), be_const_closure(Matter_TLV_item_set_parent_closure) },
{ be_const_key_weak(set_fulltag, -1), be_const_closure(Matter_TLV_item_set_fulltag_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_TLV_item_init_closure) },
{ be_const_key_weak(set_parent, -1), be_const_closure(class_Matter_TLV_item_set_parent_closure) },
{ be_const_key_weak(set_fulltag, -1), be_const_closure(class_Matter_TLV_item_set_fulltag_closure) },
{ be_const_key_weak(typ, -1), be_const_var(6) },
{ be_const_key_weak(parse, 30), be_const_closure(Matter_TLV_item_parse_closure) },
{ be_const_key_weak(parse, 30), be_const_closure(class_Matter_TLV_item_parse_closure) },
{ be_const_key_weak(parent, 22), be_const_var(0) },
{ be_const_key_weak(to_str_val, -1), be_const_closure(Matter_TLV_item_to_str_val_closure) },
{ be_const_key_weak(encode_len, 4), be_const_closure(Matter_TLV_item_encode_len_closure) },
{ be_const_key_weak(to_str_val, -1), be_const_closure(class_Matter_TLV_item_to_str_val_closure) },
{ be_const_key_weak(encode_len, 4), be_const_closure(class_Matter_TLV_item_encode_len_closure) },
{ be_const_key_weak(TLV, 20), be_const_class(be_class_Matter_TLV) },
{ be_const_key_weak(reset, 0), be_const_closure(Matter_TLV_item_reset_closure) },
{ be_const_key_weak(reset, 0), be_const_closure(class_Matter_TLV_item_reset_closure) },
{ be_const_key_weak(tag_profile, -1), be_const_var(3) },
{ be_const_key_weak(create_TLV, -1), be_const_static_closure(Matter_TLV_item_create_TLV_closure) },
{ be_const_key_weak(create_TLV, -1), be_const_static_closure(class_Matter_TLV_item_create_TLV_closure) },
{ be_const_key_weak(tag_sub, -1), be_const_var(5) },
{ be_const_key_weak(tag_vendor, -1), be_const_var(2) },
{ be_const_key_weak(tostring, -1), be_const_closure(Matter_TLV_item_tostring_closure) },
{ be_const_key_weak(tostring, -1), be_const_closure(class_Matter_TLV_item_tostring_closure) },
{ be_const_key_weak(val, 5), be_const_var(7) },
{ be_const_key_weak(_encode_tag, -1), be_const_closure(Matter_TLV_item__encode_tag_closure) },
{ be_const_key_weak(_cmp_gt, -1), be_const_closure(Matter_TLV_item__cmp_gt_closure) },
{ be_const_key_weak(_encode_tag_len, 25), be_const_closure(Matter_TLV_item__encode_tag_len_closure) },
{ be_const_key_weak(_encode_tag, -1), be_const_closure(class_Matter_TLV_item__encode_tag_closure) },
{ be_const_key_weak(_cmp_gt, -1), be_const_closure(class_Matter_TLV_item__cmp_gt_closure) },
{ be_const_key_weak(_encode_tag_len, 25), be_const_closure(class_Matter_TLV_item__encode_tag_len_closure) },
{ be_const_key_weak(is_struct, -1), be_const_bool(0) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_TLV_item_tlv2raw_closure) },
{ be_const_key_weak(sort, -1), be_const_static_closure(Matter_TLV_item_sort_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_TLV_item_tlv2raw_closure) },
{ be_const_key_weak(sort, -1), be_const_static_closure(class_Matter_TLV_item_sort_closure) },
{ be_const_key_weak(is_list, -1), be_const_bool(0) },
{ be_const_key_weak(to_TLV, 18), be_const_closure(Matter_TLV_item_to_TLV_closure) },
{ be_const_key_weak(set, -1), be_const_closure(Matter_TLV_item_set_closure) },
{ be_const_key_weak(set_anonymoustag, 15), be_const_closure(Matter_TLV_item_set_anonymoustag_closure) },
{ be_const_key_weak(set_commonprofile, -1), be_const_closure(Matter_TLV_item_set_commonprofile_closure) },
{ be_const_key_weak(to_TLV, 18), be_const_closure(class_Matter_TLV_item_to_TLV_closure) },
{ be_const_key_weak(set, -1), be_const_closure(class_Matter_TLV_item_set_closure) },
{ be_const_key_weak(set_anonymoustag, 15), be_const_closure(class_Matter_TLV_item_set_anonymoustag_closure) },
{ be_const_key_weak(set_commonprofile, -1), be_const_closure(class_Matter_TLV_item_set_commonprofile_closure) },
{ be_const_key_weak(tag_number, -1), be_const_var(4) },
{ be_const_key_weak(next_idx, 1), be_const_var(1) },
{ be_const_key_weak(set_contextspecific, -1), be_const_closure(Matter_TLV_item_set_contextspecific_closure) },
{ be_const_key_weak(set_contextspecific, -1), be_const_closure(class_Matter_TLV_item_set_contextspecific_closure) },
})),
be_str_weak(Matter_TLV_item)
);
/*******************************************************************/
void be_load_Matter_TLV_item_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TLV_item);
be_setglobal(vm, "Matter_TLV_item");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_TLV_list;
/********************************************************************
** Solidified function: findsubval
********************************************************************/
be_local_closure(Matter_TLV_list_findsubval, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_findsubval, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -2082,7 +2095,7 @@ be_local_closure(Matter_TLV_list_findsubval, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(findsub),
@ -2109,7 +2122,8 @@ be_local_closure(Matter_TLV_list_findsubval, /* name */
/********************************************************************
** Solidified function: tlv2raw
********************************************************************/
be_local_closure(Matter_TLV_list_tlv2raw, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_tlv2raw, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -2117,7 +2131,7 @@ be_local_closure(Matter_TLV_list_tlv2raw, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(_encode_tag),
@ -2188,7 +2202,8 @@ be_local_closure(Matter_TLV_list_tlv2raw, /* name */
/********************************************************************
** Solidified function: to_str_val
********************************************************************/
be_local_closure(Matter_TLV_list_to_str_val, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_to_str_val, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -2196,7 +2211,7 @@ be_local_closure(Matter_TLV_list_to_str_val, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(tostring),
@ -2217,7 +2232,8 @@ be_local_closure(Matter_TLV_list_to_str_val, /* name */
/********************************************************************
** Solidified function: tostring
********************************************************************/
be_local_closure(Matter_TLV_list_tostring, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_tostring, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -2225,7 +2241,7 @@ be_local_closure(Matter_TLV_list_tostring, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tostring_inner),
@ -2251,7 +2267,8 @@ be_local_closure(Matter_TLV_list_tostring, /* name */
/********************************************************************
** Solidified function: size
********************************************************************/
be_local_closure(Matter_TLV_list_size, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_size, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -2259,7 +2276,7 @@ be_local_closure(Matter_TLV_list_size, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2280,7 +2297,8 @@ be_local_closure(Matter_TLV_list_size, /* name */
/********************************************************************
** Solidified function: setitem
********************************************************************/
be_local_closure(Matter_TLV_list_setitem, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_setitem, /* name */
be_nested_proto(
4, /* nstack */
3, /* argc */
@ -2288,7 +2306,7 @@ be_local_closure(Matter_TLV_list_setitem, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2308,7 +2326,8 @@ be_local_closure(Matter_TLV_list_setitem, /* name */
/********************************************************************
** Solidified function: add_struct
********************************************************************/
be_local_closure(Matter_TLV_list_add_struct, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_add_struct, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -2316,7 +2335,7 @@ be_local_closure(Matter_TLV_list_add_struct, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -2347,7 +2366,8 @@ be_local_closure(Matter_TLV_list_add_struct, /* name */
/********************************************************************
** Solidified function: add_list
********************************************************************/
be_local_closure(Matter_TLV_list_add_list, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_add_list, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -2355,7 +2375,7 @@ be_local_closure(Matter_TLV_list_add_list, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -2386,7 +2406,8 @@ be_local_closure(Matter_TLV_list_add_list, /* name */
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_TLV_list_parse, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_parse, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -2394,7 +2415,7 @@ be_local_closure(Matter_TLV_list_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -2437,7 +2458,8 @@ be_local_closure(Matter_TLV_list_parse, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_TLV_list_init, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -2445,7 +2467,7 @@ be_local_closure(Matter_TLV_list_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -2479,7 +2501,8 @@ be_local_closure(Matter_TLV_list_init, /* name */
/********************************************************************
** Solidified function: item
********************************************************************/
be_local_closure(Matter_TLV_list_item, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_item, /* name */
be_nested_proto(
3, /* nstack */
2, /* argc */
@ -2487,7 +2510,7 @@ be_local_closure(Matter_TLV_list_item, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2507,7 +2530,8 @@ be_local_closure(Matter_TLV_list_item, /* name */
/********************************************************************
** Solidified function: getsubval
********************************************************************/
be_local_closure(Matter_TLV_list_getsubval, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_getsubval, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -2515,7 +2539,7 @@ be_local_closure(Matter_TLV_list_getsubval, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(getsub),
@ -2538,7 +2562,8 @@ be_local_closure(Matter_TLV_list_getsubval, /* name */
/********************************************************************
** Solidified function: getsub
********************************************************************/
be_local_closure(Matter_TLV_list_getsub, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_getsub, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -2546,7 +2571,7 @@ be_local_closure(Matter_TLV_list_getsub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(findsub),
@ -2573,7 +2598,8 @@ be_local_closure(Matter_TLV_list_getsub, /* name */
/********************************************************************
** Solidified function: add_obj
********************************************************************/
be_local_closure(Matter_TLV_list_add_obj, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_add_obj, /* name */
be_nested_proto(
7, /* nstack */
3, /* argc */
@ -2581,7 +2607,7 @@ be_local_closure(Matter_TLV_list_add_obj, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2622,7 +2648,8 @@ be_local_closure(Matter_TLV_list_add_obj, /* name */
/********************************************************************
** Solidified function: add_TLV
********************************************************************/
be_local_closure(Matter_TLV_list_add_TLV, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_add_TLV, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -2630,7 +2657,7 @@ be_local_closure(Matter_TLV_list_add_TLV, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -2674,7 +2701,8 @@ be_local_closure(Matter_TLV_list_add_TLV, /* name */
/********************************************************************
** Solidified function: add_array
********************************************************************/
be_local_closure(Matter_TLV_list_add_array, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_add_array, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -2682,7 +2710,7 @@ be_local_closure(Matter_TLV_list_add_array, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -2713,7 +2741,8 @@ be_local_closure(Matter_TLV_list_add_array, /* name */
/********************************************************************
** Solidified function: findsub
********************************************************************/
be_local_closure(Matter_TLV_list_findsub, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_findsub, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -2721,7 +2750,7 @@ be_local_closure(Matter_TLV_list_findsub, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2756,7 +2785,8 @@ be_local_closure(Matter_TLV_list_findsub, /* name */
/********************************************************************
** Solidified function: tostring_inner
********************************************************************/
be_local_closure(Matter_TLV_list_tostring_inner, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_tostring_inner, /* name */
be_nested_proto(
10, /* nstack */
5, /* argc */
@ -2764,7 +2794,7 @@ be_local_closure(Matter_TLV_list_tostring_inner, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[18]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -2883,7 +2913,8 @@ be_local_closure(Matter_TLV_list_tostring_inner, /* name */
/********************************************************************
** Solidified function: push
********************************************************************/
be_local_closure(Matter_TLV_list_push, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_push, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -2891,7 +2922,7 @@ be_local_closure(Matter_TLV_list_push, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(val),
@ -2914,7 +2945,8 @@ be_local_closure(Matter_TLV_list_push, /* name */
/********************************************************************
** Solidified function: findsubtyp
********************************************************************/
be_local_closure(Matter_TLV_list_findsubtyp, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_findsubtyp, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -2922,7 +2954,7 @@ be_local_closure(Matter_TLV_list_findsubtyp, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str_weak(findsub),
@ -2950,7 +2982,8 @@ be_local_closure(Matter_TLV_list_findsubtyp, /* name */
/********************************************************************
** Solidified function: encode_len
********************************************************************/
be_local_closure(Matter_TLV_list_encode_len, /* name */
extern const bclass be_class_Matter_TLV_list;
be_local_closure(class_Matter_TLV_list_encode_len, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -2958,7 +2991,7 @@ be_local_closure(Matter_TLV_list_encode_len, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_list,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(_encode_tag_len),
@ -3002,45 +3035,39 @@ be_local_class(Matter_TLV_list,
&be_class_Matter_TLV_item,
be_nested_map(22,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(encode_len, 7), be_const_closure(Matter_TLV_list_encode_len_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(Matter_TLV_list_tlv2raw_closure) },
{ be_const_key_weak(to_str_val, 14), be_const_closure(Matter_TLV_list_to_str_val_closure) },
{ be_const_key_weak(findsubval, 5), be_const_closure(Matter_TLV_list_findsubval_closure) },
{ be_const_key_weak(size, -1), be_const_closure(Matter_TLV_list_size_closure) },
{ be_const_key_weak(findsubtyp, 21), be_const_closure(Matter_TLV_list_findsubtyp_closure) },
{ be_const_key_weak(add_struct, 19), be_const_closure(Matter_TLV_list_add_struct_closure) },
{ be_const_key_weak(push, -1), be_const_closure(Matter_TLV_list_push_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(Matter_TLV_list_parse_closure) },
{ be_const_key_weak(init, 0), be_const_closure(Matter_TLV_list_init_closure) },
{ be_const_key_weak(item, -1), be_const_closure(Matter_TLV_list_item_closure) },
{ be_const_key_weak(tostring_inner, -1), be_const_closure(Matter_TLV_list_tostring_inner_closure) },
{ be_const_key_weak(getsubval, 20), be_const_closure(Matter_TLV_list_getsubval_closure) },
{ be_const_key_weak(getsub, -1), be_const_closure(Matter_TLV_list_getsub_closure) },
{ be_const_key_weak(findsub, -1), be_const_closure(Matter_TLV_list_findsub_closure) },
{ be_const_key_weak(add_list, 17), be_const_closure(Matter_TLV_list_add_list_closure) },
{ be_const_key_weak(add_array, -1), be_const_closure(Matter_TLV_list_add_array_closure) },
{ be_const_key_weak(add_TLV, -1), be_const_closure(Matter_TLV_list_add_TLV_closure) },
{ be_const_key_weak(setitem, 11), be_const_closure(Matter_TLV_list_setitem_closure) },
{ be_const_key_weak(add_obj, -1), be_const_closure(Matter_TLV_list_add_obj_closure) },
{ be_const_key_weak(encode_len, 7), be_const_closure(class_Matter_TLV_list_encode_len_closure) },
{ be_const_key_weak(tlv2raw, -1), be_const_closure(class_Matter_TLV_list_tlv2raw_closure) },
{ be_const_key_weak(to_str_val, 14), be_const_closure(class_Matter_TLV_list_to_str_val_closure) },
{ be_const_key_weak(findsubval, 5), be_const_closure(class_Matter_TLV_list_findsubval_closure) },
{ be_const_key_weak(size, -1), be_const_closure(class_Matter_TLV_list_size_closure) },
{ be_const_key_weak(findsubtyp, 21), be_const_closure(class_Matter_TLV_list_findsubtyp_closure) },
{ be_const_key_weak(add_struct, 19), be_const_closure(class_Matter_TLV_list_add_struct_closure) },
{ be_const_key_weak(push, -1), be_const_closure(class_Matter_TLV_list_push_closure) },
{ be_const_key_weak(parse, -1), be_const_closure(class_Matter_TLV_list_parse_closure) },
{ be_const_key_weak(init, 0), be_const_closure(class_Matter_TLV_list_init_closure) },
{ be_const_key_weak(item, -1), be_const_closure(class_Matter_TLV_list_item_closure) },
{ be_const_key_weak(tostring_inner, -1), be_const_closure(class_Matter_TLV_list_tostring_inner_closure) },
{ be_const_key_weak(getsubval, 20), be_const_closure(class_Matter_TLV_list_getsubval_closure) },
{ be_const_key_weak(getsub, -1), be_const_closure(class_Matter_TLV_list_getsub_closure) },
{ be_const_key_weak(findsub, -1), be_const_closure(class_Matter_TLV_list_findsub_closure) },
{ be_const_key_weak(add_list, 17), be_const_closure(class_Matter_TLV_list_add_list_closure) },
{ be_const_key_weak(add_array, -1), be_const_closure(class_Matter_TLV_list_add_array_closure) },
{ be_const_key_weak(add_TLV, -1), be_const_closure(class_Matter_TLV_list_add_TLV_closure) },
{ be_const_key_weak(setitem, 11), be_const_closure(class_Matter_TLV_list_setitem_closure) },
{ be_const_key_weak(add_obj, -1), be_const_closure(class_Matter_TLV_list_add_obj_closure) },
{ be_const_key_weak(is_list, -1), be_const_bool(1) },
{ be_const_key_weak(tostring, -1), be_const_closure(Matter_TLV_list_tostring_closure) },
{ be_const_key_weak(tostring, -1), be_const_closure(class_Matter_TLV_list_tostring_closure) },
})),
be_str_weak(Matter_TLV_list)
);
/*******************************************************************/
void be_load_Matter_TLV_list_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TLV_list);
be_setglobal(vm, "Matter_TLV_list");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_TLV_struct;
/********************************************************************
** Solidified function: tostring
********************************************************************/
be_local_closure(Matter_TLV_struct_tostring, /* name */
extern const bclass be_class_Matter_TLV_struct;
be_local_closure(class_Matter_TLV_struct_tostring, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -3048,7 +3075,7 @@ be_local_closure(Matter_TLV_struct_tostring, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_struct,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tostring_inner),
@ -3074,7 +3101,8 @@ be_local_closure(Matter_TLV_struct_tostring, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_TLV_struct_init, /* name */
extern const bclass be_class_Matter_TLV_struct;
be_local_closure(class_Matter_TLV_struct_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -3082,7 +3110,7 @@ be_local_closure(Matter_TLV_struct_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_struct,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -3122,27 +3150,21 @@ be_local_class(Matter_TLV_struct,
&be_class_Matter_TLV_list,
be_nested_map(4,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(init, -1), be_const_closure(Matter_TLV_struct_init_closure) },
{ be_const_key_weak(tostring, -1), be_const_closure(Matter_TLV_struct_tostring_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_TLV_struct_init_closure) },
{ be_const_key_weak(tostring, -1), be_const_closure(class_Matter_TLV_struct_tostring_closure) },
{ be_const_key_weak(is_list, -1), be_const_bool(0) },
{ be_const_key_weak(is_struct, 0), be_const_bool(1) },
})),
be_str_weak(Matter_TLV_struct)
);
/*******************************************************************/
void be_load_Matter_TLV_struct_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TLV_struct);
be_setglobal(vm, "Matter_TLV_struct");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_TLV_array;
/********************************************************************
** Solidified function: tostring
********************************************************************/
be_local_closure(Matter_TLV_array_tostring, /* name */
extern const bclass be_class_Matter_TLV_array;
be_local_closure(class_Matter_TLV_array_tostring, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -3150,7 +3172,7 @@ be_local_closure(Matter_TLV_array_tostring, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_array,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(tostring_inner),
@ -3176,7 +3198,8 @@ be_local_closure(Matter_TLV_array_tostring, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_TLV_array_init, /* name */
extern const bclass be_class_Matter_TLV_array;
be_local_closure(class_Matter_TLV_array_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -3184,7 +3207,7 @@ be_local_closure(Matter_TLV_array_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_array,
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
/* K0 */ be_nested_str_weak(init),
@ -3218,7 +3241,8 @@ be_local_closure(Matter_TLV_array_init, /* name */
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_TLV_array_parse, /* name */
extern const bclass be_class_Matter_TLV_array;
be_local_closure(class_Matter_TLV_array_parse, /* name */
be_nested_proto(
8, /* nstack */
3, /* argc */
@ -3226,7 +3250,7 @@ be_local_closure(Matter_TLV_array_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV_array,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(TLV),
@ -3287,28 +3311,22 @@ be_local_class(Matter_TLV_array,
&be_class_Matter_TLV_list,
be_nested_map(5,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(tostring, 1), be_const_closure(Matter_TLV_array_tostring_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_TLV_array_init_closure) },
{ be_const_key_weak(parse, 3), be_const_closure(Matter_TLV_array_parse_closure) },
{ be_const_key_weak(tostring, 1), be_const_closure(class_Matter_TLV_array_tostring_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_TLV_array_init_closure) },
{ be_const_key_weak(parse, 3), be_const_closure(class_Matter_TLV_array_parse_closure) },
{ be_const_key_weak(is_list, -1), be_const_bool(0) },
{ be_const_key_weak(is_array, -1), be_const_bool(1) },
})),
be_str_weak(Matter_TLV_array)
);
/*******************************************************************/
void be_load_Matter_TLV_array_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TLV_array);
be_setglobal(vm, "Matter_TLV_array");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_TLV;
/********************************************************************
** Solidified function: create_TLV
********************************************************************/
be_local_closure(Matter_TLV_create_TLV, /* name */
extern const bclass be_class_Matter_TLV;
be_local_closure(class_Matter_TLV_create_TLV, /* name */
be_nested_proto(
7, /* nstack */
2, /* argc */
@ -3316,7 +3334,7 @@ be_local_closure(Matter_TLV_create_TLV, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_TLV),
@ -3342,7 +3360,8 @@ be_local_closure(Matter_TLV_create_TLV, /* name */
/********************************************************************
** Solidified function: parse
********************************************************************/
be_local_closure(Matter_TLV_parse, /* name */
extern const bclass be_class_Matter_TLV;
be_local_closure(class_Matter_TLV_parse, /* name */
be_nested_proto(
12, /* nstack */
3, /* argc */
@ -3350,7 +3369,7 @@ be_local_closure(Matter_TLV_parse, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_TLV,
1, /* has constants */
( &(const bvalue[21]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_TLV),
@ -3511,7 +3530,7 @@ be_local_class(Matter_TLV,
be_nested_map(35,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(BFALSE, -1), be_const_int(8) },
{ be_const_key_weak(create_TLV, -1), be_const_static_closure(Matter_TLV_create_TLV_closure) },
{ be_const_key_weak(create_TLV, -1), be_const_static_closure(class_Matter_TLV_create_TLV_closure) },
{ be_const_key_weak(Matter_TLV_list, -1), be_const_class(be_class_Matter_TLV_list) },
{ be_const_key_weak(I4, 33), be_const_int(2) },
{ be_const_key_weak(U2, -1), be_const_int(5) },
@ -3522,7 +3541,7 @@ be_local_class(Matter_TLV,
{ be_const_key_weak(Matter_TLV_struct, 2), be_const_class(be_class_Matter_TLV_struct) },
{ be_const_key_weak(BOOL, -1), be_const_int(8) },
{ be_const_key_weak(RAW, -1), be_const_int(255) },
{ be_const_key_weak(parse, -1), be_const_static_closure(Matter_TLV_parse_closure) },
{ be_const_key_weak(parse, -1), be_const_static_closure(class_Matter_TLV_parse_closure) },
{ be_const_key_weak(U8, -1), be_const_int(7) },
{ be_const_key_weak(LIST, -1), be_const_int(23) },
{ be_const_key_weak(I2, 27), be_const_int(1) },
@ -3604,12 +3623,5 @@ be_local_class(Matter_TLV,
})),
be_str_weak(Matter_TLV)
);
/*******************************************************************/
void be_load_Matter_TLV_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_TLV);
be_setglobal(vm, "Matter_TLV");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_UDPPacket_sent;
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_UDPPacket_sent_init, /* name */
extern const bclass be_class_Matter_UDPPacket_sent;
be_local_closure(class_Matter_UDPPacket_sent_init, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_UDPPacket_sent_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPPacket_sent,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str_weak(raw),
@ -103,26 +104,20 @@ be_local_class(Matter_UDPPacket_sent,
{ be_const_key_weak(addr, -1), be_const_var(1) },
{ be_const_key_weak(port, 0), be_const_var(2) },
{ be_const_key_weak(raw, -1), be_const_var(0) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_UDPPacket_sent_init_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_UDPPacket_sent_init_closure) },
{ be_const_key_weak(exchange_id, -1), be_const_var(4) },
{ be_const_key_weak(msg_id, -1), be_const_var(3) },
})),
be_str_weak(Matter_UDPPacket_sent)
);
/*******************************************************************/
void be_load_Matter_UDPPacket_sent_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_UDPPacket_sent);
be_setglobal(vm, "Matter_UDPPacket_sent");
be_pop(vm, 1);
}
extern const bclass be_class_Matter_UDPServer;
/********************************************************************
** Solidified function: every_50ms
********************************************************************/
be_local_closure(Matter_UDPServer_every_50ms, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_every_50ms, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -130,7 +125,7 @@ be_local_closure(Matter_UDPServer_every_50ms, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(loop),
@ -150,7 +145,8 @@ be_local_closure(Matter_UDPServer_every_50ms, /* name */
/********************************************************************
** Solidified function: send_UDP
********************************************************************/
be_local_closure(Matter_UDPServer_send_UDP, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_send_UDP, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -158,7 +154,7 @@ be_local_closure(Matter_UDPServer_send_UDP, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -194,7 +190,8 @@ be_local_closure(Matter_UDPServer_send_UDP, /* name */
/********************************************************************
** Solidified function: received_ack
********************************************************************/
be_local_closure(Matter_UDPServer_received_ack, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_received_ack, /* name */
be_nested_proto(
10, /* nstack */
2, /* argc */
@ -202,7 +199,7 @@ be_local_closure(Matter_UDPServer_received_ack, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str_weak(ack_message_counter),
@ -270,7 +267,8 @@ be_local_closure(Matter_UDPServer_received_ack, /* name */
/********************************************************************
** Solidified function: start
********************************************************************/
be_local_closure(Matter_UDPServer_start, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_start, /* name */
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -278,7 +276,7 @@ be_local_closure(Matter_UDPServer_start, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(listening),
@ -327,7 +325,8 @@ be_local_closure(Matter_UDPServer_start, /* name */
/********************************************************************
** Solidified function: send
********************************************************************/
be_local_closure(Matter_UDPServer_send, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_send, /* name */
be_nested_proto(
9, /* nstack */
2, /* argc */
@ -335,7 +334,7 @@ be_local_closure(Matter_UDPServer_send, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[13]) { /* constants */
/* K0 */ be_nested_str_weak(udp_socket),
@ -411,7 +410,8 @@ be_local_closure(Matter_UDPServer_send, /* name */
/********************************************************************
** Solidified function: stop
********************************************************************/
be_local_closure(Matter_UDPServer_stop, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_stop, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -419,7 +419,7 @@ be_local_closure(Matter_UDPServer_stop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(listening),
@ -453,7 +453,8 @@ be_local_closure(Matter_UDPServer_stop, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_UDPServer_init, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_init, /* name */
be_nested_proto(
5, /* nstack */
4, /* argc */
@ -461,7 +462,7 @@ be_local_closure(Matter_UDPServer_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -471,7 +472,7 @@ be_local_closure(Matter_UDPServer_init, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(loop),
@ -485,6 +486,7 @@ be_local_closure(Matter_UDPServer_init, /* name */
0x80000000, // 0003 RET 0
})
),
&be_class_Matter_UDPServer,
}),
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
@ -528,7 +530,8 @@ be_local_closure(Matter_UDPServer_init, /* name */
/********************************************************************
** Solidified function: _resend_packets
********************************************************************/
be_local_closure(Matter_UDPServer__resend_packets, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer__resend_packets, /* name */
be_nested_proto(
11, /* nstack */
1, /* argc */
@ -536,7 +539,7 @@ be_local_closure(Matter_UDPServer__resend_packets, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_const_int(0),
@ -632,7 +635,8 @@ be_local_closure(Matter_UDPServer__resend_packets, /* name */
/********************************************************************
** Solidified function: _backoff_time
********************************************************************/
be_local_closure(Matter_UDPServer__backoff_time, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer__backoff_time, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -640,7 +644,7 @@ be_local_closure(Matter_UDPServer__backoff_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
4, /* nstack */
2, /* argc */
@ -648,7 +652,7 @@ be_local_closure(Matter_UDPServer__backoff_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_const_int(1),
@ -666,6 +670,7 @@ be_local_closure(Matter_UDPServer__backoff_time, /* name */
0x80040400, // 0006 RET 1 R2
})
),
&be_class_Matter_UDPServer,
}),
1, /* has constants */
( &(const bvalue[ 8]) { /* constants */
@ -719,7 +724,8 @@ be_local_closure(Matter_UDPServer__backoff_time, /* name */
/********************************************************************
** Solidified function: loop
********************************************************************/
be_local_closure(Matter_UDPServer_loop, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_loop, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -727,7 +733,7 @@ be_local_closure(Matter_UDPServer_loop, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
1, /* has constants */
( &(const bvalue[20]) { /* constants */
/* K0 */ be_nested_str_weak(matter),
@ -826,7 +832,8 @@ be_local_closure(Matter_UDPServer_loop, /* name */
/********************************************************************
** Solidified function: every_second
********************************************************************/
be_local_closure(Matter_UDPServer_every_second, /* name */
extern const bclass be_class_Matter_UDPServer;
be_local_closure(class_Matter_UDPServer_every_second, /* name */
be_nested_proto(
1, /* nstack */
1, /* argc */
@ -834,7 +841,7 @@ be_local_closure(Matter_UDPServer_every_second, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UDPServer,
0, /* has constants */
NULL, /* no const */
be_str_weak(every_second),
@ -855,20 +862,20 @@ be_local_class(Matter_UDPServer,
NULL,
be_nested_map(22,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(every_50ms, -1), be_const_closure(Matter_UDPServer_every_50ms_closure) },
{ be_const_key_weak(send_UDP, -1), be_const_closure(Matter_UDPServer_send_UDP_closure) },
{ be_const_key_weak(received_ack, -1), be_const_closure(Matter_UDPServer_received_ack_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(Matter_UDPServer_every_second_closure) },
{ be_const_key_weak(stop, 18), be_const_closure(Matter_UDPServer_stop_closure) },
{ be_const_key_weak(start, 4), be_const_closure(Matter_UDPServer_start_closure) },
{ be_const_key_weak(every_50ms, -1), be_const_closure(class_Matter_UDPServer_every_50ms_closure) },
{ be_const_key_weak(send_UDP, -1), be_const_closure(class_Matter_UDPServer_send_UDP_closure) },
{ be_const_key_weak(received_ack, -1), be_const_closure(class_Matter_UDPServer_received_ack_closure) },
{ be_const_key_weak(every_second, -1), be_const_closure(class_Matter_UDPServer_every_second_closure) },
{ be_const_key_weak(stop, 18), be_const_closure(class_Matter_UDPServer_stop_closure) },
{ be_const_key_weak(start, 4), be_const_closure(class_Matter_UDPServer_start_closure) },
{ be_const_key_weak(listening, -1), be_const_var(3) },
{ be_const_key_weak(send, -1), be_const_closure(Matter_UDPServer_send_closure) },
{ be_const_key_weak(loop, -1), be_const_closure(Matter_UDPServer_loop_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_UDPServer_init_closure) },
{ be_const_key_weak(send, -1), be_const_closure(class_Matter_UDPServer_send_closure) },
{ be_const_key_weak(loop, -1), be_const_closure(class_Matter_UDPServer_loop_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_UDPServer_init_closure) },
{ be_const_key_weak(udp_socket, 6), be_const_var(4) },
{ be_const_key_weak(packet, -1), be_const_var(8) },
{ be_const_key_weak(_backoff_time, -1), be_const_static_closure(Matter_UDPServer__backoff_time_closure) },
{ be_const_key_weak(_resend_packets, -1), be_const_closure(Matter_UDPServer__resend_packets_closure) },
{ be_const_key_weak(_backoff_time, -1), be_const_static_closure(class_Matter_UDPServer__backoff_time_closure) },
{ be_const_key_weak(_resend_packets, -1), be_const_closure(class_Matter_UDPServer__resend_packets_closure) },
{ be_const_key_weak(addr, -1), be_const_var(0) },
{ be_const_key_weak(dispatch_cb, 8), be_const_var(5) },
{ be_const_key_weak(port, 12), be_const_var(1) },
@ -880,12 +887,5 @@ be_local_class(Matter_UDPServer,
})),
be_str_weak(Matter_UDPServer)
);
/*******************************************************************/
void be_load_Matter_UDPServer_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_UDPServer);
be_setglobal(vm, "Matter_UDPServer");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Matter_UI;
/********************************************************************
** Solidified function: equal_map
********************************************************************/
be_local_closure(Matter_UI_equal_map, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_equal_map, /* name */
be_nested_proto(
8, /* nstack */
2, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Matter_UI_equal_map, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_const_class(be_class_Matter_UI),
@ -90,7 +91,8 @@ be_local_closure(Matter_UI_equal_map, /* name */
/********************************************************************
** Solidified function: page_part_mgr_adv
********************************************************************/
be_local_closure(Matter_UI_page_part_mgr_adv, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_page_part_mgr_adv, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -98,7 +100,7 @@ be_local_closure(Matter_UI_page_part_mgr_adv, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -147,7 +149,8 @@ be_local_closure(Matter_UI_page_part_mgr_adv, /* name */
/********************************************************************
** Solidified function: page_part_mgr
********************************************************************/
be_local_closure(Matter_UI_page_part_mgr, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_page_part_mgr, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -155,7 +158,7 @@ be_local_closure(Matter_UI_page_part_mgr, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[14]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -215,7 +218,8 @@ be_local_closure(Matter_UI_page_part_mgr, /* name */
/********************************************************************
** Solidified function: plugin_name
********************************************************************/
be_local_closure(Matter_UI_plugin_name, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_plugin_name, /* name */
be_nested_proto(
6, /* nstack */
3, /* argc */
@ -223,7 +227,7 @@ be_local_closure(Matter_UI_plugin_name, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(),
@ -250,7 +254,8 @@ be_local_closure(Matter_UI_plugin_name, /* name */
/********************************************************************
** Solidified function: matter_enabled
********************************************************************/
be_local_closure(Matter_UI_matter_enabled, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_matter_enabled, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -258,7 +263,7 @@ be_local_closure(Matter_UI_matter_enabled, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 4]) { /* constants */
/* K0 */ be_nested_str_weak(tasmota),
@ -286,7 +291,8 @@ be_local_closure(Matter_UI_matter_enabled, /* name */
/********************************************************************
** Solidified function: generate_config_from_status
********************************************************************/
be_local_closure(Matter_UI_generate_config_from_status, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_generate_config_from_status, /* name */
be_nested_proto(
13, /* nstack */
3, /* argc */
@ -294,7 +300,7 @@ be_local_closure(Matter_UI_generate_config_from_status, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_const_int(0),
@ -423,7 +429,8 @@ be_local_closure(Matter_UI_generate_config_from_status, /* name */
/********************************************************************
** Solidified function: web_sensor
********************************************************************/
be_local_closure(Matter_UI_web_sensor, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_web_sensor, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -431,7 +438,7 @@ be_local_closure(Matter_UI_web_sensor, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -513,7 +520,8 @@ be_local_closure(Matter_UI_web_sensor, /* name */
/********************************************************************
** Solidified function: page_part_mgr_add
********************************************************************/
be_local_closure(Matter_UI_page_part_mgr_add, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_page_part_mgr_add, /* name */
be_nested_proto(
6, /* nstack */
1, /* argc */
@ -521,7 +529,7 @@ be_local_closure(Matter_UI_page_part_mgr_add, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -575,7 +583,8 @@ be_local_closure(Matter_UI_page_part_mgr_add, /* name */
/********************************************************************
** Solidified function: show_plugins_configuration
********************************************************************/
be_local_closure(Matter_UI_show_plugins_configuration, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_plugins_configuration, /* name */
be_nested_proto(
29, /* nstack */
1, /* argc */
@ -583,7 +592,7 @@ be_local_closure(Matter_UI_show_plugins_configuration, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[63]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1023,7 +1032,8 @@ be_local_closure(Matter_UI_show_plugins_configuration, /* name */
/********************************************************************
** Solidified function: show_commissioning_info
********************************************************************/
be_local_closure(Matter_UI_show_commissioning_info, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_commissioning_info, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -1031,7 +1041,7 @@ be_local_closure(Matter_UI_show_commissioning_info, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1122,7 +1132,8 @@ be_local_closure(Matter_UI_show_commissioning_info, /* name */
/********************************************************************
** Solidified function: show_remote_autoconf
********************************************************************/
be_local_closure(Matter_UI_show_remote_autoconf, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_remote_autoconf, /* name */
be_nested_proto(
27, /* nstack */
2, /* argc */
@ -1130,7 +1141,7 @@ be_local_closure(Matter_UI_show_remote_autoconf, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[47]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1423,7 +1434,8 @@ be_local_closure(Matter_UI_show_remote_autoconf, /* name */
/********************************************************************
** Solidified function: show_fabric_info
********************************************************************/
be_local_closure(Matter_UI_show_fabric_info, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_fabric_info, /* name */
be_nested_proto(
14, /* nstack */
1, /* argc */
@ -1431,7 +1443,7 @@ be_local_closure(Matter_UI_show_fabric_info, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[28]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1575,7 +1587,8 @@ be_local_closure(Matter_UI_show_fabric_info, /* name */
/********************************************************************
** Solidified function: web_get_arg
********************************************************************/
be_local_closure(Matter_UI_web_get_arg, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_web_get_arg, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -1583,7 +1596,7 @@ be_local_closure(Matter_UI_web_get_arg, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1623,7 +1636,8 @@ be_local_closure(Matter_UI_web_get_arg, /* name */
/********************************************************************
** Solidified function: plugin_option
********************************************************************/
be_local_closure(Matter_UI_plugin_option, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_plugin_option, /* name */
be_nested_proto(
16, /* nstack */
3, /* argc */
@ -1631,7 +1645,7 @@ be_local_closure(Matter_UI_plugin_option, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1720,7 +1734,8 @@ be_local_closure(Matter_UI_plugin_option, /* name */
/********************************************************************
** Solidified function: web_add_config_button
********************************************************************/
be_local_closure(Matter_UI_web_add_config_button, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_web_add_config_button, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -1728,7 +1743,7 @@ be_local_closure(Matter_UI_web_add_config_button, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -1762,7 +1777,8 @@ be_local_closure(Matter_UI_web_add_config_button, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Matter_UI_init, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_init, /* name */
be_nested_proto(
5, /* nstack */
2, /* argc */
@ -1770,7 +1786,7 @@ be_local_closure(Matter_UI_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -1795,7 +1811,8 @@ be_local_closure(Matter_UI_init, /* name */
/********************************************************************
** Solidified function: show_bridge_status
********************************************************************/
be_local_closure(Matter_UI_show_bridge_status, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_bridge_status, /* name */
be_nested_proto(
15, /* nstack */
1, /* argc */
@ -1803,7 +1820,7 @@ be_local_closure(Matter_UI_show_bridge_status, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[27]) { /* constants */
/* K0 */ be_nested_str_weak(device),
@ -1968,7 +1985,8 @@ be_local_closure(Matter_UI_show_bridge_status, /* name */
/********************************************************************
** Solidified function: web_add_handler
********************************************************************/
be_local_closure(Matter_UI_web_add_handler, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_web_add_handler, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -1976,7 +1994,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 4]) {
( &(const struct bproto*[ 5]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -1986,7 +2004,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(page_part_mgr),
@ -2009,7 +2027,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(page_part_ctl),
@ -2032,7 +2050,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(page_part_mgr_adv),
@ -2055,7 +2073,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str_weak(page_part_mgr_add),
@ -2069,6 +2087,7 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
0x80040000, // 0003 RET 1 R0
})
),
&be_class_Matter_UI,
}),
1, /* has constants */
( &(const bvalue[ 7]) { /* constants */
@ -2115,7 +2134,8 @@ be_local_closure(Matter_UI_web_add_handler, /* name */
/********************************************************************
** Solidified function: show_passcode_form
********************************************************************/
be_local_closure(Matter_UI_show_passcode_form, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_passcode_form, /* name */
be_nested_proto(
8, /* nstack */
1, /* argc */
@ -2123,7 +2143,7 @@ be_local_closure(Matter_UI_show_passcode_form, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[15]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -2194,7 +2214,8 @@ be_local_closure(Matter_UI_show_passcode_form, /* name */
/********************************************************************
** Solidified function: page_part_ctl
********************************************************************/
be_local_closure(Matter_UI_page_part_ctl, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_page_part_ctl, /* name */
be_nested_proto(
24, /* nstack */
1, /* argc */
@ -2202,7 +2223,7 @@ be_local_closure(Matter_UI_page_part_ctl, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[101]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -2994,7 +3015,8 @@ be_local_closure(Matter_UI_page_part_ctl, /* name */
/********************************************************************
** Solidified function: show_qrcode
********************************************************************/
be_local_closure(Matter_UI_show_qrcode, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_qrcode, /* name */
be_nested_proto(
18, /* nstack */
2, /* argc */
@ -3002,7 +3024,7 @@ be_local_closure(Matter_UI_show_qrcode, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[22]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -3160,7 +3182,8 @@ be_local_closure(Matter_UI_show_qrcode, /* name */
/********************************************************************
** Solidified function: show_enable
********************************************************************/
be_local_closure(Matter_UI_show_enable, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_enable, /* name */
be_nested_proto(
11, /* nstack */
1, /* argc */
@ -3168,7 +3191,7 @@ be_local_closure(Matter_UI_show_enable, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[16]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -3256,7 +3279,8 @@ be_local_closure(Matter_UI_show_enable, /* name */
/********************************************************************
** Solidified function: show_plugins_hints_js
********************************************************************/
be_local_closure(Matter_UI_show_plugins_hints_js, /* name */
extern const bclass be_class_Matter_UI;
be_local_closure(class_Matter_UI_show_plugins_hints_js, /* name */
be_nested_proto(
16, /* nstack */
2, /* argc */
@ -3264,7 +3288,7 @@ be_local_closure(Matter_UI_show_plugins_hints_js, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Matter_UI,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str_weak(webserver),
@ -3381,41 +3405,34 @@ be_local_class(Matter_UI,
NULL,
be_nested_map(26,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key_weak(equal_map, -1), be_const_static_closure(Matter_UI_equal_map_closure) },
{ be_const_key_weak(page_part_mgr_adv, -1), be_const_closure(Matter_UI_page_part_mgr_adv_closure) },
{ be_const_key_weak(equal_map, -1), be_const_static_closure(class_Matter_UI_equal_map_closure) },
{ be_const_key_weak(page_part_mgr_adv, -1), be_const_closure(class_Matter_UI_page_part_mgr_adv_closure) },
{ be_const_key_weak(_CLASSES_TYPES2, -1), be_nested_str_weak(_X7Chttp_relay_X7Chttp_light0_X7Chttp_light1_X7Chttp_light2_X7Chttp_light3_X7Chttp_temperature_X7Chttp_pressure_X7Chttp_illuminance_X7Chttp_humidity_X7Chttp_occupancy_X7Chttp_contact_X7Chttp_flow_X7Chttp_waterleak) },
{ be_const_key_weak(page_part_mgr, 25), be_const_closure(Matter_UI_page_part_mgr_closure) },
{ be_const_key_weak(show_plugins_hints_js, -1), be_const_closure(Matter_UI_show_plugins_hints_js_closure) },
{ be_const_key_weak(show_enable, -1), be_const_closure(Matter_UI_show_enable_closure) },
{ be_const_key_weak(matter_enabled, 24), be_const_closure(Matter_UI_matter_enabled_closure) },
{ be_const_key_weak(generate_config_from_status, -1), be_const_closure(Matter_UI_generate_config_from_status_closure) },
{ be_const_key_weak(show_qrcode, 21), be_const_closure(Matter_UI_show_qrcode_closure) },
{ be_const_key_weak(page_part_mgr_add, -1), be_const_closure(Matter_UI_page_part_mgr_add_closure) },
{ be_const_key_weak(show_plugins_configuration, -1), be_const_closure(Matter_UI_show_plugins_configuration_closure) },
{ be_const_key_weak(show_commissioning_info, -1), be_const_closure(Matter_UI_show_commissioning_info_closure) },
{ be_const_key_weak(page_part_ctl, 18), be_const_closure(Matter_UI_page_part_ctl_closure) },
{ be_const_key_weak(show_fabric_info, -1), be_const_closure(Matter_UI_show_fabric_info_closure) },
{ be_const_key_weak(page_part_mgr, 25), be_const_closure(class_Matter_UI_page_part_mgr_closure) },
{ be_const_key_weak(show_plugins_hints_js, -1), be_const_closure(class_Matter_UI_show_plugins_hints_js_closure) },
{ be_const_key_weak(show_enable, -1), be_const_closure(class_Matter_UI_show_enable_closure) },
{ be_const_key_weak(matter_enabled, 24), be_const_closure(class_Matter_UI_matter_enabled_closure) },
{ be_const_key_weak(generate_config_from_status, -1), be_const_closure(class_Matter_UI_generate_config_from_status_closure) },
{ be_const_key_weak(show_qrcode, 21), be_const_closure(class_Matter_UI_show_qrcode_closure) },
{ be_const_key_weak(page_part_mgr_add, -1), be_const_closure(class_Matter_UI_page_part_mgr_add_closure) },
{ be_const_key_weak(show_plugins_configuration, -1), be_const_closure(class_Matter_UI_show_plugins_configuration_closure) },
{ be_const_key_weak(show_commissioning_info, -1), be_const_closure(class_Matter_UI_show_commissioning_info_closure) },
{ be_const_key_weak(page_part_ctl, 18), be_const_closure(class_Matter_UI_page_part_ctl_closure) },
{ be_const_key_weak(show_fabric_info, -1), be_const_closure(class_Matter_UI_show_fabric_info_closure) },
{ be_const_key_weak(_CLASSES_TYPES, 4), be_nested_str_long(_X7Crelay_X7Clight0_X7Clight1_X7Clight2_X7Clight3_X7Cshutter_X7Cshutter_X2Btilt_X7Ctemperature_X7Cpressure_X7Cilluminance_X7Chumidity_X7Coccupancy_X7Conoff_X7Ccontact_X7Cflow_X7Cwaterleak_X7C_X2Dvirtual_X7Cv_relay_X7Cv_light0_X7Cv_light1_X7Cv_light2_X7Cv_light3_X7Cv_temp_X7Cv_pressure_X7Cv_illuminance_X7Cv_humidity_X7Cv_occupancy_X7Cv_contact_X7Cv_flow_X7Cv_waterleak) },
{ be_const_key_weak(web_get_arg, -1), be_const_closure(Matter_UI_web_get_arg_closure) },
{ be_const_key_weak(plugin_option, 5), be_const_closure(Matter_UI_plugin_option_closure) },
{ be_const_key_weak(web_add_config_button, -1), be_const_closure(Matter_UI_web_add_config_button_closure) },
{ be_const_key_weak(show_passcode_form, -1), be_const_closure(Matter_UI_show_passcode_form_closure) },
{ be_const_key_weak(show_remote_autoconf, 8), be_const_closure(Matter_UI_show_remote_autoconf_closure) },
{ be_const_key_weak(web_add_handler, -1), be_const_closure(Matter_UI_web_add_handler_closure) },
{ be_const_key_weak(show_bridge_status, 23), be_const_closure(Matter_UI_show_bridge_status_closure) },
{ be_const_key_weak(plugin_name, 12), be_const_closure(Matter_UI_plugin_name_closure) },
{ be_const_key_weak(init, -1), be_const_closure(Matter_UI_init_closure) },
{ be_const_key_weak(web_sensor, -1), be_const_closure(Matter_UI_web_sensor_closure) },
{ be_const_key_weak(web_get_arg, -1), be_const_closure(class_Matter_UI_web_get_arg_closure) },
{ be_const_key_weak(plugin_option, 5), be_const_closure(class_Matter_UI_plugin_option_closure) },
{ be_const_key_weak(web_add_config_button, -1), be_const_closure(class_Matter_UI_web_add_config_button_closure) },
{ be_const_key_weak(show_passcode_form, -1), be_const_closure(class_Matter_UI_show_passcode_form_closure) },
{ be_const_key_weak(show_remote_autoconf, 8), be_const_closure(class_Matter_UI_show_remote_autoconf_closure) },
{ be_const_key_weak(web_add_handler, -1), be_const_closure(class_Matter_UI_web_add_handler_closure) },
{ be_const_key_weak(show_bridge_status, 23), be_const_closure(class_Matter_UI_show_bridge_status_closure) },
{ be_const_key_weak(plugin_name, 12), be_const_closure(class_Matter_UI_plugin_name_closure) },
{ be_const_key_weak(init, -1), be_const_closure(class_Matter_UI_init_closure) },
{ be_const_key_weak(web_sensor, -1), be_const_closure(class_Matter_UI_web_sensor_closure) },
{ be_const_key_weak(device, -1), be_const_var(0) },
})),
be_str_weak(Matter_UI)
);
/*******************************************************************/
void be_load_Matter_UI_class(bvm *vm) {
be_pushntvclass(vm, &be_class_Matter_UI);
be_setglobal(vm, "Matter_UI");
be_pop(vm, 1);
}
/********************************************************************/
/* End of solidification */

View File

@ -80,6 +80,11 @@ def parse_file(fname, prefix_out)
o = o.(subname)
cl_name = obj_name
obj_name = subname
if (type(o) == 'class')
obj_name = 'class_' + obj_name
elif (type(o) == 'module')
obj_name = 'module_' + obj_name
end
end
solidify.dump(o, weak, fout, cl_name)
end

View File

@ -10,7 +10,7 @@
#ifdef USE_ENERGY_SENSOR
extern struct ENERGY Energy;
extern int energy_update_total(bvm *vm);
extern int module_energy_update_total(bvm *vm);
#include "solidify/solidified_energy.h"
#include "be_fixed_energy.h"
@ -18,15 +18,15 @@ extern int energy_update_total(bvm *vm);
/* @const_object_info_begin
module energy (scope: global) {
init, closure(energy_init_closure)
init, closure(module_energy_init_closure)
_ptr, comptr(&Energy)
_deref, closure(energy__deref_closure)
_deref, closure(module_energy__deref_closure)
read, closure(energy_read_closure)
member, closure(energy_member_closure)
setmember, closure(energy_setmember_closure)
read, closure(module_energy_read_closure)
member, closure(module_energy_member_closure)
setmember, closure(module_energy_setmember_closure)
update_total, func(energy_update_total)
update_total, func(module_energy_update_total)
}
@const_object_info_end */

View File

@ -22,13 +22,13 @@ extern int lv0_load_freetype_font(bvm *vm);
/* @const_object_info_begin
module lv_tasmota (scope: global, strings: weak) {
init, closure(lv_tasmota_init_closure)
init, closure(module_lv_tasmota_init_closure)
_constants, func(lv0_constants_as_hash)
start, func(lv0_start)
splash, closure(lv_tasmota_splash_closure)
splash_init, closure(lv_tasmota_splash_init_closure)
splash_remove, closure(lv_tasmota_splash_remove_closure)
splash, closure(module_lv_tasmota_splash_closure)
splash_init, closure(module_lv_tasmota_splash_init_closure)
splash_remove, closure(module_lv_tasmota_splash_remove_closure)
font_montserrat, func(lv0_load_montserrat_font)
montserrat_font, func(lv0_load_montserrat_font)

View File

@ -102,7 +102,7 @@ class be_class_tasmota (scope: global, name: Tasmota) {
_global_addr, comptr(&TasmotaGlobal)
_settings_ptr, comptr(&Settings)
init, closure(Tasmota_init_closure)
init, closure(class_Tasmota_init_closure)
get_free_heap, func(l_getFreeHeap)
arch, func(l_arch)
@ -155,51 +155,51 @@ class be_class_tasmota (scope: global, name: Tasmota) {
i2c_enabled, func(l_i2cenabled)
version, ctype_func(be_Tasmota_version)
fast_loop, closure(Tasmota_fast_loop_closure)
add_fast_loop, closure(Tasmota_add_fast_loop_closure)
remove_fast_loop, closure(Tasmota_remove_fast_loop_closure)
cmd, closure(Tasmota_cmd_closure)
fast_loop, closure(class_Tasmota_fast_loop_closure)
add_fast_loop, closure(class_Tasmota_add_fast_loop_closure)
remove_fast_loop, closure(class_Tasmota_remove_fast_loop_closure)
cmd, closure(class_Tasmota_cmd_closure)
_find_op, func(tasm_find_op) // new C version for finding a rule operator
_apply_str_op, func(tasm_apply_str_op)
find_key_i, closure(Tasmota_find_key_i_closure)
find_list_i, closure(Tasmota_find_list_i_closure)
find_op, closure(Tasmota_find_op_closure)
add_rule, closure(Tasmota_add_rule_closure)
remove_rule, closure(Tasmota_remove_rule_closure)
try_rule, closure(Tasmota_try_rule_closure)
exec_rules, closure(Tasmota_exec_rules_closure)
exec_tele, closure(Tasmota_exec_tele_closure)
set_timer, closure(Tasmota_set_timer_closure)
run_deferred, closure(Tasmota_run_deferred_closure)
remove_timer, closure(Tasmota_remove_timer_closure)
add_cmd, closure(Tasmota_add_cmd_closure)
remove_cmd, closure(Tasmota_remove_cmd_closure)
exec_cmd, closure(Tasmota_exec_cmd_closure)
gc, closure(Tasmota_gc_closure)
event, closure(Tasmota_event_closure)
add_driver, closure(Tasmota_add_driver_closure)
remove_driver, closure(Tasmota_remove_driver_closure)
load, closure(Tasmota_load_closure)
compile, closure(Tasmota_compile_closure)
wire_scan, closure(Tasmota_wire_scan_closure)
time_str, closure(Tasmota_time_str_closure)
urlfetch, closure(Tasmota_urlfetch_closure)
urlfetch_cmd, closure(Tasmota_urlfetch_cmd_closure)
find_key_i, closure(class_Tasmota_find_key_i_closure)
find_list_i, closure(class_Tasmota_find_list_i_closure)
find_op, closure(class_Tasmota_find_op_closure)
add_rule, closure(class_Tasmota_add_rule_closure)
remove_rule, closure(class_Tasmota_remove_rule_closure)
try_rule, closure(class_Tasmota_try_rule_closure)
exec_rules, closure(class_Tasmota_exec_rules_closure)
exec_tele, closure(class_Tasmota_exec_tele_closure)
set_timer, closure(class_Tasmota_set_timer_closure)
run_deferred, closure(class_Tasmota_run_deferred_closure)
remove_timer, closure(class_Tasmota_remove_timer_closure)
add_cmd, closure(class_Tasmota_add_cmd_closure)
remove_cmd, closure(class_Tasmota_remove_cmd_closure)
exec_cmd, closure(class_Tasmota_exec_cmd_closure)
gc, closure(class_Tasmota_gc_closure)
event, closure(class_Tasmota_event_closure)
add_driver, closure(class_Tasmota_add_driver_closure)
remove_driver, closure(class_Tasmota_remove_driver_closure)
load, closure(class_Tasmota_load_closure)
compile, closure(class_Tasmota_compile_closure)
wire_scan, closure(class_Tasmota_wire_scan_closure)
time_str, closure(class_Tasmota_time_str_closure)
urlfetch, closure(class_Tasmota_urlfetch_closure)
urlfetch_cmd, closure(class_Tasmota_urlfetch_cmd_closure)
urlbecload, static_ctype_func(BerryBECLoader)
add_cron, closure(Tasmota_add_cron_closure)
run_cron, closure(Tasmota_run_cron_closure)
next_cron, closure(Tasmota_next_cron_closure)
remove_cron, closure(Tasmota_remove_cron_closure)
add_cron, closure(class_Tasmota_add_cron_closure)
run_cron, closure(class_Tasmota_run_cron_closure)
next_cron, closure(class_Tasmota_next_cron_closure)
remove_cron, closure(class_Tasmota_remove_cron_closure)
check_not_method, closure(Tasmota_check_not_method_closure)
check_not_method, closure(class_Tasmota_check_not_method_closure)
hs2rgb, closure(Tasmota_hs2rgb_closure)
hs2rgb, closure(class_Tasmota_hs2rgb_closure)
gen_cb, closure(Tasmota_gen_cb_closure)
gen_cb, closure(class_Tasmota_gen_cb_closure)
get_light, closure(Tasmota_get_light_closure)
set_light, closure(Tasmota_set_light_closure)
get_light, closure(class_Tasmota_get_light_closure)
set_light, closure(class_Tasmota_set_light_closure)
Rule_Matcher, class(be_class_Rule_Matcher)
}

View File

@ -46,8 +46,8 @@ class be_class_Wire (scope: global, name: Wire) {
detect, func(b_wire_detect)
enabled, func(b_wire_enabled)
read_bytes, closure(Wire_read_bytes_closure)
write_bytes, closure(Wire_write_bytes_closure)
read_bytes, closure(class_Wire_read_bytes_closure)
write_bytes, closure(class_Wire_write_bytes_closure)
}
@const_object_info_end */

View File

@ -98,7 +98,7 @@ class be_class_zb_device (scope: global, name: zb_device, strings: weak) {
member, func(zd_member)
tostring, closure(zb_device_tostring_closure)
tostring, closure(class_zb_device_tostring_closure)
}
@const_object_info_end */

View File

@ -7,7 +7,8 @@
/********************************************************************
** Solidified function: read_bytes
********************************************************************/
be_local_closure(Wire_read_bytes, /* name */
extern const bclass be_class_Wire;
be_local_closure(class_Wire_read_bytes, /* name */
be_nested_proto(
8, /* nstack */
4, /* argc */
@ -15,7 +16,7 @@ be_local_closure(Wire_read_bytes, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Wire,
1, /* has constants */
( &(const bvalue[ 6]) { /* constants */
/* K0 */ be_nested_str(_begin_transmission),
@ -61,7 +62,8 @@ be_local_closure(Wire_read_bytes, /* name */
/********************************************************************
** Solidified function: write_bytes
********************************************************************/
be_local_closure(Wire_write_bytes, /* name */
extern const bclass be_class_Wire;
be_local_closure(class_Wire_write_bytes, /* name */
be_nested_proto(
7, /* nstack */
4, /* argc */
@ -69,7 +71,7 @@ be_local_closure(Wire_write_bytes, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Wire,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str(_begin_transmission),

View File

@ -9,7 +9,8 @@ extern const bclass be_class_Autoconf;
/********************************************************************
** Solidified function: page_autoconf_ctl
********************************************************************/
be_local_closure(Autoconf_page_autoconf_ctl, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_page_autoconf_ctl, /* name */
be_nested_proto(
11, /* nstack */
1, /* argc */
@ -17,7 +18,7 @@ be_local_closure(Autoconf_page_autoconf_ctl, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[39]) { /* constants */
/* K0 */ be_nested_str(webserver),
@ -188,7 +189,8 @@ be_local_closure(Autoconf_page_autoconf_ctl, /* name */
/********************************************************************
** Solidified function: autoexec
********************************************************************/
be_local_closure(Autoconf_autoexec, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_autoexec, /* name */
be_nested_proto(
13, /* nstack */
1, /* argc */
@ -196,7 +198,7 @@ be_local_closure(Autoconf_autoexec, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[30]) { /* constants */
/* K0 */ be_nested_str(_archive),
@ -389,7 +391,8 @@ be_local_closure(Autoconf_autoexec, /* name */
/********************************************************************
** Solidified function: run_bat
********************************************************************/
be_local_closure(Autoconf_run_bat, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_run_bat, /* name */
be_nested_proto(
12, /* nstack */
2, /* argc */
@ -397,7 +400,7 @@ be_local_closure(Autoconf_run_bat, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[11]) { /* constants */
/* K0 */ be_nested_str(r),
@ -492,7 +495,8 @@ be_local_closure(Autoconf_run_bat, /* name */
/********************************************************************
** Solidified function: page_autoconf_mgr
********************************************************************/
be_local_closure(Autoconf_page_autoconf_mgr, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_page_autoconf_mgr, /* name */
be_nested_proto(
18, /* nstack */
1, /* argc */
@ -500,7 +504,7 @@ be_local_closure(Autoconf_page_autoconf_mgr, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[38]) { /* constants */
/* K0 */ be_nested_str(webserver),
@ -678,7 +682,8 @@ be_local_closure(Autoconf_page_autoconf_mgr, /* name */
/********************************************************************
** Solidified function: get_current_module_name
********************************************************************/
be_local_closure(Autoconf_get_current_module_name, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_get_current_module_name, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -686,7 +691,7 @@ be_local_closure(Autoconf_get_current_module_name, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 2]) { /* constants */
/* K0 */ be_nested_str(_archive),
@ -709,7 +714,8 @@ be_local_closure(Autoconf_get_current_module_name, /* name */
/********************************************************************
** Solidified function: delete_all_configs
********************************************************************/
be_local_closure(Autoconf_delete_all_configs, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_delete_all_configs, /* name */
be_nested_proto(
10, /* nstack */
1, /* argc */
@ -717,7 +723,7 @@ be_local_closure(Autoconf_delete_all_configs, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str(path),
@ -767,7 +773,8 @@ be_local_closure(Autoconf_delete_all_configs, /* name */
/********************************************************************
** Solidified function: set_first_time
********************************************************************/
be_local_closure(Autoconf_set_first_time, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_set_first_time, /* name */
be_nested_proto(
4, /* nstack */
1, /* argc */
@ -775,7 +782,7 @@ be_local_closure(Autoconf_set_first_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str(_X2F_X2Eautoconf),
@ -801,7 +808,8 @@ be_local_closure(Autoconf_set_first_time, /* name */
/********************************************************************
** Solidified function: load_templates
********************************************************************/
be_local_closure(Autoconf_load_templates, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_load_templates, /* name */
be_nested_proto(
13, /* nstack */
1, /* argc */
@ -809,7 +817,7 @@ be_local_closure(Autoconf_load_templates, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[19]) { /* constants */
/* K0 */ be_nested_str(json),
@ -929,7 +937,8 @@ be_local_closure(Autoconf_load_templates, /* name */
/********************************************************************
** Solidified function: web_add_config_button
********************************************************************/
be_local_closure(Autoconf_web_add_config_button, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_web_add_config_button, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -937,7 +946,7 @@ be_local_closure(Autoconf_web_add_config_button, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str(webserver),
@ -961,7 +970,8 @@ be_local_closure(Autoconf_web_add_config_button, /* name */
/********************************************************************
** Solidified function: is_first_time
********************************************************************/
be_local_closure(Autoconf_is_first_time, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_is_first_time, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -969,7 +979,7 @@ be_local_closure(Autoconf_is_first_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str(path),
@ -996,7 +1006,8 @@ be_local_closure(Autoconf_is_first_time, /* name */
/********************************************************************
** Solidified function: init
********************************************************************/
be_local_closure(Autoconf_init, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_init, /* name */
be_nested_proto(
12, /* nstack */
1, /* argc */
@ -1004,7 +1015,7 @@ be_local_closure(Autoconf_init, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[17]) { /* constants */
/* K0 */ be_nested_str(path),
@ -1090,7 +1101,8 @@ be_local_closure(Autoconf_init, /* name */
/********************************************************************
** Solidified function: preinit
********************************************************************/
be_local_closure(Autoconf_preinit, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_preinit, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -1098,7 +1110,7 @@ be_local_closure(Autoconf_preinit, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[10]) { /* constants */
/* K0 */ be_nested_str(_archive),
@ -1150,7 +1162,8 @@ be_local_closure(Autoconf_preinit, /* name */
/********************************************************************
** Solidified function: reset
********************************************************************/
be_local_closure(Autoconf_reset, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_reset, /* name */
be_nested_proto(
11, /* nstack */
1, /* argc */
@ -1158,7 +1171,7 @@ be_local_closure(Autoconf_reset, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[12]) { /* constants */
/* K0 */ be_nested_str(path),
@ -1221,7 +1234,8 @@ be_local_closure(Autoconf_reset, /* name */
/********************************************************************
** Solidified function: web_add_handler
********************************************************************/
be_local_closure(Autoconf_web_add_handler, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_web_add_handler, /* name */
be_nested_proto(
7, /* nstack */
1, /* argc */
@ -1229,7 +1243,7 @@ be_local_closure(Autoconf_web_add_handler, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 2]) {
( &(const struct bproto*[ 3]) {
be_nested_proto(
2, /* nstack */
0, /* argc */
@ -1239,7 +1253,7 @@ be_local_closure(Autoconf_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str(page_autoconf_mgr),
@ -1262,7 +1276,7 @@ be_local_closure(Autoconf_web_add_handler, /* name */
be_local_const_upval(1, 0),
}),
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str(page_autoconf_ctl),
@ -1276,6 +1290,7 @@ be_local_closure(Autoconf_web_add_handler, /* name */
0x80040000, // 0003 RET 1 R0
})
),
&be_class_Autoconf,
}),
1, /* has constants */
( &(const bvalue[ 5]) { /* constants */
@ -1310,7 +1325,8 @@ be_local_closure(Autoconf_web_add_handler, /* name */
/********************************************************************
** Solidified function: clear_first_time
********************************************************************/
be_local_closure(Autoconf_clear_first_time, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_clear_first_time, /* name */
be_nested_proto(
5, /* nstack */
1, /* argc */
@ -1318,7 +1334,7 @@ be_local_closure(Autoconf_clear_first_time, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str(path),
@ -1342,7 +1358,8 @@ be_local_closure(Autoconf_clear_first_time, /* name */
/********************************************************************
** Solidified function: get_current_module_path
********************************************************************/
be_local_closure(Autoconf_get_current_module_path, /* name */
extern const bclass be_class_Autoconf;
be_local_closure(class_Autoconf_get_current_module_path, /* name */
be_nested_proto(
2, /* nstack */
1, /* argc */
@ -1350,7 +1367,7 @@ be_local_closure(Autoconf_get_current_module_path, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
&be_class_Autoconf,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_nested_str(_archive),
@ -1374,24 +1391,24 @@ be_local_class(Autoconf,
NULL,
be_nested_map(18,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key(page_autoconf_ctl, -1), be_const_closure(Autoconf_page_autoconf_ctl_closure) },
{ be_const_key(autoexec, -1), be_const_closure(Autoconf_autoexec_closure) },
{ be_const_key(run_bat, 17), be_const_closure(Autoconf_run_bat_closure) },
{ be_const_key(page_autoconf_mgr, -1), be_const_closure(Autoconf_page_autoconf_mgr_closure) },
{ be_const_key(get_current_module_path, 13), be_const_closure(Autoconf_get_current_module_path_closure) },
{ be_const_key(preinit, -1), be_const_closure(Autoconf_preinit_closure) },
{ be_const_key(clear_first_time, -1), be_const_closure(Autoconf_clear_first_time_closure) },
{ be_const_key(load_templates, -1), be_const_closure(Autoconf_load_templates_closure) },
{ be_const_key(page_autoconf_ctl, -1), be_const_closure(class_Autoconf_page_autoconf_ctl_closure) },
{ be_const_key(autoexec, -1), be_const_closure(class_Autoconf_autoexec_closure) },
{ be_const_key(run_bat, 17), be_const_closure(class_Autoconf_run_bat_closure) },
{ be_const_key(page_autoconf_mgr, -1), be_const_closure(class_Autoconf_page_autoconf_mgr_closure) },
{ be_const_key(get_current_module_path, 13), be_const_closure(class_Autoconf_get_current_module_path_closure) },
{ be_const_key(preinit, -1), be_const_closure(class_Autoconf_preinit_closure) },
{ be_const_key(clear_first_time, -1), be_const_closure(class_Autoconf_clear_first_time_closure) },
{ be_const_key(load_templates, -1), be_const_closure(class_Autoconf_load_templates_closure) },
{ be_const_key(_archive, -1), be_const_var(0) },
{ be_const_key(web_add_config_button, -1), be_const_closure(Autoconf_web_add_config_button_closure) },
{ be_const_key(is_first_time, -1), be_const_closure(Autoconf_is_first_time_closure) },
{ be_const_key(web_add_handler, -1), be_const_closure(Autoconf_web_add_handler_closure) },
{ be_const_key(delete_all_configs, 4), be_const_closure(Autoconf_delete_all_configs_closure) },
{ be_const_key(reset, 5), be_const_closure(Autoconf_reset_closure) },
{ be_const_key(get_current_module_name, 11), be_const_closure(Autoconf_get_current_module_name_closure) },
{ be_const_key(init, 6), be_const_closure(Autoconf_init_closure) },
{ be_const_key(web_add_config_button, -1), be_const_closure(class_Autoconf_web_add_config_button_closure) },
{ be_const_key(is_first_time, -1), be_const_closure(class_Autoconf_is_first_time_closure) },
{ be_const_key(web_add_handler, -1), be_const_closure(class_Autoconf_web_add_handler_closure) },
{ be_const_key(delete_all_configs, 4), be_const_closure(class_Autoconf_delete_all_configs_closure) },
{ be_const_key(reset, 5), be_const_closure(class_Autoconf_reset_closure) },
{ be_const_key(get_current_module_name, 11), be_const_closure(class_Autoconf_get_current_module_name_closure) },
{ be_const_key(init, 6), be_const_closure(class_Autoconf_init_closure) },
{ be_const_key(_error, -1), be_const_var(1) },
{ be_const_key(set_first_time, -1), be_const_closure(Autoconf_set_first_time_closure) },
{ be_const_key(set_first_time, -1), be_const_closure(class_Autoconf_set_first_time_closure) },
})),
(bstring*) &be_const_str_Autoconf
);
@ -1399,7 +1416,7 @@ be_local_class(Autoconf,
/********************************************************************
** Solidified function: _anonymous_
********************************************************************/
be_local_closure(autoconf__anonymous_, /* name */
be_local_closure(_anonymous_, /* name */
be_nested_proto(
3, /* nstack */
1, /* argc */
@ -1407,7 +1424,7 @@ be_local_closure(autoconf__anonymous_, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 1]) { /* constants */
/* K0 */ be_const_class(be_class_Autoconf),
@ -1433,7 +1450,7 @@ be_local_module(autoconf,
"autoconf",
be_nested_map(1,
( (struct bmapnode*) &(const bmapnode[]) {
{ be_const_key(init, -1), be_const_closure(autoconf__anonymous__closure) },
{ be_const_key(init, -1), be_const_closure(_anonymous__closure) },
}))
);
BE_EXPORT_VARIABLE be_define_const_native_module(autoconf);

View File

@ -15,7 +15,7 @@ be_local_closure(_f, /* name */
0, /* has upvals */
NULL, /* no upvals */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
( &(const struct bproto*[ 2]) {
be_nested_proto(
6, /* nstack */
2, /* argc */
@ -23,7 +23,7 @@ be_local_closure(_f, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 3]) { /* constants */
/* K0 */ be_nested_str_weak(size),
@ -54,6 +54,7 @@ be_local_closure(_f, /* name */
0x80000000, // 0012 RET 0
})
),
NULL,
}),
1, /* has constants */
( &(const bvalue[10]) { /* constants */
@ -125,7 +126,7 @@ be_local_closure(PBKDF2_HMAC_SHA256, /* name */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
NULL,
1, /* has constants */
( &(const bvalue[ 9]) { /* constants */
/* K0 */ be_nested_str_weak(string),

Some files were not shown because too many files have changed in this diff Show More