Smp

Latest version: v3.2.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

3.2.0

Features
* Serial (USB) transport can specify line_length, line_buffers, and size (e.g. line_length * buffers). These correspond to SMP Server UART buffer settings:
Zephyr (application)

CONFIG_UART_MCUMGR_RX_BUF_SIZE=512 line length
CONFIG_UART_MCUMGR_RX_BUF_COUNT=8 buffers
CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE=4096 total

Zephyr (mcuboot)

CONFIG_BOOT_MAX_LINE_INPUT_LEN=4096 line length
CONFIG_BOOT_LINE_BUFS=2 buffers
CONFIG_BOOT_SERIAL_MAX_RECEIVE_SIZE=8192 total


What's Changed
* feat: add serial transport line_length (default 128) and line_bufs (d… by JPHutchins in https://github.com/intercreate/smpclient/pull/25


**Full Changelog**: https://github.com/intercreate/smpclient/compare/3.1.0...3.2.0

3.1.3

Trying to fix document deployment.

**Full Changelog**: https://github.com/JPHutchins/smp/compare/3.1.2...3.1.3

3.1.2

What's Changed
* Docs/add docs by JPHutchins in https://github.com/JPHutchins/smp/pull/37


**Full Changelog**: https://github.com/JPHutchins/smp/compare/3.1.1...3.1.2

3.1.1

What's Changed
* Tests/binary lock by JPHutchins in https://github.com/JPHutchins/smp/pull/36


**Full Changelog**: https://github.com/JPHutchins/smp/compare/3.1.0...3.1.1

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 https://github.com/intercreate/smpclient/pull/28 - thanks tomaszduda23!
* feature: add timeout to requests (fixes 26) by JPHutchins in https://github.com/intercreate/smpclient/pull/29 - thanks tomaszduda23!


**Full Changelog**: https://github.com/intercreate/smpclient/compare/3.0.1...3.1.0

3.0.3

What's Changed
* python: support 3.13.0-rc.2 by JPHutchins in https://github.com/JPHutchins/smp/pull/34


**Full Changelog**: https://github.com/JPHutchins/smp/compare/3.0.2...3.0.3

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.