feat: add paper_size in SceneInfo #41
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed in #39, #34 (comment) and #34 (comment) there is a new property in
SceneInfocalledpaperSizeaccording to the debug output of remarkable softwareI changed the
test_blocks_keep_unknown_data_in_main_blockas suggested by the comment. As it is in hex and a bit hard to read, here is an explanation of the modification made :2E000000 0000010D21to2Eas the size of theSceneInfois now 46 and not 331C 06000000 1F 0000 2F 00002C 05000000 1F 0000 21 013C 05000000 1F 0000 21 015C 08000000 7C050000 50070000E1 FFI used the excess bytes
92, 8, 0, 0, 0, 124, 5, 0, 0, 80, 7, 0, 0of #34 (comment)Closes #39