New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mcumgr-client-wrapper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcumgr-client-wrapper

Python bindings for the rust library mcumgr-client

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

mcumgr-client-wrapper

Python bindings for the rust library mcumgr-client. This allows sending MCUmgr commands to a device connected to a serial port from Python.

How to use

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


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc