Comments (11)
Thank you for your inquiry.
Identifying the type of card you are dealing with should be your first priority. You can utilize APDUs to retrieve the data if the card is ISO 7816-4 compliant. The keys are necessary if the card is a MIFARE Classic card. Basically, Line 799 of /assets/read.js
is the entrance point. Your code ought to be added there.
Pull requests are encouraged.
from nfsee.
The cards are (ISO 7816-4) compliant. But it doesn't read some cards. I have 6 cards, some of them receive their information, some do not. What exactly do I need to do?
from nfsee.
Would you provide more information, including the platform (Android or iOS) you're testing, the AID of the card, and other that may help figure out the problem?
from nfsee.
I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}
from nfsee.
This is the code structure I got on a different card.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F35840E325041592E5359532E4444463031A523BF0C20611E4F07A000000004101050104445424954204D4153544552434152448701019000}, {tx: 00A4040007A000000004101000, rx: 6F4F8407A0000000041010A54450104445424954204D4153544552434152448701015F2D087472656E646566729F1101099F120B42414E4B41204B41525449BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4400, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 058E3A87A33200, applicationData: , sak: 28, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 41434F532046696F6E6131204C6336, ndefType: }, detail: {}, card_type: Unknown}
from nfsee.
@berkaykr The APDU history you provided contains only successful commands. You can retrieve all APDUs in the log. You can refer to read.js
for more details.
from nfsee.
@Harry-Chen Can you give detailed information? What exactly do I need to do?
from nfsee.
This is the code structure I got on a different card.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F35840E325041592E5359532E4444463031A523BF0C20611E4F07A000000004101050104445424954204D4153544552434152448701019000}, {tx: 00A4040007A000000004101000, rx: 6F4F8407A0000000041010A54450104445424954204D4153544552434152448701015F2D087472656E646566729F1101099F120B42414E4B41204B41525449BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4400, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 058E3A87A33200, applicationData: , sak: 28, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 41434F532046696F6E6131204C6336, ndefType: }, detail: {}, card_type: Unknown}
It seems that this card does not contain a compatitble FCI Proprietary Template. You may read the EMV spec to add more code to support it.
from nfsee.
I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}
As for this card, please provide the detailed log of flutter, for example, the outputs generated here: https://github.com/nfcim/nfsee/blob/master/assets/read.js#L462
Thanks!
from nfsee.
I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}
As for this card, please provide the detailed log of flutter, for example, the outputs generated here: https://github.com/nfcim/nfsee/blob/master/assets/read.js#L462 Thanks!
[log] Log from script: PPSE DF Name: A0000000041010 (MC) Log from script: PPSE DF Name: A000000003101001 (Visa)
from nfsee.
I need to have my card scanned, can you help me on how to add it? @dangfan @Harry-Chen
from nfsee.
Related Issues (15)
- Remove unavailable technological data
- Remove the leading 0 of the TU card number
- Hardcoded CARD_WIDTH HOT 5
- APP UI lags on high refresh rate screen
- May needs adapt to Android 12 HOT 9
- F-Droid HOT 2
- Will it work For iOS HOT 4
- Allow to export card data to file or clipboard HOT 4
- Use the phone as a NFC card HOT 1
- Add monochrome icon
- Scanning card bricks history HOT 5
- Keys
- Nfc
- 258b077917eefa0ffcff660ef38c5ca880502c1e
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfsee.