Metadata-Version: 2.1
Name: sensirion-shdlc-driver
Version: 0.1.5
Summary: Base Driver for Communicating With Sensirion SHDLC Devices
Home-page: https://github.com/sensirion/python-shdlc-driver
Author: Urban Bruhin
Author-email: urban.bruhin@sensirion.com
License: BSD
Keywords: shdlc sensirion sensor driver
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
Requires-Dist: pyserial (~=3.0)
Provides-Extra: fwupdate
Requires-Dist: intelhex (~=2.0) ; extra == 'fwupdate'
Provides-Extra: test
Requires-Dist: flake8 (~=3.6.0) ; extra == 'test'
Requires-Dist: intelhex (~=2.0) ; extra == 'test'
Requires-Dist: mock (~=3.0.0) ; extra == 'test'
Requires-Dist: pytest (~=3.10.0) ; extra == 'test'
Requires-Dist: pytest-cov (~=2.6.0) ; extra == 'test'

sensirion-shdlc-driver
======================

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.5
:::::
- Move parts of ``ShdlcDevice`` into new base class ``ShdlcDeviceBase``

0.1.4
:::::
- Make signature and version offset configurable for ``ShdlcFirmwareImage``

0.1.3
:::::
- Add property ``is_open`` to ``ShdlcPort``, ``ShdlcSerialPort`` and
  ``ShdlcTcpPort``
- Improve/extend documentation

0.1.2
:::::
- Add ``ShdlcTcpPort`` class to communicate with SHDLC devices through TCP/IP
- Add property ``start_received`` to ``ShdlcSerialMisoFrameBuilder``
- Add methods ``open()`` and ``close()`` to the ``ShdlcPort`` interface
- Add parameter ``do_open`` to constructor of ``ShdlcSerialPort`` to allow
  creating ``ShdlcSerialPort`` instances without opening the port yet
- Add property ``additional_response_time`` to ``ShdlcSerialPort``
- Improve timeout calculation of ``ShdlcSerialPort`` to fix possible response
  timeout errors
- Make ``FirmwareUpdate`` failing early if the bitrate cannot be changed

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


