3.1.0
Features
- request adds an optional timeout_s argument that defaults to 120s.
- upload adds an optional first_timeout_s argument that defaults to 40s. This long timeout allows time for SMP servers to erase the destination image slot if they do not have "erase progressively" enabled.
- upload adds an option subsequent_timeout_s argument that defaults to 2.5s. This should cause an image upload to fail fast if the SMP server stops responding to image upload write requests during the upload routine.
Fixes
- The Bleak BLE transport will cancel requests if the peripheral disconnects instead of hanging.
What's Changed
- Fix/client disconnect by @JPHutchins in #28 - thanks @tomaszduda23!
- feature: add timeout to requests (fixes #26) by @JPHutchins in #29 - thanks @tomaszduda23!
Full Changelog: 3.0.1...3.1.0