Skip to content

[FL-3446] Feature check adjustment and nesting removal#2977

Merged
gornekich merged 11 commits intoflipperdevices:gornek/nfc_refactoringfrom
RebornedBrain:berezhnoy/ntag_ultralight_cmd
Aug 11, 2023
Merged

[FL-3446] Feature check adjustment and nesting removal#2977
gornekich merged 11 commits intoflipperdevices:gornek/nfc_refactoringfrom
RebornedBrain:berezhnoy/ntag_ultralight_cmd

Conversation

@RebornedBrain
Copy link
Contributor

What's new

  • [ Describe changes here ]

Verification

  • [ Describe how to verify changes ]

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

According to datasheet NTAG21x don't support this command, but some of them do. Only 02 flag works (3E02), so now tearing command checks if SingleCounter feature is supported by the card, then it can be treated as NTAGxx and only flag=2 can be read
This function checks whether current Ultralight instance supports feature, mentioned as a second paramete.
Conflicts:
	lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c
	lib/nfc/protocols/mf_ultralight/mf_ultralight_poller.c
@gornekich gornekich merged commit 643c285 into flipperdevices:gornek/nfc_refactoring Aug 11, 2023
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.

2 participants