Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    where are those functions in BMI270

    where are those functions in BMI270

    victorheca01
    Established Member

    HI, All

         I cannot find the following functions in BMI270 example codes from Bosh. I have to write those functions by myself, right?  my understanding is that function of comm_intf_put_u8() is to write a u8 byte to communication buffer. If I leave it as blank, will the software running and get correct result? thanks in advance.

    Victor

    static void comm_intf_put_u8(uint8_t data)
    {

    }

    static void comm_intf_put_u16(uint16_t data)
    {
    }

    static int16_t comm_intf_send_command(coines_rsp_buffer_t *data)
    {
    }

    static void comm_intf_init_command_header(uint8_t dd_set, uint8_t did_inter)
    {

    }

    static int16_t comm_intf_open(enum coines_comm_intf coin_intf, coines_board_t *coin_board)
    {

    }

    4 REPLIES 4

    Minhwan
    Community Moderator
    Community Moderator

    Hi @victorheca01

     

    You need to explain which source base you asked. 

    Here is the our official BMI270 github. 

    https://github.com/BoschSensortec/BMI270-Sensor-API

    Other source code in online is not us or probably very old one. 

    And, in our github, if you don't use our EVM board (app3.0), please use it after removing all coines related functions. 

    Thank you. 

    Hi, Min

        Thank you for your reply.

        I use source exactly same as you mentioned. For coines related function, is there a compiler option to remove it out or I have to delete those functions 1 by 1. Thanks.

     

    Regards

    Victor

    Minhwan
    Community Moderator
    Community Moderator

    Hi Victor, 

     

    If so, where those functions are located in? 

    You don't need to keep all coines related functions such as coines_board_init.

    What you need to do is to remove all coines related functions and put your own interface functions in common.c/h.

    Thanks. 

    Thank you. I appreciated your help very much.

    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