Hello, I'm je.kim.
Here are the questions I found while using Lib of PN5180.
This is a Lib question regarding MiFare. According to sw352236, in phNfcLib_MFC.c,
in the partial source of Increment, Decrement, and Restore, in the case of PH_ERR_TO_TIMEOUT as a result of Transmit, it is supposed to be returned to PH_ERR_SUCCESS.
~~
wStatus = phNfcLib_Mifare_Transmit(
((phNfcLib_Transmit_t *)pTxBuffer)->phNfcLib_MifareClassic.pBuffer,
4);
if((wStatus & PH_ERR_MASK) == PH_ERR_IO_TIMEOUT)
{
return PH_ERR_SUCCESS;
}
~~
I was wondering because there was no separate comment on the source. I would like to know if there is any special reason.
I look forward to your kind response to the above question.
Thank you.
Hi @jekim0109 :
MIFARE DESFire product is secured with NDA. I would suggest you create a ticket for this.
Regards
Daniel
Hello,
Thank you for your question! In the PN5180 library, when Transmit encounters a PH_ERR_IO_TIMEOUT during MiFare operations (such as Increment, Decrement, or Restore), it returns PH_ERR_SUCCESS. While there isn’t a specific comment in the source, this behavior likely ensures smoother error handling. If you have any further queries, feel free to ask.
Best Regards
esther598