12-10-2019 07:39 PM
In the bsec_iot_init function, is this uint8_t bsec_config[BSEC_MAX_PROPERTY_BLOB_SIZE] = {"generic_33v_3s_4d"}; enough ?
12-11-2019 09:35 PM
Actually i think
bsec_config_len = config_load(bsec_config_iaq, sizeof(bsec_config_iaq));
if (bsec_config_len != 0) {
ret.bsec_status = bsec_set_configuration(bsec_config_iaq, bsec_config_len, work_buffer, sizeof(work_buffer));
if (ret.bsec_status != BSEC_OK)
{
return ret;
}
}
Actually this, with bsec_config_iaq from the *.c file, right?
12-18-2019 11:38 AM
If you successfully add the bsec_serialized_configurations_iaq.c/.h files to your compilation dependencies, your code snippet will indeed use the bsec_config_iaq array from the C file.