Greetings :)
I'm developing a FileSystemCardService for the Cyberflex Open 16K but
I'm having some problems :(
I'm using a Litronic 210 reader, and using OCF through PC/SC.
I would be very gratefull if anyone could help me...
1-> If I create a binary file (using 0x02 as the 5th byte) the structure
type I get as a result of a "directory" command is 00 instead of the 01 it
says on the page 161 of the programmer's guide. Why ?
2-> If I create a fixed record file (using 0x0C as the 5th byte) the
structure type I get as a result of a "directory" command is 01 instead of
the 04 it says on the page 161 of the programmer's guide. Why ?
3-> When I try to create a variable record file (using 0x19 as the 5th
byte) I get an 9408 result. According to manual, this means "Invalid File
Type". Why ?
4-> When I try to create a cyclic file, I have to say that each record
occupies the space I want + 4 bytes and that the size of the file is
recordNumber * ( recordSize + 4 ) ) + 16, or else I get an error message. I
know what the 16 bytes are for but I don't know what the 4 bytes are for ...
5-> What does it mean a 9408 result to a "delete" command ? It's not on
the manual ...
6-> When executing a "directory" command on a DF, after I send the APDU
F0 A8 00 03 0F, I get a CardTerminalException exception saying
"Pcsc10CardTerminal: PCSC Exception in method SCardTransmit: error occurred
with SCardTransmit ; return code = 00000057". What's wrong ?
7-> (at last :) ) Can anyone explain me how the permissions work in this
card ? What I read in the manual doesn't seem to apply to the card because I
created a directory in the root, and gave it permissions +00100111- to CHV1
and 11111111 to AUT0 and AUT1. Eventhough, without verifying AUT0, AUT1 or
CHV1, I managed to create and delete on EF inside the directory. More, if I
verified CHV1, I couldn't create or delete a file inside the directory...
How can I see the ACL of the MF ?
Sorry about the question avalanche but I have to finish this work and
these problems are killing me :(
Thanks in advance,
Pedro Borges
--------------------------
http://talk.to/borges
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------
Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.