[
https://issues.apache.org/jira/browse/MYNEWT-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843364#comment-15843364
]
ASF subversion and git services commented on MYNEWT-568:
--------------------------------------------------------
Commit abac41c81d64a313363d0a7fa6bb3db0bdcf1a72 in incubator-mynewt-core's
branch refs/heads/develop from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=abac41c
]
MYNEWT-568 log_cbmem - Garbage last entry.
If the cbmem is empty, a request for last entry should retrieve nothing.
Currently, it retrieves a garbage entry.
> logs - Increase idx to 32 bits
> ------------------------------
>
> Key: MYNEWT-568
> URL: https://issues.apache.org/jira/browse/MYNEWT-568
> Project: Mynewt
> Issue Type: Improvement
> Reporter: Christopher Collins
> Assignee: Christopher Collins
> Fix For: v1_0_0_beta2
>
>
> * Increase log entry's index field to 32 bits.
> * In newtmgr read log command, the index is the only criterion for selecting
> the start point of the read (don't use timestamp anymore).
> * On startup, read the last entry from each flash log to determine the index
> of the next entry. This is to ensure the next entry written has the correct
> sequence number.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)