Skip to content

Commit b885583

Browse files
BST-Github-Adminkegov
authored andcommitted
Revised versioning. Updated BSEC library to v1.4.7.4. Added idleTask parameter to BSEC::begin. Added support to include multiple configurations.
1 parent b52445e commit b885583

File tree

25 files changed

+57
-52
lines changed

25 files changed

+57
-52
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## About BSEC
44

5-
Bosch Sensortec Environmental Cluster (BSEC) Software v1.4.7.3 released on April 10th, 2019
5+
Bosch Sensortec Environmental Cluster (BSEC) Software v1.4.7.4 released on July 3rd, 2019
66

77
The BSEC fusion library has been conceptualized to provide a higher-level signal processing and fusion for the BME680. The library receives compensated sensor values from the sensor API. It processes the BME680 signals to provide the requested sensor outputs.
88

examples/basic_config_state/basic_config_state.ino

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
#include <EEPROM.h>
22
#include "bsec.h"
3-
#include "bsec_serialized_configurations_iaq.h"
3+
/* Configure the BSEC library with information about the sensor
4+
* 18v/33v = Voltage at Vdd. 1.8V or 3.3V
5+
* 3s/300s = BSEC operating mode, BSEC_SAMPLE_RATE_LP or BSEC_SAMPLE_RATE_ULP
6+
* 4d/28d = Operating age of the sensor in days
7+
* generic_18v_3s_4d
8+
* generic_18v_3s_28d
9+
* generic_18v_300s_4d
10+
* generic_18v_300s_28d
11+
* generic_33v_3s_4d
12+
* generic_33v_3s_28d
13+
* generic_33v_300s_4d
14+
* generic_33v_300s_28d
15+
*/
16+
const uint8_t bsec_config_iaq[] = {
17+
#include "config/generic_33v_3s_4d/bsec_iaq.txt"
18+
};
419

520
#define STATE_SAVE_PERIOD UINT32_C(360 * 60 * 1000) // 360 minutes - 4 times a day
621

examples/basic_config_state/bsec_serialized_configurations_iaq.c

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/basic_config_state/bsec_serialized_configurations_iaq.h

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/basic_config_state_ulp_plus/basic_config_state_ulp_plus.ino

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
#include <EEPROM.h>
22
#include "bsec.h"
3-
#include "bsec_serialized_configurations_iaq.h"
3+
/* Configure the BSEC library with information about the sensor
4+
* 18v/33v = Voltage at Vdd. 1.8V or 3.3V
5+
* 3s/300s = BSEC operating mode, BSEC_SAMPLE_RATE_LP or BSEC_SAMPLE_RATE_ULP
6+
* 4d/28d = Operating age of the sensor in days
7+
* generic_18v_3s_4d
8+
* generic_18v_3s_28d
9+
* generic_18v_300s_4d
10+
* generic_18v_300s_28d
11+
* generic_33v_3s_4d
12+
* generic_33v_3s_28d
13+
* generic_33v_300s_4d
14+
* generic_33v_300s_28d
15+
*/
16+
const uint8_t bsec_config_iaq[] = {
17+
#include "config/generic_33v_3s_4d/bsec_iaq.txt"
18+
};
419

520
#define STATE_SAVE_PERIOD UINT32_C(360 * 60 * 1000) // 360 minutes - 4 times a day
621

@@ -185,7 +200,7 @@ void ulp_plus_button_press()
185200
*/
186201
Serial.println("Triggering ULP plus.");
187202
bsec_virtual_sensor_t sensorList[1] = {
188-
BSEC_OUTPUT_IAQ_ESTIMATE,
203+
BSEC_OUTPUT_IAQ,
189204
};
190205

191206
iaqSensor.updateSubscription(sensorList, 1, BSEC_SAMPLE_RATE_ULP_MEASUREMENT_ON_DEMAND);

examples/basic_config_state_ulp_plus/bsec_serialized_configurations_iaq.c

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/basic_config_state_ulp_plus/bsec_serialized_configurations_iaq.h

