Skip to content
Snippets Groups Projects
Commit 7aff4dcd authored by schneider's avatar schneider
Browse files

fix(bsec): Update configuration

parent 654fc85d
No related branches found
No related tags found
1 merge request!380BSEC support
......@@ -29,10 +29,10 @@ static struct bsec_sensor_data last_bsec_data;
// From generic_18v_3s_4d/bsec_serialized_configurations_iaq.c
static const uint8_t bsec_config_generic_18v_3s_4d[454] = {
4, 7, 4, 1, 61, 0, 0, 0, 0, 0, 0, 0, 174, 1,
0, 8, 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, 225, 68, 137, 65, 0, 191, 205, 204, 204, 190, 0, 0,
64, 191, 225, 122, 148, 190, 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,
......@@ -61,7 +61,7 @@ static const uint8_t bsec_config_generic_18v_3s_4d[454] = {
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, 52, 233, 0, 0
0, 0, 83, 141, 0, 0
};
/*!
......@@ -403,7 +403,7 @@ int bsec_activate(void)
/* Could not intialize BME680 */
return -1;
} else if (ret.bsec_status) {
LOG_WARN("bsec", "bsec init failed");
LOG_WARN("bsec", "bsec init failed %d", ret.bsec_status);
/* Could not intialize BSEC library */
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment