Taplinx Get Value Length Error 917E ??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Taplinx Get Value Length Error 917E ??

376 次查看
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 项奖励
回复
2 回复数

348 次查看
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 项奖励
回复

324 次查看
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 项奖励
回复