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
- Fix CRC insertion in
SensirionI2CTxFrame
when more then one parameter is sent to the sensor.
0.5.1 2021-07-08
- Adjusted deprecation warnings
0.5.0 2021-07-07
- Enable SensirionTxFrame to incorporate Uint8 and Uint16 commands
0.4.3 2021-02-12
- Added
const
modifier to functions which process MOSI array data.
0.4.2 2021-01-29
- Renamed the library header from
SensirionCoreArduinoLibrary.h
toSensirionCore.h
. We keep the old header for legacy support.
0.4.1 2021-01-28
- Properly handle I2C write errors
0.4.0 2021-01-20
- Documentation for all functions.
- Change interface of
errorToString()
function to include length of the provided buffer.
- Removed
reset()
function fromSensirionI2CTxFrame
since the functionality is not needed.
0.3.0 2021-01-13
- Core implementation for I2C communication. This includes a RX and TX frame and a I2C communication class.
- 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
- Explanation what SHDLC is in README.
SensirionErrors.h
toSensirionCoreArduinoLibrary.h
.sendAndReceiveFrame()
function toSensirionShdlcCommunication
. This function combinessendFrame()
andreceiveFrame()
into one function and adds additional error checking.
- 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.
reset()
function fromSensirionShdlcTxFrame
andSensirionShdlcRxFrame
, since one can just create a new frame object which has the same effect.
0.1.0 2021-01-07
- Initial release