Merge branch 'development' into ina226_sensor54_voltage_fs

This commit is contained in:
barbudor 2022-09-06 23:50:25 +02:00
commit 48fff36b7d
193 changed files with 2901 additions and 7771 deletions

1
.gitignore vendored
View File

@ -25,6 +25,7 @@ firmware.asm
tasmota/tasmota.ino.cpp tasmota/tasmota.ino.cpp
platformio_override.ini platformio_override.ini
platformio_tasmota_cenv.ini platformio_tasmota_cenv.ini
lib/libesp32/berry/generate/*
## Visual Studio Code specific ###### ## Visual Studio Code specific ######
.vscode .vscode

View File

@ -7,7 +7,7 @@ l = lite, t = tasmota, k = knx, s = sensors, i = ir, d = display
Note: `minimal` variant is not listed as it shouldn't be used outside of the [upgrading](https://tasmota.github.io/docs/Upgrading/) process. Note: `minimal` variant is not listed as it shouldn't be used outside of the [upgrading](https://tasmota.github.io/docs/Upgrading/) process.
| Feature or Sensor | l | t | k | s | i | d | Remarks | Feature or Sensor | l | t | k | s | i | d | Remarks
|-----------------------|---|-------|---|---|---|---|-------- |---------------------------|---|-------|---|---|---|---|--------
| MY_LANGUAGE en_GB | x | x / x | x | x | x | x | | MY_LANGUAGE en_GB | x | x / x | x | x | x | x |
| USE_IMPROV | x | x / x | x | x | x | x | | USE_IMPROV | x | x / x | x | x | x | x |
| USE_UFILESYS | - | - / x | - | - | - | - | | USE_UFILESYS | - | - / x | - | - | - | - |
@ -71,12 +71,12 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up
| USE_SONOFF_L1 | - | x / - | x | x | - | x | | USE_SONOFF_L1 | - | x / - | x | x | - | x |
| USE_ELECTRIQ_MOODL | - | x / - | x | x | - | x | | USE_ELECTRIQ_MOODL | - | x / - | x | x | - | x |
| | | | | | | | | | | | | | | |
| USE_ENERGY_SENSOR | x | x / x | x | x | - | - | | USE_ENERGY_SENSOR | - | x / x | x | x | - | - |
| USE_ENERGY_DUMMY | x | x / x | x | x | - | - | | USE_ENERGY_DUMMY | - | x / x | x | x | - | - |
| USE_PZEM004T | - | x / x | x | x | - | - | | USE_PZEM004T | - | x / x | x | x | - | - |
| USE_PZEM_AC | - | x / x | x | x | - | - | | USE_PZEM_AC | - | x / x | x | x | - | - |
| USE_PZEM_DC | - | x / x | x | x | - | - | | USE_PZEM_DC | - | x / x | x | x | - | - |
| USE_MCP39F501 | x | x / - | x | x | - | - | | USE_MCP39F501 | - | x / - | x | x | - | - |
| USE_SDM72 | - | - / x | - | x | - | - | | USE_SDM72 | - | - / x | - | x | - | - |
| USE_SDM120 | - | - / x | - | x | - | - | | USE_SDM120 | - | - / x | - | x | - | - |
| USE_SDM230 | - | - / x | - | - | - | - | | USE_SDM230 | - | - / x | - | - | - | - |
@ -85,7 +85,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up
| USE_DDSU666 | - | - / x | - | x | - | - | | USE_DDSU666 | - | - / x | - | x | - | - |
| USE_SOLAX_X1 | - | - / - | - | - | - | - | | USE_SOLAX_X1 | - | - / - | - | - | - | - |
| USE_LE01MR | - | - / - | - | - | - | - | | USE_LE01MR | - | - / - | - | - | - | - |
| USE_BL09XX | x | x / x | x | x | - | - | | USE_BL09XX | - | x / x | x | x | - | - |
| USE_TELEINFO | - | - / - | - | - | - | - | | USE_TELEINFO | - | - / - | - | - | - | - |
| USE_IEM3000 | - | - / - | - | - | - | - | | USE_IEM3000 | - | - / - | - | - | - | - |
| USE_WE517 | - | - / - | - | - | - | - | | USE_WE517 | - | - / - | - | - | - | - |
@ -176,6 +176,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up
| USE_PCF85363 | - | - / - | - | - | - | - | | USE_PCF85363 | - | - / - | - | - | - | - |
| USE_DS3502 | - | - / - | - | - | - | - | | USE_DS3502 | - | - / - | - | - | - | - |
| USE_HYT | - | - / - | - | - | - | - | | USE_HYT | - | - / - | - | - | - | - |
| USE_LUXV30B | - | - / - | - | - | - | - |
| | | | | | | | | | | | | | | |
| Feature or Sensor | l | t | k | s | i | d | Remarks | Feature or Sensor | l | t | k | s | i | d | Remarks
| USE_SPI | - | - / - | - | - | - | x | | USE_SPI | - | - / - | - | - | - | x |

View File

@ -7,11 +7,17 @@ All notable changes to this project will be documented in this file.
### Added ### Added
- Support for SGP40 gas and air quality sensor (#16341) - Support for SGP40 gas and air quality sensor (#16341)
- Support for Modbus writing using ModbusBridge by JeroenSt (#16351) - Support for Modbus writing using ModbusBridge by JeroenSt (#16351)
- Support for Ethernet in ESP32 safeboot firmware (#16388)
- Flowrate meter flow amount/duration, show values in table format (#16385)
- Zigbee prepare for Green Power support (#16407)
- Command ``SetOption146 1`` to enable display of ESP32 internal temperature
- Support for DFRobot SEN0390 V30B ambient light sensor (#16105)
### Changed ### Changed
- TasmotaModbus library from v3.5.0 to v3.6.0 (#16351) - TasmotaModbus library from v3.5.0 to v3.6.0 (#16351)
- Button debouncing V3 by adopting switch debounce code (#16339) - Button debouncing V3 by adopting switch debounce code (#16339)
- Thermostat max allowed temperature from 100 to 200C (#16363) - Thermostat max allowed temperature from 100 to 200C (#16363)
- Using command ``SerialBuffer`` raise max allowed buffer size to 2048 characters (#16374)
### Fixed ### Fixed
- Removed whitespace from JSON values with no decimals (#16365) - Removed whitespace from JSON values with no decimals (#16365)

View File

@ -104,3 +104,4 @@ Index | Define | Driver | Device | Address(es) | Description
67 | USE_DS3502 | xdrv_61 | DS3502 | 0x28 - 0x2B | Digital potentiometer 67 | USE_DS3502 | xdrv_61 | DS3502 | 0x28 - 0x2B | Digital potentiometer
68 | USE_HYT | xsns_97 | HYTxxx | 0x28 | Temperature and Humidity sensor 68 | USE_HYT | xsns_97 | HYTxxx | 0x28 | Temperature and Humidity sensor
69 | USE_SGP40 | xsns_98 | SGP40 | 0x59 | Gas (TVOC) and air quality 69 | USE_SGP40 | xsns_98 | SGP40 | 0x59 | Gas (TVOC) and air quality
70 | USE_LUXV30B | xsns_99 | LUXV30B | 0x4A | DFRobot SEN0390 V30B lux sensor

View File

@ -14,7 +14,7 @@ Pay attention to the following version breaks due to dynamic settings updates:
1. Migrate to **Sonoff-Tasmota 3.9.x** 1. Migrate to **Sonoff-Tasmota 3.9.x**
2. Migrate to **Sonoff-Tasmota 4.x** 2. Migrate to **Sonoff-Tasmota 4.x**
3. Migrate to **Sonoff-Tasmota 5.14** 3. Migrate to **Sonoff-Tasmota 5.14** (http://ota.tasmota.com/tasmota/release_5.14.0/sonoff.bin) - NOTICE underscore as a dash is not supported in older versions
4. Migrate to **Sonoff-Tasmota 6.7.1** (http://ota.tasmota.com/tasmota/release_6.7.1/sonoff.bin) - NOTICE underscore as a dash is not supported in older versions 4. Migrate to **Sonoff-Tasmota 6.7.1** (http://ota.tasmota.com/tasmota/release_6.7.1/sonoff.bin) - NOTICE underscore as a dash is not supported in older versions
5. Migrate to **Tasmota 7.2.0** (http://ota.tasmota.com/tasmota/release-7.2.0/tasmota.bin) 5. Migrate to **Tasmota 7.2.0** (http://ota.tasmota.com/tasmota/release-7.2.0/tasmota.bin)
@ -109,10 +109,15 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
## Changelog v12.1.1.1 ## Changelog v12.1.1.1
### Added ### Added
- Command ``SetOption146 1`` to enable display of ESP32 internal temperature
- Command ``StatusRetain`` [#11109](https://github.com/arendst/Tasmota/issues/11109) - Command ``StatusRetain`` [#11109](https://github.com/arendst/Tasmota/issues/11109)
- Support for SGP40 gas and air quality sensor [#16341](https://github.com/arendst/Tasmota/issues/16341) - Support for SGP40 gas and air quality sensor [#16341](https://github.com/arendst/Tasmota/issues/16341)
- Support for Modbus writing using ModbusBridge by JeroenSt [#16351](https://github.com/arendst/Tasmota/issues/16351) - Support for Modbus writing using ModbusBridge by JeroenSt [#16351](https://github.com/arendst/Tasmota/issues/16351)
- Support for DFRobot SEN0390 V30B ambient light sensor [#16105](https://github.com/arendst/Tasmota/issues/16105)
- Zigbee device plugin mechanism with commands ``ZbLoad``, ``ZbUnload`` and ``ZbLoadDump`` [#16252](https://github.com/arendst/Tasmota/issues/16252) - Zigbee device plugin mechanism with commands ``ZbLoad``, ``ZbUnload`` and ``ZbLoadDump`` [#16252](https://github.com/arendst/Tasmota/issues/16252)
- Zigbee prepare for Green Power support [#16407](https://github.com/arendst/Tasmota/issues/16407)
- Flowrate meter flow amount/duration, show values in table format [#16385](https://github.com/arendst/Tasmota/issues/16385)
- Support for Ethernet in ESP32 safeboot firmware [#16388](https://github.com/arendst/Tasmota/issues/16388)
- ESP32-S3 support for internal temperature sensor - ESP32-S3 support for internal temperature sensor
### Breaking Changed ### Breaking Changed
@ -122,6 +127,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
- TasmotaModbus library from v3.5.0 to v3.6.0 [#16351](https://github.com/arendst/Tasmota/issues/16351) - TasmotaModbus library from v3.5.0 to v3.6.0 [#16351](https://github.com/arendst/Tasmota/issues/16351)
- Button debouncing V3 by adopting switch debounce code [#16339](https://github.com/arendst/Tasmota/issues/16339) - Button debouncing V3 by adopting switch debounce code [#16339](https://github.com/arendst/Tasmota/issues/16339)
- Thermostat max allowed temperature from 100 to 200C [#16363](https://github.com/arendst/Tasmota/issues/16363) - Thermostat max allowed temperature from 100 to 200C [#16363](https://github.com/arendst/Tasmota/issues/16363)
- Using command ``SerialBuffer`` raise max allowed buffer size to 2048 characters [#16374](https://github.com/arendst/Tasmota/issues/16374)
### Fixed ### Fixed
- RTC not detected when lights are present [#16242](https://github.com/arendst/Tasmota/issues/16242) - RTC not detected when lights are present [#16242](https://github.com/arendst/Tasmota/issues/16242)
@ -130,5 +136,4 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
- Lost module name in GUI regression from v12.0.2.4 - 20220803 [#16324](https://github.com/arendst/Tasmota/issues/16324) - Lost module name in GUI regression from v12.0.2.4 - 20220803 [#16324](https://github.com/arendst/Tasmota/issues/16324)
- Removed whitespace from JSON values with no decimals [#16365](https://github.com/arendst/Tasmota/issues/16365) - Removed whitespace from JSON values with no decimals [#16365](https://github.com/arendst/Tasmota/issues/16365)
### Removed ### Removed

View File

@ -408,6 +408,8 @@ void JsonParser::parse(char * json_in) {
// TODO error checking // TODO error checking
if (_token_len >= 0) { if (_token_len >= 0) {
postProcess(json_len); postProcess(json_len);
} else {
this->free(); // invalid JSON
} }
} }

View File

@ -41,6 +41,14 @@
**/ **/
#define BE_USE_SINGLE_FLOAT 1 // use `float` not `double` #define BE_USE_SINGLE_FLOAT 1 // use `float` not `double`
/* Macro: BE_BYTES_MAX_SIZE
* Maximum size in bytes of a `bytes()` object.
* Putting too much pressure on the memory allocator can do
* harm, so we limit the maximum size.
* Default: 32kb
**/
#define BE_BYTES_MAX_SIZE (32*1024) /* 32 kb default value */
/* Macro: BE_USE_PRECOMPILED_OBJECT /* Macro: BE_USE_PRECOMPILED_OBJECT
* Use precompiled objects to avoid creating these objects at * Use precompiled objects to avoid creating these objects at
* runtime. Enable this macro can greatly optimize RAM usage. * runtime. Enable this macro can greatly optimize RAM usage.

View File

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libULP_map) {
{ be_const_key(sleep, -1), be_const_ctype_func(be_ULP_sleep) },
{ be_const_key(get_mem, 6), be_const_ctype_func(be_ULP_get_mem) },
{ be_const_key(run, -1), be_const_ctype_func(be_ULP_run) },
{ be_const_key(load, -1), be_const_ctype_func(be_ULP_load) },
{ be_const_key(adc_config, -1), be_const_ctype_func(be_ULP_adc_config) },
{ be_const_key(set_mem, -1), be_const_ctype_func(be_ULP_set_mem) },
{ be_const_key(gpio_init, 3), be_const_ctype_func(be_ULP_gpio_init) },
{ be_const_key(wake_period, -1), be_const_ctype_func(be_ULP_wake_up_period) },
};
static be_define_const_map(
m_libULP_map,
8
);
static be_define_const_module(
m_libULP,
"ULP"
);
BE_EXPORT_VARIABLE be_define_const_native_module(ULP);

View File

@ -1,17 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioFileSource_map) {
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_AudioFileSource_map,
1
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioFileSource,
1,
NULL,
AudioFileSource
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioFileSourceFS_map) {
{ be_const_key_weak(deinit, -1), be_const_func(i2s_file_source_fs_deinit) },
{ be_const_key_weak(init, -1), be_const_func(i2s_file_source_fs_init) },
};
static be_define_const_map(
be_class_AudioFileSourceFS_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioFileSourceFS,
0,
(bclass *)&be_class_AudioFileSource,
AudioFileSourceFS
);

View File

@ -1,17 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioGenerator_map) {
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_AudioGenerator_map,
1
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioGenerator,
1,
NULL,
AudioGenerator
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioGeneratorMP3_map) {
{ be_const_key_weak(begin, -1), be_const_func(i2s_generator_mp3_begin) },
{ be_const_key_weak(loop, -1), be_const_func(i2s_generator_mp3_loop) },
{ be_const_key_weak(isrunning, -1), be_const_func(i2s_generator_mp3_isrunning) },
{ be_const_key_weak(init, 1), be_const_func(i2s_generator_mp3_init) },
{ be_const_key_weak(deinit, -1), be_const_func(i2s_generator_mp3_deinit) },
{ be_const_key_weak(stop, -1), be_const_func(i2s_generator_mp3_stop) },
};
static be_define_const_map(
be_class_AudioGeneratorMP3_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioGeneratorMP3,
0,
(bclass *)&be_class_AudioGenerator,
AudioGeneratorMP3
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioGeneratorWAV_map) {
{ be_const_key_weak(begin, -1), be_const_func(i2s_generator_wav_begin) },
{ be_const_key_weak(loop, -1), be_const_func(i2s_generator_wav_loop) },
{ be_const_key_weak(isrunning, -1), be_const_func(i2s_generator_wav_isrunning) },
{ be_const_key_weak(init, 1), be_const_func(i2s_generator_wav_init) },
{ be_const_key_weak(deinit, -1), be_const_func(i2s_generator_wav_deinit) },
{ be_const_key_weak(stop, -1), be_const_func(i2s_generator_wav_stop) },
};
static be_define_const_map(
be_class_AudioGeneratorWAV_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioGeneratorWAV,
0,
(bclass *)&be_class_AudioGenerator,
AudioGeneratorWAV
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioOpusDecoder_map) {
{ be_const_key_weak(deinit, -1), be_const_func(be_audio_opus_decoder_deinit) },
{ be_const_key_weak(decode, 2), be_const_func(be_audio_opus_decoder_decode) },
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
{ be_const_key_weak(init, 1), be_const_func(be_audio_opus_decoder_init) },
};
static be_define_const_map(
be_class_AudioOpusDecoder_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioOpusDecoder,
1,
NULL,
AudioOpusDecoder
);

View File

@ -1,28 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioOutput_map) {
{ be_const_key_weak(set_bits_per_sample, -1), be_const_func(be_audio_output_set_bits_per_sample) },
{ be_const_key_weak(flush, -1), be_const_func(be_audio_output_flush) },
{ be_const_key_weak(consume_stereo, -1), be_const_func(be_audio_output_consume_stereo) },
{ be_const_key_weak(init, -1), be_const_func(be_audio_output_init) },
{ be_const_key_weak(consume_mono, -1), be_const_func(be_audio_output_consume_mono) },
{ be_const_key_weak(stop, -1), be_const_func(be_audio_output_stop) },
{ be_const_key_weak(begin, -1), be_const_func(be_audio_output_begin) },
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
{ be_const_key_weak(set_channels, -1), be_const_func(be_audio_output_set_channels) },
{ be_const_key_weak(consume_silence, 4), be_const_func(be_audio_output_consume_silence) },
{ be_const_key_weak(set_rate, 2), be_const_func(be_audio_output_set_rate) },
{ be_const_key_weak(set_gain, 0), be_const_func(be_audio_output_set_gain) },
};
static be_define_const_map(
be_class_AudioOutput_map,
12
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioOutput,
1,
NULL,
AudioOutput
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_AudioOutputI2S_map) {
{ be_const_key_weak(INTERNAL_PDM, -1), be_const_int(AudioOutputI2S::INTERNAL_PDM) },
{ be_const_key_weak(INTERNAL_DAC, 2), be_const_int(AudioOutputI2S::INTERNAL_DAC) },
{ be_const_key_weak(init, -1), be_const_func(i2s_output_i2s_init) },
{ be_const_key_weak(EXTERNAL_I2S, 1), be_const_int(AudioOutputI2S::EXTERNAL_I2S) },
{ be_const_key_weak(deinit, -1), be_const_func(i2s_output_i2s_deinit) },
{ be_const_key_weak(stop, -1), be_const_func(i2s_output_i2s_stop) },
};
static be_define_const_map(
be_class_AudioOutputI2S_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_AudioOutputI2S,
0,
(bclass *)&be_class_AudioOutput,
AudioOutputI2S
);

View File

@ -1,24 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_BLE_map) {
{ be_const_key_weak(adv_block, -1), be_const_func(be_BLE_adv_block) },
{ be_const_key_weak(conn_cb, -1), be_const_func(be_BLE_reg_conn_cb) },
{ be_const_key_weak(adv_cb, 5), be_const_func(be_BLE_reg_adv_cb) },
{ be_const_key_weak(set_MAC, -1), be_const_func(be_BLE_set_MAC) },
{ be_const_key_weak(adv_watch, -1), be_const_func(be_BLE_adv_watch) },
{ be_const_key_weak(run, -1), be_const_func(be_BLE_run) },
{ be_const_key_weak(set_svc, 4), be_const_func(be_BLE_set_service) },
{ be_const_key_weak(set_chr, 3), be_const_func(be_BLE_set_characteristic) },
};
static be_define_const_map(
be_class_BLE_map,
8
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_BLE,
0,
NULL,
BLE
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_MI32_map) {
{ be_const_key(devices, -1), be_const_func(be_MI32_devices) },
{ be_const_key(set_bat, -1), be_const_func(be_MI32_set_bat) },
{ be_const_key(set_hum, 4), be_const_func(be_MI32_set_hum) },
{ be_const_key(get_MAC, -1), be_const_func(be_MI32_get_MAC) },
{ be_const_key(set_temp, -1), be_const_func(be_MI32_set_temp) },
{ be_const_key(get_name, 3), be_const_func(be_MI32_get_name) },
};
static be_define_const_map(
be_class_MI32_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_MI32,
0,
NULL,
MI32
);

View File

@ -1,28 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_OneWire_map) {
{ be_const_key_weak(reset, -1), be_const_func(b_onewire_reset) },
{ be_const_key_weak(search, 10), be_const_func(b_onewire_search) },
{ be_const_key_weak(depower, -1), be_const_func(b_onewire_depower) },
{ be_const_key_weak(init, 2), be_const_func(b_onewire_init) },
{ be_const_key_weak(deinit, -1), be_const_func(b_onewire_deinit) },
{ be_const_key_weak(reset_search, -1), be_const_func(b_onewire_reset_search) },
{ be_const_key_weak(skip, -1), be_const_func(b_onewire_skip) },
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
{ be_const_key_weak(write, -1), be_const_func(b_onewire_write) },
{ be_const_key_weak(read, -1), be_const_func(b_onewire_read) },
{ be_const_key_weak(select, 11), be_const_func(b_onewire_select) },
{ be_const_key_weak(target_search, -1), be_const_func(b_onewire_target_search) },
};
static be_define_const_map(
be_class_OneWire_map,
12
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_OneWire,
1,
NULL,
OneWire
);

View File

@ -1,31 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_Wire_map) {
{ be_const_key(init, -1), be_const_func(b_wire_init) },
{ be_const_key(_available, -1), be_const_func(b_wire_available) },
{ be_const_key(bus, -1), be_const_var(0) },
{ be_const_key(read_bytes, -1), be_const_closure(read_bytes_closure) },
{ be_const_key(_request_from, -1), be_const_func(b_wire_requestfrom) },
{ be_const_key(detect, -1), be_const_func(b_wire_detect) },
{ be_const_key(scan, 2), be_const_func(b_wire_scan) },
{ be_const_key(enabled, -1), be_const_func(b_wire_enabled) },
{ be_const_key(_write, 13), be_const_func(b_wire_write) },
{ be_const_key(read, -1), be_const_func(b_wire_validread) },
{ be_const_key(_end_transmission, 8), be_const_func(b_wire_endtransmission) },
{ be_const_key(_begin_transmission, -1), be_const_func(b_wire_begintransmission) },
{ be_const_key(write_bytes, 7), be_const_closure(write_bytes_closure) },
{ be_const_key(_read, -1), be_const_func(b_wire_read) },
{ be_const_key(write, -1), be_const_func(b_wire_validwrite) },
};
static be_define_const_map(
be_class_Wire_map,
15
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_Wire,
1,
NULL,
Wire
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_aes_gcm_map) {
{ be_const_key_weak(encrypt, 4), be_const_func(m_aes_gcm_encryt) },
{ be_const_key_weak(_X2Ep2, -1), be_const_var(0) },
{ be_const_key_weak(decrypt, -1), be_const_func(m_aes_gcm_decryt) },
{ be_const_key_weak(init, -1), be_const_func(m_aes_gcm_init) },
{ be_const_key_weak(_X2Ep1, -1), be_const_var(1) },
{ be_const_key_weak(tag, -1), be_const_func(m_aes_gcm_tag) },
};
static be_define_const_map(
be_class_aes_gcm_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_aes_gcm,
2,
NULL,
AES_GCM
);

View File

@ -1,50 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_bytes_map) {
{ be_const_key(copy, 8), be_const_func(m_copy) },
{ be_const_key(setbits, -1), be_const_closure(setbits_closure) },
{ be_const_key(deinit, 18), be_const_func(m_deinit) },
{ be_const_key(setfloat, -1), be_const_func(m_setfloat) },
{ be_const_key(ismapped, -1), be_const_func(m_is_mapped) },
{ be_const_key(getbits, 30), be_const_closure(getbits_closure) },
{ be_const_key(getfloat, 17), be_const_func(m_getfloat) },
{ be_const_key(_change_buffer, -1), be_const_func(m_change_buffer) },
{ be_const_key(tob64, -1), be_const_func(m_tob64) },
{ be_const_key(set, -1), be_const_func(m_set) },
{ be_const_key(setitem, -1), be_const_func(m_setitem) },
{ be_const_key(_X2E_X2E, 6), be_const_func(m_connect) },
{ be_const_key(add, -1), be_const_func(m_add) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
{ be_const_key(_buffer, -1), be_const_func(m_buffer) },
{ be_const_key(_X21_X3D, 21), be_const_func(m_nequal) },
{ be_const_key(seti, 23), be_const_func(m_set) },
{ be_const_key(fromb64, -1), be_const_func(m_fromb64) },
{ be_const_key(asstring, 25), be_const_func(m_asstring) },
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
{ be_const_key(item, -1), be_const_func(m_item) },
{ be_const_key(init, -1), be_const_func(m_init) },
{ be_const_key(_X2Esize, 31), be_const_var(1) },
{ be_const_key(clear, -1), be_const_func(m_clear) },
{ be_const_key(_X2Elen, -1), be_const_var(2) },
{ be_const_key(_X2B, -1), be_const_func(m_merge) },
{ be_const_key(fromhex, -1), be_const_func(m_fromhex) },
{ be_const_key(get, -1), be_const_func(m_getu) },
{ be_const_key(size, 2), be_const_func(m_size) },
{ be_const_key(tohex, -1), be_const_func(m_tohex) },
{ be_const_key(resize, -1), be_const_func(m_resize) },
{ be_const_key(geti, -1), be_const_func(m_geti) },
{ be_const_key(fromstring, -1), be_const_func(m_fromstring) },
{ be_const_key(_X3D_X3D, 5), be_const_func(m_equal) },
};
static be_define_const_map(
be_class_bytes_map,
34
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_bytes,
3,
NULL,
bytes
);

View File

@ -1,21 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_ccronexpr_map) {
{ be_const_key(init, -1), be_const_ctype_func(ccronexpr_init) },
{ be_const_key(now, -1), be_const_static_ctype_func(ccronexpr_now) },
{ be_const_key(next, -1), be_const_ctype_func(ccronexpr_next) },
{ be_const_key(time_reached, 1), be_const_static_ctype_func(ccronexpr_time_reached) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_ccronexpr_map,
5
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_ccronexpr,
1,
NULL,
ccronexpr
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_ctypes_bytes_map) {
{ be_const_key(_def, 5), be_const_nil() },
{ be_const_key(setmember, 0), be_const_func(be_ctypes_setmember) },
{ be_const_key(copy, -1), be_const_func(be_ctypes_copy) },
{ be_const_key(init, -1), be_const_func(be_ctypes_init) },
{ be_const_key(tomap, -1), be_const_func(be_ctypes_tomap) },
{ be_const_key(member, -1), be_const_func(be_ctypes_member) },
};
static be_define_const_map(
be_class_ctypes_bytes_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_ctypes_bytes,
0,
(bclass *)&be_class_bytes,
ctypes_bytes
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_ctypes_bytes_dyn_map) {
{ be_const_key(_def, -1), be_const_var(0) },
{ be_const_key(init, 0), be_const_func(be_ctypes_dyn_init) },
};
static be_define_const_map(
be_class_ctypes_bytes_dyn_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_ctypes_bytes_dyn,
1,
(bclass *)&be_class_ctypes_bytes,
ctypes_bytes_dyn
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_ec_c25519_map) {
{ be_const_key_weak(public_key, 1), be_const_func(m_ec_c25519_pubkey) },
{ be_const_key_weak(shared_key, -1), be_const_func(m_ec_c25519_sharedkey) },
};
static be_define_const_map(
be_class_ec_c25519_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_ec_c25519,
0,
NULL,
EC_C25519
);

View File

@ -1,36 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_int64_map) {
{ be_const_key(_X3C, -1), be_const_ctype_func(int64_lt) },
{ be_const_key(_X2F, -1), be_const_ctype_func(int64_div) },
{ be_const_key(_p, -1), be_const_var(0) },
{ be_const_key(_X2A, -1), be_const_ctype_func(int64_mul) },
{ be_const_key(_X25, -1), be_const_ctype_func(int64_mod) },
{ be_const_key(tostring, -1), be_const_ctype_func(int64_tostring) },
{ be_const_key(_X3C_X3D, -1), be_const_ctype_func(int64_lte) },
{ be_const_key(set, -1), be_const_ctype_func(int64_set) },
{ be_const_key(frombytes, -1), be_const_ctype_func(int64_frombytes) },
{ be_const_key(toint, 3), be_const_ctype_func(int64_toint) },
{ be_const_key(_X2B, -1), be_const_ctype_func(int64_add) },
{ be_const_key(_X21_X3D, -1), be_const_ctype_func(int64_nequals) },
{ be_const_key(deinit, -1), be_const_ctype_func(int64_deinit) },
{ be_const_key(_X2D, -1), be_const_ctype_func(int64_sub) },
{ be_const_key(_X2D_X2A, 1), be_const_ctype_func(int64_neg) },
{ be_const_key(_X3D_X3D, 18), be_const_ctype_func(int64_equals) },
{ be_const_key(_X3E_X3D, 13), be_const_ctype_func(int64_gte) },
{ be_const_key(_X3E, -1), be_const_ctype_func(int64_gt) },
{ be_const_key(init, -1), be_const_ctype_func(int64_init) },
{ be_const_key(tobytes, 0), be_const_ctype_func(int64_tobytes) },
};
static be_define_const_map(
be_class_int64_map,
20
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_int64,
1,
NULL,
int64
);

View File

@ -1,40 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_light_state_map) {
{ be_const_key(set_bri, 8), be_const_ctype_func(ls_set_bri) },
{ be_const_key(member, 5), be_const_func(light_state_member) },
{ be_const_key(_p, -1), be_const_var(0) },
{ be_const_key(set_reachable, 16), be_const_ctype_func(ls_set_reachable) },
{ be_const_key(CT, -1), be_const_int(2) },
{ be_const_key(set_ct, -1), be_const_ctype_func(ls_set_ct) },
{ be_const_key(reverse_gamma10, 13), be_const_ctype_func(ls_rev_gamma10) },
{ be_const_key(set_mode_ct, -1), be_const_ctype_func(ls_set_mode_ct) },
{ be_const_key(RGBCT, -1), be_const_int(5) },
{ be_const_key(set_huesat, -1), be_const_ctype_func(ls_set_huesat) },
{ be_const_key(RELAY, 4), be_const_int(0) },
{ be_const_key(gamma10, 0), be_const_ctype_func(ls_gamma10) },
{ be_const_key(get, 22), be_const_func(light_state_get) },
{ be_const_key(gamma8, -1), be_const_ctype_func(ls_gamma8) },
{ be_const_key(signal_change, 9), be_const_ctype_func(ls_signal_change) },
{ be_const_key(set_rgb, -1), be_const_ctype_func(ls_set_rgb) },
{ be_const_key(set_mode_rgb, 18), be_const_ctype_func(ls_set_mode_rgb) },
{ be_const_key(RGBW, -1), be_const_int(4) },
{ be_const_key(init, -1), be_const_ctype_func(ls_init) },
{ be_const_key(DIMMER, 1), be_const_int(1) },
{ be_const_key(RGB, -1), be_const_int(3) },
{ be_const_key(set_power, -1), be_const_ctype_func(ls_set_power) },
{ be_const_key(set_hue16sat, -1), be_const_ctype_func(ls_set_hue16sat) },
{ be_const_key(set_xy, 12), be_const_ctype_func(ls_set_xy) },
};
static be_define_const_map(
be_class_light_state_map,
24
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_light_state,
1,
NULL,
light_state
);

View File

@ -1,38 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_list_map) {
{ be_const_key(_X2B, -1), be_const_func(m_merge) },
{ be_const_key(init, -1), be_const_func(m_init) },
{ be_const_key(_X2E_X2E, 11), be_const_func(m_connect) },
{ be_const_key(tostring, 2), be_const_func(m_tostring) },
{ be_const_key(pop, 6), be_const_func(m_pop) },
{ be_const_key(insert, -1), be_const_func(m_insert) },
{ be_const_key(size, -1), be_const_func(m_size) },
{ be_const_key(remove, 12), be_const_func(m_remove) },
{ be_const_key(find, -1), be_const_func(m_find) },
{ be_const_key(push, 1), be_const_func(m_push) },
{ be_const_key(item, 5), be_const_func(m_item) },
{ be_const_key(concat, -1), be_const_func(m_concat) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
{ be_const_key(iter, -1), be_const_func(m_iter) },
{ be_const_key(copy, -1), be_const_func(m_copy) },
{ be_const_key(reverse, 13), be_const_func(m_reverse) },
{ be_const_key(keys, -1), be_const_func(m_keys) },
{ be_const_key(resize, 16), be_const_func(m_resize) },
{ be_const_key(setitem, -1), be_const_func(m_setitem) },
{ be_const_key(_X21_X3D, 7), be_const_func(m_nequal) },
{ be_const_key(clear, -1), be_const_func(m_clear) },
{ be_const_key(_X3D_X3D, -1), be_const_func(m_equal) },
};
static be_define_const_map(
be_class_list_map,
22
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_list,
1,
NULL,
list
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_anim_map) {
{ be_const_key_weak(init, -1), be_const_func(lv_be_anim_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_anim_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_anim,
1,
NULL,
lv_anim
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_arc_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_arc_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_arc_init) },
};
static be_define_const_map(
be_class_lv_arc_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_arc,
0,
(bclass *)&be_class_lv_obj,
lv_arc
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_bar_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_bar_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_bar_init) },
};
static be_define_const_map(
be_class_lv_bar_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_bar,
0,
(bclass *)&be_class_lv_obj,
lv_bar
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_btn_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_btn_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_btn_init) },
};
static be_define_const_map(
be_class_lv_btn_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_btn,
0,
(bclass *)&be_class_lv_obj,
lv_btn
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_btnmatrix_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_btnmatrix_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_btnmatrix_init) },
};
static be_define_const_map(
be_class_lv_btnmatrix_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_btnmatrix,
0,
(bclass *)&be_class_lv_obj,
lv_btnmatrix
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_canvas_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_canvas_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_canvas_init) },
};
static be_define_const_map(
be_class_lv_canvas_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_canvas,
0,
(bclass *)&be_class_lv_img,
lv_canvas
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_chart_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_chart_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_chart_init) },
};
static be_define_const_map(
be_class_lv_chart_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_chart,
0,
(bclass *)&be_class_lv_obj,
lv_chart
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_checkbox_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_checkbox_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_checkbox_init) },
};
static be_define_const_map(
be_class_lv_checkbox_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_checkbox,
0,
(bclass *)&be_class_lv_obj,
lv_checkbox
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_color_map) {
{ be_const_key_weak(toint, -1), be_const_func(lco_toint) },
{ be_const_key_weak(tostring, 0), be_const_func(lco_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(init, -1), be_const_func(lco_init) },
};
static be_define_const_map(
be_class_lv_color_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_color,
1,
NULL,
lv_color
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_colorwheel_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_colorwheel_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_colorwheel_init) },
};
static be_define_const_map(
be_class_lv_colorwheel_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_colorwheel,
0,
(bclass *)&be_class_lv_obj,
lv_colorwheel
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_disp_map) {
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_disp_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_disp,
1,
NULL,
lv_disp
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_dropdown_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_dropdown_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_dropdown_init) },
};
static be_define_const_map(
be_class_lv_dropdown_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_dropdown,
0,
(bclass *)&be_class_lv_obj,
lv_dropdown
);

View File

@ -1,19 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_font_map) {
{ be_const_key_weak(init, -1), be_const_func(lvbe_font_create) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_lv_font_map,
3
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_font,
1,
NULL,
lv_font
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_group_map) {
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_group_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_group_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_group,
1,
NULL,
lv_group
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_img_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_img_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_img_init) },
};
static be_define_const_map(
be_class_lv_img_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_img,
0,
(bclass *)&be_class_lv_obj,
lv_img
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_imgbtn_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_imgbtn_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_imgbtn_init) },
};
static be_define_const_map(
be_class_lv_imgbtn_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_imgbtn,
0,
(bclass *)&be_class_lv_obj,
lv_imgbtn
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_indev_map) {
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_indev_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_indev,
1,
NULL,
lv_indev
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_label_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_label_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_label_init) },
};
static be_define_const_map(
be_class_lv_label_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_label,
0,
(bclass *)&be_class_lv_obj,
lv_label
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_led_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_led_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_led_init) },
};
static be_define_const_map(
be_class_lv_led_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_led,
0,
(bclass *)&be_class_lv_obj,
lv_led
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_line_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_line_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_line_init) },
};
static be_define_const_map(
be_class_lv_line_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_line,
0,
(bclass *)&be_class_lv_obj,
lv_line
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_meter_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_meter_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_meter_init) },
};
static be_define_const_map(
be_class_lv_meter_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_meter,
0,
(bclass *)&be_class_lv_obj,
lv_meter
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_msgbox_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_msgbox_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_msgbox_init) },
};
static be_define_const_map(
be_class_lv_msgbox_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_msgbox,
0,
(bclass *)&be_class_lv_obj,
lv_msgbox
);

View File

@ -1,21 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_obj_map) {
{ be_const_key_weak(tostring, 3), be_const_func(lv_x_tostring) },
{ be_const_key_weak(member, -1), be_const_func(lv_x_member) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(init, 4), be_const_func(be_ntv_lv_obj_init) },
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_obj_class) },
};
static be_define_const_map(
be_class_lv_obj_map,
5
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_obj,
1,
NULL,
lv_obj
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_qrcode_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_qrcode_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_qrcode_init) },
};
static be_define_const_map(
be_class_lv_qrcode_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_qrcode,
0,
(bclass *)&be_class_lv_obj,
lv_qrcode
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_roller_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_roller_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_roller_init) },
};
static be_define_const_map(
be_class_lv_roller_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_roller,
0,
(bclass *)&be_class_lv_obj,
lv_roller
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_slider_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_slider_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_slider_init) },
};
static be_define_const_map(
be_class_lv_slider_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_slider,
0,
(bclass *)&be_class_lv_obj,
lv_slider
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_spinbox_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_spinbox_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_spinbox_init) },
};
static be_define_const_map(
be_class_lv_spinbox_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_spinbox,
0,
(bclass *)&be_class_lv_textarea,
lv_spinbox
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_spinner_map) {
{ be_const_key_weak(_arc_anim_end_angle, -1), be_const_comptr(&arc_anim_end_angle) },
{ be_const_key_weak(_arc_anim_start_angle, -1), be_const_comptr(&arc_anim_start_angle) },
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_spinner_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_spinner_init) },
};
static be_define_const_map(
be_class_lv_spinner_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_spinner,
0,
(bclass *)&be_class_lv_arc,
lv_spinner
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_style_map) {
{ be_const_key_weak(init, -1), be_const_func(lv_be_style_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_style_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_style,
1,
NULL,
lv_style
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_switch_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_switch_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_switch_init) },
};
static be_define_const_map(
be_class_lv_switch_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_switch,
0,
(bclass *)&be_class_lv_obj,
lv_switch
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_table_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_table_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_table_init) },
};
static be_define_const_map(
be_class_lv_table_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_table,
0,
(bclass *)&be_class_lv_obj,
lv_table
);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_textarea_map) {
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_textarea_class) },
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_textarea_init) },
};
static be_define_const_map(
be_class_lv_textarea_map,
2
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_textarea,
0,
(bclass *)&be_class_lv_obj,
lv_textarea
);

View File

@ -1,19 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_theme_map) {
{ be_const_key_weak(init, -1), be_const_func(lvbe_theme_create) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_lv_theme_map,
3
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_theme,
1,
NULL,
lv_theme
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_lv_timer_map) {
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
};
static be_define_const_map(
be_class_lv_timer_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_lv_timer,
1,
NULL,
lv_timer
);

View File

@ -1,29 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_map_map) {
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
{ be_const_key(contains, -1), be_const_func(m_contains) },
{ be_const_key(item, 4), be_const_func(m_item) },
{ be_const_key(setitem, 9), be_const_func(m_setitem) },
{ be_const_key(has, -1), be_const_func(m_contains) },
{ be_const_key(keys, -1), be_const_func(m_keys) },
{ be_const_key(init, -1), be_const_func(m_init) },
{ be_const_key(remove, 5), be_const_func(m_remove) },
{ be_const_key(size, -1), be_const_func(m_size) },
{ be_const_key(iter, -1), be_const_func(m_iter) },
{ be_const_key(insert, -1), be_const_func(m_insert) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
{ be_const_key(find, 8), be_const_func(m_find) },
};
static be_define_const_map(
be_class_map_map,
13
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_map,
1,
NULL,
map
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_md5_map) {
{ be_const_key(update, -1), be_const_func(m_md5_update) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
{ be_const_key(finish, -1), be_const_func(m_md5_finish) },
{ be_const_key(init, 1), be_const_func(m_md5_init) },
};
static be_define_const_map(
be_class_md5_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_md5,
1,
NULL,
MD5
);

View File

@ -1,24 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_range_map) {
{ be_const_key(setrange, -1), be_const_func(m_setrange) },
{ be_const_key(iter, -1), be_const_func(m_iter) },
{ be_const_key(lower, -1), be_const_func(m_lower) },
{ be_const_key(init, 4), be_const_func(m_init) },
{ be_const_key(__upper__, -1), be_const_var(0) },
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
{ be_const_key(__lower__, -1), be_const_var(1) },
{ be_const_key(upper, 1), be_const_func(m_upper) },
};
static be_define_const_map(
be_class_range_map,
8
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_range,
2,
NULL,
range
);

View File

@ -1,47 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_serial_map) {
{ be_const_key(SERIAL_5E2, 3), be_const_int(SERIAL_5E2) },
{ be_const_key(SERIAL_8E1, -1), be_const_int(SERIAL_8E1) },
{ be_const_key(SERIAL_8O1, 22), be_const_int(SERIAL_8O1) },
{ be_const_key(SERIAL_5O1, -1), be_const_int(SERIAL_5O1) },
{ be_const_key(read, 0), be_const_func(b_serial_read) },
{ be_const_key(flush, -1), be_const_func(b_serial_flush) },
{ be_const_key(SERIAL_7E2, -1), be_const_int(SERIAL_7E2) },
{ be_const_key(SERIAL_5N2, -1), be_const_int(SERIAL_5N2) },
{ be_const_key(SERIAL_6N2, -1), be_const_int(SERIAL_6N2) },
{ be_const_key(SERIAL_6E2, -1), be_const_int(SERIAL_6E2) },
{ be_const_key(available, -1), be_const_func(b_serial_available) },
{ be_const_key(SERIAL_6N1, 12), be_const_int(SERIAL_6N1) },
{ be_const_key(SERIAL_7O1, -1), be_const_int(SERIAL_7O1) },
{ be_const_key(SERIAL_7N1, 14), be_const_int(SERIAL_7N1) },
{ be_const_key(SERIAL_6O1, -1), be_const_int(SERIAL_6O1) },
{ be_const_key(SERIAL_6E1, -1), be_const_int(SERIAL_6E1) },
{ be_const_key(write, -1), be_const_func(b_serial_write) },
{ be_const_key(SERIAL_8O2, -1), be_const_int(SERIAL_8O2) },
{ be_const_key(SERIAL_5O2, 24), be_const_int(SERIAL_5O2) },
{ be_const_key(SERIAL_5E1, 26), be_const_int(SERIAL_5E1) },
{ be_const_key(deinit, -1), be_const_func(b_serial_deinit) },
{ be_const_key(SERIAL_5N1, -1), be_const_int(SERIAL_5N1) },
{ be_const_key(SERIAL_8N1, 1), be_const_int(SERIAL_8N1) },
{ be_const_key(SERIAL_7E1, -1), be_const_int(SERIAL_7E1) },
{ be_const_key(SERIAL_8N2, -1), be_const_int(SERIAL_8N2) },
{ be_const_key(_X2Ep, 8), be_const_var(0) },
{ be_const_key(SERIAL_8E2, -1), be_const_int(SERIAL_8E2) },
{ be_const_key(SERIAL_7O2, -1), be_const_int(SERIAL_7O2) },
{ be_const_key(SERIAL_7N2, -1), be_const_int(SERIAL_7N2) },
{ be_const_key(init, -1), be_const_func(b_serial_init) },
{ be_const_key(SERIAL_6O2, 9), be_const_int(SERIAL_6O2) },
};
static be_define_const_map(
be_class_serial_map,
31
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_serial,
1,
NULL,
serial
);

View File

@ -1,104 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_tasmota_map) {
{ be_const_key(run_deferred, -1), be_const_closure(Tasmota_run_deferred_closure) },
{ be_const_key(_drivers, 42), be_const_var(0) },
{ be_const_key(gc, -1), be_const_closure(Tasmota_gc_closure) },
{ be_const_key(strftime, -1), be_const_func(l_strftime) },
{ be_const_key(web_send_decimal, 49), be_const_func(l_webSendDecimal) },
{ be_const_key(yield, -1), be_const_func(l_yield) },
{ be_const_key(remove_cmd, -1), be_const_closure(Tasmota_remove_cmd_closure) },
{ be_const_key(add_rule, -1), be_const_closure(Tasmota_add_rule_closure) },
{ be_const_key(find_op, 50), be_const_closure(Tasmota_find_op_closure) },
{ be_const_key(try_rule, 68), be_const_closure(Tasmota_try_rule_closure) },
{ be_const_key(cmd_res, -1), be_const_var(1) },
{ be_const_key(eth, -1), be_const_func(l_eth) },
{ be_const_key(time_dump, -1), be_const_func(l_time_dump) },
{ be_const_key(chars_in_string, -1), be_const_closure(Tasmota_chars_in_string_closure) },
{ be_const_key(global, 38), be_const_var(2) },
{ be_const_key(millis, 19), be_const_func(l_millis) },
{ be_const_key(settings, -1), be_const_var(3) },
{ be_const_key(fast_loop, -1), be_const_closure(Tasmota_fast_loop_closure) },
{ be_const_key(set_light, -1), be_const_closure(Tasmota_set_light_closure) },
{ be_const_key(remove_fast_loop, -1), be_const_closure(Tasmota_remove_fast_loop_closure) },
{ be_const_key(get_switch, 13), be_const_func(l_getswitch) },
{ be_const_key(_debug_present, 58), be_const_var(4) },
{ be_const_key(_cmd, -1), be_const_func(l_cmd) },
{ be_const_key(remove_timer, 2), be_const_closure(Tasmota_remove_timer_closure) },
{ be_const_key(publish, -1), be_const_func(l_publish) },
{ be_const_key(arch, -1), be_const_func(l_arch) },
{ be_const_key(_settings_def, -1), be_const_comptr(&be_tasmota_settings_struct) },
{ be_const_key(add_driver, -1), be_const_closure(Tasmota_add_driver_closure) },
{ be_const_key(_timers, 11), be_const_var(5) },
{ be_const_key(add_cron, -1), be_const_closure(Tasmota_add_cron_closure) },
{ be_const_key(scale_uint, -1), be_const_func(l_scaleuint) },
{ be_const_key(check_not_method, -1), be_const_closure(Tasmota_check_not_method_closure) },
{ be_const_key(web_send, 63), be_const_func(l_webSend) },
{ be_const_key(get_option, -1), be_const_func(l_getoption) },
{ be_const_key(time_str, -1), be_const_closure(Tasmota_time_str_closure) },
{ be_const_key(response_append, 26), be_const_func(l_respAppend) },
{ be_const_key(_fl, -1), be_const_var(6) },
{ be_const_key(get_free_heap, -1), be_const_func(l_getFreeHeap) },
{ be_const_key(_settings_ptr, -1), be_const_comptr(&Settings) },
{ be_const_key(exec_cmd, -1), be_const_closure(Tasmota_exec_cmd_closure) },
{ be_const_key(rtc, 18), be_const_func(l_rtc) },
{ be_const_key(read_sensors, 52), be_const_func(l_read_sensors) },
{ be_const_key(exec_tele, -1), be_const_closure(Tasmota_exec_tele_closure) },
{ be_const_key(_crons, 51), be_const_var(7) },
{ be_const_key(publish_result, 34), be_const_func(l_publish_result) },
{ be_const_key(hs2rgb, -1), be_const_closure(Tasmota_hs2rgb_closure) },
{ be_const_key(memory, -1), be_const_func(l_memory) },
{ be_const_key(wire1, -1), be_const_var(8) },
{ be_const_key(remove_driver, -1), be_const_closure(Tasmota_remove_driver_closure) },
{ be_const_key(get_light, -1), be_const_closure(Tasmota_get_light_closure) },
{ be_const_key(wifi, -1), be_const_func(l_wifi) },
{ be_const_key(run_cron, -1), be_const_closure(Tasmota_run_cron_closure) },
{ be_const_key(load, -1), be_const_closure(Tasmota_load_closure) },
{ be_const_key(wire_scan, 72), be_const_closure(Tasmota_wire_scan_closure) },
{ be_const_key(find_key_i, 76), be_const_closure(Tasmota_find_key_i_closure) },
{ be_const_key(resp_cmnd_error, -1), be_const_func(l_respCmndError) },
{ be_const_key(get_power, 69), be_const_func(l_getpower) },
{ be_const_key(_global_def, 56), be_const_comptr(&be_tasmota_global_struct) },
{ be_const_key(_ccmd, 60), be_const_var(9) },
{ be_const_key(cmd, 12), be_const_closure(Tasmota_cmd_closure) },
{ be_const_key(set_timer, -1), be_const_closure(Tasmota_set_timer_closure) },
{ be_const_key(resolvecmnd, 9), be_const_func(l_resolveCmnd) },
{ be_const_key(wire2, 5), be_const_var(10) },
{ be_const_key(get_switches, -1), be_const_func(l_getswitch) },
{ be_const_key(remove_rule, 53), be_const_closure(Tasmota_remove_rule_closure) },
{ be_const_key(next_cron, -1), be_const_closure(Tasmota_next_cron_closure) },
{ be_const_key(resp_cmnd, -1), be_const_func(l_respCmnd) },
{ be_const_key(publish_rule, -1), be_const_func(l_publish_rule) },
{ be_const_key(set_power, 70), be_const_func(l_setpower) },
{ be_const_key(strptime, -1), be_const_func(l_strptime) },
{ be_const_key(time_reached, -1), be_const_func(l_timereached) },
{ be_const_key(gen_cb, -1), be_const_closure(Tasmota_gen_cb_closure) },
{ be_const_key(delay, -1), be_const_func(l_delay) },
{ be_const_key(_rules, 33), be_const_var(11) },
{ be_const_key(resp_cmnd_failed, -1), be_const_func(l_respCmndFailed) },
{ be_const_key(init, -1), be_const_closure(Tasmota_init_closure) },
{ be_const_key(wd, -1), be_const_var(12) },
{ be_const_key(remove_cron, -1), be_const_closure(Tasmota_remove_cron_closure) },
{ be_const_key(log, -1), be_const_func(l_logInfo) },
{ be_const_key(add_cmd, -1), be_const_closure(Tasmota_add_cmd_closure) },
{ be_const_key(save, -1), be_const_func(l_save) },
{ be_const_key(_global_addr, 78), be_const_comptr(&TasmotaGlobal) },
{ be_const_key(add_fast_loop, 77), be_const_closure(Tasmota_add_fast_loop_closure) },
{ be_const_key(resp_cmnd_done, 47), be_const_func(l_respCmndDone) },
{ be_const_key(exec_rules, -1), be_const_closure(Tasmota_exec_rules_closure) },
{ be_const_key(i2c_enabled, -1), be_const_func(l_i2cenabled) },
{ be_const_key(resp_cmnd_str, 17), be_const_func(l_respCmndStr) },
{ be_const_key(event, -1), be_const_closure(Tasmota_event_closure) },
};
static be_define_const_map(
be_class_tasmota_map,
88
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_tasmota,
13,
NULL,
Tasmota
);

View File

@ -1,19 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_tasmota_log_reader_map) {
{ be_const_key(get_log, 1), be_const_ctype_func(tlr_get_log) },
{ be_const_key(init, -1), be_const_ctype_func(tlr_init) },
{ be_const_key(_p, -1), be_const_var(0) },
};
static be_define_const_map(
be_class_tasmota_log_reader_map,
3
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_tasmota_log_reader,
1,
NULL,
tasmota_log_reader
);

View File

@ -1,26 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_tcpclient_map) {
{ be_const_key(deinit, -1), be_const_func(wc_tcp_deinit) },
{ be_const_key(close, -1), be_const_func(wc_tcp_close) },
{ be_const_key(connected, 0), be_const_func(wc_tcp_connected) },
{ be_const_key(_X2Ep, -1), be_const_var(0) },
{ be_const_key(available, 8), be_const_func(wc_tcp_available) },
{ be_const_key(init, -1), be_const_func(wc_tcp_init) },
{ be_const_key(readbytes, -1), be_const_func(wc_tcp_readbytes) },
{ be_const_key(connect, -1), be_const_func(wc_tcp_connect) },
{ be_const_key(write, -1), be_const_func(wc_tcp_write) },
{ be_const_key(read, 3), be_const_func(wc_tcp_read) },
};
static be_define_const_map(
be_class_tcpclient_map,
10
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_tcpclient,
1,
NULL,
tcpclient
);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_tcpserver_map) {
{ be_const_key(init, -1), be_const_ctype_func(tcpserver_init) },
{ be_const_key(accept, -1), be_const_ctype_func(tcpserver_accept) },
{ be_const_key(_p, -1), be_const_var(0) },
{ be_const_key(close, 0), be_const_ctype_func(tcpserver_close) },
{ be_const_key(deinit, 5), be_const_ctype_func(tcpserver_deinit) },
{ be_const_key(hasclient, -1), be_const_ctype_func(tcpserver_hasclient) },
};
static be_define_const_map(
be_class_tcpserver_map,
6
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_tcpserver,
1,
NULL,
tcpserver
);

View File

@ -1,26 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_udp_map) {
{ be_const_key(send_multicast, 6), be_const_func(be_udp_send_mcast) },
{ be_const_key(send, -1), be_const_func(be_udp_send) },
{ be_const_key(deinit, -1), be_const_func(be_udp_deinit) },
{ be_const_key(remote_ip, -1), be_const_var(0) },
{ be_const_key(read, -1), be_const_func(be_udp_read) },
{ be_const_key(begin_multicast, 8), be_const_func(be_udp_begin_mcast) },
{ be_const_key(begin, -1), be_const_func(be_udp_begin) },
{ be_const_key(remote_port, -1), be_const_var(1) },
{ be_const_key(init, -1), be_const_func(be_udp_init) },
{ be_const_key(_X2Ep, 4), be_const_var(2) },
};
static be_define_const_map(
be_class_udp_map,
10
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_udp,
3,
NULL,
udp
);

View File

@ -1,33 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_webclient_map) {
{ be_const_key(write_file, 3), be_const_func(wc_writefile) },
{ be_const_key(begin, -1), be_const_func(wc_begin) },
{ be_const_key(_X2Ep, 16), be_const_var(0) },
{ be_const_key(set_useragent, -1), be_const_func(wc_set_useragent) },
{ be_const_key(get_size, -1), be_const_func(wc_getsize) },
{ be_const_key(set_auth, -1), be_const_func(wc_set_auth) },
{ be_const_key(write_flash, -1), be_const_func(wc_writeflash) },
{ be_const_key(get_string, -1), be_const_func(wc_getstring) },
{ be_const_key(init, -1), be_const_func(wc_init) },
{ be_const_key(GET, 0), be_const_func(wc_GET) },
{ be_const_key(_X2Ew, -1), be_const_var(1) },
{ be_const_key(deinit, -1), be_const_func(wc_deinit) },
{ be_const_key(set_timeouts, 1), be_const_func(wc_set_timeouts) },
{ be_const_key(close, 2), be_const_func(wc_close) },
{ be_const_key(add_header, -1), be_const_func(wc_addheader) },
{ be_const_key(url_encode, 8), be_const_func(wc_urlencode) },
{ be_const_key(POST, -1), be_const_func(wc_POST) },
};
static be_define_const_map(
be_class_webclient_map,
17
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_webclient,
2,
NULL,
webclient
);

View File

@ -1,29 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_zb_coord_ntv_map) {
{ be_const_key_weak(zb_device, -1), be_const_class(be_class_zb_device) },
{ be_const_key_weak(zcl_attribute, -1), be_const_class(be_class_zcl_attribute) },
{ be_const_key_weak(item, 5), be_const_func(zc_item) },
{ be_const_key_weak(iter, -1), be_const_func(zc_iter) },
{ be_const_key_weak(zcl_attribute_ntv, 1), be_const_class(be_class_zcl_attribute_ntv) },
{ be_const_key_weak(test_msg, 10), be_const_func(zigbee_test_msg) },
{ be_const_key_weak(size, -1), be_const_ctype_func(zc_size) },
{ be_const_key_weak(test_attr, -1), be_const_func(zigbee_test_attr) },
{ be_const_key_weak(abort, -1), be_const_ctype_func(zc_abort) },
{ be_const_key_weak(zcl_attribute_list, -1), be_const_class(be_class_zcl_attribute_list) },
{ be_const_key_weak(zcl_frame, -1), be_const_class(be_class_zcl_frame) },
{ be_const_key_weak(zcl_attribute_list_ntv, -1), be_const_class(be_class_zcl_attribute_list_ntv) },
{ be_const_key_weak(info, 6), be_const_func(zc_info) },
};
static be_define_const_map(
be_class_zb_coord_ntv_map,
13
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_zb_coord_ntv,
0,
NULL,
zb_coord_ntv
);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_zb_device_map) {
{ be_const_key_weak(init, -1), be_const_ctype_func(zd_init) },
{ be_const_key_weak(tostring, -1), be_const_closure(zb_device_tostring_closure) },
{ be_const_key_weak(_p, -1), be_const_var(0) },
{ be_const_key_weak(member, 0), be_const_func(zd_member) },
};
static be_define_const_map(
be_class_zb_device_map,
4
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_zb_device,
1,
NULL,
zb_device
);

View File

@ -1,24 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_zcl_attribute_list_ntv_map) {
{ be_const_key_weak(new_tail, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_new_tail) },
{ be_const_key_weak(new_head, 0), be_const_func(&be_zigbee_zcl_attribute_list_ntv_new_head) },
{ be_const_key_weak(_def, -1), be_const_comptr(&be_zigbee_zcl_attribute_list_struct) },
{ be_const_key_weak(_init, 1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_init) },
{ be_const_key_weak(size, 3), be_const_func(&be_zigbee_zcl_attribute_list_ntv_size) },
{ be_const_key_weak(remove, 2), be_const_func(&be_zigbee_zcl_attribute_list_ntv_remove) },
{ be_const_key_weak(item, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_item) },
{ be_const_key_weak(_deinit, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_deinit) },
};
static be_define_const_map(
be_class_zcl_attribute_list_ntv_map,
8
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_zcl_attribute_list_ntv,
0,
(bclass *)&be_class_ctypes_bytes,
zcl_attribute_list_ntv
);

View File

@ -1,23 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_zcl_attribute_ntv_map) {
{ be_const_key_weak(_def, -1), be_const_comptr(&be_zigbee_zcl_attribute_struct) },
{ be_const_key_weak(_get_val, -1), be_const_func(be_zigbee_zcl_attribute_ntv_get_val) },
{ be_const_key_weak(_set_key, 0), be_const_func(be_zigbee_zcl_attribute_ntv_set_key) },
{ be_const_key_weak(_deinit, -1), be_const_func(&be_zigbee_zcl_attribute_ntv_deinit) },
{ be_const_key_weak(_set_val, -1), be_const_func(be_zigbee_zcl_attribute_ntv_set_val) },
{ be_const_key_weak(_get_key, -1), be_const_func(be_zigbee_zcl_attribute_ntv_get_key) },
{ be_const_key_weak(_init, 1), be_const_func(&be_zigbee_zcl_attribute_ntv_init) },
};
static be_define_const_map(
be_class_zcl_attribute_ntv_map,
7
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_zcl_attribute_ntv,
0,
(bclass *)&be_class_ctypes_bytes,
zcl_attribute_ntv
);

View File

@ -1,19 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(be_class_zcl_frame_ntv_map) {
{ be_const_key_weak(_set_bytes, -1), be_const_ctype_func(zfn_set_bytes) },
{ be_const_key_weak(_def, 2), be_const_comptr(&be_zigbee_zcl_frame_struct) },
{ be_const_key_weak(_get_bytes, -1), be_const_ctype_func(zfn_get_bytes) },
};
static be_define_const_map(
be_class_zcl_frame_ntv_map,
3
);
BE_EXPORT_VARIABLE be_define_const_class(
be_class_zcl_frame_ntv,
0,
(bclass *)&be_class_ctypes_bytes,
zcl_frame_ntv
);

View File

@ -1,21 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libcb_map) {
{ be_const_key(make_cb, -1), be_const_func(be_cb_make_cb) },
{ be_const_key(list_handlers, 3), be_const_func(be_cb_list_handlers) },
{ be_const_key(get_cb_list, -1), be_const_func(be_cb_get_cb_list) },
{ be_const_key(gen_cb, -1), be_const_func(be_cb_gen_cb) },
{ be_const_key(add_handler, -1), be_const_func(be_cb_add_handler) },
};
static be_define_const_map(
m_libcb_map,
5
);
static be_define_const_module(
m_libcb,
"cb"
);
BE_EXPORT_VARIABLE be_define_const_native_module(cb);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libcrc_map) {
{ be_const_key(crc32, 1), be_const_ctype_func(c_crc32) },
{ be_const_key(sum, -1), be_const_ctype_func(c_sum) },
{ be_const_key(crc16, -1), be_const_ctype_func(c_crc16) },
{ be_const_key(crc8, -1), be_const_ctype_func(c_crc8) },
};
static be_define_const_map(
m_libcrc_map,
4
);
static be_define_const_module(
m_libcrc,
"crc"
);
BE_EXPORT_VARIABLE be_define_const_native_module(crc);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libcrypto_map) {
{ be_const_key_weak(AES_GCM, -1), be_const_class(be_class_aes_gcm) },
{ be_const_key_weak(EC_C25519, -1), be_const_class(be_class_ec_c25519) },
};
static be_define_const_map(
m_libcrypto_map,
2
);
static be_define_const_module(
m_libcrypto,
"crypto"
);
BE_EXPORT_VARIABLE be_define_const_native_module(crypto);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libdebug_map) {
{ be_const_key(counters, 3), be_const_func(m_counters) },
{ be_const_key(traceback, -1), be_const_func(m_traceback) },
{ be_const_key(attrdump, 0), be_const_func(m_attrdump) },
{ be_const_key(calldepth, 5), be_const_func(m_calldepth) },
{ be_const_key(top, -1), be_const_func(m_top) },
{ be_const_key(codedump, -1), be_const_func(m_codedump) },
};
static be_define_const_map(
m_libdebug_map,
6
);
static be_define_const_module(
m_libdebug,
"debug"
);
BE_EXPORT_VARIABLE be_define_const_native_module(debug);

View File

@ -1,21 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libdisplay_map) {
{ be_const_key_weak(start, -1), be_const_func(be_ntv_display_start) },
{ be_const_key_weak(started, 0), be_const_ctype_func(be_ntv_display_started) },
{ be_const_key_weak(driver_name, -1), be_const_ctype_func(be_ntv_display_driver_name) },
{ be_const_key_weak(touch_update, 2), be_const_ctype_func(be_ntv_display_touch_update) },
{ be_const_key_weak(dimmer, -1), be_const_func(be_ntv_display_dimmer) },
};
static be_define_const_map(
m_libdisplay_map,
5
);
static be_define_const_module(
m_libdisplay,
"display"
);
BE_EXPORT_VARIABLE be_define_const_native_module(display);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libflash_map) {
{ be_const_key(id, 5), be_const_ctype_func(p_flashid) },
{ be_const_key(factory, 4), be_const_ctype_func(p_factory) },
{ be_const_key(write, -1), be_const_func(p_flash_write) },
{ be_const_key(read, -1), be_const_func(p_flash_read) },
{ be_const_key(erase, -1), be_const_func(p_flash_erase) },
{ be_const_key(size, -1), be_const_ctype_func(p_flashsize) },
};
static be_define_const_map(
m_libflash_map,
6
);
static be_define_const_module(
m_libflash,
"flash"
);
BE_EXPORT_VARIABLE be_define_const_native_module(flash);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libgc_map) {
{ be_const_key(allocated, -1), be_const_func(m_allocated) },
{ be_const_key(collect, -1), be_const_func(m_collect) },
};
static be_define_const_map(
m_libgc_map,
2
);
static be_define_const_module(
m_libgc,
"gc"
);
BE_EXPORT_VARIABLE be_define_const_native_module(gc);

View File

@ -1,20 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libglobal_map) {
{ be_const_key(contains, -1), be_const_func(m_contains) },
{ be_const_key(setmember, -1), be_const_func(m_setglobal) },
{ be_const_key(_X28_X29, -1), be_const_func(m_globals) },
{ be_const_key(member, -1), be_const_func(m_findglobal) },
};
static be_define_const_map(
m_libglobal_map,
4
);
static be_define_const_module(
m_libglobal,
"global"
);
BE_EXPORT_VARIABLE be_define_const_native_module(global);

View File

@ -1,24 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libgpio_map) {
{ be_const_key(digital_read, -1), be_const_func(gp_digital_read) },
{ be_const_key(digital_write, -1), be_const_func(gp_digital_write) },
{ be_const_key(dac_voltage, -1), be_const_func(gp_dac_voltage) },
{ be_const_key(member, 1), be_const_func(gp_member) },
{ be_const_key(set_pwm, 5), be_const_ctype_func(gp_set_duty) },
{ be_const_key(pin, 7), be_const_func(gp_pin) },
{ be_const_key(pin_mode, 2), be_const_func(gp_pin_mode) },
{ be_const_key(pin_used, -1), be_const_func(gp_pin_used) },
};
static be_define_const_map(
m_libgpio_map,
8
);
static be_define_const_module(
m_libgpio,
"gpio"
);
BE_EXPORT_VARIABLE be_define_const_native_module(gpio);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libhue_ntv_map) {
{ be_const_key(full_state, -1), be_const_ctype_func(be_hue_light_full_state) },
{ be_const_key(light_state, -1), be_const_ctype_func(be_hue_light_state) },
};
static be_define_const_map(
m_libhue_ntv_map,
2
);
static be_define_const_module(
m_libhue_ntv,
"hue_ntv"
);
BE_EXPORT_VARIABLE be_define_const_native_module(hue_ntv);

View File

@ -1,23 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libintrospect_map) {
{ be_const_key(ismethod, -1), be_const_func(m_ismethod) },
{ be_const_key(toptr, -1), be_const_func(m_toptr) },
{ be_const_key(get, -1), be_const_func(m_findmember) },
{ be_const_key(module, 5), be_const_func(m_getmodule) },
{ be_const_key(fromptr, 1), be_const_func(m_fromptr) },
{ be_const_key(members, -1), be_const_func(m_attrlist) },
{ be_const_key(set, 3), be_const_func(m_setmember) },
};
static be_define_const_map(
m_libintrospect_map,
7
);
static be_define_const_module(
m_libintrospect,
"introspect"
);
BE_EXPORT_VARIABLE be_define_const_native_module(introspect);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libjson_map) {
{ be_const_key(dump, -1), be_const_func(m_json_dump) },
{ be_const_key(load, 0), be_const_func(m_json_load) },
};
static be_define_const_map(
m_libjson_map,
2
);
static be_define_const_module(
m_libjson,
"json"
);
BE_EXPORT_VARIABLE be_define_const_native_module(json);

View File

@ -1,21 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_liblight_map) {
{ be_const_key(gamma8, 1), be_const_func(l_gamma8) },
{ be_const_key(get, -1), be_const_func(l_getlight) },
{ be_const_key(set, 4), be_const_func(l_setlight) },
{ be_const_key(gamma10, -1), be_const_func(l_gamma10) },
{ be_const_key(reverse_gamma10, -1), be_const_func(l_rev_gamma10) },
};
static be_define_const_map(
m_liblight_map,
5
);
static be_define_const_module(
m_liblight,
"light"
);
BE_EXPORT_VARIABLE be_define_const_native_module(light);

View File

@ -1,18 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_liblv_map) {
{ be_const_key(init, -1), be_const_closure(lv_lv_module_init_closure) },
{ be_const_key(member, 0), be_const_func(lv0_member) },
};
static be_define_const_map(
m_liblv_map,
2
);
static be_define_const_module(
m_liblv,
"lv"
);
BE_EXPORT_VARIABLE be_define_const_native_module(lv);

View File

@ -1,29 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_liblv_tasmota_map) {
{ be_const_key_weak(load_freetype_font, -1), be_const_func(lv0_load_freetype_font) },
{ be_const_key_weak(seg7_font, -1), be_const_func(lv0_load_seg7_font) },
{ be_const_key_weak(screenshot, 11), be_const_func(lv0_screenshot) },
{ be_const_key_weak(font_seg7, 1), be_const_func(lv0_load_seg7_font) },
{ be_const_key_weak(splash_init, 0), be_const_closure(lv_tasmota_splash_init_closure) },
{ be_const_key_weak(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) },
{ be_const_key_weak(init, 7), be_const_closure(lv_tasmota_init_closure) },
{ be_const_key_weak(splash_remove, -1), be_const_closure(lv_tasmota_splash_remove_closure) },
{ be_const_key_weak(start, -1), be_const_func(lv0_start) },
{ be_const_key_weak(font_montserrat, -1), be_const_func(lv0_load_montserrat_font) },
{ be_const_key_weak(font_embedded, -1), be_const_func(lv0_load_font_embedded) },
{ be_const_key_weak(montserrat_font, -1), be_const_func(lv0_load_montserrat_font) },
{ be_const_key_weak(splash, 10), be_const_closure(lv_tasmota_splash_closure) },
};
static be_define_const_map(
m_liblv_tasmota_map,
13
);
static be_define_const_module(
m_liblv_tasmota,
"lv_tasmota"
);
BE_EXPORT_VARIABLE be_define_const_native_module(lv_tasmota);

View File

@ -1,66 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_builtin_map) {
{ be_const_key(number, 23), be_const_int(7) },
{ be_const_key(call, -1), be_const_int(22) },
{ be_const_key(range, -1), be_const_int(20) },
{ be_const_key(input, -1), be_const_int(2) },
{ be_const_key(bytes, 11), be_const_int(21) },
{ be_const_key(issubclass, -1), be_const_int(14) },
{ be_const_key(compile, -1), be_const_int(13) },
{ be_const_key(open, 22), be_const_int(17) },
{ be_const_key(module, 17), be_const_int(11) },
{ be_const_key(list, 7), be_const_int(18) },
{ be_const_key(isinstance, -1), be_const_int(15) },
{ be_const_key(classname, 20), be_const_int(5) },
{ be_const_key(size, -1), be_const_int(12) },
{ be_const_key(real, -1), be_const_int(10) },
{ be_const_key(int, -1), be_const_int(9) },
{ be_const_key(__iterator__, 5), be_const_int(16) },
{ be_const_key(str, -1), be_const_int(8) },
{ be_const_key(bool, -1), be_const_int(23) },
{ be_const_key(classof, -1), be_const_int(6) },
{ be_const_key(assert, -1), be_const_int(0) },
{ be_const_key(super, -1), be_const_int(3) },
{ be_const_key(type, 8), be_const_int(4) },
{ be_const_key(map, -1), be_const_int(19) },
{ be_const_key(print, -1), be_const_int(1) },
};
static be_define_const_map(
m_builtin_map,
24
);
static const bvalue __vlist_array[] = {
be_const_func(l_assert),
be_const_func(l_print),
be_const_func(l_input),
be_const_func(l_super),
be_const_func(l_type),
be_const_func(l_classname),
be_const_func(l_classof),
be_const_func(l_number),
be_const_func(l_str),
be_const_func(l_int),
be_const_func(l_real),
be_const_func(l_module),
be_const_func(l_size),
be_const_func(l_compile),
be_const_func(l_issubclass),
be_const_func(l_isinstance),
be_const_func(l_iterator),
be_const_func(be_nfunc_open),
be_const_class(be_class_list),
be_const_class(be_class_map),
be_const_class(be_class_range),
be_const_class(be_class_bytes),
be_const_func(l_call),
be_const_func(l_bool),
};
static be_define_const_vector(
m_builtin_vector,
__vlist_array,
24
);

View File

@ -1,43 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libmath_map) {
{ be_const_key(asin, 7), be_const_func(m_asin) },
{ be_const_key(isnan, -1), be_const_func(m_isnan) },
{ be_const_key(sinh, 22), be_const_func(m_sinh) },
{ be_const_key(cos, -1), be_const_func(m_cos) },
{ be_const_key(rand, -1), be_const_func(m_rand) },
{ be_const_key(deg, -1), be_const_func(m_deg) },
{ be_const_key(log10, 16), be_const_func(m_log10) },
{ be_const_key(acos, -1), be_const_func(m_acos) },
{ be_const_key(cosh, -1), be_const_func(m_cosh) },
{ be_const_key(tanh, 21), be_const_func(m_tanh) },
{ be_const_key(rad, 11), be_const_func(m_rad) },
{ be_const_key(abs, -1), be_const_func(m_abs) },
{ be_const_key(atan2, -1), be_const_func(m_atan2) },
{ be_const_key(tan, 19), be_const_func(m_tan) },
{ be_const_key(ceil, 15), be_const_func(m_ceil) },
{ be_const_key(nan, -1), be_const_real(NAN) },
{ be_const_key(imin, -1), be_const_int(M_IMIN) },
{ be_const_key(pow, -1), be_const_func(m_pow) },
{ be_const_key(atan, -1), be_const_func(m_atan) },
{ be_const_key(imax, 25), be_const_int(M_IMAX) },
{ be_const_key(exp, 17), be_const_func(m_exp) },
{ be_const_key(log, 1), be_const_func(m_log) },
{ be_const_key(sqrt, -1), be_const_func(m_sqrt) },
{ be_const_key(srand, -1), be_const_func(m_srand) },
{ be_const_key(floor, -1), be_const_func(m_floor) },
{ be_const_key(sin, -1), be_const_func(m_sin) },
{ be_const_key(pi, 8), be_const_real(M_PI) },
};
static be_define_const_map(
m_libmath_map,
27
);
static be_define_const_module(
m_libmath,
"math"
);
BE_EXPORT_VARIABLE be_define_const_native_module(math);

View File

@ -1,22 +0,0 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_libmqtt_map) {
{ be_const_key(unsubscribe, -1), be_const_closure(unsubscribe_closure) },
{ be_const_key(subscribe, -1), be_const_closure(subscribe_closure) },
{ be_const_key(publish, 3), be_const_func(be_mqtt_publish) },
{ be_const_key(_, -1), be_const_closure(__closure) },
{ be_const_key(_subscribe, -1), be_const_ctype_func(be_mqtt_subscribe) },
{ be_const_key(_unsubscribe, 1), be_const_ctype_func(be_mqtt_unsubscribe) },
};
static be_define_const_map(
m_libmqtt_map,
6
);
static be_define_const_module(
m_libmqtt,
"mqtt"
);
BE_EXPORT_VARIABLE be_define_const_native_module(mqtt);

View File

@ -1,2 +0,0 @@
#include "be_constobj.h"

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