Hi everyone,
I'm currently working on a project where I need to communicate with an HCE (Host Card Emulation) application https://github.com/AndroidCrypto/Android_HCE_Beginner_App (I changed AID to see if that is the problem) using the PN7150 NFC controller. I'm using the ISO-DEP protocol and ISO-DEP RF interface for this purpose. However, I'm encountering an issue when trying to send a SELECT APDU command(following ISO7816-4). The HCE application does not respond as expected (it should respond with a success code, SW1=0x90 and SW2=0x00).
For context, my firmware works perfectly with MIFARE 1K cards, and I've updated it to support HCE communication(NFC A Passive Poll Mode is for both, difference is between protocol and RF Interface). Despite these updates, something seems to be going wrong, and I can't pinpoint the issue. SELECT APDU has NCI Header(Data Message-000b, PBF-0b, Conn ID=000b, RFU=0x00, Payload Length = 0xD.
#define SELECT_APDU {0x00, 0x00, 0xD, 0x00, 0xA4, 0x04, 0x00, 0x07, 0xF0, 0x00, 0x00, 0x00, 0x0A, 0x01, 0x01, 0x00}
Has anyone experienced a similar problem or have any suggestions on what might be causing this? Any help would be greatly appreciated!
Thanks in advance.