Hi Fabian,
Yes. We did use NXP reader library. Our application is based on example pnev7642fama_NfcrdlibEx2 example and extend the functionalities.
As what I described pervasively, pn7642 needs to send vendor specified COMMIT TRANSACTION command. The following is something we try to do. However, it seems google wallet does not receive it or somehow did not take effect. I am wonder if we need to use other API call instead of phhalHw_Transmit or phhalHw_Exchange since I have tried phhalHw_Transmit or phhalHw_Transmit but none of them works.
Any suggestion?
int SendCommitCommand(void *pHalDataParams)
{
phStatus_t status;
uint8_t commitCmd[5] = { 0x90, 0xAA, 0x00, 0x00, 0x00 };
// Exchange the command with the card
status = phhalHw_Transmit(pHalDataParams, PH_TRANSMIT_DEFAULT, commitCmd, sizeof(commitCmd));
if(status != PH_ERR_SUCCESS) {
DEBUG_PRINTF("Failed to send commit command, status: 0x%04X\n", status);
return -1;
}
return 0;
}
Thank you very much
--Kenny