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.

Crypto Processing Error in RF-Communication

JavaCard Applet Development Related Questions and Answers.
crash
Posts: 27
Joined: Thu Nov 12, 2015 6:58 am
Points :238
Contact:

Crypto Processing Error in RF-Communication

Post by crash » Wed Jan 18, 2017 11:34 am

Hi guys long time not seen :-)

may be it´s not the subject of the forum but i got a question to Mifare DESFire.
I try to create a Standard-Data-File in my Application but get
"Crypto Processing Error in RF-Communication"

I´m using OBIDISC4NET from Feig.
(There is also a 4J version maybe someone has worked with it)



My code:

Code: Select all

    byte[] output;

    byte AES = 1 << 7;
    byte NUMBER_OF_KEYS = 7;
    byte ACCESS_NEVER = 0xF;
    byte ACCESS_EVER = 0xE;

    byte keySettings1 = 0x0B;
    byte keySettings2 = (byte)(AES | NUMBER_OF_KEYS);

    var creationState = DESFire.IFlexSoftCrypto.CreateApplication(0, 0xf88980, keySettings1, keySettings2, 0, "");

    byte applicationLevelFlags = 0;
    byte fileNumber = 0;
    byte fileCommunactionSettings = 3;
    byte fileChangeAccess = 0x00;
    byte fileReadAccess = 0x10;
    byte fileWriteAccess = ACCESS_NEVER;
    byte fileReadWriteAccess = (byte)(ACCESS_NEVER << 4);
    byte fileSize = 32;
                       
    var selectState = DESFire.IFlexSoftCrypto.SelectApplication(0, 0xf88980);

    var fileState = DESFire.IFlexSoftCrypto
        .CreateStdDataFile(applicationLevelFlags, fileNumber, 0, fileCommunactionSettings, fileReadWriteAccess,
                                     fileChangeAccess, fileReadAccess, fileWriteAccess, fileSize);
   
You do not have the required permissions to view the files attached to this post. Please login first.

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

Re: Crypto Processing Error in RF-Communication

Post by UNKNwYSHSA » Thu Jan 19, 2017 4:53 am

From the log, the command is not the clean DESFire command, it is the data between PC and the reader.
Can you give us the reader manual or data between the reader and the card?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 100 guests

JavaCard OS : Disclaimer