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

Added a feature of Reading the ID of the NFC Card only with param of "id" #693

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adelcsc
Copy link

@adelcsc adelcsc commented Jul 17, 2024

Current termux-nfc api allows to read/write the content of NFEF types only.

I had a case where i needed to read the NFC Chip ID of a non-NFEF card which of course the api returned an error of "we only support NFEF card", so i added a feature of reading only the id of chip using the parameter "id", example :

termux-nfc -r id

this returns a result of :

{
  "card_id":"XXXXX"
}

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.

1 participant