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.
Hi there!
So I have an elevator in my apartment building which accepts MFC 1K cards and doesn’t react to UIDs from this app. I attempted to add card emulation support to the app, and it seems to be working. The reader now detects Flipper Zero and doesn't identify me (because a random UID is used).
There's one major problem though: when the app is emulating a card, it becomes really slow and unresponsive. It seems it's because of a card's size, because Ultralight cards work fine, unlike Classic ones.
UPD: @Astrrra was kind to confirm my assumptions, NFC emulation consumes most of the Flipper's resources so there's apparently no way around it.
I have no experience writing apps for Flipper Zero and coding in С at all, so a thorough code review and ideas would be really appreciated :)