Hi rajesh_s,
This function bhy2_get_product_id() was from in BHI260AP sensor API(https://github.com/boschsensortec/BHY2-Sensor-API), you could call this function on host MCU side. BHI260AP software(sensor API and example code) was officially released on github https://github.com/boschsensortec/BHY2-Sensor-API, you could migrate it to your platform. I upload BHI260AP example code on STM32 that was not run with applicaiton board, you could also refer it.
... View more