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

Starting, reading from and starting RTC clock from Android using nRF Connect or Thingy52 app

Hello,

is there any tutorial on how to send commands to the Thingy52 from an Android app (like the Thingy52 app or nRF Connect) to start the RTC clock (and then read/clear the registers and so on)? Or do you need to write your own Android app/change the Thingy52 firmware for this purpose?

Best regards,

Tobias Samuelsson

Parents
  • Hi Tobias,

    The Thingy:52 firmware uses app_timer instead of RTC, so you will need to modify the firmware in order to change this.

    If you want to be able to star/stopt the RTC clock using BLE you will need to create a custom service/characteristic for your Thingy:52, update the firmware and then use nRF Connect to write to the characteristics. Then start/stop RTC in the write handler of the characteristic.

    I would recommend going through our Getting started tutorials on Devzone (Services/Characteristics) and start the development using a nRF52832 DK, then update the Thingy:52 FW to include your custom service and characteristic.

    Best regards,

    Marjeris

Reply
  • Hi Tobias,

    The Thingy:52 firmware uses app_timer instead of RTC, so you will need to modify the firmware in order to change this.

    If you want to be able to star/stopt the RTC clock using BLE you will need to create a custom service/characteristic for your Thingy:52, update the firmware and then use nRF Connect to write to the characteristics. Then start/stop RTC in the write handler of the characteristic.

    I would recommend going through our Getting started tutorials on Devzone (Services/Characteristics) and start the development using a nRF52832 DK, then update the Thingy:52 FW to include your custom service and characteristic.

    Best regards,

    Marjeris

Children
No Data
Related