BMI160 accelerometer

Hello, I bought a BMI160 accelerometer whose documentation is located at this link: https://www.gotronic.fr/art-module-6-dof-gravity-sen0250-28279.htm
It can take the following ranges of values: +/-2g, +/-4g, +/-8g, +/-16g.
The default range is +/-2g
For a project, I need the range of values +/-8g.
I am using the "DFRobot_BMI160" librairie.
Does anyone have a solution to change the range of values?

Have you looked at the available methods for the DFRobot_BMI160 library? You will find that the library does not include a method for changing the default parameters of the device. You'll either have to write a method to change the default parameters of the device, find another library, or write your own library for the device