commit | 0243e41a3d3a0e59394657c6e2222262224ab912 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed Oct 06 08:09:24 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 06 19:39:22 2021 +0000 |
tree | f2bb48c68eb672cfd5584119fad791d428de7132 | |
parent | 070b5b0766d53ca0392f3fdf11ec2aa7b2bfec29 [diff] |
pw_transfer: Resend transfer params on client retries To avoid a flood of transfer parameters updates, the service only sends a transfer parameters update the first time it receives an incorrect offset. If that update is dropped, the transfer may stall. The client retries by resending the last chunk in the window. Have the service resend transfer parameters when it detects that the client is retrying. Change-Id: I0b36cc23b1c0f32b703c8997ade7c4661f013d6e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/64083 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Keir Mierle <keir@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/