-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tcp socket read, without read_with #17
Comments
Came from this. As mentioned earlier, we don't want to divide the ecosystem. |
Yep, i think that would be a great temp solution 👍 I will add it in mqttrust, where the |
Hmm.. nope, should probably be added somewhere else? Maybe ublox-cellular? or a completely new repo of temporary extension traits for our device? |
Or maybe we can simply update your |
Hi @MathiasKoch , perhaps we can work around the zero-copy part of discussion. I made another PR, so if you have a spare time, can you quickly have a look? |
Currently this crate implements a slightly modified version of the
TcpStack
trait from embedded-nal, with the addition ofAs this allows peeking into the buffer, to selectively do copy, only if a full valid packet is in place (eg an mqtt packet).
We need to figure out a way to either commit the
read_with
fn upstream, if deemed useful, or use the regular bufferedread
without introducing additional clonesNOTE
This is the blocking issue for releasing to crates.io, as git dependencies are not allowed on crates.io
The text was updated successfully, but these errors were encountered: