Taplinx Get Value Length Error 917E ??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Taplinx Get Value Length Error 917E ??

366 Views
IslamElmasry
Contributor I

I have already developed a value file by using tablinx where the setting as
new DESFireEV3File.ValueFileSettings(IDESFireEV3.CommunicationType.Enciphered,
        (byte) 0x01,
        (byte) 0x02,
        (byte) 0x03,
        (byte) 0x00,
        0,
        1000,
        0,
        false,
        false);

 

The credit and depit API works well
but when I get value the error
INFO: Response received : 917E

 Catch Exception >> (Length Error SW2 = 126)

Note that credit , depit and getvalue all works well when I make IDESFireEV3.CommunicationType.plain
and I am using key no 1 for get value authenticate and key no 3 in credit and depit
 

0 Kudos
Reply
2 Replies

338 Views
jimmychan
NXP TechSupport
NXP TechSupport

In Enciphered mode, the tag expects the session to be authenticated with the correct key for the operation. If the session is not authenticated with the correct key (in this case, likely Key 3), the tag cannot encrypt the response properly, leading to a length mismatch and the 917E error. Please try authenticating with Key 3 before calling getValue().

 

0 Kudos
Reply

314 Views
IslamElmasry
Contributor I
i had already done authenticateEV2First before getValue()
the same error .
note that : when CommunicationType.Plain in get value and authenticateEV2First done there in no error occurs !!!
0 Kudos
Reply