Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BME680 BSEC no gas readings

    BME680 BSEC no gas readings

    twlawrenceko
    New Poster

    Hello,

    We are implementing BME680 with BSEC on ESP32 with ESP-IDF complier. We have managed to get all libraries working but do not get valid results but only temperature. 

    Below is the log output from BME680.

    I (20) BME680: BME680 and BSEC intialized
    sensor_settings->next_call: 0
    sensor_settings->process_data: 0
    sensor_settings->heater_temperature: 0
    sensor_settings->heating_duration: 0
    sensor_settings->run_gas: 0
    sensor_settings->pressure_oversampling: 0
    sensor_settings->temperature_oversampling: 0
    sensor_settings->humidity_oversampling: 0
    sensor_settings->trigger_measurement: 0
    I (290) BME680: Timestamp: 192000000
    I (290) BME680: IAQ: 0.000000
    I (290) BME680: IAQ Accuracy: 0
    I (290) BME680: Temperature: 26.059999
    I (300) BME680: Humidity: 100.000000
    I (300) BME680: Pressure: 101773.000000
    I (310) BME680: Raw Temperature: 26.059999
    I (310) BME680: Raw Humidity: 100.000000
    I (310) BME680: Gas: 0.000000
    I (320) BME680: Static IAQ: 0.000000
    I (320) BME680: CO2 Equivalent: 0.000000
    I (330) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2687
    sensor_settings->next_call: 3192000000
    sensor_settings->process_data: 15
    sensor_settings->heater_temperature: 320
    sensor_settings->heating_duration: 197
    sensor_settings->run_gas: 1
    sensor_settings->pressure_oversampling: 5
    sensor_settings->temperature_oversampling: 2
    sensor_settings->humidity_oversampling: 1
    sensor_settings->trigger_measurement: 1
    I (3280) BME680: Timestamp: 3193000000
    I (3280) BME680: IAQ: 0.000000
    I (3280) BME680: IAQ Accuracy: 0
    I (3280) BME680: Temperature: 26.070000
    I (3290) BME680: Humidity: 99.953461
    I (3290) BME680: Pressure: 101775.000000
    I (3300) BME680: Raw Temperature: 26.070000
    I (3300) BME680: Raw Humidity: 100.000000
    I (3310) BME680: Gas: 0.000000
    I (3310) BME680: Static IAQ: 0.000000
    I (3310) BME680: CO2 Equivalent: 0.000000
    I (3320) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2697
    sensor_settings->next_call: 6193000000
    sensor_settings->process_data: 15
    sensor_settings->heater_temperature: 320
    sensor_settings->heating_duration: 197
    sensor_settings->run_gas: 1
    sensor_settings->pressure_oversampling: 5
    sensor_settings->temperature_oversampling: 2
    sensor_settings->humidity_oversampling: 1
    sensor_settings->trigger_measurement: 1
    I (6280) BME680: Timestamp: 6193000000
    I (6280) BME680: IAQ: 0.000000
    I (6280) BME680: IAQ Accuracy: 0
    I (6280) BME680: Temperature: 26.059999
    I (6290) BME680: Humidity: 100.000000
    I (6290) BME680: Pressure: 101775.000000
    I (6300) BME680: Raw Temperature: 26.059999
    I (6300) BME680: Raw Humidity: 100.000000
    I (6310) BME680: Gas: 0.000000
    I (6310) BME680: Static IAQ: 0.000000
    I (6310) BME680: CO2 Equivalent: 0.000000
    I (6320) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2697
    sensor_settings->next_call: 9193000000
    sensor_settings->process_data: 15
    sensor_settings->heater_temperature: 320
    sensor_settings->heating_duration: 197
    sensor_settings->run_gas: 1
    sensor_settings->pressure_oversampling: 5
    sensor_settings->temperature_oversampling: 2
    sensor_settings->humidity_oversampling: 1
    sensor_settings->trigger_measurement: 1
    I (9280) BME680: Timestamp: 9193000000
    I (9280) BME680: IAQ: 0.000000
    I (9280) BME680: IAQ Accuracy: 0
    I (9280) BME680: Temperature: 26.070000
    I (9290) BME680: Humidity: 99.961250
    I (9290) BME680: Pressure: 101775.000000
    I (9300) BME680: Raw Temperature: 26.070000
    I (9300) BME680: Raw Humidity: 100.000000
    I (9310) BME680: Gas: 0.000000
    I (9310) BME680: Static IAQ: 0.000000
    I (9310) BME680: CO2 Equivalent: 0.000000
    I (9320) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2697
    sensor_settings->next_call: 12193000000
    sensor_settings->process_data: 15
    sensor_settings->heater_temperature: 320
    sensor_settings->heating_duration: 197
    sensor_settings->run_gas: 1
    sensor_settings->pressure_oversampling: 5
    sensor_settings->temperature_oversampling: 2
    sensor_settings->humidity_oversampling: 1
    sensor_settings->trigger_measurement: 1
    I (12280) BME680: Timestamp: 12193000000
    I (12280) BME680: IAQ: 0.000000
    I (12280) BME680: IAQ Accuracy: 0
    I (12280) BME680: Temperature: 26.070000
    I (12290) BME680: Humidity: 99.969490
    I (12290) BME680: Pressure: 101773.000000
    I (12300) BME680: Raw Temperature: 26.070000
    I (12300) BME680: Raw Humidity: 100.000000
    I (12310) BME680: Gas: 0.000000
    I (12310) BME680: Static IAQ: 0.000000
    I (12310) BME680: CO2 Equivalent: 0.000000
    I (12320) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2696

     

    One thing that might cause the trouble can be the incorrect read and write of I2C in ESP-IDF. 

    int8_t bus_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
        uint8_t write_buf[2] = {reg_addr, *reg_data_ptr};
        i2c_master_write_to_device(I2C_MASTER_NUM, dev_addr, write_buf, sizeof(write_buf), I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        return 0;
    }
    
    int8_t bus_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
        i2c_master_write_read_device(I2C_MASTER_NUM, dev_addr, &reg_addr, 1, reg_data_ptr, (size_t) data_len, I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        return 0;
    }

    Here we are guessing the BME680 will read the next register value itself (i.e. data_len=2 meaning with reg_addr set to 0x1D, it will jump to 0x1F (note there is no register 0x1E) itself.

    However, for the write it is tricky to get it implemented based on ESP-IDF as a modification needs to be made to the array. We have tried to use a for loop as below, but the result does not change. Also, this is not a good approach if a register is missing (like the 0x1E case mentioned above)

    int8_t bus_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
        // ...
        // Please insert system specific function to write to the bus where BME680 is connected
        // ...
    
        ESP_LOGI(BSECTAG, "Expecting to write %u bytes, bus_write starting to dev_addr=0x%X reg_addr=0x%X with data=0x%X...", data_len, dev_addr, reg_addr, *reg_data_ptr);
        BSEC API will burst write many bytes followed by the next register.
        for (int i = 0; i < data_len; i++)
        {
            uint8_t write_buf[2] = {reg_addr+i, reg_data_ptr[i]};
            ESP_LOGI(BSECTAG, "Writing to reg 0x%X with data 0x%X", reg_addr+i, reg_data_ptr[i]);
            ESP_ERROR_CHECK(i2c_master_write_to_device(I2C_MASTER_NUM, dev_addr, write_buf, sizeof(write_buf), I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS));
        }
        
    
        return 0;
    }

      

    Based on the information above, I cannot find out any other reason why other values are not showing up but only temperature, which seems correct and tested with hair dryer.

     

    The other thing that has not been implemented are the state_loadstate_save, and config_load, which are saving the configs to NVM, but I do not believe that should be a problem.

     

    Thank you.

    7 REPLIES 7

    BSTRobin
    Community Moderator
    Community Moderator

    Hello ,

    There are two points to check.

    1.Compare the following code, check I2C address on you side.

    /* Fixed I2C configuration */
    bme680_g.dev_id = BME680_I2C_ADDR_SECONDARY;
    bme680_g.intf = BME680_I2C_INTF;
    /* User configurable I2C configuration */
    bme680_g.write = bus_write;
    bme680_g.read = bus_read;
    bme680_g.delay_ms = sleep;

    /* Initialize BME680 API */
    ret.bme680_status = bme680_init(&bme680_g);

    /*!
    * @brief Write operation in either I2C or SPI
    *
    * param[in] dev_addr I2C or SPI device address
    * param[in] reg_addr register address
    * param[in] reg_data_ptr pointer to the data to be written
    * param[in] data_len number of bytes to be written
    *
    * @return result of the bus communication function
    */
    int8_t bus_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
    SensorAPI_I2Cx_Write(dev_addr, reg_addr, reg_data_ptr, data_len);

    return 0;
    }

    /*!
    * @brief Read operation in either I2C or SPI
    *
    * param[in] dev_addr I2C or SPI device address
    * param[in] reg_addr register address
    * param[out] reg_data_ptr pointer to the memory to be used to store the read data
    * param[in] data_len number of bytes to be read
    *
    * @return result of the bus communication function
    */
    int8_t bus_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
    SensorAPI_I2Cx_Read(dev_addr, reg_addr, reg_data_ptr, data_len);

    return 0;
    }

    uint8_t GTXBuffer[512], GRXBuffer[2048];

    int8_t SensorAPI_I2Cx_Read(uint8_t slave_address7, uint8_t subaddress, uint8_t *pBuffer, uint16_t ReadNumbr)
    {
    uint16_t DevAddress = slave_address7 << 1;

    // send register address
    HAL_I2C_Master_Transmit(&I2C_HANDLE, DevAddress, &subaddress, 1, BUS_TIMEOUT);
    HAL_I2C_Master_Receive(&I2C_HANDLE, DevAddress, pBuffer, ReadNumbr, BUS_TIMEOUT);
    return 0;
    }

    int8_t SensorAPI_I2Cx_Write(uint8_t slave_address7, uint8_t subaddress, uint8_t *pBuffer, uint16_t WriteNumbr)
    {
    uint16_t DevAddress = slave_address7 << 1;

    GTXBuffer[0] = subaddress;
    memcpy(&GTXBuffer[1], pBuffer, WriteNumbr);

    // send register address
    HAL_I2C_Master_Transmit(&I2C_HANDLE, DevAddress, GTXBuffer, WriteNumbr+1, BUS_TIMEOUT);
    return 0;
    }

    2.Ensure you provide correct timestamp to BSEC.

    /*!
    * @brief Capture the system time in microseconds
    *
    * @return system_current_time current system timestamp in microseconds
    */
    int64_t get_timestamp_us()
    {
    int64_t system_current_time = 0;
    // ...
    // Please insert system specific function to retrieve a timestamp (in microseconds)
    // ...
    uint32_t tick;
    tick = HAL_GetTick();
    system_current_time = 1000*(int64_t)tick;
    return system_current_time;
    }

    Hello,

    1. The I2C address for our BME680 is 0x76, which I believe it should be using BME680_I2C_ADDR_PRIMARY. However, using either one did not work.

    The current program looks like below:

     

    uint8_t GTXBuffer[512], GRXBuffer[2048];
    int8_t sensorAPI_i2c_write(uint8_t slave_addr7, uint8_t sub_addr, uint8_t *ptrBuffer, uint16_t write_num)
    {
        uint16_t dev_addr = slave_addr7 << 1;
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write slave_addr7: 0x%X", slave_addr7);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write sub_addr: 0x%X", sub_addr);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write dev_addr: 0x%X", dev_addr);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write write_num: %u", write_num);
        GTXBuffer[0] = sub_addr;
        memcpy(&GTXBuffer[1], ptrBuffer, write_num);
    
        // send register addr
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write: Ready to write to device");
        i2c_master_write_to_device(I2C_MASTER_NUM, dev_addr, GTXBuffer, write_num+1, I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_write: Done writing to device");
        return 0;
    }
    
    /*!
     * @brief           Write operation in either I2C or SPI
     *
     * param[in]        dev_addr        I2C or SPI device address
     * param[in]        reg_addr        register address
     * param[in]        reg_data_ptr    pointer to the data to be written
     * param[in]        data_len        number of bytes to be written
     *
     * @return          result of the bus communication function
     */
    int8_t bus_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
        // ...
        // Please insert system specific function to write to the bus where BME680 is connected
        // ...
        sensorAPI_i2c_write(dev_addr, reg_addr, reg_data_ptr, data_len);
        // uint8_t write_buf[2] = {reg_addr, *reg_data_ptr};
        // i2c_master_write_to_device(I2C_MASTER_NUM, dev_addr, write_buf, sizeof(write_buf), I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        return 0;
    }
    
    int8_t sensorAPI_i2c_read(uint8_t slave_addr7, uint8_t sub_addr, uint8_t *ptrBuffer, uint16_t read_num)
    {
        uint16_t dev_addr = slave_addr7 << 1;
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read slave_addr7: 0x%X", slave_addr7);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read sub_addr: 0x%X", sub_addr);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read dev_addr: 0x%X", dev_addr);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read read_num: %u", read_num);
        //send register addr
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read: Ready to write to device");
        i2c_master_write_to_device(I2C_MASTER_NUM, dev_addr, &sub_addr, 1, I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read: Done write to device");
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read: Ready to read from device");
        i2c_master_read_from_device(I2C_MASTER_NUM, dev_addr, ptrBuffer, read_num, I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        ESP_LOGI(BSECTAG, "sensorAPI_i2c_read: Done read from device");
        return 0;
    }
    
    /*!
     * @brief           Read operation in either I2C or SPI
     *
     * param[in]        dev_addr        I2C or SPI device address
     * param[in]        reg_addr        register address
     * param[out]       reg_data_ptr    pointer to the memory to be used to store the read data
     * param[in]        data_len        number of bytes to be read
     *
     * @return          result of the bus communication function
     */
    int8_t bus_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data_ptr, uint16_t data_len)
    {
        // ...
        // Please insert system specific function to read from bus where BME680 is connected
        // ...
        sensorAPI_i2c_read(dev_addr, reg_addr, reg_data_ptr, data_len);
        // i2c_master_write_read_device(I2C_MASTER_NUM, dev_addr, &reg_addr, 1, reg_data_ptr, (size_t) data_len, I2C_MASTER_TIMEOUT_MS / portTICK_RATE_MS);
        return 0;
    }

     

    With BME680_I2C_ADDR_PRIMARY, we got below result:

     

    I (0) i2c-simple-example: I2C initialized successfully
    I (10) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (10) BME680: sensorAPI_i2c_write sub_addr: 0xE0
    I (20) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (20) BME680: sensorAPI_i2c_write write_num: 1
    I (30) BME680: sensorAPI_i2c_write: Ready to write to device
    I (30) BME680: sensorAPI_i2c_write: Done writing to device
    I (409) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (409) BME680: sensorAPI_i2c_read sub_addr: 0xD0
    I (409) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (419) BME680: sensorAPI_i2c_read read_num: 1
    I (419) BME680: sensorAPI_i2c_read: Ready to write to device
    I (429) BME680: sensorAPI_i2c_read: Done write to device
    I (429) BME680: sensorAPI_i2c_read: Ready to read from device
    I (1439) BME680: sensorAPI_i2c_read: Done read from device
    ret.bme680_status != BME680_OK
    I (1439) BME680: Could not intialize BME680
    E (1439) FreeRTOS: FreeRTOS Task "bme680_task" should not return, Aborting now!
    
    abort() was called at PC 0x40088e9b on core 0
    0x40088e9b: vPortTaskWrapper at /home/espuser/esp/esp-idf/components/freertos/port/xtensa/port.c:134
    
    
    
    Backtrace:0x4008191a:0x3ffb9be00x4008632d:0x3ffb9c00 0x4008b3e6:0x3ffb9c20 0x40088e9b:0x3ffb9c90 
    0x4008191a: panic_abort at /home/espuser/esp/esp-idf/components/esp_system/panic.c:402
    
    0x4008632d: esp_system_abort at /home/espuser/esp/esp-idf/components/esp_system/esp_system.c:129
    
    0x4008b3e6: abort at /home/espuser/esp/esp-idf/components/newlib/abort.c:46
    
    0x40088e9b: vPortTaskWrapper at /home/espuser/esp/esp-idf/components/freertos/port/xtensa/port.c:134
    
    
    
    
    
    ELF file SHA256: a34ab0ddb0b2922c
    
    Rebooting...

     

     

    With BME680_I2C_ADDR_SECONDARY, we got below result:

     

    I (0) i2c-simple-example: I2C initialized successfully
    I (10) BME680: sensorAPI_i2c_write slave_addr7: 0x77
    I (10) BME680: sensorAPI_i2c_write sub_addr: 0xE0
    I (20) BME680: sensorAPI_i2c_write dev_addr: 0xEE
    I (20) BME680: sensorAPI_i2c_write write_num: 1
    I (30) BME680: sensorAPI_i2c_write: Ready to write to device
    I (30) BME680: sensorAPI_i2c_write: Done writing to device
    I (409) BME680: sensorAPI_i2c_read slave_addr7: 0x77
    I (409) BME680: sensorAPI_i2c_read sub_addr: 0xD0
    I (409) BME680: sensorAPI_i2c_read dev_addr: 0xEE
    I (419) BME680: sensorAPI_i2c_read read_num: 1
    I (419) BME680: sensorAPI_i2c_read: Ready to write to device
    I (429) BME680: sensorAPI_i2c_read: Done write to device
    I (429) BME680: sensorAPI_i2c_read: Ready to read from device
    I (1439) BME680: sensorAPI_i2c_read: Done read from device
    ret.bme680_status != BME680_OK
    I (1439) BME680: Could not intialize BME680
    E (1439) FreeRTOS: FreeRTOS Task "bme680_task" should not return, Aborting now!
    
    abort() was called at PC 0x40088e9b on core 0
    0x40088e9b: vPortTaskWrapper at /home/espuser/esp/esp-idf/components/freertos/port/xtensa/port.c:134
    
    
    
    Backtrace:0x4008191a:0x3ffb9be00x4008632d:0x3ffb9c00 0x4008b3e6:0x3ffb9c20 0x40088e9b:0x3ffb9c90 
    0x4008191a: panic_abort at /home/espuser/esp/esp-idf/components/esp_system/panic.c:402
    
    0x4008632d: esp_system_abort at /home/espuser/esp/esp-idf/components/esp_system/esp_system.c:129
    
    0x4008b3e6: abort at /home/espuser/esp/esp-idf/components/newlib/abort.c:46
    
    0x40088e9b: vPortTaskWrapper at /home/espuser/esp/esp-idf/components/freertos/port/xtensa/port.c:134
    
    
    
    
    
    ELF file SHA256: ab4ed772af731c60
    
    Rebooting...

     

     

    Notice the dev_addr is not 0x76 anymore as the suggested left shift by 1.

     

    2. The measurement of ms should be correct as we are getting a measurement every 3 seconds.

    Solved by swapping the dev_addr to slave_addr7.

     

    Below is the result:

    I (0) i2c-simple-example: I2C initialized successfully
    I (10) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (10) BME680: sensorAPI_i2c_write sub_addr: 0xE0
    I (20) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (20) BME680: sensorAPI_i2c_write write_num: 1
    I (30) BME680: sensorAPI_i2c_write: Ready to write to device
    I (30) BME680: sensorAPI_i2c_write: Done writing to device
    I (409) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (409) BME680: sensorAPI_i2c_read sub_addr: 0xD0
    I (409) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (419) BME680: sensorAPI_i2c_read read_num: 1
    I (419) BME680: sensorAPI_i2c_read: Ready to write to device
    I (429) BME680: sensorAPI_i2c_read: Done write to device
    I (429) BME680: sensorAPI_i2c_read: Ready to read from device
    I (439) BME680: sensorAPI_i2c_read: Done read from device
    I (449) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (449) BME680: sensorAPI_i2c_read sub_addr: 0x89
    I (459) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (459) BME680: sensorAPI_i2c_read read_num: 25
    I (469) BME680: sensorAPI_i2c_read: Ready to write to device
    I (469) BME680: sensorAPI_i2c_read: Done write to device
    I (479) BME680: sensorAPI_i2c_read: Ready to read from device
    I (489) BME680: sensorAPI_i2c_read: Done read from device
    I (489) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (499) BME680: sensorAPI_i2c_read sub_addr: 0xE1
    I (499) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (509) BME680: sensorAPI_i2c_read read_num: 16
    I (509) BME680: sensorAPI_i2c_read: Ready to write to device
    I (519) BME680: sensorAPI_i2c_read: Done write to device
    I (529) BME680: sensorAPI_i2c_read: Ready to read from device
    I (529) BME680: sensorAPI_i2c_read: Done read from device
    I (539) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (539) BME680: sensorAPI_i2c_read sub_addr: 0x2
    I (549) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (559) BME680: sensorAPI_i2c_read read_num: 1
    I (559) BME680: sensorAPI_i2c_read: Ready to write to device
    I (569) BME680: sensorAPI_i2c_read: Done write to device
    I (569) BME680: sensorAPI_i2c_read: Ready to read from device
    I (579) BME680: sensorAPI_i2c_read: Done read from device
    I (589) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (589) BME680: sensorAPI_i2c_read sub_addr: 0x0
    I (599) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (599) BME680: sensorAPI_i2c_read read_num: 1
    I (609) BME680: sensorAPI_i2c_read: Ready to write to device
    I (609) BME680: sensorAPI_i2c_read: Done write to device
    I (619) BME680: sensorAPI_i2c_read: Ready to read from device
    I (629) BME680: sensorAPI_i2c_read: Done read from device
    I (629) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (639) BME680: sensorAPI_i2c_read sub_addr: 0x4
    I (639) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (649) BME680: sensorAPI_i2c_read read_num: 1
    I (649) BME680: sensorAPI_i2c_read: Ready to write to device
    I (659) BME680: sensorAPI_i2c_read: Done write to device
    I (669) BME680: sensorAPI_i2c_read: Ready to read from device
    I (669) BME680: sensorAPI_i2c_read: Done read from device
    ret.bme680_status = BME680_OK
    I (679) BME680: BME680 and BSEC intialized
    I (689) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (689) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (699) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (699) BME680: sensorAPI_i2c_write write_num: 3
    I (709) BME680: sensorAPI_i2c_write: Ready to write to device
    I (709) BME680: sensorAPI_i2c_write: Done writing to device
    I (719) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (729) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (729) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (739) BME680: sensorAPI_i2c_read read_num: 1
    I (739) BME680: sensorAPI_i2c_read: Ready to write to device
    I (749) BME680: sensorAPI_i2c_read: Done write to device
    I (749) BME680: sensorAPI_i2c_read: Ready to read from device
    I (759) BME680: sensorAPI_i2c_read: Done read from device
    I (769) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (769) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (779) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (779) BME680: sensorAPI_i2c_read read_num: 1
    I (789) BME680: sensorAPI_i2c_read: Ready to write to device
    I (789) BME680: sensorAPI_i2c_read: Done write to device
    I (799) BME680: sensorAPI_i2c_read: Ready to read from device
    I (809) BME680: sensorAPI_i2c_read: Done read from device
    I (809) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (819) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (819) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (829) BME680: sensorAPI_i2c_read read_num: 1
    I (829) BME680: sensorAPI_i2c_read: Ready to write to device
    I (839) BME680: sensorAPI_i2c_read: Done write to device
    I (849) BME680: sensorAPI_i2c_read: Ready to read from device
    I (849) BME680: sensorAPI_i2c_read: Done read from device
    I (859) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (859) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (869) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (879) BME680: sensorAPI_i2c_read read_num: 1
    I (879) BME680: sensorAPI_i2c_read: Ready to write to device
    I (889) BME680: sensorAPI_i2c_read: Done write to device
    I (889) BME680: sensorAPI_i2c_read: Ready to read from device
    I (899) BME680: sensorAPI_i2c_read: Done read from device
    I (909) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (909) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (919) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (919) BME680: sensorAPI_i2c_write write_num: 5
    I (929) BME680: sensorAPI_i2c_write: Ready to write to device
    I (929) BME680: sensorAPI_i2c_write: Done writing to device
    I (939) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (949) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (949) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (959) BME680: sensorAPI_i2c_read read_num: 1
    I (959) BME680: sensorAPI_i2c_read: Ready to write to device
    I (969) BME680: sensorAPI_i2c_read: Done write to device
    I (969) BME680: sensorAPI_i2c_read: Ready to read from device
    I (979) BME680: sensorAPI_i2c_read: Done read from device
    I (989) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (989) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (999) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (999) BME680: sensorAPI_i2c_write write_num: 1
    I (1009) BME680: sensorAPI_i2c_write: Ready to write to device
    I (1019) BME680: sensorAPI_i2c_write: Done writing to device
    I (1259) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (1259) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (1259) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (1269) BME680: sensorAPI_i2c_read read_num: 1
    I (1269) BME680: sensorAPI_i2c_read: Ready to write to device
    I (1279) BME680: sensorAPI_i2c_read: Done write to device
    I (1279) BME680: sensorAPI_i2c_read: Ready to read from device
    I (1289) BME680: sensorAPI_i2c_read: Done read from device
    I (1299) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (1299) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (1309) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (1309) BME680: sensorAPI_i2c_read read_num: 15
    I (1319) BME680: sensorAPI_i2c_read: Ready to write to device
    I (1319) BME680: sensorAPI_i2c_read: Done write to device
    I (1329) BME680: sensorAPI_i2c_read: Ready to read from device
    I (1339) BME680: sensorAPI_i2c_read: Done read from device
    I (1339) BME680: Timestamp: 497000000
    I (1349) BME680: IAQ: 25.000000
    I (1349) BME680: IAQ Accuracy: 0
    I (1359) BME680: Temperature: 24.290001
    I (1359) BME680: Humidity: 54.546993
    I (1359) BME680: Pressure: 101555.000000
    I (1369) BME680: Raw Temperature: 24.290001
    I (1369) BME680: Raw Humidity: 54.547001
    I (1379) BME680: Gas: 469.000000
    I (1379) BME680: Static IAQ: 25.000000
    I (1389) BME680: CO2 Equivalent: 0.000000
    I (1389) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2289
    I (3679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (3679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (3679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (3689) BME680: sensorAPI_i2c_write write_num: 3
    I (3689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (3699) BME680: sensorAPI_i2c_write: Done writing to device
    I (3699) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (3709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (3719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (3719) BME680: sensorAPI_i2c_read read_num: 1
    I (3729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (3729) BME680: sensorAPI_i2c_read: Done write to device
    I (3739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (3749) BME680: sensorAPI_i2c_read: Done read from device
    I (3749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (3759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (3759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (3769) BME680: sensorAPI_i2c_read read_num: 1
    I (3769) BME680: sensorAPI_i2c_read: Ready to write to device
    I (3779) BME680: sensorAPI_i2c_read: Done write to device
    I (3789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (3789) BME680: sensorAPI_i2c_read: Done read from device
    I (3799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (3799) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (3809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (3819) BME680: sensorAPI_i2c_read read_num: 1
    I (3819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (3829) BME680: sensorAPI_i2c_read: Done write to device
    I (3829) BME680: sensorAPI_i2c_read: Ready to read from device
    I (3839) BME680: sensorAPI_i2c_read: Done read from device
    I (3849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (3849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (3859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (3859) BME680: sensorAPI_i2c_read read_num: 1
    I (3869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (3869) BME680: sensorAPI_i2c_read: Done write to device
    I (3879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (3889) BME680: sensorAPI_i2c_read: Done read from device
    I (3889) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (3899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (3899) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (3909) BME680: sensorAPI_i2c_write write_num: 5
    I (3919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (3919) BME680: sensorAPI_i2c_write: Done writing to device
    I (3929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (3929) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (3939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (3939) BME680: sensorAPI_i2c_read read_num: 1
    I (3949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (3959) BME680: sensorAPI_i2c_read: Done write to device
    I (3959) BME680: sensorAPI_i2c_read: Ready to read from device
    I (3969) BME680: sensorAPI_i2c_read: Done read from device
    I (3979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (3979) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (3989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (3989) BME680: sensorAPI_i2c_write write_num: 1
    I (3999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (3999) BME680: sensorAPI_i2c_write: Done writing to device
    I (4249) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (4249) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (4249) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (4259) BME680: sensorAPI_i2c_read read_num: 1
    I (4259) BME680: sensorAPI_i2c_read: Ready to write to device
    I (4269) BME680: sensorAPI_i2c_read: Done write to device
    I (4269) BME680: sensorAPI_i2c_read: Ready to read from device
    I (4279) BME680: sensorAPI_i2c_read: Done read from device
    I (4289) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (4289) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (4299) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (4299) BME680: sensorAPI_i2c_read read_num: 15
    I (4309) BME680: sensorAPI_i2c_read: Ready to write to device
    I (4309) BME680: sensorAPI_i2c_read: Done write to device
    I (4319) BME680: sensorAPI_i2c_read: Ready to read from device
    I (4329) BME680: sensorAPI_i2c_read: Done read from device
    I (4329) BME680: Timestamp: 3492000000
    I (4339) BME680: IAQ: 25.000000
    I (4339) BME680: IAQ Accuracy: 0
    I (4349) BME680: Temperature: 24.275150
    I (4349) BME680: Humidity: 54.515160
    I (4349) BME680: Pressure: 101553.000000
    I (4359) BME680: Raw Temperature: 24.340000
    I (4359) BME680: Raw Humidity: 54.431999
    I (4369) BME680: Gas: 622.000000
    I (4369) BME680: Static IAQ: 25.000000
    I (4379) BME680: CO2 Equivalent: 0.000000
    I (4379) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2294
    I (6679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (6679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (6679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (6689) BME680: sensorAPI_i2c_write write_num: 3
    I (6689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (6699) BME680: sensorAPI_i2c_write: Done writing to device
    I (6699) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (6709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (6719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (6719) BME680: sensorAPI_i2c_read read_num: 1
    I (6729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (6729) BME680: sensorAPI_i2c_read: Done write to device
    I (6739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (6749) BME680: sensorAPI_i2c_read: Done read from device
    I (6749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (6759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (6759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (6769) BME680: sensorAPI_i2c_read read_num: 1
    I (6769) BME680: sensorAPI_i2c_read: Ready to write to device
    I (6779) BME680: sensorAPI_i2c_read: Done write to device
    I (6789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (6789) BME680: sensorAPI_i2c_read: Done read from device
    I (6799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (6799) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (6809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (6819) BME680: sensorAPI_i2c_read read_num: 1
    I (6819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (6829) BME680: sensorAPI_i2c_read: Done write to device
    I (6829) BME680: sensorAPI_i2c_read: Ready to read from device
    I (6839) BME680: sensorAPI_i2c_read: Done read from device
    I (6849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (6849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (6859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (6859) BME680: sensorAPI_i2c_read read_num: 1
    I (6869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (6869) BME680: sensorAPI_i2c_read: Done write to device
    I (6879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (6889) BME680: sensorAPI_i2c_read: Done read from device
    I (6889) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (6899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (6899) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (6909) BME680: sensorAPI_i2c_write write_num: 5
    I (6919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (6919) BME680: sensorAPI_i2c_write: Done writing to device
    I (6929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (6929) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (6939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (6939) BME680: sensorAPI_i2c_read read_num: 1
    I (6949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (6959) BME680: sensorAPI_i2c_read: Done write to device
    I (6959) BME680: sensorAPI_i2c_read: Ready to read from device
    I (6969) BME680: sensorAPI_i2c_read: Done read from device
    I (6979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (6979) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (6989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (6989) BME680: sensorAPI_i2c_write write_num: 1
    I (6999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (6999) BME680: sensorAPI_i2c_write: Done writing to device
    I (7249) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (7249) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (7249) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (7259) BME680: sensorAPI_i2c_read read_num: 1
    I (7259) BME680: sensorAPI_i2c_read: Ready to write to device
    I (7269) BME680: sensorAPI_i2c_read: Done write to device
    I (7269) BME680: sensorAPI_i2c_read: Ready to read from device
    I (7279) BME680: sensorAPI_i2c_read: Done read from device
    I (7289) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (7289) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (7299) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (7299) BME680: sensorAPI_i2c_read read_num: 15
    I (7309) BME680: sensorAPI_i2c_read: Ready to write to device
    I (7309) BME680: sensorAPI_i2c_read: Done write to device
    I (7319) BME680: sensorAPI_i2c_read: Ready to read from device
    I (7329) BME680: sensorAPI_i2c_read: Done read from device
    I (7329) BME680: Timestamp: 6492000000
    I (7339) BME680: IAQ: 25.000000
    I (7339) BME680: IAQ Accuracy: 0
    I (7349) BME680: Temperature: 24.325308
    I (7349) BME680: Humidity: 54.270576
    I (7349) BME680: Pressure: 101557.000000
    I (7359) BME680: Raw Temperature: 24.389999
    I (7359) BME680: Raw Humidity: 54.289001
    I (7369) BME680: Gas: 879.000000
    I (7369) BME680: Static IAQ: 25.000000
    I (7379) BME680: CO2 Equivalent: 0.000000
    I (7379) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2294
    I (9679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (9679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (9679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (9689) BME680: sensorAPI_i2c_write write_num: 3
    I (9689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (9699) BME680: sensorAPI_i2c_write: Done writing to device
    I (9699) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (9709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (9719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (9719) BME680: sensorAPI_i2c_read read_num: 1
    I (9729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (9729) BME680: sensorAPI_i2c_read: Done write to device
    I (9739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (9749) BME680: sensorAPI_i2c_read: Done read from device
    I (9749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (9759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (9759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (9769) BME680: sensorAPI_i2c_read read_num: 1
    I (9769) BME680: sensorAPI_i2c_read: Ready to write to device
    I (9779) BME680: sensorAPI_i2c_read: Done write to device
    I (9789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (9789) BME680: sensorAPI_i2c_read: Done read from device
    I (9799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (9799) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (9809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (9819) BME680: sensorAPI_i2c_read read_num: 1
    I (9819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (9829) BME680: sensorAPI_i2c_read: Done write to device
    I (9829) BME680: sensorAPI_i2c_read: Ready to read from device
    I (9839) BME680: sensorAPI_i2c_read: Done read from device
    I (9849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (9849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (9859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (9859) BME680: sensorAPI_i2c_read read_num: 1
    I (9869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (9869) BME680: sensorAPI_i2c_read: Done write to device
    I (9879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (9889) BME680: sensorAPI_i2c_read: Done read from device
    I (9889) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (9899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (9899) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (9909) BME680: sensorAPI_i2c_write write_num: 5
    I (9919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (9919) BME680: sensorAPI_i2c_write: Done writing to device
    I (9929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (9929) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (9939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (9939) BME680: sensorAPI_i2c_read read_num: 1
    I (9949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (9959) BME680: sensorAPI_i2c_read: Done write to device
    I (9959) BME680: sensorAPI_i2c_read: Ready to read from device
    I (9969) BME680: sensorAPI_i2c_read: Done read from device
    I (9979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (9979) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (9989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (9989) BME680: sensorAPI_i2c_write write_num: 1
    I (9999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (9999) BME680: sensorAPI_i2c_write: Done writing to device
    I (10249) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (10249) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (10249) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (10259) BME680: sensorAPI_i2c_read read_num: 1
    I (10259) BME680: sensorAPI_i2c_read: Ready to write to device
    I (10269) BME680: sensorAPI_i2c_read: Done write to device
    I (10269) BME680: sensorAPI_i2c_read: Ready to read from device
    I (10279) BME680: sensorAPI_i2c_read: Done read from device
    I (10289) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (10289) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (10299) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (10299) BME680: sensorAPI_i2c_read read_num: 15
    I (10309) BME680: sensorAPI_i2c_read: Ready to write to device
    I (10319) BME680: sensorAPI_i2c_read: Done write to device
    I (10319) BME680: sensorAPI_i2c_read: Ready to read from device
    I (10329) BME680: sensorAPI_i2c_read: Done read from device
    I (10339) BME680: Timestamp: 9492000000
    I (10339) BME680: IAQ: 25.000000
    I (10339) BME680: IAQ Accuracy: 0
    I (10349) BME680: Temperature: 24.355309
    I (10349) BME680: Humidity: 54.159527
    I (10359) BME680: Pressure: 101553.000000
    I (10359) BME680: Raw Temperature: 24.420000
    I (10369) BME680: Raw Humidity: 54.206001
    I (10369) BME680: Gas: 1041.000000
    I (10369) BME680: Static IAQ: 25.000000
    I (10379) BME680: CO2 Equivalent: 0.000000
    I (10379) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2291
    I (12679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (12679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (12679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (12689) BME680: sensorAPI_i2c_write write_num: 3
    I (12689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (12699) BME680: sensorAPI_i2c_write: Done writing to device
    I (12709) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (12709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (12719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (12719) BME680: sensorAPI_i2c_read read_num: 1
    I (12729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (12729) BME680: sensorAPI_i2c_read: Done write to device
    I (12739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (12749) BME680: sensorAPI_i2c_read: Done read from device
    I (12749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (12759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (12759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (12769) BME680: sensorAPI_i2c_read read_num: 1
    I (12779) BME680: sensorAPI_i2c_read: Ready to write to device
    I (12779) BME680: sensorAPI_i2c_read: Done write to device
    I (12789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (12789) BME680: sensorAPI_i2c_read: Done read from device
    I (12799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (12809) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (12809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (12819) BME680: sensorAPI_i2c_read read_num: 1
    I (12819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (12829) BME680: sensorAPI_i2c_read: Done write to device
    I (12839) BME680: sensorAPI_i2c_read: Ready to read from device
    I (12839) BME680: sensorAPI_i2c_read: Done read from device
    I (12849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (12849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (12859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (12869) BME680: sensorAPI_i2c_read read_num: 1
    I (12869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (12879) BME680: sensorAPI_i2c_read: Done write to device
    I (12879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (12889) BME680: sensorAPI_i2c_read: Done read from device
    I (12899) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (12899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (12909) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (12909) BME680: sensorAPI_i2c_write write_num: 5
    I (12919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (12929) BME680: sensorAPI_i2c_write: Done writing to device
    I (12929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (12939) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (12939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (12949) BME680: sensorAPI_i2c_read read_num: 1
    I (12949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (12959) BME680: sensorAPI_i2c_read: Done write to device
    I (12969) BME680: sensorAPI_i2c_read: Ready to read from device
    I (12969) BME680: sensorAPI_i2c_read: Done read from device
    I (12979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (12989) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (12989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (12999) BME680: sensorAPI_i2c_write write_num: 1
    I (12999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (13009) BME680: sensorAPI_i2c_write: Done writing to device
    I (13259) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (13259) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (13259) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (13269) BME680: sensorAPI_i2c_read read_num: 1
    I (13269) BME680: sensorAPI_i2c_read: Ready to write to device
    I (13279) BME680: sensorAPI_i2c_read: Done write to device
    I (13279) BME680: sensorAPI_i2c_read: Ready to read from device
    I (13289) BME680: sensorAPI_i2c_read: Done read from device
    I (13299) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (13299) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (13309) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (13309) BME680: sensorAPI_i2c_read read_num: 15
    I (13319) BME680: sensorAPI_i2c_read: Ready to write to device
    I (13329) BME680: sensorAPI_i2c_read: Done write to device
    I (13329) BME680: sensorAPI_i2c_read: Ready to read from device
    I (13339) BME680: sensorAPI_i2c_read: Done read from device
    I (13349) BME680: Timestamp: 12492000000
    I (13349) BME680: IAQ: 25.000000
    I (13349) BME680: IAQ Accuracy: 0
    I (13359) BME680: Temperature: 24.385309
    I (13359) BME680: Humidity: 54.023586
    I (13369) BME680: Pressure: 101551.000000
    I (13369) BME680: Raw Temperature: 24.450001
    I (13379) BME680: Raw Humidity: 54.091999
    I (13379) BME680: Gas: 1201.000000
    I (13379) BME680: Static IAQ: 25.000000
    I (13389) BME680: CO2 Equivalent: 0.000000
    I (13389) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2281
    I (15679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (15679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (15679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (15689) BME680: sensorAPI_i2c_write write_num: 3
    I (15689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (15699) BME680: sensorAPI_i2c_write: Done writing to device
    I (15709) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (15709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (15719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (15719) BME680: sensorAPI_i2c_read read_num: 1
    I (15729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (15729) BME680: sensorAPI_i2c_read: Done write to device
    I (15739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (15749) BME680: sensorAPI_i2c_read: Done read from device
    I (15749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (15759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (15759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (15769) BME680: sensorAPI_i2c_read read_num: 1
    I (15779) BME680: sensorAPI_i2c_read: Ready to write to device
    I (15779) BME680: sensorAPI_i2c_read: Done write to device
    I (15789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (15789) BME680: sensorAPI_i2c_read: Done read from device
    I (15799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (15809) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (15809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (15819) BME680: sensorAPI_i2c_read read_num: 1
    I (15819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (15829) BME680: sensorAPI_i2c_read: Done write to device
    I (15839) BME680: sensorAPI_i2c_read: Ready to read from device
    I (15839) BME680: sensorAPI_i2c_read: Done read from device
    I (15849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (15849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (15859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (15869) BME680: sensorAPI_i2c_read read_num: 1
    I (15869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (15879) BME680: sensorAPI_i2c_read: Done write to device
    I (15879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (15889) BME680: sensorAPI_i2c_read: Done read from device
    I (15899) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (15899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (15909) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (15909) BME680: sensorAPI_i2c_write write_num: 5
    I (15919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (15929) BME680: sensorAPI_i2c_write: Done writing to device
    I (15929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (15939) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (15939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (15949) BME680: sensorAPI_i2c_read read_num: 1
    I (15949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (15959) BME680: sensorAPI_i2c_read: Done write to device
    I (15969) BME680: sensorAPI_i2c_read: Ready to read from device
    I (15969) BME680: sensorAPI_i2c_read: Done read from device
    I (15979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (15989) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (15989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (15999) BME680: sensorAPI_i2c_write write_num: 1
    I (15999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (16009) BME680: sensorAPI_i2c_write: Done writing to device
    I (16259) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (16259) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (16259) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (16269) BME680: sensorAPI_i2c_read read_num: 1
    I (16269) BME680: sensorAPI_i2c_read: Ready to write to device
    I (16279) BME680: sensorAPI_i2c_read: Done write to device
    I (16279) BME680: sensorAPI_i2c_read: Ready to read from device
    I (16289) BME680: sensorAPI_i2c_read: Done read from device
    I (16299) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (16299) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (16309) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (16309) BME680: sensorAPI_i2c_read read_num: 15
    I (16319) BME680: sensorAPI_i2c_read: Ready to write to device
    I (16329) BME680: sensorAPI_i2c_read: Done write to device
    I (16329) BME680: sensorAPI_i2c_read: Ready to read from device
    I (16339) BME680: sensorAPI_i2c_read: Done read from device
    I (16349) BME680: Timestamp: 15492000000
    I (16349) BME680: IAQ: 25.000000
    I (16349) BME680: IAQ Accuracy: 0
    I (16359) BME680: Temperature: 24.415308
    I (16359) BME680: Humidity: 53.955334
    I (16369) BME680: Pressure: 101553.000000
    I (16369) BME680: Raw Temperature: 24.480000
    I (16379) BME680: Raw Humidity: 54.041000
    I (16379) BME680: Gas: 1357.000000
    I (16379) BME680: Static IAQ: 25.000000
    I (16389) BME680: CO2 Equivalent: 0.000000
    I (16389) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2281
    I (18679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (18679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (18679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (18689) BME680: sensorAPI_i2c_write write_num: 3
    I (18689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (18699) BME680: sensorAPI_i2c_write: Done writing to device
    I (18709) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (18709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (18719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (18719) BME680: sensorAPI_i2c_read read_num: 1
    I (18729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (18729) BME680: sensorAPI_i2c_read: Done write to device
    I (18739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (18749) BME680: sensorAPI_i2c_read: Done read from device
    I (18749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (18759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (18759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (18769) BME680: sensorAPI_i2c_read read_num: 1
    I (18779) BME680: sensorAPI_i2c_read: Ready to write to device
    I (18779) BME680: sensorAPI_i2c_read: Done write to device
    I (18789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (18789) BME680: sensorAPI_i2c_read: Done read from device
    I (18799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (18809) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (18809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (18819) BME680: sensorAPI_i2c_read read_num: 1
    I (18819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (18829) BME680: sensorAPI_i2c_read: Done write to device
    I (18839) BME680: sensorAPI_i2c_read: Ready to read from device
    I (18839) BME680: sensorAPI_i2c_read: Done read from device
    I (18849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (18849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (18859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (18869) BME680: sensorAPI_i2c_read read_num: 1
    I (18869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (18879) BME680: sensorAPI_i2c_read: Done write to device
    I (18879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (18889) BME680: sensorAPI_i2c_read: Done read from device
    I (18899) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (18899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (18909) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (18909) BME680: sensorAPI_i2c_write write_num: 5
    I (18919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (18929) BME680: sensorAPI_i2c_write: Done writing to device
    I (18929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (18939) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (18939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (18949) BME680: sensorAPI_i2c_read read_num: 1
    I (18949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (18959) BME680: sensorAPI_i2c_read: Done write to device
    I (18969) BME680: sensorAPI_i2c_read: Ready to read from device
    I (18969) BME680: sensorAPI_i2c_read: Done read from device
    I (18979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (18989) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (18989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (18999) BME680: sensorAPI_i2c_write write_num: 1
    I (18999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (19009) BME680: sensorAPI_i2c_write: Done writing to device
    I (19259) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (19259) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (19259) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (19269) BME680: sensorAPI_i2c_read read_num: 1
    I (19269) BME680: sensorAPI_i2c_read: Ready to write to device
    I (19279) BME680: sensorAPI_i2c_read: Done write to device
    I (19279) BME680: sensorAPI_i2c_read: Ready to read from device
    I (19289) BME680: sensorAPI_i2c_read: Done read from device
    I (19299) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (19299) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (19309) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (19309) BME680: sensorAPI_i2c_read read_num: 15
    I (19319) BME680: sensorAPI_i2c_read: Ready to write to device
    I (19329) BME680: sensorAPI_i2c_read: Done write to device
    I (19329) BME680: sensorAPI_i2c_read: Ready to read from device
    I (19339) BME680: sensorAPI_i2c_read: Done read from device
    I (19349) BME680: Timestamp: 18492000000
    I (19349) BME680: IAQ: 25.000000
    I (19349) BME680: IAQ Accuracy: 0
    I (19359) BME680: Temperature: 24.445309
    I (19359) BME680: Humidity: 53.867847
    I (19369) BME680: Pressure: 101553.000000
    I (19369) BME680: Raw Temperature: 24.510000
    I (19379) BME680: Raw Humidity: 53.966999
    I (19379) BME680: Gas: 1440.000000
    I (19379) BME680: Static IAQ: 25.000000
    I (19389) BME680: CO2 Equivalent: 0.000000
    I (19389) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2281
    I (21679) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (21679) BME680: sensorAPI_i2c_write sub_addr: 0x5A
    I (21679) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (21689) BME680: sensorAPI_i2c_write write_num: 3
    I (21689) BME680: sensorAPI_i2c_write: Ready to write to device
    I (21699) BME680: sensorAPI_i2c_write: Done writing to device
    I (21709) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (21709) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (21719) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (21719) BME680: sensorAPI_i2c_read read_num: 1
    I (21729) BME680: sensorAPI_i2c_read: Ready to write to device
    I (21729) BME680: sensorAPI_i2c_read: Done write to device
    I (21739) BME680: sensorAPI_i2c_read: Ready to read from device
    I (21749) BME680: sensorAPI_i2c_read: Done read from device
    I (21749) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (21759) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (21759) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (21769) BME680: sensorAPI_i2c_read read_num: 1
    I (21779) BME680: sensorAPI_i2c_read: Ready to write to device
    I (21779) BME680: sensorAPI_i2c_read: Done write to device
    I (21789) BME680: sensorAPI_i2c_read: Ready to read from device
    I (21789) BME680: sensorAPI_i2c_read: Done read from device
    I (21799) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (21809) BME680: sensorAPI_i2c_read sub_addr: 0x72
    I (21809) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (21819) BME680: sensorAPI_i2c_read read_num: 1
    I (21819) BME680: sensorAPI_i2c_read: Ready to write to device
    I (21829) BME680: sensorAPI_i2c_read: Done write to device
    I (21839) BME680: sensorAPI_i2c_read: Ready to read from device
    I (21839) BME680: sensorAPI_i2c_read: Done read from device
    I (21849) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (21849) BME680: sensorAPI_i2c_read sub_addr: 0x71
    I (21859) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (21869) BME680: sensorAPI_i2c_read read_num: 1
    I (21869) BME680: sensorAPI_i2c_read: Ready to write to device
    I (21879) BME680: sensorAPI_i2c_read: Done write to device
    I (21879) BME680: sensorAPI_i2c_read: Ready to read from device
    I (21889) BME680: sensorAPI_i2c_read: Done read from device
    I (21899) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (21899) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (21909) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (21909) BME680: sensorAPI_i2c_write write_num: 5
    I (21919) BME680: sensorAPI_i2c_write: Ready to write to device
    I (21929) BME680: sensorAPI_i2c_write: Done writing to device
    I (21929) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (21939) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (21939) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (21949) BME680: sensorAPI_i2c_read read_num: 1
    I (21949) BME680: sensorAPI_i2c_read: Ready to write to device
    I (21959) BME680: sensorAPI_i2c_read: Done write to device
    I (21969) BME680: sensorAPI_i2c_read: Ready to read from device
    I (21969) BME680: sensorAPI_i2c_read: Done read from device
    I (21979) BME680: sensorAPI_i2c_write slave_addr7: 0x76
    I (21989) BME680: sensorAPI_i2c_write sub_addr: 0x74
    I (21989) BME680: sensorAPI_i2c_write dev_addr: 0xEC
    I (21999) BME680: sensorAPI_i2c_write write_num: 1
    I (21999) BME680: sensorAPI_i2c_write: Ready to write to device
    I (22009) BME680: sensorAPI_i2c_write: Done writing to device
    I (22259) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (22259) BME680: sensorAPI_i2c_read sub_addr: 0x74
    I (22259) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (22269) BME680: sensorAPI_i2c_read read_num: 1
    I (22269) BME680: sensorAPI_i2c_read: Ready to write to device
    I (22279) BME680: sensorAPI_i2c_read: Done write to device
    I (22279) BME680: sensorAPI_i2c_read: Ready to read from device
    I (22289) BME680: sensorAPI_i2c_read: Done read from device
    I (22299) BME680: sensorAPI_i2c_read slave_addr7: 0x76
    I (22299) BME680: sensorAPI_i2c_read sub_addr: 0x1D
    I (22309) BME680: sensorAPI_i2c_read dev_addr: 0xEC
    I (22309) BME680: sensorAPI_i2c_read read_num: 15
    I (22319) BME680: sensorAPI_i2c_read: Ready to write to device
    I (22329) BME680: sensorAPI_i2c_read: Done write to device
    I (22329) BME680: sensorAPI_i2c_read: Ready to read from device
    I (22339) BME680: sensorAPI_i2c_read: Done read from device
    I (22349) BME680: Timestamp: 21492000000
    I (22349) BME680: IAQ: 25.000000
    I (22349) BME680: IAQ Accuracy: 0
    I (22359) BME680: Temperature: 24.455309
    I (22359) BME680: Humidity: 53.853954
    I (22369) BME680: Pressure: 101551.000000
    I (22369) BME680: Raw Temperature: 24.520000
    I (22379) BME680: Raw Humidity: 53.912998
    I (22379) BME680: Gas: 1581.000000
    I (22379) BME680: Static IAQ: 25.000000
    I (22389) BME680: CO2 Equivalent: 0.000000
    I (22389) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2281

     

    However, I do not get CO2 and Breath VOC equivalent value. Below is the result without full verbose log:

    I (0) i2c-simple-example: I2C initialized successfully
    ret.bme680_status = BME680_OK
    I (20) BME680: BME680 and BSEC intialized
    I (260) BME680: Timestamp: 191000000
    I (260) BME680: IAQ: 25.000000
    I (260) BME680: IAQ Accuracy: 0
    I (260) BME680: Temperature: 24.570000
    I (270) BME680: Humidity: 53.305008
    I (270) BME680: Pressure: 101557.000000
    I (280) BME680: Raw Temperature: 24.570000
    I (280) BME680: Raw Humidity: 53.305000
    I (290) BME680: Gas: 10712.000000
    I (290) BME680: Static IAQ: 25.000000
    I (290) BME680: CO2 Equivalent: 0.000000
    I (300) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2715
    I (3260) BME680: Timestamp: 3192000000
    I (3260) BME680: IAQ: 25.000000
    I (3260) BME680: IAQ Accuracy: 0
    I (3260) BME680: Temperature: 24.525341
    I (3270) BME680: Humidity: 53.426014
    I (3270) BME680: Pressure: 101555.000000
    I (3280) BME680: Raw Temperature: 24.590000
    I (3280) BME680: Raw Humidity: 53.270000
    I (3290) BME680: Gas: 25891.000000
    I (3290) BME680: Static IAQ: 25.000000
    I (3290) BME680: CO2 Equivalent: 0.000000
    I (3300) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2716
    I (6260) BME680: Timestamp: 6192000000
    I (6260) BME680: IAQ: 25.000000
    I (6260) BME680: IAQ Accuracy: 0
    I (6260) BME680: Temperature: 24.555309
    I (6270) BME680: Humidity: 53.279251
    I (6270) BME680: Pressure: 101553.000000
    I (6280) BME680: Raw Temperature: 24.620001
    I (6280) BME680: Raw Humidity: 53.188000
    I (6290) BME680: Gas: 29813.000000
    I (6290) BME680: Static IAQ: 25.000000
    I (6290) BME680: CO2 Equivalent: 0.000000
    I (6300) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2716
    I (9260) BME680: Timestamp: 9192000000
    I (9260) BME680: IAQ: 25.000000
    I (9260) BME680: IAQ Accuracy: 0
    I (9260) BME680: Temperature: 24.585308
    I (9270) BME680: Humidity: 53.147369
    I (9270) BME680: Pressure: 101557.000000
    I (9280) BME680: Raw Temperature: 24.650000
    I (9280) BME680: Raw Humidity: 53.106998
    I (9290) BME680: Gas: 31803.000000
    I (9290) BME680: Static IAQ: 25.000000
    I (9290) BME680: CO2 Equivalent: 0.000000
    I (9300) BME680: Breath VOC Equivalent: 0.000000
    time_stamp_interval_ms: 2716
    I (12260) BME680: Timestamp: 12192000000
    I (12260) BME680: IAQ: 25.000000
    I (12260) BME680: IAQ Accuracy: 0
    I (12260) BME680: Temperature: 24.605309
    I (12270) BME680: Humidity: 53.120468
    I (12270) BME680: Pressure: 101555.000000
    I (12280) BME680: Raw Temperature: 24.670000
    I (12280) BME680: Raw Humidity: 53.095001
    I (12290) BME680: Gas: 33005.000000
    I (12290) BME680: Static IAQ: 25.000000
    I (12300) BME680: CO2 Equivalent: 0.000000
    I (12300) BME680: Breath VOC Equivalent: 0.000000

     

    As mentioned at the first post, state_load, state_save, and config_load is not implemented. Is that the reason why IAQ accurary, CO2, and VOC are not showing values? 

    Since this device will have continous power supply, is it possible to implement it with pointers or allocating memory?

     

    Thank you.

    After long time of run, I see the IAQ changed from 25 to something else and IAQ accuracy changed from 0 to 1. However, other CO2 and VOC still remained 0.

     

    I (414260) BME680: Timestamp: 414193000000
    I (414260) BME680: IAQ: 41.605278
    I (414260) BME680: IAQ Accuracy: 1
    I (414260) BME680: Temperature: 24.385307
    I (414270) BME680: Humidity: 66.568062
    I (414270) BME680: Pressure: 101615.000000
    I (414280) BME680: Raw Temperature: 25.150000
    I (414280) BME680: Raw Humidity: 63.611000
    I (414290) BME680: Gas: 18728.000000
    I (414290) BME680: Static IAQ: 32.253670
    I (414300) BME680: CO2 Equivalent: 0.000000
    I (414300) BME680: Breath VOC Equivalent: 0.000000
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist