Skip to content

Berry 'tcp.write()' add 'offset' and 'len'#24076

Merged
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_tcp_write_offset_len
Oct 29, 2025
Merged

Berry 'tcp.write()' add 'offset' and 'len'#24076
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_tcp_write_offset_len

Conversation

@s-hadinger
Copy link
Copy Markdown
Collaborator

Description:

Berry, add optional parameters to tcp.write(bytes | string[, offset:int = 0, len:int = -1]) -> int, to specify the offset in bytes and the length in bytes to send.

Related issue (if applicable): fixes #24025

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.4
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit 37fa0ba into arendst:development Oct 29, 2025
64 checks passed
echo-bravo-yahoo pushed a commit to echo-bravo-yahoo/Tasmota that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant