When I power on the BMPx or BMEx sensors I get constant measurements of temperature and pressure, can you please explain why?
After sensor power up, the temperature and pressure oversampling parameters for BMPx and BMEx are skipped. That is the reason why they output constant data.
For temperature and pressure measurements, users need to follow the example flow chart shown in datasheet and API source code in Github (BMP280, BMP388, BME680 and BME280)