Add support for XMODEM over serial and telnet if enabled with #define USE_XYZMODEM

This commit is contained in:
Theo Arends 2025-04-14 13:54:05 +02:00
parent a4096ab049
commit 3baa110f9d
8 changed files with 1064 additions and 6 deletions

View File

@ -20,6 +20,7 @@ Note: the `minimal` variant is not listed as it shouldn't be used outside of the
| USE_TELEGRAM | - | - / - | - | - | - | - |
| USE_KNX | - | - / x | x | - | - | - |
| USE_TELNET | - | - / - | - | - | - | - |
| USE_XYZMODEM | - | - / - | - | - | - | - |
| USE_WEBSERVER | x | x / x | x | x | x | x |
| USE_WEBSEND_RESPONSE | - | - / - | - | - | - | - |
| USE_EMULATION_HUE | x | x / x | - | x | - | - |

View File

@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
- Berry `bytes.add()` now accepts 3-bytes values (#23200)
- Berry expose `esp_http_server` for websockets (#23206)
- AlpineJS 2.8.2 - optional for now (#23259)
- Support for XMODEM over serial and telnet if enabled with `#define USE_XYZMODEM`
### Breaking Changed
- HASPmota added `y2_min` and `y2_max` to control the second series of `chart` (#23287)
@ -28,7 +29,6 @@ All notable changes to this project will be documented in this file.
### Removed
## [14.5.0.2] 20250325
### Added
- Berry load `.tapp` files in `/.extensions/` then in `/` (#23113)
@ -36,7 +36,7 @@ All notable changes to this project will be documented in this file.
- Support for HLK-LD2402 24GHz smart wave motion sensor (#23133)
- Matter prepare for ICD cluster (#23158)
- Berry `re.dump()` (#23162)
- Telnet server using command `Telnet <0|1|port>[,<IP filter>]`
- Support for Telnet server using command `Telnet <0|1|port>[,<IP filter>]` if enabled with `#define USE_TELNET`
- HASPmota autostart when `pages.jsonl` exists (#23181)
### Breaking Changed

View File

@ -106,6 +106,7 @@ In addition to @arendst the following code is mainly owned by:
| xdrv_93_ |
| xdrv_94_ |
| |
| xdrv_120_xyzmodem | @arendst
| xdrv_121_gpioviewer | @arendst
| xdrv_122_file_settings_demo | @arendst
| xdrv_122_file_json_settings_demo | @arendst

View File

@ -119,7 +119,8 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- Extend command `GPIO` with different display options and allowing updating of module GPIO's in one go
- Support Vango Technologies V924x ultralow power, single-phase, power measurement [#23127](https://github.com/arendst/Tasmota/issues/23127)
- Support for HLK-LD2402 24GHz smart wave motion sensor [#23133](https://github.com/arendst/Tasmota/issues/23133)
- Telnet server using command `Telnet <0|1|port>[,<IP filter>]`
- Support for Telnet server using command `Telnet <0|1|port>[,<IP filter>]` if enabled with `#define USE_TELNET`
- Support for XMODEM over serial and telnet if enabled with `#define USE_XYZMODEM`
- Allow acl in mqtt when client certificate is in use with `#define USE_MQTT_CLIENT_CERT` [#22998](https://github.com/arendst/Tasmota/issues/22998)
- AlpineJS 2.8.2 - optional for now [#23259](https://github.com/arendst/Tasmota/issues/23259)
- Berry experimental driver for AXP2101 for M5Core2v1.1 [#23039](https://github.com/arendst/Tasmota/issues/23039)

View File

@ -495,6 +495,8 @@
// #define TELNET_COL_RESPONSE 32 // [TelnetColor] ANSI color escape code (default 32 - Green)
// #define TELNET_COL_LOGGING 36 // [TelnetColor] ANSI color escape code (default 36 - Cyan)
//#define USE_XYZMODEM // Add support for XModem over serial and telnet (+5k code)
// -- HTTP ----------------------------------------
#define USE_WEBSERVER // Enable web server and Wi-Fi Manager (+66k code, +8k mem)
#define WEB_PORT 80 // Web server Port for User and Admin mode

View File

@ -949,7 +949,9 @@ constexpr uint32_t feature[] = {
#ifdef USE_TELNET
0x00008000 | // xdrv_80_telnet.ino
#endif
// 0x00010000 | //
#ifdef USE_XYZMODEM
0x00010000 | // xdrv_120_xyzmodem.ino
#endif
// 0x00020000 | //
// 0x00040000 | //
// 0x00080000 | //

File diff suppressed because it is too large Load Diff

View File

@ -312,7 +312,7 @@ a_features = [[
"USE_SPI_LORA","USE_SPL06_007","USE_QMP6988","USE_WOOLIIS",
"USE_HX711_M5SCALES","USE_RX8010","USE_PCF85063","USE_ESP32_TWAI",
"USE_C8_CO2_5K","USE_WIZMOTE","USE_V9240","USE_TELNET",
"","","","",
"USE_XYZMODEM","","","",
"","","","",
"","","","",
"","","",""
@ -343,7 +343,7 @@ else:
obj = json.load(fp)
def StartDecode():
print ("\n*** decode-status.py v14.5.0.2 by Theo Arends and Jacek Ziolkowski ***")
print ("\n*** decode-status.py v14.5.0.3 by Theo Arends and Jacek Ziolkowski ***")
# print("Decoding\n{}".format(obj))