credit / debit / valueFile / limitedCredit

Forum / MIFARE SDK / credit / debit / valueFile / limitedCredit

  • 30. March 2017 at 5:51

    AS
    I have issue with the following functions of SDK. None of those work.
    I can use readData and writeData and it work.

    desFireEV1.createFile(fileNo,
    new DESFireFile.ValueFileSettings(IDESFireEV1.CommunicationType.Plain,
    (byte) 0, (byte) 0, (byte) 0, (byte) 0,
    -100, 10000,
    777, true, true
    )
    );

    These commands does not work.

    //The credit command allows to increase a value stored in a Value File.
    void credit(int fileNumber, int value)

    // The credit command allows to increase a value stored in a Value File.
    void credit(int fileNumber, int value, IDESFireEV1.CommunicationType communicationSettings)

    // The debit command allows decreasing a value stored in a Value File.
    void debit(int fileNumber, int value)

    // The debit command allows decreasing a value stored in a Value File.
    void debit(int fileNumber, int value, IDESFireEV1.CommunicationType communicationSettings)

    // The limitedCredit method allows a limited increase of a value stored in a Value File
    // without having full Read and Write permission of the file.
    // This feature can be enabled or disabled during value file creation.
    void limitedCredit(int fileNumber, int value)



    // The limitedCredit method allows a limited increase of a value stored in a Value File
    // without having full Read and Write permission of the file.
    // This feature can be enabled or disabled during value file creation.
    void limitedCredit(int fileNumber, int value,
    IDESFireEV1.CommunicationType communicationSettings)



    Any idea?

    + 0  |  - 0

    Re: credit / debit / valueFile / limitedCredit

    4. April 2017 at 9:44
    Hi Mike,

    The value file works properly. Please read the datasheet carefully. The changed content is updated if you call CommitTransaction(). If you want to discharge all actions you call AbortTransaction().

    The TapLinx team

    + 0  |  - 0
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.