This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Increasing sensor update rate in Thingy:52

Hi,

I'm looking at increasing the sensor update rates for the Thingy:52, and get more frequent readings into the sample app. Let's assume I want to change the temperature sensor frequency.

Following this question, I assume that it boils down to changing

  • TEMP_MIN_INTERVAL in ThingyUtils.java (set the update interval in the app)
  • BLE_GAP_ADV_INTERVAL_MIN and BLE_GAP_ADV_INTERVAL_MAX in Utils.java (set the BLE connection interval in the app)
  • BLE_TES_CONFIG_TEMPERATURE_INT_MIN in ble_tes.h (set the update interval in the firmware)
  • The BLE_GAP_CP_MIN_CONN_INTVL_MIN etc. family of variables in ble_gap.h (BLE connection interval in the firmware) can be left untouched as they give the limiting values.

Will this work? If not, what else do I need to do? Thanks for your time!

(I'm running this version of the app on my Android device.)

Related