Accessing Applets in eSE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Accessing Applets in eSE

760件の閲覧回数
Tibet
Contributor I

NFC chip: SN220

Accessing applets in ese always fails.

NfcF -> NO Response.

IsoDep -> 62 82

@Override
public void onTagDiscovered(Tag tag) {
Log.d(TAG, "onTagDiscovered");
long startTime = 0;
boolean success = true;
NfcF tech = null;
try {
if (tag == null) {
Log.e(TAG, "could not get tag");
}
byte[] tagId = tag.getId();
String tagIdString = HceUtils.getHexBytes("", tagId);
Log.d(TAG, "tag id: " + tagIdString);
tech = NfcF.get(tag);
tech.connect();
Log.d(TAG, "Connected.");

CommandApdu commandApdu = HceUtils.buildSelectApdu(HceUtils.CASD_AID, true);
Log.d(TAG, "commandApdu: " + commandApdu.getApdu());
//CASD_AID = "A00000015153504341534400"
//output: commandApdu: 01A4040010A000000680020000000300000000000100
byte[] response = tech.transceive(HceUtils.hexStringToBytes(commandApdu.getApdu()));
Log.d(TAG, "Recv: " + HceUtils.toHexString(response));

} catch (Exception e) {
Log.e(TAG, e.toString());
} finally {
try {
if (tech != null) {
tech.close();
}
} catch (Exception e) {
Log.e(TAG, e.toString());
}

}
}
0 件の賞賛
返信
1 返信

720件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Tibet 

Since SN220 is high security product, which all related design resources are needed NDA, so it's recommanded that you should contact your local FAE for the further support.

 

0 件の賞賛
返信