* bl602 test
* w600 test
* simplify
* rtl clear
* t
* draft for beken etc
* draft w600
* fxes
* fxes bl602
* realtek
* fx bl_gpio_intmask
* xradio
* esp
* gpio_isr_handler_add cast
* not needed
* reorg
* fx
* ecr
* fxes
* almost?
* HAL_DetachInterrupt fx
* newline
* use hal_pins.h
* counter
* silly fx
* Update hal_pins.h
* XR FIX? HOW I DIDN'T SEE THAT EARLIER
* guard for double call of HAL_DetachInterrupt
* do not do much in interrupt handler routine, apply deltas in quick tick
* try w800 blindly
* try
* tls_clr_gpio_irq_status
* try intptr_t to see if it compiles
* call tls_clr_gpio_irq_status first?
* fx 2 omg
* frgot
* change to pullup input by default, add partially counter_r
* more
* ADD POS/NEG EDGE FOR MORE PLATFORMS
* esp
* Seperate simple and full driver, introduce "common" for shared code
* Fix command prefixes
* Generate command as multiline if requested
* Fix JS linebreak
* Only use simple dirver - check sizes of firmware images
* Update obk_config.h - enable Full driver for all platforms to allow testing
* Change parsing sttring to device address to allow compact form
Change obk_config.h: remove extra entry for W800, add "FULL" driver to windows build
* fix windows code for "fake" DS18B20
* fix missing files in openBeken_win32_mvsc2017.vcxproj
* fix handle missing task.h for windows
* change Windows emulation to MAX/2 fake sensors
* try fix BL602
* change "fake temperature" of sensors in windows
* change windows sensor temperature once more
* shorten commands by alias
* fix escaping linebreak
* Fix broken JS code ...
* Fix ESP32 is crashing if interrupts are disabled during OWReset for > 480us
* Change output for unused channels
Test if DS1820 channels are in use
* fix warning/error for channel (<=64) printed into a char[5] value
* removeunuses quotes for address
* Fix language
* Capial "S" in Menu entry "Sensors"
* restore obk_config - #define ENABLE_DRIVER_DS1820_FULLonly for WINDOWS and SENSORS variant
* Add HAL_GetWiFiBSSID() and HAL_GetWiFiChannel() commands
Display correct BSSID and channel in JSON status
* Testing bssid RTL
* Typo and new try for RTL
* Fix BSSID returned
* bettter
* test
* Update hal_wifi_xradio.c
---------
Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
Since I saw this in an illustration for an "issue".
If I'm not mistaken, I changed the GUI some time ago so the additional input appears/vanishes as soon as role is changed to button. So no need to wait for saving...
The tests were segfaulting on linux, I don't know how they work on
Windows, perhaps casting `void*` to `int` happens to work there.
Generally it's not portable.
Berry has a dedicated `comptr` type, so let's use that and be portable.
Also makes `run_closure` handle arbitrary number of arguments, see
https://berry.readthedocs.io/en/latest/source/en/Chapter-5.html#function-with-variable-number-of-arguments-vararg
for docs.
Test Plan:
* CI
* make -f custom.mk, ./build/win_main -runUnitTests 2
* t
* fx
* split closure handler
* setTimeout, setInterval
* split berry frm SVM, but I need to move event waiter to separate struct?
* fx
* fx
* split relations
* remvoe ode duplciaton
* POC - pass value to berry
* POC - pass str to berry
* berry preps + lfs test
* lfs test + bytes
* save
* remove code duplication
* try dpid calls
* working test for bytes
* tyuamcu to file in eberry
* str for berry test
* tuyamcu to berry glue
* fx1
* fixes
* try berry http
* fix
* tests
* test vaar lifespan
* test
* test
* test if
* berry in html
* #if ENABLE_OBK_BERRY
* fx
* better
* fx
* test nested loop
* free mem
* simpler
* split lfs run
* arg
* fx
* fix
* #if ENABLE_OBK_BERRY
* comamnd hook
* vars access, ntp
* finalize?
* unfinished
* twinbl energy for channel 2
* .
* removed movavg
* Added HASS MQTT frequency (both standard and TWIN_MODE)
* .
* simplify, store total only IX0
* Ext BugFix: addChangeHandler Power < 20 appears broken #1543