Skip to content

Add configurable MTU and memory-efficient streaming I/O#1

Open
sking2600 wants to merge 1 commit into
katyo:masterfrom
sking2600:modernize-ots
Open

Add configurable MTU and memory-efficient streaming I/O#1
sking2600 wants to merge 1 commit into
katyo:masterfrom
sking2600:modernize-ots

Conversation

@sking2600

Copy link
Copy Markdown
  • Implement preferred MTU configuration in ClientConfig and CLI.
  • Enhance L2CAP robustness with 64-byte MTU fallback for better cross-platform compatibility.
  • Refactor OtsClient::read and CLI read/write commands to use streaming I/O (tokio::io::copy).
  • Implement MTU-aware chunking in L2capStream::poll_write to respect negotiated MTU limits.
  • Update tokio dependencies in CLI for filesystem and multi-threaded runtime support.
  • Pass clippy and cargo fmt.
  • Validated with a 400kb transfer to ESP32-C3

- Implement preferred MTU configuration in ClientConfig and CLI.
- Enhance L2CAP robustness with 64-byte MTU fallback for better cross-platform compatibility.
- Refactor OtsClient::read and CLI read/write commands to use streaming I/O (tokio::io::copy).
- Implement MTU-aware chunking in L2capStream::poll_write to respect negotiated MTU limits.
- Update tokio dependencies in CLI for filesystem and multi-threaded runtime support.
- Pass clippy and cargo fmt.
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