> Hi,
>
> The cyberflex documentation indicates that response
> data containing information about the selected file/directory
> is returned in a SelectFile command. How can I get this data?
> It is not in the recieve buffer of SCardTransmit(). Only a two byte
> status code is in the recieve buffer. Do I have to send some
> other command to the card to get this data?
>
> The cyberflex documentation on page 97 and page 115 talks about a
> Getreponse command, but I can't seem to find any documentation on this.
>
Issue get response APDU after select file APDU.
Example:
itoi@alice :) pay
pay> 2
1:3b 2:96 3:94 4:40 5:28 6:81 7:10 8:6 9:1 10:62 11:34
pay> ic f0 a4 0 0 2 /* select 3f.00 */
Enter 2 data bytes (hex):
3f 0
61 17 ok; response available 17
pay> oc f0 c0 0 0 17 /* get response for length 0x17 byte */
1:0 2:0 3:29 4:ba 5:3f 6:0 7:1 8:0 9:0 10:0 11:0 12:0 13:a 14:13 15:1 16:8 17:2 18:0
19:83 20:83 21:0 22:0 23:0 /* reply */
90 00 ok
pay> q
> I'm coding base on the cyberflex documenation and the PC/SC-lite
> documentation. Would the APDU command for cyberflex work for other
> smartcards like Bull?
Depends on which APDU commands you are talking about. All the ISO
7816-4 compliant smartcards should understand select APDU and
get_response APDU, but I believe only Schlumberger smartcards return
file information after the select APDU.
Even though most of the smartcards speak ISO 7816-4, they often use
different CLA bytes.
--
Concentration .. Naomaru Itoi
http://www.citi.umich.edu
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************