Skip to content

Commit

Permalink
Merge pull request #14 from Sensirion/fix-sen55-download-sample-config
Browse files Browse the repository at this point in the history
Fix SEN55 download sample config & Prepare Bugfix
  • Loading branch information
LeonieFierz authored Dec 12, 2024
2 parents 851af7a + f8f71f8 commit e47406b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
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

0 comments on commit e47406b

Please sign in to comment.