What APDU command gets 7 byte of card ID?I use T=CL (ISO7816) pritocol with ISO14443 layer. On detect card I can see only 4 byte of card ID.I searched, that is APDU command for gets card ID.For example its:
but result of thouse command is:
0xFF, 0xCA, 0x00, 0x00, 0x00
but result of thouse command is:
6E 00
, that on specifications of APDU answers tell that 'Class not supported'Then I find, that its APDU command may be as:
this command return
where
0x00, 0xCA, 0x00, 0x00, 0x00
this command return
6A 88
where
6A XX
- 'Wrong parameter(s) P1-P2' and 88
- 'Referenced data not found'What you think about it?
Thank you!
p.s. All command as:
Other my command work normaly (such as sellect aplet and work with it), problem only at getting card ID
vlpCLA, INS, P1, P2, LenData, Data
Other my command work normaly (such as sellect aplet and work with it), problem only at getting card ID
4,38922 gold badges1111 silver badges3535 bronze badges
dr_begemotdr_begemot
4 Answers
The answer given before is wrong. This is because we are not talking about a ISO 7816 command here but a internal command of the PC/SC API.
The APDU '0xFF 0xCA 0x00 0x00 0x00' is in fact correct and I have cards for which I get a 7 byte answer. Please note that this will only work with contactless (RFID) cards because this UID is part of the radio protocol. Please note further that some chips will return a new random UID after each power up. This is for example true for my passport chip as well as my german national identity card and a countermeasure to prevent tracking of card holders. In theory such random UIDs shall begin with 0x08 but this is not always the case.
As the UID is a 'internal' value of the protocol, the APDU in question is NOT sent to the card but is only a internal command (of the PC/SC Interface) to get the UID from the card reader driver. CLA 0xFF is generally not in normal use as it is only used for reserved for 'Protocol Parameter Selection' (PPS). PC/SC abuses this CLA for internal commands.
The command here is the PC/SC internal 'Get Data' Command, specified in Part 3, Section 3.2.2.1.3 of the PC/SC specification. Here P1 and P2 have special predefined meanings, so there is no point in trying different values. The standard only defineds P1=0,P2=0 for getting the UID and P1=1,P2=0 for 'all historical bytes from the ATS of a ISO 14443 A card without CRC'. Other values are not supported.
Interestingly the answer 0x6A 0x88 is not defined in the standard. 0x6a 0x81 would mean 'Function not supported' which would be the case which cards which don't have a UID (standard mentions 7816-10 contact card). The two other defined answers (0x62 0x82 and 0x6C 0xXX) define a mismatch between the requested answer length and the actual amount of data and won't occur here, because we simply request any length data by specifying 0 in the last byte of the request.
So why it isn't working for the submitter I don't know. For me it works, some cards return 4 bytes, other return 7 bytes.
See the PC/SC standard, part 3 in particular, here: http://www.pcscworkgroup.com/specifications/specdownload.php
MichaelMichael
0xCA is the GET DATA command. You must supply a TLV Tag in P1-P2.
ISO 7816 part 6 'Interindustry data elements for interchange' has a list of these tags, but none of them corresponds unambiguously to 'card ID'. I suggest that you try all values of P2, with P1 equal to 0x00, 0x5F, or 0x7F, to find out which data elements are supported by your card.
TonyKTonyK13.2k44 gold badges2525 silver badges6060 bronze badges
I think your second command is correct, but the card has not been programmed with an application Id.
The description just sounds like story mode, but then why does it say 'unlocks the story missions and multiplayer leaders from the original halo. It just gives you access to all the contents of the Halo Wars 2 game, which is kinda dumb. Why make a name for a DLC within the game when. Feb 21, 2017 - Halo Wars 2 already has plenty of content to keep you busy, with a sizable campaign playable in both single player and co-op, and the various multiplayer modes. However, we do already know that the game will be receiving DLC, adding on to both the campaign and multiplayer. Welcome to the ark halo wars 2.
For 6A88 the BasicCard manual says: 'The built-in command GET APPLICATION ID returns this error code if no application ID was configured in the BasicCard'.
Martin Clemens BlochMartin Clemens Bloch
This is a very often discussed problem.
0xFF, 0xCA, 0x00, 0x00, 0x00 is the correct pcsc command to get th card uid.
If you get a 6E00 response, then your driver has a bug. Update the driver or try another reader.
Zoe16.2k99 gold badges6262 silver badges9494 bronze badges
Erdling79Erdling79
Cara Mengatasi Point Blank Error 0x82
Not the answer you're looking for? Browse other questions tagged smartcardapdumifarecontactless-smartcard or ask your own question.
Quality Products
Here at Point Blank Calls we don’t just think about what looks good we think about what will get that big bull, tom, or buck to come in.Instructional Videos
We’ve made a complete list of video instructions for all of our calls just in case you lose your packaging.
Elk
Deer
Turkey
Predator
The Hewitt family will leave no tag unfilled in 2014! Brian’s wife Amber got in on the action by taking this beautiful gobbler. Once again, Brian seduced the Tom by using the Project X diaphragm for Amber to take it at 36 yards.
Pro Staffer Brian Hewitt made this public land bull pay on opening day. Brian was using the Point Blank all purpose reed to get three bulls going and eventually this young bull made a mistake and paid the price.
Using a new Point Blank diaphragm, ProStaffer Matt Stevens called up 14 bulls in 13 days including this double crowned 7×7 Rocky into 15 yards for good friend John Lazzar near Mt. Rainier in WA.
Most hunters are unsuccessfull.
or
Create New AccountCreate New Account
- Garena Point BLank PH Code
- Garena Pointblank Redeem Code 2019
- Garena Point Blank Reedem Code 2018
- Pointblank Wall Hack
- Garena Point Blank PH Code and free redeem code
- Dota 2 Philippines
- Garena PointBlank Code Giveaways
- Special Force Online Philippines
- POINT BLANK Redeem code 2019-2020
- Wargods PointBlank
- New reedem code 2017-2018
- IV Gaming
Yesterday at 7:20 PM
📌0ï¸x8F⃣7ï¸x8F⃣0ï¸x8F⃣1ï¸x8F⃣ Morning Troopersâx9D--Magandang Araw Troopersâx9D--Finally!! T..he time has come to our BETA TEST which start at 2PM!!!Collect and gathers those COINS to exchange the Stewardess characters and 9th Anniversary Amok Kukri items!! (Even a coin can exchange with a Stewardess Hide 3D!)☑ï¸x8F PB BEAT Period☑ï¸x8F EVENT PERIOD : 1ST JULY ~ 10TH JULY☑ï¸x8F WEEK : 2PM ~ 7PM / WEEKEND: 9AM ~ 3PM☑ï¸x8F DOWNLOAD: https://pointblank.zepetto.com/ev…/icafe*All BETA data will be removes after the BETA TEST period end and all goodies are available to receive from the 16th July.---------------------------------------------------------------------------------------Sa wakas!! Ang oras ng ating BETA TEST ay nandito na, magsisimula siya ng 2PM!!!Kolektahin at ipunin ang COINS at ipalit para sa Stewardess characters at 9th Anniversary Amok Kukri items!! (Ang coin at pwede din ipalit sa Stewardess Hide 3D!)☑ï¸x8FPB BEAT Period☑ï¸x8FEVENT PERIOD : 1ST JULY ~ 10TH JULY☑ï¸x8FWEEK : 2PM 7PM / WEEKEND: 9AM 3PM☑ï¸x8FPara makagawa ng ZEPETTO ID: pointblank.zepetto.com/☑ï¸x8FPara ma-DOWNLOAD and laro: https://pointblank.zepetto.com/ev…/icafe*Lahat ng BETA data ay tatangalin pagkatapos ng BETA TEST period end at lahat regalo ay makukuha sa 16th July 2019.See More
June 27 at 8:00 PM
🎈🎊 Goodbye Event 🎊🎈Just login to Point Blank PH daily:FREE‼ï¸x8F many.. special items as rewarded ✨from 30 June - 14 July 2019 👋-----------Point Blank PHSee More
June 27 at 1:45 AM
📨 PB 'I-CAFE PARTY' - COMMENT EVENT 📨Either a big or small interne..t café at your local place, leave your comment to recommend them to us and become the first participant of or POINT BLANK PARTY!! COMMENT EVENT period: 27th June ~ 30th JuneComments here(Facebook) 👇👇👇👇👇👇👇Join Now!!!! -------------------------------------------------------------🎮 I-CAFE PARTYEnjoy the 3 months of local competition all around PH and win the Prize money!! Also, i-cafe free for all participants, Drinks Free, Weapon Coupon!👉https://pointblank.zepetto.com/ev…/icafe📌 National Capital Region📌 Northern Luzon📌 Southern Luzon📌 Visayas📌 Mindanao👉If there are questions contact 🇵🇠[email protected] -------------------------------------------------------------See More
Â