commit | b9f453ade17d1cdef44c20c842d870f102c9706a | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Thu Dec 07 21:08:22 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 07 21:08:22 2023 +0000 |
tree | eed3a7ff60f2769f0cbd1583393d1c5d86c09ce8 | |
parent | b9ad908f421276d205b590fdefe711e873f1c423 [diff] |
pw_transfer: Allow setting different timeouts for client and server The C++ transfer configuration shared timeout and retry limits between client and server. This is not always desirable in practice: a lot of projects set server timeouts to be higher than clients to allow one side to drive retries. This introduces separate configuration options for the two sides. Additionally, it defaults servers to a higher timeout than clients and disables server retries by default, in line with the most common (and recommended) configuration. Change-Id: I47023186fa8e36cc4052eb5099cc3a20eebf8956 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184210 Reviewed-by: Jordan Brauer <jtbrauer@google.com> Commit-Queue: Alexei Frolov <frolv@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.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/.