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.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
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
Built Distributions
Hashes for sensirion-shdlc-driver-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0816ebc35e489129d081758751965ce68902bb7db81bc7e96639c02266020a95 |
|
MD5 | 512bdf92ca225120336f9914fb838b0f |
|
BLAKE2b-256 | 3776ee90b19b5c16aa79f352a0d52e8412d25149f460e222762dc51705687ea5 |
Hashes for sensirion_shdlc_driver-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15855403e119052a3c11f3a0272bad0224d674a1a2abc84cf1cbb2f63c81f739 |
|
MD5 | 783cb3f4b18dc26da233db05681e1352 |
|
BLAKE2b-256 | 03c16971982e40dfd76d0bf9783aed0bcca94bbac4e23675c47b334c21baf4cd |
Hashes for sensirion_shdlc_driver-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daeb6955d908b8be2935a7507d31c366b710343767b73a687a4bc9c9626f08dd |
|
MD5 | 2f14c079fd651a81a541ecbf16f3bb66 |
|
BLAKE2b-256 | 9549c9faaff60601681f0336ddee71f01503318eb2f4da2fb9e04880ea534e23 |