Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO14443a-4 emulation #4059

Open
bettse opened this issue Jan 3, 2025 · 3 comments
Open

ISO14443a-4 emulation #4059

bettse opened this issue Jan 3, 2025 · 3 comments
Assignees
Labels
NFC NFC-related

Comments

@bettse
Copy link
Contributor

bettse commented Jan 3, 2025

Is it possible to send a response in a NfcProtocolIso14443_4a listener callback? I didn't see any equivalent to iso14443_4a_poller_send_block and iso14443_3a_listener_send_standard_frame which is used by iso14443_4a_listener_send_ats is private (in lib/nfc/protocols/iso14443_3a/iso14443_3a_listener_i.h).

@skotopes skotopes added the NFC NFC-related label Jan 16, 2025
@skotopes
Copy link
Member

@RebornedBrain @gornekich FYI

@RebornedBrain
Copy link
Contributor

Hi, @bettse, yes currently it's not possible to send frames from iso14443_4a_listener.c and what kind of response do you need? If it is a part of iso14443_4 spec maybe it should be done in a same manner as iso14443_4a_listener_send_ats

@bettse
Copy link
Contributor Author

bettse commented Jan 21, 2025

yes currently it's not possible

I'm glad I didn't just miss it 👍

what kind of response do you need?

I think it'd be called a "R-APDU". I'm looking to do some type 4 emulation, so when the flipper gets the select application, I need to respond with either a file not found (6A 82) or the appropriate "Answer to Select". I've got a couple ideas for stuff to emulate, but the easiest to discuss publicly would be emulating the NTAG424.

Seeing as how this would be a new feature, feel free to close this issue out if you'd like to track it through some other system or issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NFC NFC-related
Projects
None yet
Development

No branches or pull requests

4 participants