smp is a Python implementation of the Simple Management Protocol (SMP) for remotely managing MCU firmware, commonly used with Zephyr and MCUboot. Version 4.0.2 is current, supporting Python >=3.9. The library provides client and server functionality for MCU management including image upload, shell, file system, and task statistics. Releases occur every few months.
pip install smpVerified import paths — ran on the pinned version, not inferred.
Connect to a remote MCU over TCP, send an echo request, and list management groups.
Ensure Python 3.9+ is installed.
Use `SMPClient.encode(data, fragment_size=8192)` if 8192 bytes is required.
Use 'from smp import SMPClient' instead.
Migrate to SMPClient (import from smp).