RuuviTag logged data are lost

Hi,

I am using Ruuvi to log data and using these command I can read the log history for temperature, humidity and pressure.

When I remove the battery or reset the device the logged data are lost. Is this intended? I though that logged data are stored in a circular buffer in flash memory.

Hello,

Logs are currently stored to RAM

Can we at least avoid the the RAM content is erased after a reset?

It would be possible to store the logs to flash, but then synchronizing timestamps would be a bit problematic. The tag cannot know how long it has been unpowered. Latest timestamp also can’t be stored too often, as it would wear down the flash regardless of the wear leveling system.

RAM may be corrupted on reset, depending on the reset cause so relying on RAM contents after reset is not the best approach.

Ok I see. Thank you.