Smp

Latest version: v3.2.0

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

Scan your dependencies

Page 1 of 9

4.2.0

Features

This adds the remaining SMP groups which means that the portion of SMP that Zephyr implements is now complete.

python
from smpclient.requests.file_management import (
FileClose,
FileDownload,
FileHashChecksum,
FileStatus,
FileUpload,
SupportedFileHashChecksumTypes,
)
from smpclient.requests.image_management import (
ImageErase,
ImageStatesRead,
ImageStatesWrite,
ImageUploadWrite,
)
from smpclient.requests.os_management import (
BootloaderInformationRead,
DateTimeRead,
DateTimeWrite,
EchoWrite,
MCUMgrParametersRead,
MemoryPoolStatisticsRead,
OSApplicationInfoRead,
ResetWrite,
TaskStatisticsRead,
)
from smpclient.requests.settings_management import (
CommitSettings,
DeleteSetting,
LoadSettings,
ReadSetting,
SaveSettings,
WriteSetting,
)
from smpclient.requests.shell_management import Execute
from smpclient.requests.statistics_management import GroupData, ListOfGroups
from smpclient.requests.zephyr_management import EraseStorage


What's Changed
* Feature/more groups by JPHutchins in https://github.com/intercreate/smpclient/pull/48


**Full Changelog**: https://github.com/intercreate/smpclient/compare/4.1.2...4.2.0

4.1.2

What's Changed
* Wip/stm32f4 disco serial example by JPHutchins in https://github.com/intercreate/smpclient/pull/44
* fix: 45: send length, image, upgrade after initial upload request if… by JPHutchins in https://github.com/intercreate/smpclient/pull/46


**Full Changelog**: https://github.com/intercreate/smpclient/compare/4.1.1...4.1.2

4.1.1

Fixes
* Resolves a regression causing legacy SMP servers ImageUploadWriteResponse to raise an error - thanks onurcoskun14!
* See 41 and https://github.com/JPHutchins/smp/pull/32 for details

What's Changed
* poetry: smp -> 3.0.2 by JPHutchins in https://github.com/intercreate/smpclient/pull/42


**Full Changelog**: https://github.com/intercreate/smpclient/compare/4.1.0...4.1.1

4.1.0

Features
* Add `SMPUDPTransport` (`from smpclient.transport.udp import SMPUDPTransport`) for using SMP over UDP connections.

What's Changed
* examples: add NXP i.MX RT1060 EVKB USB FW upgrade by JPHutchins in https://github.com/intercreate/smpclient/pull/37
* Feature/add udp client by JPHutchins in https://github.com/intercreate/smpclient/pull/39


**Full Changelog**: https://github.com/intercreate/smpclient/compare/4.0.0...4.1.0

4.0.0

BREAKING
* `smp` dependency is updated to 3.0.1. The associated breaking changes are around the naming of SMP Versions. ErrorV0 is now named ErrorV1 and ErrorV1 is now named ErrorV2. This is reflected in error helpers. `error_v0()` is now `errov_v1()`, `error_v1()` is now `error_v2()`. See https://github.com/JPHutchins/smp/releases for more information.
* SMP Requests will now default to V2 instead of V1 (previously called V0)! Settable via the optional `version` kwarg on any SMP request.

Features
* File management Requests, thanks Maartenwn!
* File management convenience methods in the `SMPClient` class: `upload_file()` and `download_file()`. Thanks Maartenwn!

What's Changed
* Breaking/update smp to 3.0.0 by JPHutchins in https://github.com/intercreate/smpclient/pull/36
* File management by Maartenwn in https://github.com/intercreate/smpclient/pull/35

New Contributors
* Maartenwn made their first contribution in https://github.com/intercreate/smpclient/pull/35

**Full Changelog**: https://github.com/intercreate/smpclient/compare/3.2.1...4.0.0

3.2.1

What's Changed
* mypy: BleakClientWinRT TypeGuard by JPHutchins in https://github.com/intercreate/smpclient/pull/32
* Fix 31/image upload match by JPHutchins in https://github.com/intercreate/smpclient/pull/33


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

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.