STMicroelectronics / BlueSTSDK_Python

Bluetooth Low Energy Sensors Technology Software Development Kit (Python version for Linux Gateways)
https://www.st.com/en/embedded-software/bluest-sdk.html
BSD 3-Clause "New" or "Revised" License
61 stars 19 forks source link

Increasing accelerometer frequency #7

Closed Gunnybhai closed 4 years ago

Gunnybhai commented 5 years ago

Hello David Is it possible to update the sampling frequency of the accelerometer through the python code?

davidroid commented 5 years ago

Hello, not, this is not possible via SDK as this feature is not exposed. You can accomplish this goal on either of the following ways:

Hope this helps. Regards, Davide

Gunnybhai commented 5 years ago

Do you know how I could modify the firmware of the BLE sensor device? Do you know of any firmware for BLE software updates for over the air?

davidroid commented 5 years ago

Hello, I don't know which firmware you are using, but in general you have to find the updating frequency within the code, modify it as per your need, and recompile.

Concerning firmware which supports firmware update, there is this on AI: https://www.st.com/en/embedded-software/fp-ai-sensing1.html

The BlueSTSDK comes with example number 5 which shows how to perform the firmware update process of precompiled firmware via BLE.

Regards, Davide