Skip to content

How to store tsl if current timestamp is less than last save timestamp due to RTC loss on embedded device #224

Closed Answered by armink
amuroh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, you can reimplement the get_time function and use count ++ instead of timestamp. After restart, the old count can be get by FDB_TSDB_CTRL_GET_LAST_TIME command .

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amuroh
Comment options

Answer selected by amuroh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants