SMP (Simple Management Protocol) client for remotely managing MCU firmware, based on the MCUmgr protocol. Supports image management, OS management, shell, and file system operations over SMP. Current version: 7.0.0. Release cadence is irregular.
pip install smpclientVerified import paths — ran on the pinned version, not inferred.
Connects to an MCU running an SMP server and retrieves OS info.
Explicitly pass port=1337 or the correct port when creating SMPClient.
Always use await with SMPClient methods. Run in an async context.
Use host='192.168.1.100' instead of hostname='...'.
Add await before the call: await client.get_os_info()
Verify the device IP and that the SMP server is running. Check firewall rules.