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

BLE dormant mode and battery consumption.

Hello, I am looking to use the thingy 52 as a remote sound recording device using BLE connection. I also have downloaded the source code for the thingy app and my question is if there is some kind of dormant mode in which BLE communication shuts of when the data transmission ended. For example, the device sends audio data when I click the microphone in the app to record remotely however after I finish using the microphone, does the connection still remains and the microphone still works (even if I don't hear the sound) or the device stop data transmission till the user starts using microphone again?

  • Hi,

    By default, Thingy:52 will do Bluetooth advertising at a given interval until you create a connection from the phone app (or some other Bluetooth device).

    The connection will be kept active after you transmit data unless one of the sides of the link decides to disconnect. The devices will exchange empty packets at an interval set by the connection interval. Between transmission of the connection event packets, the Thingy will go to sleep mode to save power. It is possible to modify the Thingy:52 firmware to make it disconnect after data transfer or a predefined interval, but it will then either go back to advertising, or to a lower sleep state. If the Thingy goes to a low power sleep state without advertising, you will have to add some kind of mechanism to wake it up and start advertising again (for instance a button press) before a new connection can be made to transfer more data.

    Best regards,
    Jørgen

Related