Important Cookie Information

This website uses absolutely necessary cookies. If you consent to the use of convenience cookies, please click “Yes, I agree.” By clicking on “Privacy Settings.” you can change this setting at any time and withdraw your given consent. Icon down see more You can find detailled information in our Privacy Policy Icon forward-right
Icon up see less

Bosch Sensortec Community

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

    BSEC - depreciated virtual sensors?

    Established Member

    BSEC - depreciated virtual sensors?

    Are some of the virtual sensors depreciated or am I missing something.

    I am using BSEC 1.4.7.3 with a MBE680.

    I've based my code on the "basic_config_state.ino" example.

    When compiling I found the 4 variables aere all initiated but not used.

    • uint8_t comp_gas_accuracy = 0;
    • uint8_t breath_voc_accuracy
    • uint8_t co2_accuracy
    • uint8_t static_iaq_accuracy = 0

    Have these been depreciated or they used in the compiled code?   I could not find any documentation on them.

    I also found this line of code in the same example

    checkIaqSensorStatus();

    Ihave not been able to find any reference to it in any of the app notes or other files (that I can read).  Is it a useful statement?

     

     

    Thanks, John

     

     

    5 REPLIES 5
    Community Moderator

    Re: BSEC - depreciated virtual sensors?

    Hi JohnRob,

    Can you send a link to your reference?

    Regards,
    kgoveas

    Community Moderator

    Re: BSEC - depreciated virtual sensors?

    BSEC works on a subscription mechanism, and in the basic_config_state.ino example of BSEC v1.4.7.3, here is the list of virtual sensors subscribed to:

    bsec_virtual_sensor_t sensorList[7] = {
    BSEC_OUTPUT_RAW_TEMPERATURE,
    BSEC_OUTPUT_RAW_PRESSURE,
    BSEC_OUTPUT_RAW_HUMIDITY,
    BSEC_OUTPUT_RAW_GAS,
    BSEC_OUTPUT_IAQ,
    BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_TEMPERATURE,
    BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_HUMIDITY,
    };

    iaqSensor.updateSubscription(sensorList, 7, BSEC_SAMPLE_RATE_LP);

    To enable more virtual sensor outputs like eCO2, bVOC-eq, etc. you would need to add these to the sensorList array element above (and update the size of the array and number of virtual sensors in the 2nd argument of updateSubscription(...)).

    Established Member

    Re: BSEC - depreciated virtual sensors?

    kgoveas,

    The sample file was in the BSEC 1.4.7.3 I downloaded from the Bosch site.

    John

     

     

     

    Highlighted
    Established Member

    Re: BSEC - depreciated virtual sensors?

    Thank for the reply but i guess my question wasn't clear.  I understand the subscription process,  however the specific parameters I listed are shown in at least one of the examples, however they are not listed in the documentation (see below)

    • BST BME680 IntegrationGuide_AN0084.pdf
    • BST-BME680-Integration-Guide-AN008-47.pdf

     

    Hence my question, are they still active measurements?

     

    John

     

    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