Bosch Sensortec Community

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

    BME688 connection to Android App

    BME688 connection to Android App

    Karthikg
    Established Member

    Hi,

    I am trying to use the BME688 Andriod APP that was recently released. The App is able to connect to the BME 8x board via bluetooth.  The SD card with the config file is present. (i.e it is logging data). but right after the app connects, i get this msg on the APP :

    "Could not start sensor. response code: BSEC_CONFIG_MISSING"

    if i look at the SD card and open a raw data file it creates (its flashed with the bme68x_demo_sample.ino.bin ) - i see this header.. as a appVersion of 0.7.4 not sure if this works with the App that i downloaed for the Andriod. 

    {
    "configHeader": {
    "dateCreated": "2020-10-20T08:54:10.804Z",
    "appVersion": "0.7.4",
    "boardType": "board_8",
    "boardMode": "heater_profile_exploration",
    "boardLayout": "grouped"
    } ....

    i have a *.bmeconfig in the SD card. so not sure what else is needed. again no documention etc. so its very tiny bit frustrating. 

    Thanks,

    Karthik

    39 REPLIES 39

    Thanks a lot, i have tested with 1.5.0 and seems you are right i should stick with latest 1.5.5 only as well as AI studio and android app latest versions. On android app i do get scanning and i still not sure why in app i see:

    1) Label1 only showing and not my trained classes Labels.

    2) Testing and  Environment buttons are greyed out. What are these ? How to run my algorithm test in real time ?

    3) Label button shows 4 Labels: Label1,Label2,Label3,Label4

    Content of SDcard attached.

    Thank You for the help

     

    Minhwan
    Community Moderator
    Community Moderator

    Hi Kareig, 

     

    You need to make label again in our app. We don't send class name to app. Sorry for inconvinience. 

    Once you put your config file and bmeconfig in your SD card and connect to app, it should work automatically. 

    You can check a label what you trained. 

    Thank you. 

    thaiger10
    Occasional Visitor

    I got the dev board to connect to the app. The app have the "Testing" and "Enviroment" greyed out. Are those function available for use? 

    Minhwan
    Community Moderator
    Community Moderator

    After you download  demo for x8 array board, it should work 

    Please check our quick guide : https://github.com/BoschSensortec/Bosch-BSEC2-Library/blob/master/examples/bme68x_demo_sample/Quick_...

    After you connect, you should check the specific gas. 

    Clemens
    Established Member

    I have the same problem as some reported in this thread, grayed-out "Testing" and "Environment" menu item in the Android App (see attached screenshot)! What I did:

    • downloaded the .apk file form Bosch and installed it on an Android 13 device
    • downloaded the Arduino binary from Bosch and flashed it to the Feather
    • made an .bmeconfig file with AI-Studio, copied it to the SD card
    • gathered raw data from two sources
    • imported this data in AI Studio and made an algorithm
    • exported the .config file to the SD card
    • connected the Android device with the Feather
    • but still "Testing" and "Environment" is grayed-out

    What I tried also:

    • copy not only the .config file to the SD card but all files provided by AI-Studio (.aiconfig, .c, .h) but still the same
    • using the files
      2022_06_23_17_49_BoardConfiguration.bmeconfig and
      2022_06_28_09_11_Class1_Class2_HP-354_RDC-1-0Continuous.config
      provided by Bosch from the zip bme688_development_kit_software_v1-5-5.zip
      but still the same, no working "Testing" and "Environment" menu item
    • instead using files here posted from BME688_x8Board_v1.5.0:
      2021_04_27_13_53_BoardConfiguration.bmeconfig and
      2021_04_28_08_35_bsec_h2s_nonh2s_2_0_6_1 .config,
      -> not working
    • installing the Feather via source, but I thought it is more secure to use the tested function and lib versions from Bosch

    My software versions:

    • AI Studio 1.7.1, bme_ai-studio-1-7-1-win.zip
    • Android App 1.1.3: bme688-devkit-app_ver1-1-3-apk.zip
      • btw. in the App's about section is written: App version 1.1.3, Firmware version 1.5.0,
      • incompatible with Arduino BME688 dev software 1.5.5 ??
    • Arduino binary: BME688_x8Board_v1.5.5
      • tested with .bmeconfig and .config from this archive

    Is there any inconsistancy between the Android App and the Arduino firmware so that "Testing" and "Environment" are not working. Do I have to copy additional files beside .bmeconfig and .config to the SD?

    I'm really out of additional ideas and solution to fix that problem, is the function already implemented in the Android version or only available in the iOS version?

    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