Hello Akshay, Pedro

Since this is a Java Card why using files at all. In Java we have this great thing
called Data Object which
can do more than a file if you will.

Akshay Sahai wrote:

> Hi Pedro,
>
> The status byte is either 01 or 00 specifying whether the file is enabled or
> disabled. Are you using anyother value..???
> File type coding is correct but you have to remember this that in case of
> creating a fixed record or variable record file you have to pass 16 bytes
> and not 17 bytes of data. Hope this will solve the problem.
>
> Cheers
>
> Akshay Sahai
> Wireless Engineer, SMART Cards
> Sara�de.com
>
> phone: +1.613.763.1301
> fax:      +1.613.765.8240
> e-mail:  [EMAIL PROTECTED]
> web:     www.saraide.com
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pedro Miguel
> Pereira Borges
> Sent: Thursday, July 22, 1999 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: [OCF] Cyberflex 16K
>
>     Greetings :)
>
>     I'm working (through OCF) with a Schlumberger Cyberflex 16K card.
>     However I'm having some doubts that their documentation can't seem to
> resolve.
>     When creating a file, we have to pass 16 bytes of data. I know that the
> 6th byte corresponds to the file status. But the value that I put there
> isn't the same that I the file has after it's created. Can anyone explain me
> why and what's the meaning of the file status ?
>     Another thing is that the 5th byte represents the file type. The
> documentation saids that the variable record file type is 0x19. However I
> get an error when I try to create it. What are the correct codes for all the
> file types ?
>
>     Thanks in advance,
>
>             Pedro Borges
>
> ---------------------
> http://talk.to/borges
> [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.
> 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.

--
Best Regards,
   - Moshe
-------------------------------------------------------------------------------------------------------------------------------------

Business Development       Embedded & Consumer
Voice: +1(408)517-5464  Fax: +1(408)517-5460  E-Mail Address: [EMAIL PROTECTED]
Pager: +1(800)SKYTEL2(759-8352) PIN#1618586 or [EMAIL PROTECTED]
Snail Mail Address:   SUN MIcrosystems, Inc. 901 San Antonio Rd. M/S UCUP01-312,
Palo Alto, CA 94303, USA
--------------------------------------------------------------------------------------------------------------------------------------



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