Skip to content

Conversation

@TollyH
Copy link
Contributor

@TollyH TollyH commented Jan 18, 2024

What's new

  • Before, the Mifare Classic data view displayed bytes that hadn't been read from the card as 00, now they display as ??

Verification

  • Open Mifare Classic files in the NFC app that are missing different parts, such as a key, a single block, or an entire sector
  • Verify that the bytes are correctly displayed as ?? and line up with the known bytes

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link
Member

@gornekich gornekich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @TollyH ! Thanks for PR!

I like the idea of showing '??' instead of 00, when we didn't read data. I can see small issues in implementation. I think there is a better way to render unknown data.

Please consider my patch attached. You can apply it and check. If everything is fine, please commit this patch, update PR and we will merge it.

To apply patch run git apply <path_to_patch>
mf_classic_render.txt

@TollyH
Copy link
Contributor Author

TollyH commented Jan 23, 2024

Thanks @gornekich, I've gone ahead and applied that patch and all seems to working fine

Copy link
Member

@gornekich gornekich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hedger hedger merged commit c736c3f into flipperdevices:dev Feb 6, 2024
@TollyH TollyH deleted the mfc-view-unknown branch February 6, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants