Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SEN55 download sample config & Prepare Bugfix #14

Merged
merged 2 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.5.1] - 2024-12-11

### Fixed

- Fix download definition T_RH_VOC_NOX_PM25 to only have 1 sample per download pack.
With 2 there was a buffer overflow leading to a crash when starting a data download
for a gadget built with arduino-ble-gadget using T_RH_VOC_NOX_PM25 (e.g. SEN55 Example)
The fixed definition is supported by MyAmbience Version 3.5.0 onwards.

## [0.5.0] - 2024-09-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Sensirion UPT Core
version=0.5.0
version=0.5.1
author=Jonas Stolle, Maximilian Paulsen
maintainer=Sensirion AG <sensirion.com>
sentence=Library for definitions and configurations used by other Sensirion Unified Prototyping Toolkit (UPT) libraries.
Expand Down
2 changes: 1 addition & 1 deletion src/BLEProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ std::map<DataType, SampleConfig> sampleConfigSelector = {
.downloadType = 23,
.sampleType = 24,
.sampleSizeBytes = 10,
.sampleCountPerPacket = 2,
.sampleCountPerPacket = 1,
.sensirionAdvertisementSampleType = 0,
.sampleSlots = {{SignalType::TEMPERATURE_DEGREES_CELSIUS,
{.signalType = SignalType::TEMPERATURE_DEGREES_CELSIUS,
Expand Down
Loading