Merge branch 'development' into prerelease-14.1.0
This commit is contained in:
commit
2a2e853ff2
6
.github/workflows/Tasmota_build_devel.yml
vendored
6
.github/workflows/Tasmota_build_devel.yml
vendored
@ -25,9 +25,9 @@ jobs:
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install clang compiler
|
||||
run: |
|
||||
sudo apt-get install -f clang
|
||||
#- name: Install clang compiler
|
||||
#run: |
|
||||
#sudo apt-get install -f clang
|
||||
- name: Make Berry and Tasmota Berry code
|
||||
run: |
|
||||
cd lib/libesp32/berry
|
||||
|
||||
@ -267,7 +267,6 @@ Note: the `minimal` variant is not listed as it shouldn't be used outside of the
|
||||
| USE_WEBCAM | | / - | | | | |
|
||||
| USE_ETHERNET | | / x | | | | |
|
||||
| USE_I2S_AUDIO | | / - | | | | |
|
||||
| USE_TTGO_WATCH | | / - | | | | |
|
||||
| USE_SONOFF_SPM | | / x | | | | |
|
||||
| USE_DISPLAY_TM1621_SONOFF | | / x | | | | |
|
||||
| USE_SHELLY_PRO | | / x | | | | |
|
||||
|
||||
73
CHANGELOG.md
73
CHANGELOG.md
@ -3,6 +3,79 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Released]
|
||||
|
||||
## [14.1.0] 20240603
|
||||
- Release Rachel
|
||||
|
||||
## [14.0.0.4] 20240603
|
||||
### Added
|
||||
- SML FastExit for binary SML parsing (#21497)
|
||||
|
||||
### Changed
|
||||
- TCP bridge increased baudrate selection (#21528)
|
||||
- Berry coc parser keeps order of variables (#21542)
|
||||
|
||||
### Fixed
|
||||
- uDisplay Parallel display on Core3 (#21529)
|
||||
- LVGL exception when using tjpegd (#21544)
|
||||
|
||||
### Removed
|
||||
- Deprecated code from drivers, `USE_TTGO_WATCH` and `USE_M5STACK_CORE2` (#21533)
|
||||
|
||||
## [14.0.0.3] 20240530
|
||||
### Changed
|
||||
- ESP32 Core3 platform update from 2024.05.12 to 2024.05.13 (#21524)
|
||||
|
||||
### Fixed
|
||||
- ESP32 slow response when using UDP as in emulation (#21470)
|
||||
|
||||
## [14.0.0.2] 20240529
|
||||
### Added
|
||||
- Disabled watchdog for ESP32 and variants (#21509)
|
||||
|
||||
### Changed
|
||||
- Update Telegram CA (Go Daddy Root Certificate Authority - G2)
|
||||
|
||||
### Fixed
|
||||
- Telegram TLS fingerprint, remove CA validation (#21514)
|
||||
- ESP32 I2S multiple fixes (#21511)
|
||||
|
||||
## [14.0.0.1] 20240527
|
||||
### Added
|
||||
- Enabled watchdog for ESP32 and variants (#21422)
|
||||
- Optional command ``WebRun`` (as WebQuery extension) (#21364)
|
||||
- Support for Knx dimmer and color (#21434)
|
||||
- Support for Matter 1.3 Water leak detectors (#21456)
|
||||
- Berry add reuse of methods for interface-like code reuse (#21500)
|
||||
|
||||
### Changed
|
||||
- ESP32 compiler option from `target-align` to `no-target-align` (#21407)
|
||||
- On universal display remove default backlight power if a PWM channel is used for backlight
|
||||
- Berry binary compiled with gcc (#21426)
|
||||
- GPIOViewer from v1.5.2 to v1.5.3 (No functional change)
|
||||
- Berry allow easy solidification of external Berry (#21430)
|
||||
- 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 (#21490)
|
||||
- ESP32 Core3 platform update from 2024.05.11 to 2024.05.12 (#21493)
|
||||
|
||||
### Fixed
|
||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)
|
||||
- Watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401)
|
||||
- Avoid connection errors when switching to safeboot to upload OTA firmware (#21428)
|
||||
- Berry Leds matrix alternate more and error about 'bri' attribute (#21431)
|
||||
- Wrong timeout in `WebQuery` and `webclient` since Core3 (#21442)
|
||||
- Webradio crash with invalid url (#21446)
|
||||
- Zigbee crash when removing `ZbName` (#21449)
|
||||
- ESP32 BLE fix scanning (#21451)
|
||||
- I2S APLL not supported on all SOCs (#21483)
|
||||
- UfsServe watchdog on large folder (#21486)
|
||||
- Matter auto-fix IPv6 link-local zone id when network reconnects (#21494)
|
||||
- SML compile error when median-filter is disabled (#21495)
|
||||
- Hydreon RG15 malformed JSON string (#21508)
|
||||
|
||||
### Removed
|
||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 (#21417)
|
||||
|
||||
## [14.0.0] 20240515
|
||||
- Release Rodney
|
||||
|
||||
|
||||
170
RELEASENOTES.md
170
RELEASENOTES.md
@ -40,7 +40,7 @@ This release will be supported from ESP32/Arduino library Core version **3.0.0**
|
||||
|
||||
Support of ESP8266 Core versions before 2.7.6 and ESP32 Core versions before 3.0.0 have been removed.
|
||||
|
||||
### Known issues with v14.0.0
|
||||
### Known issues with v14.1.0
|
||||
|
||||
Due to the change from ESP32 Arduino Core2/IDF4 to Arduino Core3/IDF5 not all functionality has been restored. The following features are known not to work on ESP32:
|
||||
- Wifi Range Extender [#21200](https://github.com/arendst/Tasmota/issues/21200)
|
||||
@ -80,7 +80,7 @@ Latest released binaries can be downloaded from
|
||||
- http://ota.tasmota.com/tasmota/release
|
||||
|
||||
Historical binaries can be downloaded from
|
||||
- http://ota.tasmota.com/tasmota/release-14.0.0
|
||||
- http://ota.tasmota.com/tasmota/release-14.1.0
|
||||
|
||||
The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmota.com/tasmota/release/tasmota.bin.gz``
|
||||
|
||||
@ -109,7 +109,7 @@ Latest released binaries can be downloaded from
|
||||
- https://ota.tasmota.com/tasmota32/release
|
||||
|
||||
Historical binaries can be downloaded from
|
||||
- https://ota.tasmota.com/tasmota32/release-14.0.0
|
||||
- https://ota.tasmota.com/tasmota32/release-14.1.0
|
||||
|
||||
The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasmota.com/tasmota32/release/tasmota32.bin``
|
||||
|
||||
@ -119,137 +119,47 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||
|
||||
[Complete list](BUILDS.md) of available feature and sensors.
|
||||
|
||||
## Changelog v14.0.0 Rodney
|
||||
## Changelog v14.1.0 Rachel
|
||||
### Added
|
||||
- PlatformIO target reset [#21292](https://github.com/arendst/Tasmota/issues/21292)
|
||||
- Command ``Wifi 6`` to enable 11ax on ESP32
|
||||
- Command ``PowerLock`` to disable power control of selected outputs [#21081](https://github.com/arendst/Tasmota/issues/21081)
|
||||
- Command ``Publish3`` to send binary data encoded as Hex, disabled in safeboot [#21329](https://github.com/arendst/Tasmota/issues/21329)
|
||||
- Support for calculated heat index if temperature and humidity is available with ``#define USE_HEAT_INDEX`` [#4771](https://github.com/arendst/Tasmota/issues/4771)
|
||||
- Support for LoRa and single channel EU863-870 LoRaWanBridge [#17790](https://github.com/arendst/Tasmota/issues/17790)
|
||||
- Support for AMS5915/AMS6915 temperature and pressure sensors [#20814](https://github.com/arendst/Tasmota/issues/20814)
|
||||
- Support for LWT messages in TasMesh [#20392](https://github.com/arendst/Tasmota/issues/20392)
|
||||
- Support IR data larger than 64 bits [#20831](https://github.com/arendst/Tasmota/issues/20831)
|
||||
- Support for MCP23S08 [#20971](https://github.com/arendst/Tasmota/issues/20971)
|
||||
- Support for ESP32-S3 120Mhz [#20973](https://github.com/arendst/Tasmota/issues/20973)
|
||||
- Support Azure iothub direct method [#21013](https://github.com/arendst/Tasmota/issues/21013)
|
||||
- Support for Domoticz non-persistent ``DzIdx5`` to ``DzIdx32`` and disabling DOMOTICZ_OUT_TOPIC subscribe using command ``DzIdx0 0`` [#21019](https://github.com/arendst/Tasmota/issues/21019)
|
||||
- Support SPI GPIO configuration for Universal Touch Screen [#21025](https://github.com/arendst/Tasmota/issues/21025)
|
||||
- Support for SPL06_007 pressure and temperature sensor [#21185](https://github.com/arendst/Tasmota/issues/21185)
|
||||
- Support for AHT30 Temperature and Humidity Sensor [#19922](https://github.com/arendst/Tasmota/issues/19922)
|
||||
- Support for compile time hostname with `#define WIFI_DEFAULT_HOSTNAME` (#21236)[#21236](https://github.com/arendst/Tasmota/issues/21236)
|
||||
- GPIOViewer pin mode support
|
||||
- Zigbee support for attributes of type `uint48` used by energy monitoring [#20992](https://github.com/arendst/Tasmota/issues/20992)
|
||||
- QMC5883l check for overflow and scale reading [#20643](https://github.com/arendst/Tasmota/issues/20643)
|
||||
- TCP Serial bridge GPIO type `TCP Tx En` [#21269](https://github.com/arendst/Tasmota/issues/21269)
|
||||
- ESP32 esp32_partition_app3904k_fs3392k partition scheme for 8MB ESP32S3 [#21241](https://github.com/arendst/Tasmota/issues/21241)
|
||||
- ESP32 Compile option disabling PSRam check to avoid "blinking" of GPIO 16/17 at startup [#21282](https://github.com/arendst/Tasmota/issues/21282)
|
||||
- Berry explicit error log when memory allocation fails [#20807](https://github.com/arendst/Tasmota/issues/20807)
|
||||
- Berry `path.rename()` [#20840](https://github.com/arendst/Tasmota/issues/20840)
|
||||
- Berry `string.startswith`, `string.endswith` and `%q` format [#20909](https://github.com/arendst/Tasmota/issues/20909)
|
||||
- Berry `close()` to class `serial` [#21042](https://github.com/arendst/Tasmota/issues/21042)
|
||||
- Berry `flash.current_ota` [#21097](https://github.com/arendst/Tasmota/issues/21097)
|
||||
- Berry `webserver.content_close()` [#21276](https://github.com/arendst/Tasmota/issues/21276)
|
||||
- Berry wave file recorder [#21315](https://github.com/arendst/Tasmota/issues/21315)
|
||||
- Berry `after_teleperiod` event matching `FUNC_AFTER_TELEPERIOD` [#21351](https://github.com/arendst/Tasmota/issues/21351)
|
||||
- LVGL and HASPmota typicons font [#20742](https://github.com/arendst/Tasmota/issues/20742)
|
||||
- LVGL `lv.draw_label_dsc` and `lv_bar.get_indic_area` [#20936](https://github.com/arendst/Tasmota/issues/20936)
|
||||
- HASPmota `p<x>b<y>.delete` to delete an object [#20735](https://github.com/arendst/Tasmota/issues/20735)
|
||||
- HASPmota improve arc and img [#20894](https://github.com/arendst/Tasmota/issues/20894)
|
||||
- HASPmota support for scale, percentages [#20974](https://github.com/arendst/Tasmota/issues/20974)
|
||||
- HASPmota `dropdown_list` and fixes [#21208](https://github.com/arendst/Tasmota/issues/21208)
|
||||
- HASPmota demo of Renaissance Watch for 480x480 displays [#21290](https://github.com/arendst/Tasmota/issues/21290)
|
||||
|
||||
### Breaking Changed
|
||||
- Drop support for old (insecure) fingerprint format [#20842](https://github.com/arendst/Tasmota/issues/20842)
|
||||
- Removed dedicated touch drivers in favour of Universal Touch driver [#21146](https://github.com/arendst/Tasmota/issues/21146)
|
||||
- ESP32-C3 OTA binary name from `tasmota32c3cdc.bin` to `tasmota32c3.bin` with USB HWCDC and fallback to serial [#21212](https://github.com/arendst/Tasmota/issues/21212)
|
||||
- ESP32-C6 OTA binary name from `tasmota32c6cdc.bin` to `tasmota32c6.bin` with USB HWCDC and fallback to serial [#21212](https://github.com/arendst/Tasmota/issues/21212)
|
||||
- ESP32-S3 OTA binary name from `tasmota32s3cdc.bin` to `tasmota32s3.bin` with USB HWCDC and fallback to serial [#21212](https://github.com/arendst/Tasmota/issues/21212)
|
||||
- Berry loading .be file does not generated .bec anymore [#21075](https://github.com/arendst/Tasmota/issues/21075)
|
||||
- LVGL remove embedded typicons font [#20872](https://github.com/arendst/Tasmota/issues/20872)
|
||||
- LVGL remove `textarea` and `spinbox` from binaries [#20916](https://github.com/arendst/Tasmota/issues/20916)
|
||||
- Optional command ``WebRun`` (as WebQuery extension) [#21364](https://github.com/arendst/Tasmota/issues/21364)
|
||||
- Support for Knx dimmer and color [#21434](https://github.com/arendst/Tasmota/issues/21434)
|
||||
- SML FastExit for binary SML parsing [#21497](https://github.com/arendst/Tasmota/issues/21497)
|
||||
- Berry add reuse of methods for interface-like code reuse [#21500](https://github.com/arendst/Tasmota/issues/21500)
|
||||
- Support for Matter 1.3 Water leak detectors [#21456](https://github.com/arendst/Tasmota/issues/21456)
|
||||
|
||||
### Changed
|
||||
- ESP32 Framework (Arduino Core) from v2.0.14 to v3.0.0
|
||||
- ESP32 platform update from 2024.01.12 to 2024.05.11 [#21381](https://github.com/arendst/Tasmota/issues/21381)
|
||||
- ESP32 LVGL library from v9.0.0 to v9.1.0 [#21008](https://github.com/arendst/Tasmota/issues/21008)
|
||||
- GPIOViewer from v1.5.0 to v1.5.2
|
||||
- Seriallog set to `SERIAL_LOG_LEVEL` at boot [#21363](https://github.com/arendst/Tasmota/issues/21363)
|
||||
- TLS Letsencrypt replace R3 CA with long-term ISRG_Root_X1 CA, which works with R3 and R10-R14 [#21352](https://github.com/arendst/Tasmota/issues/21352)
|
||||
- Command ``Pixels`` initiates a restart before activation due to changed NeoPixelBus library [#21406](https://github.com/arendst/Tasmota/issues/21406)
|
||||
- Command ``EthType`` option selection [#21317](https://github.com/arendst/Tasmota/issues/21317)
|
||||
- Refactor Platformio script `post_esp32.py` [#20966](https://github.com/arendst/Tasmota/issues/20966)
|
||||
- SGP4x Domoticz air quality value from raw to computed [#18880](https://github.com/arendst/Tasmota/issues/18880)
|
||||
- NeoPool webUI pH alarms (4 & 5) completed [#20743](https://github.com/arendst/Tasmota/issues/20743)
|
||||
- Prevent shutter MQTT broadcast with activated ShutterLock [#20827](https://github.com/arendst/Tasmota/issues/20827)
|
||||
- Some `display.ini` to utouch [#21029](https://github.com/arendst/Tasmota/issues/21029)
|
||||
- KNX format of energy to match specifications [#21074](https://github.com/arendst/Tasmota/issues/21074)
|
||||
- Internal macro `APP_SLEEP` to `TASMOTA_SLEEP` to specify default sleep in ms [#21324](https://github.com/arendst/Tasmota/issues/21324)
|
||||
- uDisplay fast drawing on RGB displays [#21257](https://github.com/arendst/Tasmota/issues/21257)
|
||||
- HDMI CEC synchronously sends messages [#21270](https://github.com/arendst/Tasmota/issues/21270)
|
||||
- Refactor I2S [#21291](https://github.com/arendst/Tasmota/issues/21291)
|
||||
- Zigbee startup event triggered after plugins are loaded [#21320](https://github.com/arendst/Tasmota/issues/21320)
|
||||
- Refactor Tensorflow [#21327](https://github.com/arendst/Tasmota/issues/21327)
|
||||
- ESP32 refactored Wifi for ESP32 Core3 release [#21106](https://github.com/arendst/Tasmota/issues/21106)
|
||||
- ESP32 WiFi phy modes 11n and 11ax represented as HT20, HT40 and HE20 [#19350](https://github.com/arendst/Tasmota/issues/19350)
|
||||
- berry.exe (pre-compiled for Windows) updated to latest Berry patches [#21024](https://github.com/arendst/Tasmota/issues/21024)
|
||||
- Berry class `int64` made immutable [#20727](https://github.com/arendst/Tasmota/issues/20727)
|
||||
- Berry `Leds` uses native WS2812 driver by default [#21406](https://github.com/arendst/Tasmota/issues/21406)
|
||||
- Matter reduce memory usage when reading with wildcards [#20809](https://github.com/arendst/Tasmota/issues/20809)
|
||||
- LVGL make lv_touch_3_buttons more responsive [#20728](https://github.com/arendst/Tasmota/issues/20728)
|
||||
- LVGL optimize fonts and add icons [#20880](https://github.com/arendst/Tasmota/issues/20880)
|
||||
- LVGL improved readability of montserrat-10 [#20900](https://github.com/arendst/Tasmota/issues/20900)
|
||||
- HASPmota fix and improve demo with pixel-perfect fonts [#20734](https://github.com/arendst/Tasmota/issues/20734)
|
||||
- HASPmota more attributes [#20744](https://github.com/arendst/Tasmota/issues/20744)
|
||||
- HASPmota support for spangroup (styled text) [#20852](https://github.com/arendst/Tasmota/issues/20852)
|
||||
- HASPmota support for led [#20857](https://github.com/arendst/Tasmota/issues/20857)
|
||||
- HASPmota moved to a distinct library `lv_haspmota` [#20929](https://github.com/arendst/Tasmota/issues/20929)
|
||||
- HASPmota solidify server-side [#20938](https://github.com/arendst/Tasmota/issues/20938)
|
||||
- ESP32 Core3 platform update from 2024.05.11 to 2024.05.13 [#21524](https://github.com/arendst/Tasmota/issues/21524)
|
||||
- GPIOViewer from v1.5.2 to v1.5.3
|
||||
- On universal display remove default backlight power if a PWM channel is used for backlight
|
||||
- TCP bridge increased baudrate selection [#21528](https://github.com/arendst/Tasmota/issues/21528)
|
||||
- Support W5500 SPI ethernet using four SPI GPIOs only without IRQ and RESET
|
||||
- ESP32 compiler option from `target-align` to `no-target-align` [#21407](https://github.com/arendst/Tasmota/issues/21407)
|
||||
- ESP32 I2S audio improvements [#21433](https://github.com/arendst/Tasmota/issues/21433)
|
||||
- Berry binary compiled with gcc [#21426](https://github.com/arendst/Tasmota/issues/21426)
|
||||
- Berry allow easy solidification of external Berry [#21430](https://github.com/arendst/Tasmota/issues/21430)
|
||||
- Berry change internal storage of parent class for methods [#21490](https://github.com/arendst/Tasmota/issues/21490)
|
||||
- Berry coc parser keeps order of variables [#21542](https://github.com/arendst/Tasmota/issues/21542)
|
||||
|
||||
### Fixed
|
||||
- Filesystem save of JSON settings data
|
||||
- Fade out on CCT bulb with `SO92 1` [#21159](https://github.com/arendst/Tasmota/issues/21159)
|
||||
- Shutter inverted using internal commands [#20752](https://github.com/arendst/Tasmota/issues/20752)
|
||||
- TuyaV2 suppressed dimmer updates from MQTT [#20950](https://github.com/arendst/Tasmota/issues/20950)
|
||||
- Scripter google char memory leak [#20995](https://github.com/arendst/Tasmota/issues/20995)
|
||||
- Too restrictive checksum checks in Lib_teleinfo [#21033](https://github.com/arendst/Tasmota/issues/21033)
|
||||
- Color swap option for rgb displaytext [#21049](https://github.com/arendst/Tasmota/issues/21049)
|
||||
- NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device [#21098](https://github.com/arendst/Tasmota/issues/21098)
|
||||
- Neopool prevent possible multiple bus requests [#21267](https://github.com/arendst/Tasmota/issues/21267)
|
||||
- Async HMDI CEC [#21287](https://github.com/arendst/Tasmota/issues/21287)
|
||||
- ESP8266 physical button/switch control when no rules activated [#21187](https://github.com/arendst/Tasmota/issues/21187)
|
||||
- jpeg compile core3 [#21387](https://github.com/arendst/Tasmota/issues/21387)
|
||||
- ESP32 PWM activity on unconfigured PWM GPIOs [#20732](https://github.com/arendst/Tasmota/issues/20732)
|
||||
- Avoid unwanted OTA upgrade when safeboot starts for the first time [#21360](https://github.com/arendst/Tasmota/issues/21360)
|
||||
- BTHome, prep BLE5 [#20989](https://github.com/arendst/Tasmota/issues/20989)
|
||||
- Conflicting log_level definitions in NimBLE [#21337](https://github.com/arendst/Tasmota/issues/21337)
|
||||
- Berry Memory leak in `import re` [#20823](https://github.com/arendst/Tasmota/issues/20823)
|
||||
- Berry bug when parsing ternary operator [#20839](https://github.com/arendst/Tasmota/issues/20839)
|
||||
- Berry walrus with member or index [#20939](https://github.com/arendst/Tasmota/issues/20939)
|
||||
- Berry walrus bug when assigning to self [#21015](https://github.com/arendst/Tasmota/issues/21015)
|
||||
- Berry `web_add_handler` called before `Webserver` is initialized [#21272](https://github.com/arendst/Tasmota/issues/21272)
|
||||
- Berry `math.inf`, `math.isinf()` and fixed json ouput for `inf` and `nan` [#21304](https://github.com/arendst/Tasmota/issues/21304)
|
||||
- Berry `gpio.dac_voltage()` [#21403](https://github.com/arendst/Tasmota/issues/21403)
|
||||
- Matter broken NOCStruct types preventing pairing with HA [#21365](https://github.com/arendst/Tasmota/issues/21365)
|
||||
- LVGL restore `lv_palette` functions [#21232](https://github.com/arendst/Tasmota/issues/21232)
|
||||
- LVGL fix memory allocation of flush buffers [#21256](https://github.com/arendst/Tasmota/issues/21256)
|
||||
- HASPmota PSRAM memory leak [#20818](https://github.com/arendst/Tasmota/issues/20818)
|
||||
- HASPmota widgets line, btnmatrix, qrcode, bar, checkbox [#20881](https://github.com/arendst/Tasmota/issues/20881)
|
||||
- HASPmota demo and robotocondensed fonts [#21014](https://github.com/arendst/Tasmota/issues/21014)
|
||||
- HASPmota dropdown class "options" attribute [#21203](https://github.com/arendst/Tasmota/issues/21203)
|
||||
- HASPmota `align` attribute and expand PNG cache [#21228](https://github.com/arendst/Tasmota/issues/21228)
|
||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 [#21281](https://github.com/arendst/Tasmota/issues/21281)
|
||||
- Watchdog restart or freeze if ``displaytext`` is more than 128 characters [#21401](https://github.com/arendst/Tasmota/issues/21401)
|
||||
- Wrong timeout in `WebQuery` and `webclient` since Core3 [#21442](https://github.com/arendst/Tasmota/issues/21442)
|
||||
- uDisplay Parallel display on Core3 [#21529](https://github.com/arendst/Tasmota/issues/21529)
|
||||
- UfsServe watchdog on large folder [#21486](https://github.com/arendst/Tasmota/issues/21486)
|
||||
- SML compile error when median-filter is disabled [#21495](https://github.com/arendst/Tasmota/issues/21495)
|
||||
- Hydreon RG15 malformed JSON string [#21508](https://github.com/arendst/Tasmota/issues/21508)
|
||||
- Telegram TLS fingerprint, remove CA validation [#21514](https://github.com/arendst/Tasmota/issues/21514)
|
||||
- Zigbee crash when removing `ZbName` [#21449](https://github.com/arendst/Tasmota/issues/21449)
|
||||
- Avoid connection errors when switching to safeboot to upload OTA firmware [#21428](https://github.com/arendst/Tasmota/issues/21428)
|
||||
- ESP32 slow response when using UDP as in emulation [#21470](https://github.com/arendst/Tasmota/issues/21470)
|
||||
- ESP32 BLE fix scanning [#21451](https://github.com/arendst/Tasmota/issues/21451)
|
||||
- ESP32 I2S multiple fixes [#21511](https://github.com/arendst/Tasmota/issues/21511)
|
||||
- I2S APLL not supported on all SOCs [#21483](https://github.com/arendst/Tasmota/issues/21483)
|
||||
- Webradio crash with invalid url [#21446](https://github.com/arendst/Tasmota/issues/21446)
|
||||
- Berry Leds matrix alternate more and error about 'bri' attribute [#21431](https://github.com/arendst/Tasmota/issues/21431)
|
||||
- LVGL exception when using tjpegd [#21544](https://github.com/arendst/Tasmota/issues/21544)
|
||||
- Matter auto-fix IPv6 link-local zone id when network reconnects [#21494](https://github.com/arendst/Tasmota/issues/21494)
|
||||
|
||||
### Removed
|
||||
- Support for ESP32 Arduino Core 2 [#21180](https://github.com/arendst/Tasmota/issues/21180)
|
||||
- Unused `#define MQTT_DATA_STRING` support
|
||||
- ILI9341 driver replaced with uDisplay [#21169](https://github.com/arendst/Tasmota/issues/21169)
|
||||
- SSD1306 driver replaced with uDisplay [#21176](https://github.com/arendst/Tasmota/issues/21176)
|
||||
- SSD1331 driver replaced with uDisplay [#21177](https://github.com/arendst/Tasmota/issues/21177)
|
||||
- SSH1106 driver replaced with uDisplay [#21183](https://github.com/arendst/Tasmota/issues/21183)
|
||||
- SSD1351 driver replaced with uDisplay [#21184](https://github.com/arendst/Tasmota/issues/21184)
|
||||
- ST7789 driver replaced with uDisplay [#21184](https://github.com/arendst/Tasmota/issues/21184)
|
||||
- ESP32 IDF 4.4 based I2S code [#21188](https://github.com/arendst/Tasmota/issues/21188)
|
||||
- Crash recorder from safeboot [#21332](https://github.com/arendst/Tasmota/issues/21332)
|
||||
- Berry `print "a"` syntax no longer supported [#21048](https://github.com/arendst/Tasmota/issues/21048)
|
||||
- LVGL disabled vector graphics [#21242](https://github.com/arendst/Tasmota/issues/21242)
|
||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 [#21417](https://github.com/arendst/Tasmota/issues/21417)
|
||||
- Deprecated code from drivers, `USE_TTGO_WATCH` and `USE_M5STACK_CORE2` [#21533](https://github.com/arendst/Tasmota/issues/21533)
|
||||
|
||||
@ -70,3 +70,10 @@
|
||||
#define SPI_MOSI_DLEN_REG(x) SPI_MS_DLEN_REG(x)
|
||||
|
||||
#endif // TARGET
|
||||
|
||||
// This trick makes sure that 'lto' optimizer does not inline `delay()
|
||||
// so we can override it with `-Wl,--wrap=delay` linker directive
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif // _cplusplus
|
||||
void delay(__UINT32_TYPE__ ms) __attribute__((noinline)) __attribute__ ((noclone));
|
||||
|
||||
@ -83,6 +83,13 @@ public:
|
||||
// With ESP32 Core3, the WiFi mac address is not valid until the wifi is actually started
|
||||
// this helper function always provide a valid mac address
|
||||
static String macAddress(void);
|
||||
|
||||
// Auto-fix zone
|
||||
//
|
||||
// After a reconnect, the zone id may not be valid anymore
|
||||
// In such case we detect any "%st<n>" or "%en<n>" zone identifier
|
||||
// and replace with the current zone id
|
||||
static void IPv6ZoneAutoFix(IPAddress &addr, const char* aHostname);
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -240,6 +240,44 @@ static void wifi32_dns_found_callback(const char *name, const ip_addr_t *ipaddr,
|
||||
// AddLog(LOG_LEVEL_DEBUG, "WIF: dns_found=%s", ipaddr ? IPAddress(*ipaddr).toString().c_str() : "<null>");
|
||||
}
|
||||
|
||||
// Auto-fix zone
|
||||
//
|
||||
// After a reconnect, the zone id may not be valid anymore
|
||||
// In such case we detect any "%st<n>" or "%en<n>" zone identifier
|
||||
// and replace with the current zone id
|
||||
extern bool WifiGetIPv6LinkLocal(IPAddress *ip);
|
||||
extern bool EthernetGetIPv6LinkLocal(IPAddress *ip);
|
||||
void WiFiHelper::IPv6ZoneAutoFix(IPAddress &addr, const char* aHostname) {
|
||||
#ifdef USE_IPV6
|
||||
if ((addr.type() == IPv6) && (addr.zone() == 0)) {
|
||||
// check if hostname contains '%'
|
||||
const char *zone_identifier = strchr(aHostname, '%');
|
||||
if (zone_identifier != nullptr) {
|
||||
uint8_t zone_id = 0;
|
||||
// check if zone id is valid
|
||||
if (strncmp(zone_identifier, "%st", 3) == 0) {
|
||||
IPAddress wifi_link_local;
|
||||
if (WifiGetIPv6LinkLocal(&wifi_link_local)) {
|
||||
zone_id = wifi_link_local.zone();
|
||||
}
|
||||
} else if (strncmp(zone_identifier, "%en", 3) == 0) {
|
||||
IPAddress eth_link_local;
|
||||
if (EthernetGetIPv6LinkLocal(ð_link_local)) {
|
||||
zone_id = eth_link_local.zone();
|
||||
}
|
||||
}
|
||||
if (zone_id) {
|
||||
// convert to ip_addr_t which is currently the only way to change the zone_id
|
||||
ip_addr_t ip_addr;
|
||||
addr.to_ip_addr_t(&ip_addr);
|
||||
ip_addr.u_addr.ip6.zone = zone_id;
|
||||
addr = IPAddress(&ip_addr);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve the given hostname to an IP address.
|
||||
* @param aHostname Name to be resolved
|
||||
@ -281,6 +319,7 @@ int WiFiHelper::hostByName(const char* aHostname, IPAddress& aResult, int32_t ti
|
||||
if (!ip_addr_isany_val(dns_ipaddr)) {
|
||||
#ifdef USE_IPV6
|
||||
aResult.from_ip_addr_t(&dns_ipaddr);
|
||||
WiFiHelper::IPv6ZoneAutoFix(aResult, aHostname);
|
||||
#else // USE_IPV6
|
||||
aResult = ip_addr_get_ip4_u32(&dns_ipaddr);
|
||||
#endif // USE_IPV6
|
||||
|
||||
@ -77,4 +77,6 @@ String WiFiHelper::macAddress(void) {
|
||||
return WiFi.macAddress();
|
||||
}
|
||||
|
||||
void WiFiHelper::IPv6ZoneAutoFix(IPAddress &addr, const char* aHostname) {
|
||||
}
|
||||
#endif // ESP8266
|
||||
|
||||
@ -45,17 +45,15 @@ bool AudioFileSourceICYStream::open(const char *url)
|
||||
{
|
||||
static const char *hdr[] = { "icy-metaint", "icy-name", "icy-genre", "icy-br" };
|
||||
pos = 0;
|
||||
http.begin(client, url);
|
||||
if (!http.begin(client, url)) {
|
||||
cb.st(STATUS_HTTPFAIL, PSTR("Can't connect to url"));
|
||||
return false;
|
||||
}
|
||||
http.addHeader("Icy-MetaData", "1");
|
||||
http.collectHeaders( hdr, 4 );
|
||||
http.setReuse(true);
|
||||
http.setFollowRedirects(HTTPC_FORCE_FOLLOW_REDIRECTS);
|
||||
int code = http.GET();
|
||||
if (code != HTTP_CODE_OK) {
|
||||
http.end();
|
||||
cb.st(STATUS_HTTPFAIL, PSTR("Can't open HTTP request"));
|
||||
return false;
|
||||
}
|
||||
if (http.hasHeader(hdr[0])) {
|
||||
String ret = http.header(hdr[0]);
|
||||
icyMetaInt = ret.toInt();
|
||||
|
||||
@ -186,7 +186,9 @@ bool AudioGeneratorMP3::GetOneSample(int16_t sample[2])
|
||||
// If we're here, we have one decoded frame and sent 0 or more samples out
|
||||
if (samplePtr < synth->pcm.length) {
|
||||
sample[AudioOutput::LEFTCHANNEL ] = synth->pcm.samples[0][samplePtr];
|
||||
sample[AudioOutput::RIGHTCHANNEL] = synth->pcm.samples[1][samplePtr];
|
||||
if(lastChannels == 2) {
|
||||
sample[AudioOutput::RIGHTCHANNEL] = synth->pcm.samples[1][samplePtr];
|
||||
}
|
||||
samplePtr++;
|
||||
} else {
|
||||
samplePtr = 0;
|
||||
@ -200,7 +202,9 @@ bool AudioGeneratorMP3::GetOneSample(int16_t sample[2])
|
||||
}
|
||||
// for IGNORE and CONTINUE, just play what we have now
|
||||
sample[AudioOutput::LEFTCHANNEL ] = synth->pcm.samples[0][samplePtr];
|
||||
sample[AudioOutput::RIGHTCHANNEL] = synth->pcm.samples[1][samplePtr];
|
||||
if(lastChannels == 2) {
|
||||
sample[AudioOutput::RIGHTCHANNEL] = synth->pcm.samples[1][samplePtr];
|
||||
}
|
||||
samplePtr++;
|
||||
}
|
||||
return true;
|
||||
|
||||
@ -190,7 +190,7 @@ bool AudioOutputMixer::loop()
|
||||
}
|
||||
}
|
||||
if (avail) {
|
||||
int16_t s[2];
|
||||
int16_t s[2] = {0};
|
||||
if (leftAccum[readPtr] > 32767) {
|
||||
s[LEFTCHANNEL] = 32767;
|
||||
} else if (leftAccum[readPtr] < -32767) {
|
||||
|
||||
@ -1289,6 +1289,7 @@ Renderer *uDisplay::Init(void) {
|
||||
esp_lcd_i80_bus_config_t bus_config = {
|
||||
.dc_gpio_num = par_rs,
|
||||
.wr_gpio_num = par_wr,
|
||||
.clk_src = LCD_CLK_SRC_DEFAULT,
|
||||
.bus_width = bus_width,
|
||||
.max_transfer_bytes = 32768
|
||||
};
|
||||
|
||||
@ -813,25 +813,6 @@ extern "C" {
|
||||
// Return 0 on validation success, !0 on validation error
|
||||
static unsigned pubkeyfingerprint_end_chain(const br_x509_class **ctx) {
|
||||
br_x509_pubkeyfingerprint_context *xc = (br_x509_pubkeyfingerprint_context *)ctx;
|
||||
// **** Start patch Castellucci
|
||||
/*
|
||||
br_sha1_context sha1_context;
|
||||
pubkeyfingerprint_pubkey_fingerprint(&sha1_context, xc->ctx.pkey.key.rsa);
|
||||
br_sha1_out(&sha1_context, xc->pubkey_recv_fingerprint); // copy to fingerprint
|
||||
|
||||
if (!xc->fingerprint_all) {
|
||||
if (0 == memcmp_P(xc->pubkey_recv_fingerprint, xc->fingerprint1, 20)) {
|
||||
return 0;
|
||||
}
|
||||
if (0 == memcmp_P(xc->pubkey_recv_fingerprint, xc->fingerprint2, 20)) {
|
||||
return 0;
|
||||
}
|
||||
return 1; // no match, error
|
||||
} else {
|
||||
// Default (no validation at all) or no errors in prior checks = success.
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
// set fingerprint status byte to zero
|
||||
// FIXME: find a better way to pass this information
|
||||
xc->pubkey_recv_fingerprint[20] = 0;
|
||||
@ -844,45 +825,7 @@ extern "C" {
|
||||
if (0 == memcmp_P(xc->pubkey_recv_fingerprint, xc->fingerprint2, 20)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef USE_MQTT_TLS_DROP_OLD_FINGERPRINT
|
||||
// No match under new algorithm, do some basic checking on the key.
|
||||
//
|
||||
// RSA keys normally have an e value of 65537, which is three bytes long.
|
||||
// Other e values are suspicious, but if the modulus is a standard size
|
||||
// (multiple of 512 bits/64 bytes), any public exponent up to eight bytes
|
||||
// long will be allowed.
|
||||
//
|
||||
// A legitimate key could possibly be marked as bad by this check, but
|
||||
// the user would have had to really worked at making a strange key.
|
||||
if (!(xc->ctx.pkey.key.rsa.elen == 3
|
||||
&& xc->ctx.pkey.key.rsa.e[0] == 1
|
||||
&& xc->ctx.pkey.key.rsa.e[1] == 0
|
||||
&& xc->ctx.pkey.key.rsa.e[2] == 1)) {
|
||||
if (xc->ctx.pkey.key.rsa.nlen & 63 != 0 || xc->ctx.pkey.key.rsa.elen > 8) {
|
||||
return 2; // suspicious key, return error
|
||||
}
|
||||
}
|
||||
|
||||
// try the old algorithm and potentially mark for update
|
||||
pubkeyfingerprint_pubkey_fingerprint(xc, true);
|
||||
if (0 == memcmp_P(xc->pubkey_recv_fingerprint, xc->fingerprint1, 20)) {
|
||||
xc->pubkey_recv_fingerprint[20] |= 1; // mark for update
|
||||
}
|
||||
if (0 == memcmp_P(xc->pubkey_recv_fingerprint, xc->fingerprint2, 20)) {
|
||||
xc->pubkey_recv_fingerprint[20] |= 2; // mark for update
|
||||
}
|
||||
if (!xc->pubkey_recv_fingerprint[20]) {
|
||||
return 1; // not marked for update because no match, error
|
||||
}
|
||||
|
||||
// the old fingerprint format matched, recompute new one for update
|
||||
pubkeyfingerprint_pubkey_fingerprint(xc, false);
|
||||
|
||||
return 0;
|
||||
#else // USE_TLS_OLD_FINGERPRINT_COMPAT
|
||||
return 1; // no match, error
|
||||
#endif // USE_TLS_OLD_FINGERPRINT_COMPAT
|
||||
} else {
|
||||
// Default (no validation at all) or no errors in prior checks = success.
|
||||
return 0;
|
||||
|
||||
@ -190,7 +190,7 @@ public:
|
||||
*/
|
||||
void setTimeout(uint32_t timeoutSec)
|
||||
{
|
||||
_tcp_client->setTimeout(timeoutSec);
|
||||
_tcp_client->setTimeout(timeoutSec * 1000);
|
||||
}
|
||||
|
||||
/** Set the BearSSL IO buffer size.
|
||||
|
||||
@ -500,7 +500,7 @@ void HTTPClientLight::setTimeout(uint16_t timeout)
|
||||
{
|
||||
_tcpTimeout = timeout;
|
||||
if(connected()) {
|
||||
_client->setTimeout((timeout + 500) / 1000);
|
||||
_client->setTimeout(timeout);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1176,7 +1176,7 @@ bool HTTPClientLight::connect(void)
|
||||
}
|
||||
|
||||
// set Timeout for WiFiClient and for Stream::readBytesUntil() and Stream::readStringUntil()
|
||||
_client->setTimeout((_tcpTimeout + 500) / 1000);
|
||||
_client->setTimeout(_tcpTimeout);
|
||||
|
||||
log_d(" connected to %s:%u", _host.c_str(), _port);
|
||||
|
||||
|
||||
@ -392,7 +392,7 @@ size_t TasUpdateClass::writeStream(Stream &data) {
|
||||
return written;
|
||||
written += toRead;
|
||||
|
||||
delay(1); // Fix solo WDT
|
||||
yield(); // Ensure WDT does not trigger
|
||||
}
|
||||
return written;
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@ DEBUG_FLAGS = -O0 -g -DBE_DEBUG
|
||||
TEST_FLAGS = $(DEBUG_FLAGS) --coverage -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined
|
||||
LIBS = -lm
|
||||
TARGET = berry
|
||||
CC = clang # install clang!! gcc seems to produce a defect berry binary
|
||||
CC = gcc
|
||||
MKDIR = mkdir
|
||||
LFLAGS =
|
||||
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
** https://github.com/Skiars/berry/blob/master/LICENSE
|
||||
********************************************************************/
|
||||
#include "berry.h"
|
||||
#include "../../berry_custom/src/modules.h"
|
||||
|
||||
/* this file contains the declaration of the module table. */
|
||||
|
||||
@ -189,6 +190,7 @@ BERRY_LOCAL const bntvmodule_t* const be_module_table[] = {
|
||||
&be_native_module(matter),
|
||||
#endif // USE_MATTER_DEVICE
|
||||
#endif // TASMOTA
|
||||
CUSTOM_NATIVE_MODULES
|
||||
/* user-defined modules register end */
|
||||
NULL /* do not remove */
|
||||
};
|
||||
@ -313,6 +315,7 @@ BERRY_LOCAL bclass_array be_class_table = {
|
||||
#if defined(USE_BERRY_INT64) || defined(USE_MATTER_DEVICE)
|
||||
&be_native_class(int64),
|
||||
#endif
|
||||
CUSTOM_NATIVE_CLASSES
|
||||
NULL, /* do not remove */
|
||||
};
|
||||
|
||||
|
||||
@ -695,7 +695,7 @@ static void setsfxvar(bfuncinfo *finfo, bopcode op, bexpdesc *e1, int src)
|
||||
/* e1 must be in a register and have a valid idx */
|
||||
/* if `keep_reg` is true, do not release register */
|
||||
/* return 1 if assignment was possible, 0 if type is not compatible */
|
||||
int be_code_setvar(bfuncinfo *finfo, bexpdesc *e1, bexpdesc *e2, bbool keep_reg)
|
||||
int be_code_setvar(bfuncinfo *finfo, bexpdesc *e1, bexpdesc *e2, bbool keep_reg, bbool ismethod)
|
||||
{
|
||||
/* free_e2 indicates special case where ETINDEX or ETMEMBER need to be freed if top of registers */
|
||||
bbool free_e2 = (e2->type == ETINDEX || e2->type == ETMEMBER) && (e2->v.ss.idx != e1->v.idx) && (e2->v.ss.idx == finfo->freereg - 1);
|
||||
@ -729,7 +729,7 @@ int be_code_setvar(bfuncinfo *finfo, bexpdesc *e1, bexpdesc *e2, bbool keep_reg)
|
||||
break;
|
||||
case ETMEMBER: /* store to member R(A).RK(B) <- RK(C) */
|
||||
case ETINDEX: /* store to member R(A)[RK(B)] <- RK(C) */
|
||||
setsfxvar(finfo, (e1->type == ETMEMBER) ? OP_SETMBR : OP_SETIDX, e1, src);
|
||||
setsfxvar(finfo, (e1->type == ETMEMBER) ? (ismethod ? OP_SETMET : OP_SETMBR) : OP_SETIDX, e1, src);
|
||||
if (keep_reg && e2->type == ETREG && e1->v.ss.obj >= be_list_count(finfo->local)) {
|
||||
/* special case of walrus assignemnt when we need to recreate an ETREG */
|
||||
code_move(finfo, e1->v.ss.obj, src); /* move from ETREG to MEMBER instance*/
|
||||
@ -923,7 +923,7 @@ void be_code_import(bfuncinfo *finfo, bexpdesc *m, bexpdesc *v)
|
||||
codeABC(finfo, OP_IMPORT, dst, src, 0);
|
||||
m->type = ETREG;
|
||||
m->v.idx = dst;
|
||||
be_code_setvar(finfo, v, m, bfalse);
|
||||
be_code_setvar(finfo, v, m, bfalse, bfalse);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ int be_code_allocregs(bfuncinfo *finfo, int count);
|
||||
void be_code_prebinop(bfuncinfo *finfo, int op, bexpdesc *e);
|
||||
void be_code_binop(bfuncinfo *finfo, int op, bexpdesc *e1, bexpdesc *e2, int dst);
|
||||
int be_code_unop(bfuncinfo *finfo, int op, bexpdesc *e);
|
||||
int be_code_setvar(bfuncinfo *finfo, bexpdesc *e1, bexpdesc *e2, bbool keep_reg);
|
||||
int be_code_setvar(bfuncinfo *finfo, bexpdesc *e1, bexpdesc *e2, bbool keep_reg, bbool ismethod);
|
||||
int be_code_nextreg(bfuncinfo *finfo, bexpdesc *e);
|
||||
int be_code_jump(bfuncinfo *finfo);
|
||||
void be_code_jumpto(bfuncinfo *finfo, int dst);
|
||||
|
||||
@ -62,7 +62,7 @@ void be_print_inst(binstruction ins, int pc, void* fout)
|
||||
case OP_ADD: case OP_SUB: case OP_MUL: case OP_DIV:
|
||||
case OP_MOD: case OP_LT: case OP_LE: case OP_EQ:
|
||||
case OP_NE: case OP_GT: case OP_GE: case OP_CONNECT:
|
||||
case OP_GETMBR: case OP_SETMBR: case OP_GETMET:
|
||||
case OP_GETMBR: case OP_SETMBR: case OP_GETMET: case OP_SETMET:
|
||||
case OP_GETIDX: case OP_SETIDX: case OP_AND:
|
||||
case OP_OR: case OP_XOR: case OP_SHL: case OP_SHR:
|
||||
logbuf("%s\tR%d\t%c%d\t%c%d", opc2str(op), IGET_RA(ins),
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#define BE_FUNCTION 6
|
||||
|
||||
#define BE_GCOBJECT 16 /* from this type can be gced */
|
||||
#define BE_GCOBJECT_MAX (3<<5) /* from this type can't be gced */
|
||||
#define BE_GCOBJECT_MAX (3<<5) /* 96 - from this type can't be gced */
|
||||
|
||||
#define BE_STRING 16
|
||||
#define BE_CLASS 17
|
||||
@ -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 - cannot be gced */
|
||||
#define BE_CLOSURE ((1 << 5) | BE_FUNCTION) /* 38 - can be gced */
|
||||
#define BE_NTVCLOS ((2 << 5) | BE_FUNCTION) /* 70 - can be gced*/
|
||||
#define BE_CTYPE_FUNC ((3 << 5) | BE_FUNCTION) /* 102 - cannot be gced */
|
||||
#define BE_STATIC (1 << 7) /* 128 */
|
||||
|
||||
/* values for bproto.varg */
|
||||
#define BE_VA_VARARG (1 << 0) /* function has variable number of arguments */
|
||||
|
||||
@ -54,4 +54,5 @@ OPCODE(CATCH), /* A, B, C | ... */
|
||||
OPCODE(RAISE), /* A, B, C | RAISE(B,C) B is code, C is description. A==0 only B provided, A==1 B and C are provided, A==2 rethrow with both parameters already on stack */
|
||||
OPCODE(CLASS), /* Bx | init class in K[Bx] */
|
||||
OPCODE(GETNGBL), /* A, B | R(A) <- GLOBAL[RK(B)] by name */
|
||||
OPCODE(SETNGBL) /* A, B | R(A) -> GLOBAL[RK(B)] by name */
|
||||
OPCODE(SETNGBL), /* A, B | R(A) -> GLOBAL[RK(B)] by name */
|
||||
OPCODE(SETMET), /* A, B, C | R(A).RK(B) <- RK(C) only if R(A) is a class, and RK(C) is marked as non-static */
|
||||
|
||||
@ -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 */
|
||||
@ -634,11 +640,11 @@ static bproto* funcbody(bparser *parser, bstring *name, bclass *c, int type)
|
||||
new_var(parser, parser_newstr(parser, "_class"), &e1); /* new implicit variable '_class' */
|
||||
init_exp(&e2, ETCONST, 0);
|
||||
be_code_implicit_class(parser->finfo, &e2, c);
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse);
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse, bfalse);
|
||||
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);
|
||||
}
|
||||
@ -738,7 +744,7 @@ static void map_nextmember(bparser *parser, bexpdesc *l)
|
||||
match_token(parser, OptColon); /* ':' */
|
||||
expr(parser, &e); /* value in `e` */
|
||||
check_var(parser, &e); /* check if value is correct */
|
||||
be_code_setvar(finfo, &v, &e, bfalse); /* set suffi INDEX value to e */
|
||||
be_code_setvar(finfo, &v, &e, bfalse, bfalse); /* set suffi INDEX value to e */
|
||||
}
|
||||
|
||||
static void list_expr(bparser *parser, bexpdesc *e)
|
||||
@ -1018,7 +1024,7 @@ static void assign_expr(bparser *parser)
|
||||
if (check_newvar(parser, &e)) { /* new variable */
|
||||
new_var(parser, e.v.s, &e);
|
||||
}
|
||||
if (be_code_setvar(parser->finfo, &e, &e1, bfalse)) {
|
||||
if (be_code_setvar(parser->finfo, &e, &e1, bfalse, bfalse)) {
|
||||
parser->lexer.linenumber = line;
|
||||
parser_error(parser,
|
||||
"try to assign constant expressions.");
|
||||
@ -1121,7 +1127,7 @@ static void walrus_expr(bparser *parser, bexpdesc *e)
|
||||
if (check_newvar(parser, &e1)) { /* new variable */
|
||||
new_var(parser, e1.v.s, &e1);
|
||||
}
|
||||
if (be_code_setvar(parser->finfo, &e1, e, btrue /* do not release register */ )) {
|
||||
if (be_code_setvar(parser->finfo, &e1, e, btrue /* do not release register */, bfalse)) {
|
||||
parser->lexer.linenumber = line;
|
||||
parser_error(parser,
|
||||
"try to assign constant expressions.");
|
||||
@ -1254,7 +1260,7 @@ static void for_iter(bparser *parser, bstring *var, bexpdesc *it)
|
||||
finfo->binfo->beginpc = finfo->pc;
|
||||
/* itvar = .it() */
|
||||
init_exp(&e, ETLOCAL, new_localvar(parser, var)); /* new itvar */
|
||||
be_code_setvar(finfo, &e, it, bfalse); /* code function to variable '.it' */
|
||||
be_code_setvar(finfo, &e, it, bfalse, bfalse); /* code function to variable '.it' */
|
||||
be_code_call(finfo, e.v.idx, 0); /* itvar <- call .it() */
|
||||
stmtlist(parser);
|
||||
}
|
||||
@ -1435,7 +1441,7 @@ static void classvar_stmt(bparser *parser, bclass *c)
|
||||
}
|
||||
}
|
||||
|
||||
static void class_static_assignment_expr(bparser *parser, bexpdesc *e, bstring *name)
|
||||
static void class_static_assignment_expr(bparser *parser, bexpdesc *e, bstring *name, bbool ismethod)
|
||||
{
|
||||
if (match_skip(parser, OptAssign)) { /* '=' */
|
||||
bexpdesc e1, e2;
|
||||
@ -1448,22 +1454,32 @@ static void class_static_assignment_expr(bparser *parser, bexpdesc *e, bstring *
|
||||
key.v.s = name;
|
||||
|
||||
be_code_member(parser->finfo, &e1, &key); /* compute member accessor */
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse); /* set member */
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse, ismethod); /* set member */
|
||||
}
|
||||
}
|
||||
|
||||
static void classdef_stmt(bparser *parser, bclass *c, bbool is_static)
|
||||
static void classdef_stmt(bparser *parser, bclass *c, bexpdesc *e, bbool is_static)
|
||||
{
|
||||
bexpdesc e;
|
||||
bexpdesc e1;
|
||||
bstring *name;
|
||||
bproto *proto;
|
||||
/* 'def' ID '(' varlist ')' block 'end' */
|
||||
/* 'def' ID = funcname */
|
||||
/* 'def' ID = classname '.' method */
|
||||
scan_next_token(parser); /* skip 'def' */
|
||||
name = func_name(parser, &e, 1);
|
||||
check_class_attr(parser, c, name);
|
||||
proto = funcbody(parser, name, c, is_static ? FUNC_STATIC : FUNC_METHOD);
|
||||
be_class_method_bind(parser->vm, c, proto->name, proto, is_static);
|
||||
be_stackpop(parser->vm, 1);
|
||||
name = func_name(parser, &e1, 1);
|
||||
check_class_attr(parser, c, name); /* check that we don't redefine an existing name within the class */
|
||||
if (next_type(parser) == OptAssign) {
|
||||
/* 'def' ID = funcname */
|
||||
/* 'def' ID = classname '.' method */
|
||||
be_class_member_bind(parser->vm, c, name, bfalse);
|
||||
class_static_assignment_expr(parser, e, name, !is_static);
|
||||
} else {
|
||||
/* 'def' ID '(' varlist ')' block 'end' */
|
||||
proto = funcbody(parser, name, c, is_static ? FUNC_STATIC : FUNC_METHOD);
|
||||
be_class_method_bind(parser->vm, c, proto->name, proto, is_static);
|
||||
be_stackpop(parser->vm, 1);
|
||||
}
|
||||
}
|
||||
|
||||
static void classstaticclass_stmt(bparser *parser, bclass *c_out, bexpdesc *e_out);
|
||||
@ -1473,9 +1489,10 @@ static void classstatic_stmt(bparser *parser, bclass *c, bexpdesc *e)
|
||||
bstring *name;
|
||||
/* 'static' ['var'] ID ['=' expr] {',' ID ['=' expr] } */
|
||||
/* 'static' 'def' ID '(' varlist ')' block 'end' */
|
||||
/* 'static' 'def' ID '=' func */
|
||||
scan_next_token(parser); /* skip 'static' */
|
||||
if (next_type(parser) == KeyDef) { /* 'static' 'def' ... */
|
||||
classdef_stmt(parser, c, btrue);
|
||||
classdef_stmt(parser, c, e, btrue);
|
||||
} else if (next_type(parser) == KeyClass) { /* 'static' 'class' ... */
|
||||
classstaticclass_stmt(parser, c, e);
|
||||
} else {
|
||||
@ -1485,13 +1502,13 @@ static void classstatic_stmt(bparser *parser, bclass *c, bexpdesc *e)
|
||||
if (match_id(parser, name) != NULL) {
|
||||
check_class_attr(parser, c, name);
|
||||
be_class_member_bind(parser->vm, c, name, bfalse);
|
||||
class_static_assignment_expr(parser, e, name);
|
||||
class_static_assignment_expr(parser, e, name, bfalse);
|
||||
|
||||
while (match_skip(parser, OptComma)) { /* ',' */
|
||||
if (match_id(parser, name) != NULL) {
|
||||
check_class_attr(parser, c, name);
|
||||
be_class_member_bind(parser->vm, c, name, bfalse);
|
||||
class_static_assignment_expr(parser, e, name);
|
||||
class_static_assignment_expr(parser, e, name, bfalse);
|
||||
} else {
|
||||
parser_error(parser, "class static error");
|
||||
}
|
||||
@ -1521,7 +1538,7 @@ static void class_block(bparser *parser, bclass *c, bexpdesc *e)
|
||||
switch (next_type(parser)) {
|
||||
case KeyVar: classvar_stmt(parser, c); break;
|
||||
case KeyStatic: classstatic_stmt(parser, c, e); break;
|
||||
case KeyDef: classdef_stmt(parser, c, bfalse); break;
|
||||
case KeyDef: classdef_stmt(parser, c, e, bfalse); break;
|
||||
case OptSemic: scan_next_token(parser); break;
|
||||
default: push_error(parser,
|
||||
"unexpected token '%s'", token2str(parser));
|
||||
@ -1548,7 +1565,7 @@ static void class_stmt(bparser *parser)
|
||||
bexpdesc e1; /* if inline class, we add a second local variable for _class */
|
||||
init_exp(&e1, ETLOCAL, 0);
|
||||
e1.v.idx = new_localvar(parser, class_str);
|
||||
be_code_setvar(parser->finfo, &e1, &e, 1);
|
||||
be_code_setvar(parser->finfo, &e1, &e, btrue, bfalse);
|
||||
|
||||
begin_varinfo(parser, class_str);
|
||||
|
||||
@ -1586,7 +1603,7 @@ static void classstaticclass_stmt(bparser *parser, bclass *c_out, bexpdesc *e_ou
|
||||
key.v.s = name;
|
||||
/* assign the class to the static member */
|
||||
be_code_member(parser->finfo, &e1, &key); /* compute member accessor */
|
||||
be_code_setvar(parser->finfo, &e1, &e_class, bfalse); /* set member */
|
||||
be_code_setvar(parser->finfo, &e1, &e_class, bfalse, bfalse); /* set member */
|
||||
} else {
|
||||
parser_error(parser, "class name error");
|
||||
}
|
||||
@ -1638,7 +1655,7 @@ static void var_field(bparser *parser)
|
||||
init_exp(&e2, ETNIL, 0);
|
||||
}
|
||||
new_var(parser, name, &e1); /* new variable */
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse);
|
||||
be_code_setvar(parser->finfo, &e1, &e2, bfalse, bfalse);
|
||||
}
|
||||
|
||||
static void var_stmt(bparser *parser)
|
||||
@ -1810,7 +1827,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 */
|
||||
}
|
||||
|
||||
|
||||
@ -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 '%s' from class '%s'\n", func_name, parentclass_prefix);
|
||||
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)) {
|
||||
|
||||
@ -969,7 +969,7 @@ newframe: /* a new call frame */
|
||||
}
|
||||
} else if (var_isclass(a)) {
|
||||
/* in this case we have a class in a static or non-static member */
|
||||
/* it's always treated like a statif function */
|
||||
/* it's always treated like a static function */
|
||||
a[1] = result;
|
||||
var_settype(a, NOT_METHOD);
|
||||
} else {
|
||||
@ -994,6 +994,7 @@ newframe: /* a new call frame */
|
||||
}
|
||||
dispatch();
|
||||
}
|
||||
opcase(SETMET):
|
||||
opcase(SETMBR): {
|
||||
#if BE_USE_PERF_COUNTERS
|
||||
vm->counter_set++;
|
||||
@ -1020,7 +1021,7 @@ newframe: /* a new call frame */
|
||||
bclass *obj = var_toobj(a);
|
||||
bstring *attr = var_tostr(b);
|
||||
bvalue result = *c;
|
||||
if (var_isfunction(&result)) {
|
||||
if (var_isfunction(&result) && (IGET_OP(ins) == OP_SETMBR)) { /* don't mark as static if SETMET was used */
|
||||
var_markstatic(&result);
|
||||
}
|
||||
if (!be_class_setmember(vm, obj, attr, &result)) {
|
||||
|
||||
40
lib/libesp32/berry/tests/set_method.be
Normal file
40
lib/libesp32/berry/tests/set_method.be
Normal file
@ -0,0 +1,40 @@
|
||||
# test setting methods as an external class
|
||||
|
||||
class A
|
||||
var a
|
||||
def init(a)
|
||||
self.a = a
|
||||
end
|
||||
def f0(x) return self end
|
||||
def f1(x) return x end
|
||||
def f2(x) return self.a end
|
||||
static def ff0(x) return _class end
|
||||
static def ff1(x) return x end
|
||||
end
|
||||
|
||||
class B
|
||||
var b
|
||||
def init(b)
|
||||
self.b = b
|
||||
end
|
||||
end
|
||||
|
||||
class C : B
|
||||
var a
|
||||
def init(a)
|
||||
self.a = a
|
||||
end
|
||||
|
||||
def fc0 = A.f0
|
||||
def fc1 = A.f1
|
||||
def fc2 = A.f2
|
||||
static def ffc0 = A.ff0
|
||||
static def ffc1 = A.ff1
|
||||
end
|
||||
|
||||
c = C(10)
|
||||
assert(c.fc0(1) == c)
|
||||
assert(c.fc1(1) == 1)
|
||||
assert(c.fc2(1) == 10)
|
||||
assert(c.ffc0(1) == A)
|
||||
assert(c.ffc1(1) == 1)
|
||||
@ -27,6 +27,13 @@ class hash_map:
|
||||
self.bucket = []
|
||||
|
||||
self.resize(2)
|
||||
var_count = 0
|
||||
# replace any 'var' by its slot number
|
||||
for (key, value) in map.items():
|
||||
if value == "var":
|
||||
map[key] = var_count
|
||||
var_count += 1
|
||||
|
||||
for key in sorted(map.keys()):
|
||||
self.insert(key, map[key])
|
||||
|
||||
@ -115,27 +122,21 @@ class hash_map:
|
||||
# Compute entries in the hash for modules or classes
|
||||
#################################################################################
|
||||
# return a list (entiry, var_count)
|
||||
def entry_modify(self, ent, var_count):
|
||||
def entry_modify(self, ent):
|
||||
ent.key = escape_operator(ent.key)
|
||||
if ent.value == "var":
|
||||
ent.value = "be_const_var(" + str(var_count) + ")"
|
||||
var_count += 1
|
||||
if isinstance(ent.value, int):
|
||||
ent.value = "be_const_var(" + str(ent.value) + ")"
|
||||
else:
|
||||
ent.value = "be_const_" + ent.value
|
||||
return (ent, var_count)
|
||||
return ent
|
||||
|
||||
# generate the final map
|
||||
def entry_list(self):
|
||||
l = []
|
||||
var_count = 0
|
||||
|
||||
self.resize(self.count)
|
||||
for it in self.bucket:
|
||||
(ent, var_count) = self.entry_modify(it, var_count)
|
||||
# print(f"ent={ent} var_count={var_count}")
|
||||
# # ex: ent=<entry object; key='arg', value='be_const_func(w_webserver_arg)', next=-1> var_count=0
|
||||
# # ex: ent=<entry object; key='check_privileged_access2', value='be_const_func(w_webserver_check_privileged_access_ntv, "b", "")', next=-1> var_count=0
|
||||
l.append(ent)
|
||||
l.append(self.entry_modify(it))
|
||||
return l
|
||||
|
||||
def var_count(self):
|
||||
@ -143,7 +144,7 @@ class hash_map:
|
||||
|
||||
self.resize(self.count)
|
||||
for it in self.bucket:
|
||||
if it.value == "var": count += 1
|
||||
if isinstance(it.value, int): count += 1
|
||||
return count
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
17
lib/libesp32/berry_custom/library.json
Normal file
17
lib/libesp32/berry_custom/library.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "Berry custom template",
|
||||
"version": "0.1",
|
||||
"description": "Berry library to solidify external scripts in the build process",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/arendst/Tasmota",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "espressif32",
|
||||
"authors":
|
||||
{
|
||||
"name": "Christian Baars",
|
||||
"maintainer": true
|
||||
},
|
||||
"build": {
|
||||
"flags": [ "-I$PROJECT_DIR/include", "-includetasmota_options.h" ]
|
||||
}
|
||||
}
|
||||
2
lib/libesp32/berry_custom/path.be
Normal file
2
lib/libesp32/berry_custom/path.be
Normal file
@ -0,0 +1,2 @@
|
||||
# empty module
|
||||
# allows stand-alone `import path`
|
||||
104
lib/libesp32/berry_custom/solidify_all.be
Executable file
104
lib/libesp32/berry_custom/solidify_all.be
Executable file
@ -0,0 +1,104 @@
|
||||
#!/usr/bin/env -S ../berry/berry -s -g
|
||||
#
|
||||
# Berry solidify files
|
||||
|
||||
import os
|
||||
import global
|
||||
import solidify
|
||||
import string as string2
|
||||
import re
|
||||
|
||||
import sys
|
||||
sys.path().push('src/embedded') # allow to import from src/embedded
|
||||
|
||||
# globals that need to exist to make compilation succeed
|
||||
var globs = "path,ctypes_bytes_dyn,tasmota,ccronexpr,gpio,light,webclient,load,MD5,lv,light_state,udp,tcpclientasync,"
|
||||
"lv_clock,lv_clock_icon,lv_signal_arcs,lv_signal_bars,lv_wifi_arcs_icon,lv_wifi_arcs,"
|
||||
"lv_wifi_bars_icon,lv_wifi_bars,"
|
||||
"_lvgl,"
|
||||
"int64"
|
||||
|
||||
for g:string2.split(globs, ",")
|
||||
global.(g) = nil
|
||||
end
|
||||
|
||||
var prefix_dir = "src/embedded/"
|
||||
var prefix_out = "src/solidify/"
|
||||
|
||||
def sort(l)
|
||||
# insertion sort
|
||||
for i:1..size(l)-1
|
||||
var k = l[i]
|
||||
var j = i
|
||||
while (j > 0) && (l[j-1] > k)
|
||||
l[j] = l[j-1]
|
||||
j -= 1
|
||||
end
|
||||
l[j] = k
|
||||
end
|
||||
return l
|
||||
end
|
||||
|
||||
def clean_directory(dir)
|
||||
var file_list = os.listdir(dir)
|
||||
for f : file_list
|
||||
if f[0] == '.' continue end # ignore files starting with `.`
|
||||
os.remove(dir + f)
|
||||
end
|
||||
end
|
||||
|
||||
var pattern = "#@\\s*solidify:([A-Za-z0-9_.,]+)"
|
||||
|
||||
def parse_file(fname, prefix_out)
|
||||
print("Parsing: ", fname)
|
||||
var f = open(prefix_dir + fname)
|
||||
var src = f.read()
|
||||
f.close()
|
||||
# try to compile
|
||||
var compiled = compile(src)
|
||||
compiled() # run the compile code to instanciate the classes and modules
|
||||
# output solidified
|
||||
var fname_h = string2.split(fname, '.be')[0] + '.h' # take whatever is before the first '.be'
|
||||
var fout = open(prefix_out + "solidified_" + fname_h, "w")
|
||||
fout.write(f"/* Solidification of {fname_h} */\n")
|
||||
fout.write("/********************************************************************\\\n")
|
||||
fout.write("* Generated code, don't edit *\n")
|
||||
fout.write("\\********************************************************************/\n")
|
||||
fout.write('#include "be_constobj.h"\n')
|
||||
|
||||
var directives = re.searchall(pattern, src)
|
||||
# print(directives)
|
||||
|
||||
for directive : directives
|
||||
var object_list = string2.split(directive[1], ',')
|
||||
var object_name = object_list[0]
|
||||
var weak = (object_list.find('weak') != nil) # do we solidify with weak strings?
|
||||
var o = global
|
||||
var cl_name = nil
|
||||
var obj_name = nil
|
||||
for subname : string2.split(object_name, '.')
|
||||
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
|
||||
|
||||
fout.write("/********************************************************************/\n")
|
||||
fout.write("/* End of solidification */\n")
|
||||
fout.close()
|
||||
end
|
||||
|
||||
clean_directory(prefix_out)
|
||||
|
||||
var src_file_list = os.listdir(prefix_dir)
|
||||
src_file_list = sort(src_file_list)
|
||||
for src_file : src_file_list
|
||||
if src_file[0] == '.' continue end
|
||||
parse_file(src_file, prefix_out)
|
||||
end
|
||||
4
lib/libesp32/berry_custom/src/.gitignore
vendored
Normal file
4
lib/libesp32/berry_custom/src/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
_temp*
|
||||
|
||||
solidify/*
|
||||
embedded/*
|
||||
31
lib/libesp32/berry_custom/src/be_custom_module.c
Normal file
31
lib/libesp32/berry_custom/src/be_custom_module.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
be_custom_module.c - allows solidification of external Berry files
|
||||
|
||||
Copyright (C) 2023 Stephan Hadinger, Christian Baars & Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*******************************************************************\
|
||||
* `custom` modules and classes
|
||||
\*******************************************************************/
|
||||
|
||||
#ifdef USE_BERRY
|
||||
#include "be_constobj.h"
|
||||
#include "be_mapping.h"
|
||||
|
||||
/*solidify*/
|
||||
|
||||
|
||||
#endif // USE_BERRY
|
||||
8
lib/libesp32/berry_custom/src/berry_custom.h
Normal file
8
lib/libesp32/berry_custom/src/berry_custom.h
Normal file
@ -0,0 +1,8 @@
|
||||
// force compilation by including this file
|
||||
|
||||
#ifndef __BERRY_CUSTOM__
|
||||
#define __BERRY_CUSTOM__
|
||||
|
||||
|
||||
|
||||
#endif // __BERRY_CUSTOM__
|
||||
1
lib/libesp32/berry_custom/src/embedded/.keep
Normal file
1
lib/libesp32/berry_custom/src/embedded/.keep
Normal file
@ -0,0 +1 @@
|
||||
*
|
||||
2
lib/libesp32/berry_custom/src/modules.h
Normal file
2
lib/libesp32/berry_custom/src/modules.h
Normal file
@ -0,0 +1,2 @@
|
||||
#define CUSTOM_NATIVE_MODULES
|
||||
#define CUSTOM_NATIVE_CLASSES
|
||||
1
lib/libesp32/berry_custom/src/solidify/.keep
Normal file
1
lib/libesp32/berry_custom/src/solidify/.keep
Normal file
@ -0,0 +1 @@
|
||||
*
|
||||
@ -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
|
||||
|
||||
@ -253,8 +253,10 @@ extern const bclass be_class_Matter_TLV; // need to declare it upfront because
|
||||
#include "solidify/solidified_Matter_Plugin_2_Sensor_Occupancy.h"
|
||||
#include "solidify/solidified_Matter_Plugin_2_Sensor_OnOff.h"
|
||||
#include "solidify/solidified_Matter_Plugin_2_Sensor_Contact.h"
|
||||
#include "solidify/solidified_Matter_Plugin_2_Sensor_Waterleak.h"
|
||||
#include "solidify/solidified_Matter_Plugin_9_Virt_Sensor_Contact.h"
|
||||
#include "solidify/solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h"
|
||||
#include "solidify/solidified_Matter_Plugin_9_Virt_Sensor_Waterleak.h"
|
||||
#include "solidify/solidified_Matter_Plugin_2_Bridge_HTTP.h"
|
||||
#include "solidify/solidified_Matter_Plugin_4_Bridge_OnOff.h"
|
||||
#include "solidify/solidified_Matter_Plugin_3_Bridge_Light0.h"
|
||||
@ -269,6 +271,7 @@ extern const bclass be_class_Matter_TLV; // need to declare it upfront because
|
||||
#include "solidify/solidified_Matter_Plugin_3_Bridge_Sensor_Occupancy.h"
|
||||
#include "solidify/solidified_Matter_Plugin_3_Bridge_Sensor_Contact.h"
|
||||
#include "solidify/solidified_Matter_Plugin_4_Bridge_Sensor_Flow.h"
|
||||
#include "solidify/solidified_Matter_Plugin_3_Bridge_Sensor_Waterleak.h"
|
||||
#include "solidify/solidified_Matter_Plugin_z_All.h"
|
||||
#include "solidify/solidified_Matter_zz_Device.h"
|
||||
|
||||
@ -307,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)
|
||||
|
||||
@ -320,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
|
||||
|
||||
@ -0,0 +1,119 @@
|
||||
#
|
||||
# Matter_Plugin_2_Sensor_Waterleak.be - implements the behavior for a Water leak Sensor
|
||||
#
|
||||
# Copyright (C) 2024 Stephan Hadinger & Theo Arends
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
import matter
|
||||
|
||||
# Matter plug-in for core behavior
|
||||
|
||||
#@ solidify:Matter_Plugin_Sensor_Waterleak,weak
|
||||
|
||||
class Matter_Plugin_Sensor_Waterleak : Matter_Plugin_Device
|
||||
static var TYPE = "waterleak" # name of the plug-in in json
|
||||
static var DISPLAY_NAME = "Waterleak" # display name of the plug-in
|
||||
static var ARG = "switch" # additional argument name (or empty if none)
|
||||
static var ARG_HINT = "Switch<x> number"
|
||||
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
|
||||
static var UPDATE_TIME = 750 # update every 750ms
|
||||
static var UPDATE_COMMANDS = matter.UC_LIST(_class, "Waterleak")
|
||||
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
||||
0x0045: [0], # Boolean State p.70 - no writable
|
||||
})
|
||||
# MATTER_WATER_LEAK_DETECTOR_DEVICE_TYPE_ID 0x0043
|
||||
static var TYPES = { 0x0043: 1 } # Waterleak Sensor, rev 1
|
||||
|
||||
var tasmota_switch_index # Switch number in Tasmota (one based)
|
||||
var shadow_leak
|
||||
|
||||
#############################################################
|
||||
# Constructor
|
||||
def init(device, endpoint, config)
|
||||
super(self).init(device, endpoint, config)
|
||||
self.shadow_leak = false
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# parse_configuration
|
||||
#
|
||||
# Parse configuration map
|
||||
def parse_configuration(config)
|
||||
self.tasmota_switch_index = int(config.find(self.ARG #-'switch'-#, 1))
|
||||
if self.tasmota_switch_index <= 0 self.tasmota_switch_index = 1 end
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# Update shadow
|
||||
#
|
||||
def update_shadow()
|
||||
super(self).update_shadow()
|
||||
if !self.VIRTUAL
|
||||
var switch_str = "Switch" + str(self.tasmota_switch_index)
|
||||
|
||||
var j = tasmota.cmd("Status 8", true)
|
||||
if j != nil j = j.find("StatusSNS") end
|
||||
if j != nil && j.contains(switch_str)
|
||||
var state = (j.find(switch_str) == "ON")
|
||||
|
||||
if (self.shadow_leak != state)
|
||||
self.attribute_updated(0x0045, 0x0000)
|
||||
end
|
||||
self.shadow_leak = state
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# read an attribute
|
||||
#
|
||||
def read_attribute(session, ctx, tlv_solo)
|
||||
var TLV = matter.TLV
|
||||
var cluster = ctx.cluster
|
||||
var attribute = ctx.attribute
|
||||
|
||||
# ====================================================================================================
|
||||
if cluster == 0x0045 # ========== Boolean State ==========
|
||||
if attribute == 0x0000 # ---------- StateValue / bool ----------
|
||||
if self.shadow_leak != nil
|
||||
return tlv_solo.set(TLV.BOOL, self.shadow_leak)
|
||||
else
|
||||
return tlv_solo.set(TLV.NULL, nil)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
return super(self).read_attribute(session, ctx, tlv_solo)
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# update_virtual
|
||||
#
|
||||
# Update internal state for virtual devices
|
||||
def update_virtual(payload_json)
|
||||
var val_onoff = payload_json.find("Waterleak")
|
||||
if val_onoff != nil
|
||||
val_onoff = bool(val_onoff)
|
||||
if self.shadow_leak != val_onoff
|
||||
self.attribute_updated(0x0045, 0x0000)
|
||||
self.shadow_leak = val_onoff
|
||||
end
|
||||
end
|
||||
super(self).update_virtual(payload_json)
|
||||
end
|
||||
|
||||
end
|
||||
matter.Plugin_Sensor_Waterleak = Matter_Plugin_Sensor_Waterleak
|
||||
@ -0,0 +1,110 @@
|
||||
#
|
||||
# Matter_Plugin_Bridge_Sensor_Waterleak.be - implements Waterleak Sensor via HTTP to Tasmota
|
||||
#
|
||||
# Copyright (C) 2024 Stephan Hadinger & Theo Arends
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
import matter
|
||||
|
||||
# Matter plug-in for core behavior
|
||||
|
||||
#@ solidify:Matter_Plugin_Bridge_Sensor_Waterleak,weak
|
||||
|
||||
class Matter_Plugin_Bridge_Sensor_Waterleak : Matter_Plugin_Bridge_HTTP
|
||||
static var TYPE = "http_waterleak" # name of the plug-in in json
|
||||
static var DISPLAY_NAME = "Waterleak" # display name of the plug-in
|
||||
static var ARG = "switch" # additional argument name (or empty if none)
|
||||
static var ARG_HINT = "Switch<x> number"
|
||||
static var ARG_TYPE = / x -> int(x) # function to convert argument to the right type
|
||||
static var UPDATE_TIME = 5000 # update every 5s
|
||||
static var UPDATE_CMD = "Status 8" # command to send for updates
|
||||
|
||||
static var CLUSTERS = matter.consolidate_clusters(_class, {
|
||||
0x0045: [0], # Boolean State p.70 - no writable
|
||||
})
|
||||
static var TYPES = { 0x0043: 1 } # Waterleak Sensor, rev 1
|
||||
|
||||
var tasmota_switch_index # Switch number in Tasmota (one based)
|
||||
var shadow_Waterleak
|
||||
|
||||
#############################################################
|
||||
# Constructor
|
||||
def init(device, endpoint, arguments)
|
||||
super(self).init(device, endpoint, arguments)
|
||||
self.tasmota_switch_index = int(arguments.find(self.ARG #-'switch'-#, 1))
|
||||
if self.tasmota_switch_index <= 0 self.tasmota_switch_index = 1 end
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# Stub for updating shadow values (local copies of what we published to the Matter gateway)
|
||||
#
|
||||
# This call is synnchronous and blocking.
|
||||
def parse_update(data, index)
|
||||
if index == 8 # Status 8
|
||||
var state = false
|
||||
|
||||
state = (data.find("Switch" + str(self.tasmota_switch_index)) == "ON")
|
||||
|
||||
if self.shadow_Waterleak != nil && self.shadow_Waterleak != bool(state)
|
||||
self.attribute_updated(0x0045, 0x0000)
|
||||
end
|
||||
self.shadow_Waterleak = state
|
||||
end
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# read an attribute
|
||||
#
|
||||
def read_attribute(session, ctx, tlv_solo)
|
||||
var TLV = matter.TLV
|
||||
var cluster = ctx.cluster
|
||||
var attribute = ctx.attribute
|
||||
|
||||
# ====================================================================================================
|
||||
if cluster == 0x0045 # ========== Boolean State ==========
|
||||
if attribute == 0x0000 # ---------- StateValue / bool ----------
|
||||
if self.shadow_Waterleak != nil
|
||||
return tlv_solo.set(TLV.BOOL, self.shadow_Waterleak)
|
||||
else
|
||||
return tlv_solo.set(TLV.NULL, nil)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
return super(self).read_attribute(session, ctx, tlv_solo)
|
||||
end
|
||||
|
||||
#############################################################
|
||||
# web_values
|
||||
#
|
||||
# Show values of the remote device as HTML
|
||||
def web_values()
|
||||
import webserver
|
||||
self.web_values_prefix() # display '| ' and name if present
|
||||
webserver.content_send(format("Waterleak%i %s", self.tasmota_switch_index, self.web_value_onoff(self.shadow_Waterleak)))
|
||||
end
|
||||
|
||||
# Show prefix before web value
|
||||
def web_values_prefix()
|
||||
import webserver
|
||||
var name = self.get_name()
|
||||
if !name
|
||||
name = "Switch" + str(self.tasmota_switch_index)
|
||||
end
|
||||
webserver.content_send(format(self.PREFIX, name ? webserver.html_escape(name) : ""))
|
||||
end
|
||||
end
|
||||
matter.Plugin_Bridge_Sensor_Waterleak = Matter_Plugin_Bridge_Sensor_Waterleak
|
||||
@ -0,0 +1,35 @@
|
||||
|
||||
#
|
||||
# Matter_Plugin_9_Virt_Sensor_Waterleak.be - implements the behavior for a Virtual Waterleak Sensor
|
||||
#
|
||||
# Copyright (C) 2024 Stephan Hadinger & Theo Arends
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
import matter
|
||||
|
||||
# Matter plug-in for core behavior
|
||||
|
||||
#@ solidify:Matter_Plugin_Virt_Sensor_Waterleak ,weak
|
||||
|
||||
class Matter_Plugin_Virt_Sensor_Waterleak : Matter_Plugin_Virt_Sensor_Waterleak
|
||||
static var TYPE = "v_waterleak" # name of the plug-in in json
|
||||
static var DISPLAY_NAME = "v.Waterleak" # display name of the plug-in
|
||||
static var ARG = "" # no arg for virtual device
|
||||
static var ARG_HINT = "_Not used_" # Hint for entering the Argument (inside 'placeholder')
|
||||
static var VIRTUAL = true # virtual device
|
||||
|
||||
end
|
||||
matter.Plugin_Virt_Sensor_Waterleak = Matter_Plugin_Virt_Sensor_Waterleak
|
||||
@ -21,9 +21,6 @@ import matter
|
||||
|
||||
#@ solidify:Matter_Session_Store,weak
|
||||
|
||||
# for compilation
|
||||
class Matter_Expirable end
|
||||
|
||||
#################################################################################
|
||||
#################################################################################
|
||||
#################################################################################
|
||||
|
||||
@ -33,12 +33,12 @@ import matter
|
||||
#################################################################################
|
||||
class Matter_UI
|
||||
static var _CLASSES_TYPES = "|relay|light0|light1|light2|light3|shutter|shutter+tilt"
|
||||
"|temperature|pressure|illuminance|humidity|occupancy|onoff|contact|flow"
|
||||
"|temperature|pressure|illuminance|humidity|occupancy|onoff|contact|flow|waterleak"
|
||||
"|-virtual|v_relay|v_light0|v_light1|v_light2|v_light3"
|
||||
"|v_temp|v_pressure|v_illuminance|v_humidity|v_occupancy|v_contact|v_flow"
|
||||
"|v_temp|v_pressure|v_illuminance|v_humidity|v_occupancy|v_contact|v_flow|v_waterleak"
|
||||
static var _CLASSES_TYPES2= "|http_relay|http_light0|http_light1|http_light2|http_light3"
|
||||
"|http_temperature|http_pressure|http_illuminance|http_humidity"
|
||||
"|http_occupancy|http_contact|http_flow"
|
||||
"|http_occupancy|http_contact|http_flow|http_waterleak"
|
||||
var device
|
||||
|
||||
# ####################################################################################################
|
||||
|
||||
@ -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),
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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),
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -0,0 +1,442 @@
|
||||
/* Solidification of Matter_Plugin_2_Sensor_Waterleak.h */
|
||||
/********************************************************************\
|
||||
* Generated code, don't edit *
|
||||
\********************************************************************/
|
||||
#include "be_constobj.h"
|
||||
|
||||
extern const bclass be_class_Matter_Plugin_Sensor_Waterleak;
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: <lambda>
|
||||
********************************************************************/
|
||||
be_local_closure(class_Matter_Plugin_Sensor_Waterleak__X3Clambda_X3E, /* name */
|
||||
be_nested_proto(
|
||||
3, /* nstack */
|
||||
1, /* argc */
|
||||
0, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
NULL,
|
||||
0, /* has constants */
|
||||
NULL, /* no const */
|
||||
be_str_weak(_X3Clambda_X3E),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[ 4]) { /* code */
|
||||
0x60040009, // 0000 GETGBL R1 G9
|
||||
0x5C080000, // 0001 MOVE R2 R0
|
||||
0x7C040200, // 0002 CALL R1 1
|
||||
0x80040200, // 0003 RET 1 R1
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: init
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 2]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(init),
|
||||
/* K1 */ be_nested_str_weak(shadow_leak),
|
||||
}),
|
||||
be_str_weak(init),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[11]) { /* code */
|
||||
0x60100003, // 0000 GETGBL R4 G3
|
||||
0x5C140000, // 0001 MOVE R5 R0
|
||||
0x7C100200, // 0002 CALL R4 1
|
||||
0x8C100900, // 0003 GETMET R4 R4 K0
|
||||
0x5C180200, // 0004 MOVE R6 R1
|
||||
0x5C1C0400, // 0005 MOVE R7 R2
|
||||
0x5C200600, // 0006 MOVE R8 R3
|
||||
0x7C100800, // 0007 CALL R4 4
|
||||
0x50100000, // 0008 LDBOOL R4 0 0
|
||||
0x90020204, // 0009 SETMBR R0 K1 R4
|
||||
0x80000000, // 000A RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: update_shadow
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[14]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(update_shadow),
|
||||
/* K1 */ be_nested_str_weak(VIRTUAL),
|
||||
/* K2 */ be_nested_str_weak(Switch),
|
||||
/* K3 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K4 */ be_nested_str_weak(tasmota),
|
||||
/* K5 */ be_nested_str_weak(cmd),
|
||||
/* K6 */ be_nested_str_weak(Status_X208),
|
||||
/* K7 */ be_nested_str_weak(find),
|
||||
/* K8 */ be_nested_str_weak(StatusSNS),
|
||||
/* K9 */ be_nested_str_weak(contains),
|
||||
/* K10 */ be_nested_str_weak(ON),
|
||||
/* K11 */ be_nested_str_weak(shadow_leak),
|
||||
/* K12 */ be_nested_str_weak(attribute_updated),
|
||||
/* K13 */ be_const_int(0),
|
||||
}),
|
||||
be_str_weak(update_shadow),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[43]) { /* code */
|
||||
0x60040003, // 0000 GETGBL R1 G3
|
||||
0x5C080000, // 0001 MOVE R2 R0
|
||||
0x7C040200, // 0002 CALL R1 1
|
||||
0x8C040300, // 0003 GETMET R1 R1 K0
|
||||
0x7C040200, // 0004 CALL R1 1
|
||||
0x88040101, // 0005 GETMBR R1 R0 K1
|
||||
0x74060022, // 0006 JMPT R1 #002A
|
||||
0x60040008, // 0007 GETGBL R1 G8
|
||||
0x88080103, // 0008 GETMBR R2 R0 K3
|
||||
0x7C040200, // 0009 CALL R1 1
|
||||
0x00060401, // 000A ADD R1 K2 R1
|
||||
0xB80A0800, // 000B GETNGBL R2 K4
|
||||
0x8C080505, // 000C GETMET R2 R2 K5
|
||||
0x58100006, // 000D LDCONST R4 K6
|
||||
0x50140200, // 000E LDBOOL R5 1 0
|
||||
0x7C080600, // 000F CALL R2 3
|
||||
0x4C0C0000, // 0010 LDNIL R3
|
||||
0x200C0403, // 0011 NE R3 R2 R3
|
||||
0x780E0003, // 0012 JMPF R3 #0017
|
||||
0x8C0C0507, // 0013 GETMET R3 R2 K7
|
||||
0x58140008, // 0014 LDCONST R5 K8
|
||||
0x7C0C0400, // 0015 CALL R3 2
|
||||
0x5C080600, // 0016 MOVE R2 R3
|
||||
0x4C0C0000, // 0017 LDNIL R3
|
||||
0x200C0403, // 0018 NE R3 R2 R3
|
||||
0x780E000F, // 0019 JMPF R3 #002A
|
||||
0x8C0C0509, // 001A GETMET R3 R2 K9
|
||||
0x5C140200, // 001B MOVE R5 R1
|
||||
0x7C0C0400, // 001C CALL R3 2
|
||||
0x780E000B, // 001D JMPF R3 #002A
|
||||
0x8C0C0507, // 001E GETMET R3 R2 K7
|
||||
0x5C140200, // 001F MOVE R5 R1
|
||||
0x7C0C0400, // 0020 CALL R3 2
|
||||
0x1C0C070A, // 0021 EQ R3 R3 K10
|
||||
0x8810010B, // 0022 GETMBR R4 R0 K11
|
||||
0x20100803, // 0023 NE R4 R4 R3
|
||||
0x78120003, // 0024 JMPF R4 #0029
|
||||
0x8C10010C, // 0025 GETMET R4 R0 K12
|
||||
0x541A0044, // 0026 LDINT R6 69
|
||||
0x581C000D, // 0027 LDCONST R7 K13
|
||||
0x7C100600, // 0028 CALL R4 3
|
||||
0x90021603, // 0029 SETMBR R0 K11 R3
|
||||
0x80000000, // 002A RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: parse_configuration
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 5]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K1 */ be_nested_str_weak(find),
|
||||
/* K2 */ be_nested_str_weak(ARG),
|
||||
/* K3 */ be_const_int(1),
|
||||
/* K4 */ be_const_int(0),
|
||||
}),
|
||||
be_str_weak(parse_configuration),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[12]) { /* code */
|
||||
0x60080009, // 0000 GETGBL R2 G9
|
||||
0x8C0C0301, // 0001 GETMET R3 R1 K1
|
||||
0x88140102, // 0002 GETMBR R5 R0 K2
|
||||
0x58180003, // 0003 LDCONST R6 K3
|
||||
0x7C0C0600, // 0004 CALL R3 3
|
||||
0x7C080200, // 0005 CALL R2 1
|
||||
0x90020002, // 0006 SETMBR R0 K0 R2
|
||||
0x88080100, // 0007 GETMBR R2 R0 K0
|
||||
0x18080504, // 0008 LE R2 R2 K4
|
||||
0x780A0000, // 0009 JMPF R2 #000B
|
||||
0x90020103, // 000A SETMBR R0 K0 K3
|
||||
0x80000000, // 000B RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: read_attribute
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[10]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(matter),
|
||||
/* K1 */ be_nested_str_weak(TLV),
|
||||
/* K2 */ be_nested_str_weak(cluster),
|
||||
/* K3 */ be_nested_str_weak(attribute),
|
||||
/* K4 */ be_const_int(0),
|
||||
/* K5 */ be_nested_str_weak(shadow_leak),
|
||||
/* K6 */ be_nested_str_weak(set),
|
||||
/* K7 */ be_nested_str_weak(BOOL),
|
||||
/* K8 */ be_nested_str_weak(NULL),
|
||||
/* K9 */ be_nested_str_weak(read_attribute),
|
||||
}),
|
||||
be_str_weak(read_attribute),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[33]) { /* code */
|
||||
0xB8120000, // 0000 GETNGBL R4 K0
|
||||
0x88100901, // 0001 GETMBR R4 R4 K1
|
||||
0x88140502, // 0002 GETMBR R5 R2 K2
|
||||
0x88180503, // 0003 GETMBR R6 R2 K3
|
||||
0x541E0044, // 0004 LDINT R7 69
|
||||
0x1C1C0A07, // 0005 EQ R7 R5 R7
|
||||
0x781E0010, // 0006 JMPF R7 #0018
|
||||
0x1C1C0D04, // 0007 EQ R7 R6 K4
|
||||
0x781E000E, // 0008 JMPF R7 #0018
|
||||
0x881C0105, // 0009 GETMBR R7 R0 K5
|
||||
0x4C200000, // 000A LDNIL R8
|
||||
0x201C0E08, // 000B NE R7 R7 R8
|
||||
0x781E0005, // 000C JMPF R7 #0013
|
||||
0x8C1C0706, // 000D GETMET R7 R3 K6
|
||||
0x88240907, // 000E GETMBR R9 R4 K7
|
||||
0x88280105, // 000F GETMBR R10 R0 K5
|
||||
0x7C1C0600, // 0010 CALL R7 3
|
||||
0x80040E00, // 0011 RET 1 R7
|
||||
0x70020004, // 0012 JMP #0018
|
||||
0x8C1C0706, // 0013 GETMET R7 R3 K6
|
||||
0x88240908, // 0014 GETMBR R9 R4 K8
|
||||
0x4C280000, // 0015 LDNIL R10
|
||||
0x7C1C0600, // 0016 CALL R7 3
|
||||
0x80040E00, // 0017 RET 1 R7
|
||||
0x601C0003, // 0018 GETGBL R7 G3
|
||||
0x5C200000, // 0019 MOVE R8 R0
|
||||
0x7C1C0200, // 001A CALL R7 1
|
||||
0x8C1C0F09, // 001B GETMET R7 R7 K9
|
||||
0x5C240200, // 001C MOVE R9 R1
|
||||
0x5C280400, // 001D MOVE R10 R2
|
||||
0x5C2C0600, // 001E MOVE R11 R3
|
||||
0x7C1C0800, // 001F CALL R7 4
|
||||
0x80040E00, // 0020 RET 1 R7
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: update_virtual
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 6]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(find),
|
||||
/* K1 */ be_nested_str_weak(Waterleak),
|
||||
/* K2 */ be_nested_str_weak(shadow_leak),
|
||||
/* K3 */ be_nested_str_weak(attribute_updated),
|
||||
/* K4 */ be_const_int(0),
|
||||
/* K5 */ be_nested_str_weak(update_virtual),
|
||||
}),
|
||||
be_str_weak(update_virtual),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[25]) { /* code */
|
||||
0x8C080300, // 0000 GETMET R2 R1 K0
|
||||
0x58100001, // 0001 LDCONST R4 K1
|
||||
0x7C080400, // 0002 CALL R2 2
|
||||
0x4C0C0000, // 0003 LDNIL R3
|
||||
0x200C0403, // 0004 NE R3 R2 R3
|
||||
0x780E000B, // 0005 JMPF R3 #0012
|
||||
0x600C0017, // 0006 GETGBL R3 G23
|
||||
0x5C100400, // 0007 MOVE R4 R2
|
||||
0x7C0C0200, // 0008 CALL R3 1
|
||||
0x5C080600, // 0009 MOVE R2 R3
|
||||
0x880C0102, // 000A GETMBR R3 R0 K2
|
||||
0x200C0602, // 000B NE R3 R3 R2
|
||||
0x780E0004, // 000C JMPF R3 #0012
|
||||
0x8C0C0103, // 000D GETMET R3 R0 K3
|
||||
0x54160044, // 000E LDINT R5 69
|
||||
0x58180004, // 000F LDCONST R6 K4
|
||||
0x7C0C0600, // 0010 CALL R3 3
|
||||
0x90020402, // 0011 SETMBR R0 K2 R2
|
||||
0x600C0003, // 0012 GETGBL R3 G3
|
||||
0x5C100000, // 0013 MOVE R4 R0
|
||||
0x7C0C0200, // 0014 CALL R3 1
|
||||
0x8C0C0705, // 0015 GETMET R3 R3 K5
|
||||
0x5C140200, // 0016 MOVE R5 R1
|
||||
0x7C0C0400, // 0017 CALL R3 2
|
||||
0x80000000, // 0018 RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified class: Matter_Plugin_Sensor_Waterleak
|
||||
********************************************************************/
|
||||
extern const bclass be_class_Matter_Plugin_Device;
|
||||
be_local_class(Matter_Plugin_Sensor_Waterleak,
|
||||
2,
|
||||
&be_class_Matter_Plugin_Device,
|
||||
be_nested_map(16,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ 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(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(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) },
|
||||
{ be_const_key_weak(CLUSTERS, 12), be_const_simple_instance(be_nested_simple_instance(&be_class_map, {
|
||||
be_const_map( * be_nested_map(6,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(69, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(tasmota_switch_index, 9), be_const_var(0) },
|
||||
{ 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[]) {
|
||||
be_nested_str_weak(Waterleak),
|
||||
})) ) } )) },
|
||||
{ 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(class_Matter_Plugin_Sensor_Waterleak_parse_configuration_closure) },
|
||||
})),
|
||||
be_str_weak(Matter_Plugin_Sensor_Waterleak)
|
||||
);
|
||||
/********************************************************************/
|
||||
/* End of solidification */
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -0,0 +1,431 @@
|
||||
/* Solidification of Matter_Plugin_3_Bridge_Sensor_Waterleak.h */
|
||||
/********************************************************************\
|
||||
* Generated code, don't edit *
|
||||
\********************************************************************/
|
||||
#include "be_constobj.h"
|
||||
|
||||
extern const bclass be_class_Matter_Plugin_Bridge_Sensor_Waterleak;
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: <lambda>
|
||||
********************************************************************/
|
||||
be_local_closure(class_Matter_Plugin_Bridge_Sensor_Waterleak__X3Clambda_X3E, /* name */
|
||||
be_nested_proto(
|
||||
3, /* nstack */
|
||||
1, /* argc */
|
||||
0, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
NULL,
|
||||
0, /* has constants */
|
||||
NULL, /* no const */
|
||||
be_str_weak(_X3Clambda_X3E),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[ 4]) { /* code */
|
||||
0x60040009, // 0000 GETGBL R1 G9
|
||||
0x5C080000, // 0001 MOVE R2 R0
|
||||
0x7C040200, // 0002 CALL R1 1
|
||||
0x80040200, // 0003 RET 1 R1
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: web_values_prefix
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 8]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(webserver),
|
||||
/* K1 */ be_nested_str_weak(get_name),
|
||||
/* K2 */ be_nested_str_weak(Switch),
|
||||
/* K3 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K4 */ be_nested_str_weak(content_send),
|
||||
/* K5 */ be_nested_str_weak(PREFIX),
|
||||
/* K6 */ be_nested_str_weak(html_escape),
|
||||
/* K7 */ be_nested_str_weak(),
|
||||
}),
|
||||
be_str_weak(web_values_prefix),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[22]) { /* code */
|
||||
0xA4060000, // 0000 IMPORT R1 K0
|
||||
0x8C080101, // 0001 GETMET R2 R0 K1
|
||||
0x7C080200, // 0002 CALL R2 1
|
||||
0x5C0C0400, // 0003 MOVE R3 R2
|
||||
0x740E0004, // 0004 JMPT R3 #000A
|
||||
0x600C0008, // 0005 GETGBL R3 G8
|
||||
0x88100103, // 0006 GETMBR R4 R0 K3
|
||||
0x7C0C0200, // 0007 CALL R3 1
|
||||
0x000E0403, // 0008 ADD R3 K2 R3
|
||||
0x5C080600, // 0009 MOVE R2 R3
|
||||
0x8C0C0304, // 000A GETMET R3 R1 K4
|
||||
0x60140018, // 000B GETGBL R5 G24
|
||||
0x88180105, // 000C GETMBR R6 R0 K5
|
||||
0x780A0003, // 000D JMPF R2 #0012
|
||||
0x8C1C0306, // 000E GETMET R7 R1 K6
|
||||
0x5C240400, // 000F MOVE R9 R2
|
||||
0x7C1C0400, // 0010 CALL R7 2
|
||||
0x70020000, // 0011 JMP #0013
|
||||
0x581C0007, // 0012 LDCONST R7 K7
|
||||
0x7C140400, // 0013 CALL R5 2
|
||||
0x7C0C0400, // 0014 CALL R3 2
|
||||
0x80000000, // 0015 RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: init
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 6]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(init),
|
||||
/* K1 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K2 */ be_nested_str_weak(find),
|
||||
/* K3 */ be_nested_str_weak(ARG),
|
||||
/* K4 */ be_const_int(1),
|
||||
/* K5 */ be_const_int(0),
|
||||
}),
|
||||
be_str_weak(init),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[20]) { /* code */
|
||||
0x60100003, // 0000 GETGBL R4 G3
|
||||
0x5C140000, // 0001 MOVE R5 R0
|
||||
0x7C100200, // 0002 CALL R4 1
|
||||
0x8C100900, // 0003 GETMET R4 R4 K0
|
||||
0x5C180200, // 0004 MOVE R6 R1
|
||||
0x5C1C0400, // 0005 MOVE R7 R2
|
||||
0x5C200600, // 0006 MOVE R8 R3
|
||||
0x7C100800, // 0007 CALL R4 4
|
||||
0x60100009, // 0008 GETGBL R4 G9
|
||||
0x8C140702, // 0009 GETMET R5 R3 K2
|
||||
0x881C0103, // 000A GETMBR R7 R0 K3
|
||||
0x58200004, // 000B LDCONST R8 K4
|
||||
0x7C140600, // 000C CALL R5 3
|
||||
0x7C100200, // 000D CALL R4 1
|
||||
0x90020204, // 000E SETMBR R0 K1 R4
|
||||
0x88100101, // 000F GETMBR R4 R0 K1
|
||||
0x18100905, // 0010 LE R4 R4 K5
|
||||
0x78120000, // 0011 JMPF R4 #0013
|
||||
0x90020304, // 0012 SETMBR R0 K1 K4
|
||||
0x80000000, // 0013 RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: web_values
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 7]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(webserver),
|
||||
/* K1 */ be_nested_str_weak(web_values_prefix),
|
||||
/* K2 */ be_nested_str_weak(content_send),
|
||||
/* K3 */ be_nested_str_weak(Waterleak_X25i_X20_X25s),
|
||||
/* K4 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K5 */ be_nested_str_weak(web_value_onoff),
|
||||
/* K6 */ be_nested_str_weak(shadow_Waterleak),
|
||||
}),
|
||||
be_str_weak(web_values),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[13]) { /* code */
|
||||
0xA4060000, // 0000 IMPORT R1 K0
|
||||
0x8C080101, // 0001 GETMET R2 R0 K1
|
||||
0x7C080200, // 0002 CALL R2 1
|
||||
0x8C080302, // 0003 GETMET R2 R1 K2
|
||||
0x60100018, // 0004 GETGBL R4 G24
|
||||
0x58140003, // 0005 LDCONST R5 K3
|
||||
0x88180104, // 0006 GETMBR R6 R0 K4
|
||||
0x8C1C0105, // 0007 GETMET R7 R0 K5
|
||||
0x88240106, // 0008 GETMBR R9 R0 K6
|
||||
0x7C1C0400, // 0009 CALL R7 2
|
||||
0x7C100600, // 000A CALL R4 3
|
||||
0x7C080400, // 000B CALL R2 2
|
||||
0x80000000, // 000C RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: parse_update
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[ 7]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(find),
|
||||
/* K1 */ be_nested_str_weak(Switch),
|
||||
/* K2 */ be_nested_str_weak(tasmota_switch_index),
|
||||
/* K3 */ be_nested_str_weak(ON),
|
||||
/* K4 */ be_nested_str_weak(shadow_Waterleak),
|
||||
/* K5 */ be_nested_str_weak(attribute_updated),
|
||||
/* K6 */ be_const_int(0),
|
||||
}),
|
||||
be_str_weak(parse_update),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[28]) { /* code */
|
||||
0x540E0007, // 0000 LDINT R3 8
|
||||
0x1C0C0403, // 0001 EQ R3 R2 R3
|
||||
0x780E0017, // 0002 JMPF R3 #001B
|
||||
0x500C0000, // 0003 LDBOOL R3 0 0
|
||||
0x8C100300, // 0004 GETMET R4 R1 K0
|
||||
0x60180008, // 0005 GETGBL R6 G8
|
||||
0x881C0102, // 0006 GETMBR R7 R0 K2
|
||||
0x7C180200, // 0007 CALL R6 1
|
||||
0x001A0206, // 0008 ADD R6 K1 R6
|
||||
0x7C100400, // 0009 CALL R4 2
|
||||
0x1C100903, // 000A EQ R4 R4 K3
|
||||
0x5C0C0800, // 000B MOVE R3 R4
|
||||
0x88100104, // 000C GETMBR R4 R0 K4
|
||||
0x4C140000, // 000D LDNIL R5
|
||||
0x20100805, // 000E NE R4 R4 R5
|
||||
0x78120009, // 000F JMPF R4 #001A
|
||||
0x88100104, // 0010 GETMBR R4 R0 K4
|
||||
0x60140017, // 0011 GETGBL R5 G23
|
||||
0x5C180600, // 0012 MOVE R6 R3
|
||||
0x7C140200, // 0013 CALL R5 1
|
||||
0x20100805, // 0014 NE R4 R4 R5
|
||||
0x78120003, // 0015 JMPF R4 #001A
|
||||
0x8C100105, // 0016 GETMET R4 R0 K5
|
||||
0x541A0044, // 0017 LDINT R6 69
|
||||
0x581C0006, // 0018 LDCONST R7 K6
|
||||
0x7C100600, // 0019 CALL R4 3
|
||||
0x90020803, // 001A SETMBR R0 K4 R3
|
||||
0x80000000, // 001B RET 0
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified function: read_attribute
|
||||
********************************************************************/
|
||||
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 */
|
||||
2, /* varg */
|
||||
0, /* has upvals */
|
||||
NULL, /* no upvals */
|
||||
0, /* has sup protos */
|
||||
&be_class_Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
1, /* has constants */
|
||||
( &(const bvalue[10]) { /* constants */
|
||||
/* K0 */ be_nested_str_weak(matter),
|
||||
/* K1 */ be_nested_str_weak(TLV),
|
||||
/* K2 */ be_nested_str_weak(cluster),
|
||||
/* K3 */ be_nested_str_weak(attribute),
|
||||
/* K4 */ be_const_int(0),
|
||||
/* K5 */ be_nested_str_weak(shadow_Waterleak),
|
||||
/* K6 */ be_nested_str_weak(set),
|
||||
/* K7 */ be_nested_str_weak(BOOL),
|
||||
/* K8 */ be_nested_str_weak(NULL),
|
||||
/* K9 */ be_nested_str_weak(read_attribute),
|
||||
}),
|
||||
be_str_weak(read_attribute),
|
||||
&be_const_str_solidified,
|
||||
( &(const binstruction[33]) { /* code */
|
||||
0xB8120000, // 0000 GETNGBL R4 K0
|
||||
0x88100901, // 0001 GETMBR R4 R4 K1
|
||||
0x88140502, // 0002 GETMBR R5 R2 K2
|
||||
0x88180503, // 0003 GETMBR R6 R2 K3
|
||||
0x541E0044, // 0004 LDINT R7 69
|
||||
0x1C1C0A07, // 0005 EQ R7 R5 R7
|
||||
0x781E0010, // 0006 JMPF R7 #0018
|
||||
0x1C1C0D04, // 0007 EQ R7 R6 K4
|
||||
0x781E000E, // 0008 JMPF R7 #0018
|
||||
0x881C0105, // 0009 GETMBR R7 R0 K5
|
||||
0x4C200000, // 000A LDNIL R8
|
||||
0x201C0E08, // 000B NE R7 R7 R8
|
||||
0x781E0005, // 000C JMPF R7 #0013
|
||||
0x8C1C0706, // 000D GETMET R7 R3 K6
|
||||
0x88240907, // 000E GETMBR R9 R4 K7
|
||||
0x88280105, // 000F GETMBR R10 R0 K5
|
||||
0x7C1C0600, // 0010 CALL R7 3
|
||||
0x80040E00, // 0011 RET 1 R7
|
||||
0x70020004, // 0012 JMP #0018
|
||||
0x8C1C0706, // 0013 GETMET R7 R3 K6
|
||||
0x88240908, // 0014 GETMBR R9 R4 K8
|
||||
0x4C280000, // 0015 LDNIL R10
|
||||
0x7C1C0600, // 0016 CALL R7 3
|
||||
0x80040E00, // 0017 RET 1 R7
|
||||
0x601C0003, // 0018 GETGBL R7 G3
|
||||
0x5C200000, // 0019 MOVE R8 R0
|
||||
0x7C1C0200, // 001A CALL R7 1
|
||||
0x8C1C0F09, // 001B GETMET R7 R7 K9
|
||||
0x5C240200, // 001C MOVE R9 R1
|
||||
0x5C280400, // 001D MOVE R10 R2
|
||||
0x5C2C0600, // 001E MOVE R11 R3
|
||||
0x7C1C0800, // 001F CALL R7 4
|
||||
0x80040E00, // 0020 RET 1 R7
|
||||
})
|
||||
)
|
||||
);
|
||||
/*******************************************************************/
|
||||
|
||||
|
||||
/********************************************************************
|
||||
** Solidified class: Matter_Plugin_Bridge_Sensor_Waterleak
|
||||
********************************************************************/
|
||||
extern const bclass be_class_Matter_Plugin_Bridge_HTTP;
|
||||
be_local_class(Matter_Plugin_Bridge_Sensor_Waterleak,
|
||||
2,
|
||||
&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(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(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,
|
||||
( (struct bmapnode*) &(const bmapnode[]) {
|
||||
{ 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(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[]) {
|
||||
{ be_const_key_int(5, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(4),
|
||||
be_const_int(5),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(3, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(8,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(57, 1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(12,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(3),
|
||||
be_const_int(5),
|
||||
be_const_int(10),
|
||||
be_const_int(15),
|
||||
be_const_int(17),
|
||||
be_const_int(18),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(69, 2), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(4, -1), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(7,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
{ be_const_key_int(29, 0), be_const_simple_instance(be_nested_simple_instance(&be_class_list, {
|
||||
be_const_list( * be_nested_list(10,
|
||||
( (struct bvalue*) &(const bvalue[]) {
|
||||
be_const_int(0),
|
||||
be_const_int(1),
|
||||
be_const_int(2),
|
||||
be_const_int(3),
|
||||
be_const_int(65528),
|
||||
be_const_int(65529),
|
||||
be_const_int(65530),
|
||||
be_const_int(65531),
|
||||
be_const_int(65532),
|
||||
be_const_int(65533),
|
||||
})) ) } )) },
|
||||
})) ) } )) },
|
||||
{ be_const_key_weak(tasmota_switch_index, 6), be_const_var(0) },
|
||||
{ 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) },
|
||||
{ be_const_key_weak(UPDATE_CMD, -1), be_nested_str_weak(Status_X208) },
|
||||
})),
|
||||
be_str_weak(Matter_Plugin_Bridge_Sensor_Waterleak)
|
||||
);
|
||||
/********************************************************************/
|
||||
/* End of solidification */
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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 */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user