[
https://issues.apache.org/jira/browse/MYNEWT-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840834#comment-15840834
]
ASF subversion and git services commented on MYNEWT-568:
--------------------------------------------------------
Commit d5a15930b0efb65aa033d3f21226ddd28dce0e67 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=d5a1593
]
MYNEWT-568 log - Pass log_offset, not void*.
All the log functions required the void *arg parameter to point to an
instance of struct encode_off. This commit:
* Renames encode_off to log_offset
* Makes this requirement explicit; functions take a struct
log_offset* now, rather than void*.
The log_offset struct contains a void *lo_arg member, so there is still
a side-channel for handler-specifid data.
> 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)