Skip to content

Latest commit

 

History

History
177 lines (118 loc) · 4.39 KB

CHANGELOG.rst

File metadata and controls

177 lines (118 loc) · 4.39 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

  • update to SensirionShdlcTxFrame::begin so the buffer is always filled from position 0.

. update to SensirionShdlcCommunication::receiveFrame - if an error frame is recieved, the data part of the frame should not be read even if the length is not 0.

`0.7.1`_ 2024-04-30

  • Add undefined low level error to avoid fallback to "Frame already contains data" error.
  • Fix missing low level error when not enough data available for I2C.

0.7.0 2024-04-09

  • Reduce error message size to 64 bytes
  • Fix i2c read buffer limitation

0.6.0 2022-06-22

  • Fix compiler warnings in SensirionErrors.cpp
  • Allow drivers to choose CRC function

0.5.3 2021-10-19

  • Add support for sensor specific errors
  • Update keywords.txt

0.5.2 2021-08-03

Fixed

  • Fix CRC insertion in SensirionI2CTxFrame when more then one parameter is sent to the sensor.

0.5.1 2021-07-08

Changed

  • Adjusted deprecation warnings

0.5.0 2021-07-07

Added

  • Enable SensirionTxFrame to incorporate Uint8 and Uint16 commands

0.4.3 2021-02-12

Added

  • Added const modifier to functions which process MOSI array data.

0.4.2 2021-01-29

Changed

  • Renamed the library header from SensirionCoreArduinoLibrary.h to SensirionCore.h. We keep the old header for legacy support.

0.4.1 2021-01-28

Fixed

  • Properly handle I2C write errors

0.4.0 2021-01-20

Added

  • Documentation for all functions.

Breaking

  • Change interface of errorToString() function to include length of the provided buffer.

Removed

  • Removed reset() function from SensirionI2CTxFrame since the functionality is not needed.

0.3.0 2021-01-13

Added

  • Core implementation for I2C communication. This includes a RX and TX frame and a I2C communication class.

Changed

  • SHDLC and I2C RX frame inherit from a RX frame base class.
  • ESP8266 test board from esp8266:esp8266:arduino to esp8266:esp8266:generic.
  • Sorted errors into general, SHDLC and I2C errors.
  • Replace C style casts with static_cast.

0.2.0 2021-01-11

Added

  • Explanation what SHDLC is in README.
  • SensirionErrors.h to SensirionCoreArduinoLibrary.h.
  • sendAndReceiveFrame() function to SensirionShdlcCommunication. This function combines sendFrame() and receiveFrame() into one function and adds additional error checking.

Changed

  • Rename DeviceError to ExecutionError.
  • Move check for execution error after the whole frame is read and checksum is checked. This prevents that a wrong checksum can't be displayed as an execution error.

Removed

  • reset() function from SensirionShdlcTxFrame and SensirionShdlcRxFrame, since one can just create a new frame object which has the same effect.

0.1.0 2021-01-07

  • Initial release