[EMAIL PROTECTED] wrote:
> 
> Dear OpenCard Community,
> 
>   I have been creatig my own system file on the IBM SC (MFC4.21/8KB) and
> after successful initialization I can not create another files using
> FileSystemCardService card service. The method create uses byte array
> specifying the file to create. What shall I write to the array or where any
> documentation is to be found?

That byte array is the header of the file to create (according to class
MFCFileSystem in the OCF documentation). This is the same header as the
one returned from CardFileInfo.getHeader(). That header contains
information about the file size, file ID, etc, but I haven't "decoded"
that header complety so I don't know how to construct a header for a new
file. The documentation for this can (at least some parts) be found in
the ISO 7816-4 documentation
(http://www.fh-augsburg.de/~bossekr/iso7816_4.html).

Where did you by your MFC4.21 card bye the way?

regards
/Martin Sigbj�rn
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.

Reply via email to