
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
mcumgr-client-wrapper
Advanced tools
Python bindings for the rust library mcumgr-client. This allows sending MCUmgr commands to a device connected to a serial port from Python.
import mcumgr_client as mcu
s = mcu.SerialSession(device='/dev/ttyUSB0', baudrate=576000)
# Get a list of dicts containing image properties
l = s.list()
print(l)
# Upload image to device
s.upload('/path/to/image/bin')
# Set the pending flag on the uploaded image
img_hash = [34, 33, 245]
s.test(img_hash)
# Delete image
s.delete(slot=1)
# Reset the device
s.reset()
see help(mcumgr_client)
for more
FAQs
Python bindings for the rust library mcumgr-client
We found that mcumgr-client-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.