Lines changed: 0 additions & 4 deletions
This file was deleted.

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name=BSEC Software Library
2-
version=1.4.703
2+
version=1.2.1474
33
author=Bosch Sensortec
44
maintainer=Bosch Sensortec <[email protected]>
55
sentence=Bosch Sensortec Environmental Cluster (BSEC) Software library
66
url=https://www.bosch-sensortec.com/en/bst/products/all_products/bsec
77
paragraph= for use with the BME680 has been conceptualized to provide higher-level signal processing and fusion for the BME680. The library receives compensated sensor values from the sensor API. It processes the BME680 signals to provide the requested sensor outputs.
88
category=Sensors
9-
architectures=samd,sam,esp8266,nrf52,esp32
9+
architectures=samd,sam,esp8266,nrf52,esp32,avr
1010
includes=bsec.h
1111
precompiled=true
1212
ldflags=-lalgobsec

src/atmega2560/libalgobsec.a

740 Bytes
Binary file not shown.

src/bsec.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
* patent rights of the copyright holder.
4141
*
4242
* @file bsec.cpp
43-
* @date 20 May 2019
44-
* @version 1.1
43+
* @date 25 July 2019
44+
* @version 1.2.1474
4545
*
4646
*/
4747

@@ -88,13 +88,13 @@ void Bsec::begin(uint8_t devId, enum bme680_intf intf, bme680_com_fptr_t read, b
8888
/**
8989
* @brief Function to initialize the BSEC library and the BME680 sensor
9090
*/
91-
void Bsec::begin(uint8_t i2cAddr, TwoWire &i2c)
91+
void Bsec::begin(uint8_t i2cAddr, TwoWire &i2c, bme680_delay_fptr_t idleTask)
9292
{
9393
_bme680.dev_id = i2cAddr;
9494
_bme680.intf = BME680_I2C_INTF;
9595
_bme680.read = Bsec::i2cRead;
9696
_bme680.write = Bsec::i2cWrite;
97-
_bme680.delay_ms = Bsec::delay_ms;
97+
_bme680.delay_ms = idleTask;
9898
_bme680.amb_temp = 25;
9999
_bme680.power_mode = BME680_FORCED_MODE;
100100

@@ -106,13 +106,13 @@ void Bsec::begin(uint8_t i2cAddr, TwoWire &i2c)
106106
/**
107107
* @brief Function to initialize the BSEC library and the BME680 sensor
108108
*/
109-
void Bsec::begin(uint8_t chipSelect, SPIClass &spi)
109+
void Bsec::begin(uint8_t chipSelect, SPIClass &spi, bme680_delay_fptr_t idleTask)
110110
{
111111
_bme680.dev_id = chipSelect;
112112
_bme680.intf = BME680_SPI_INTF;
113113
_bme680.read = Bsec::spiTransfer;
114114
_bme680.write = Bsec::spiTransfer;
115-
_bme680.delay_ms = Bsec::delay_ms;
115+
_bme680.delay_ms = idleTask;
116116
_bme680.amb_temp = 25;
117117
_bme680.power_mode = BME680_FORCED_MODE;
118118

@@ -189,9 +189,9 @@ bool Bsec::run(void)
189189
uint16_t meas_dur = 0;
190190

191191
bme680_get_profile_dur(&meas_dur, &_bme680);
192-
delay_ms(meas_dur);
192+
_bme680.delay_ms(meas_dur);
193193

194-
newData = readProcessData(callTimeNs, bme680Settings);
194+
newData = readProcessData(callTimeNs + (meas_dur * INT64_C(1000000)), bme680Settings);
195195
}
196196

197197
return newData;

src/bsec.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
* patent rights of the copyright holder.
4141
*
4242
* @file bsec.h
43-
* @date 20 May 2019
44-
* @version 1.1
43+
* @date 25 July 2019
44+
* @version 1.2.1474
4545
*
4646
*/
4747

@@ -92,15 +92,17 @@ class Bsec
9292
* @brief Function to initialize the BSEC library and the BME680 sensor
9393
* @param i2cAddr : I2C address
9494
* @param i2c : Pointer to the TwoWire object
95+
* @param idleTask : Task to be called when idling
9596
*/
96-
void begin(uint8_t i2cAddr, TwoWire &i2c);
97+
void begin(uint8_t i2cAddr, TwoWire &i2c, bme680_delay_fptr_t idleTask = delay_ms);
9798

9899
/**
99100
* @brief Function to initialize the BSEC library and the BME680 sensor
100101
* @param chipSelect : SPI chip select
101102
* @param spi : Pointer to the SPIClass object
103+
* @param idleTask : Task to be called when idling
102104
*/
103-
void begin(uint8_t chipSelect, SPIClass &spi);
105+
void begin(uint8_t chipSelect, SPIClass &spi, bme680_delay_fptr_t idleTask = delay_ms);
104106

105107
/**
106108
* @brief Function that sets the desired sensors and the sample rates
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,168,19,73,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,7,240,150,61,0,0,0,0,0,0,0,0,28,124,225,61,52,128,215,63,0,0,160,64,0,0,0,0,0,0,0,0,205,204,12,62,103,213,39,62,230,63,76,192,0,0,0,0,0,0,0,0,145,237,60,191,251,58,64,63,177,80,131,64,0,0,0,0,0,0,0,0,93,254,227,62,54,60,133,191,0,0,64,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,48,117,0,0,0,0,133,135,0,0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,192,168,71,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,7,240,150,61,0,0,0,0,0,0,0,0,28,124,225,61,52,128,215,63,0,0,160,64,0,0,0,0,0,0,0,0,205,204,12,62,103,213,39,62,230,63,76,192,0,0,0,0,0,0,0,0,145,237,60,191,251,58,64,63,177,80,131,64,0,0,0,0,0,0,0,0,93,254,227,62,54,60,133,191,0,0,64,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,48,117,0,0,0,0,166,224,0,0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,168,19,73,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,229,208,34,62,0,0,0,0,0,0,0,0,218,27,156,62,225,11,67,64,0,0,160,64,0,0,0,0,0,0,0,0,94,75,72,189,93,254,159,64,66,62,160,191,0,0,0,0,0,0,0,0,33,31,180,190,138,176,97,64,65,241,99,190,0,0,0,0,0,0,0,0,167,121,71,61,165,189,41,192,184,30,189,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,48,117,0,0,0,0,59,62,0,0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,192,168,71,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,229,208,34,62,0,0,0,0,0,0,0,0,218,27,156,62,225,11,67,64,0,0,160,64,0,0,0,0,0,0,0,0,94,75,72,189,93,254,159,64,66,62,160,191,0,0,0,0,0,0,0,0,33,31,180,190,138,176,97,64,65,241,99,190,0,0,0,0,0,0,0,0,167,121,71,61,165,189,41,192,184,30,189,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,48,117,0,0,0,0,24,89,0,0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,168,19,73,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,229,208,34,62,0,0,0,0,0,0,0,0,218,27,156,62,225,11,67,64,0,0,160,64,0,0,0,0,0,0,0,0,94,75,72,189,93,254,159,64,66,62,160,191,0,0,0,0,0,0,0,0,33,31,180,190,138,176,97,64,65,241,99,190,0,0,0,0,0,0,0,0,167,121,71,61,165,189,41,192,184,30,189,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,44,1,0,0,0,0,169,55,0,0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4,7,4,1,61,0,0,0,0,0,0,0,174,1,0,0,48,0,1,0,0,192,168,71,64,49,119,76,0,0,225,68,137,65,0,63,205,204,204,62,0,0,64,63,205,204,204,62,0,0,0,0,216,85,0,100,0,0,0,0,0,0,0,0,28,0,2,0,0,244,1,225,0,25,0,0,128,64,0,0,32,65,144,1,0,0,112,65,0,0,0,63,16,0,3,0,10,215,163,60,10,215,35,59,10,215,35,59,9,0,5,0,0,0,0,0,1,88,0,9,0,229,208,34,62,0,0,0,0,0,0,0,0,218,27,156,62,225,11,67,64,0,0,160,64,0,0,0,0,0,0,0,0,94,75,72,189,93,254,159,64,66,62,160,191,0,0,0,0,0,0,0,0,33,31,180,190,138,176,97,64,65,241,99,190,0,0,0,0,0,0,0,0,167,121,71,61,165,189,41,192,184,30,189,64,12,0,10,0,0,0,0,0,0,0,0,0,229,0,254,0,2,1,5,48,117,100,0,44,1,112,23,151,7,132,3,197,0,92,4,144,1,64,1,64,1,144,1,48,117,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,48,117,48,117,100,0,100,0,100,0,100,0,48,117,48,117,48,117,100,0,100,0,100,0,48,117,48,117,100,0,100,0,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,112,23,255,255,255,255,255,255,255,255,220,5,220,5,220,5,255,255,255,255,255,255,220,5,220,5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,44,1,0,0,0,0,138,80,0,0

src/cortex-m0/libalgobsec.a

396 Bytes
Binary file not shown.

src/cortex-m0plus/libalgobsec.a

396 Bytes
Binary file not shown.

src/cortex-m3/libalgobsec.a

392 Bytes
Binary file not shown.
Binary file not shown.

src/cortex-m4/libalgobsec.a

392 Bytes
Binary file not shown.

src/esp32/libalgobsec.a

1.26 KB
Binary file not shown.

src/esp8266/libalgobsec.a

1.25 KB
Binary file not shown.

src/inc/bsec_datatypes.h

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,8 @@ extern "C"
9090
#define BSEC_MAX_STATE_BLOB_SIZE (139) /*!< Maximum size (in bytes) of the data blobs returned by bsec_get_state()*/
9191
#define BSEC_SAMPLE_RATE_DISABLED (65535.0f) /*!< Sample rate of a disabled sensor */
9292
#define BSEC_SAMPLE_RATE_ULP (0.0033333f) /*!< Sample rate in case of Ultra Low Power Mode */
93-
#define BSEC_SAMPLE_RATE_CONTINUOUS (1.0f) /*!< Sample rate in case of Continuous Mode */
9493
#define BSEC_SAMPLE_RATE_LP (0.33333f) /*!< Sample rate in case of Low Power Mode */
95-
#define BSEC_SAMPLE_RATE_ULP_MEASUREMENT_ON_DEMAND (0.0f) /*!< Input value used to trigger an extra measurement (ULP plus) */
96-
#define BSEC_SAMPLE_RATE_HIGH_PERFORMANCE (0.055556f) /*!< Sample rate in case of high performance */
97-
#define SAMPLE_INTVL_CUSTOM_TPH (0.066667f) /*!< Sample rate in case of custom TPH mode */
98-
#define SAMPLE_INTVL_CUSTOM_G (0.016667f) /*!< Sample rate in case of custom G mode */
94+
#define BSEC_SAMPLE_RATE_ULP_MEASUREMENT_ON_DEMAND (0.0f) /*!< Input value used to trigger an extra measurment (ULP plus) */
9995

10096
#define BSEC_PROCESS_PRESSURE (1 << (BSEC_INPUT_PRESSURE-1)) /*!< process_data bitfield constant for pressure @sa bsec_bme_settings_t */
10197
#define BSEC_PROCESS_TEMPERATURE (1 << (BSEC_INPUT_TEMPERATURE-1)) /*!< process_data bitfield constant for temperature @sa bsec_bme_settings_t */
@@ -165,12 +161,6 @@ typedef enum
165161
* Generic heat source 8
166162
*/
167163

168-
/**
169-
* @brief Internal input for measure on demand
170-
*
171-
* Value indicates, if a measurement is a mod (measurement on demand)
172-
*/
173-
BSEC_INPUT_IS_MEASUREMENT_ON_DEMAND = 22, /*!< reserved internal debug input */
174164

175165
/**
176166
* @brief Additional input that disables baseline tracker
@@ -181,11 +171,6 @@ typedef enum
181171
*/
182172
BSEC_INPUT_DISABLE_BASELINE_TRACKER = 23,
183173

184-
/**
185-
* @brief Additional input that provides information about the state of the profile (1-9)
186-
*
187-
*/
188-
BSEC_INPUT_PROFILE_PART = 24
189174
} bsec_physical_sensor_t;
190175

191176
/*!

0 commit comments

Comments
 (0)