Skip to main content

Base Driver for Communicating With Sensirion SHDLC Devices

Project description

This package contains the base driver for Sensirion SHDLC devices. It allows to transmit and receive SHDLC frames over the serial port and provides some generic commands (e.g. reading the serial number of a device).

Note

Normally you shouldn’t use this driver directly - instead you should use the device-specific driver for your actual device as it provides additional commands. But this driver is still useful if you want to transceive raw SHDLC frames, or if there is no specific driver available yet for your device.

Installation and Usage

The user manual is available at https://sensirion.github.io/python-shdlc-driver/.

CHANGELOG

0.1.1

  • Add optional dependency intelhex for performing firmware updates

  • Add bootloader commands: ShdlcCmdBootloaderBase, ShdlcCmdEnterBootloader, ShdlcCmdFirmwareUpdateStart, ShdlcCmdFirmwareUpdateData, ShdlcCmdFirmwareUpdateStop

  • Add exceptions for the firmware updater: ShdlcFirmwareImageSignatureError, ShdlcFirmwareImageIncompatibilityError

  • Add classes to perform firmware updates over SHDLC: ShdlcFirmwareImage, ShdlcFirmwareUpdate

  • Add property lock to the ShdlcPort interface to allow locking the port from outside the class

0.1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensirion-shdlc-driver-0.1.1.tar.gz (18.8 kB view hashes)

Uploaded Source

Built Distributions

sensirion_shdlc_driver-0.1.1-py3-none-any.whl (29.2 kB view hashes)

Uploaded Python 3

sensirion_shdlc_driver-0.1.1-py2-none-any.whl (29.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page