Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

write my data on a file

Card Products

Moderator: horse dream

hrc1365
Posts: 4
Joined: Wed Oct 07, 2015 2:11 pm
Points :0
Contact:

write my data on a file

Post by hrc1365 » Fri Oct 09, 2015 1:02 pm

how do i write any data to card? which command or class do it?
in javacard api pdf i read, by file system class can write data, but do not fine it.
pls help me. :?: :?: :?:

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: write my data on a file

Post by UNKNwYSHSA » Fri Oct 09, 2015 11:52 pm

Look the ISOApplet, the filesystem implementation and related commands are all in it.
sense and simplicity

hrc1365
Posts: 4
Joined: Wed Oct 07, 2015 2:11 pm
Points :0
Contact:

Re: write my data on a file

Post by hrc1365 » Sat Oct 10, 2015 9:29 am

thanks a lot my friend.
But ISOapplet have a error when i want to install to card.error is 6985 or some times 6438.
and it's size is large, 39 kB.
do i have any way for save my data to card?????????

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: write my data on a file

Post by UNKNwYSHSA » Mon Oct 12, 2015 2:06 am

hrc1365 wrote:thanks a lot my friend.
But ISOapplet have a error when i want to install to card.error is 6985 or some times 6438.
and it's size is large, 39 kB.
do i have any way for save my data to card?????????

The ISOApplet has four type of data structure:
    1 ElementaryFileTransparent;
    2 ElementaryFileLinearFixed;
    3 ElementaryFileLinearVariable;
    4 ElementaryFileCyclicFixed;
Maybe you need one or two, not all.

Coding for your needs:
    1 Reserve the data structure your need, others can be removed.
    2 Reserve code in IsoApplet.java for your need, delete unused codes.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 22 guests

JavaCard OS : Disclaimer