To read from an Mifare Ultralight tag (NTAG I2C Plus), I'm using NFCMifareTag.sendMifareCommand method. It works most of the times, but I randomly get errors of types:
- Tag Response Error / Tag No Response
- Tag Connection Lost
- Stack error
Moreover, these errors ar eobserved way more frequently on iPhone 13 Pro max model than any other iPhones, not sure why.
This is the code block for reference:
miFareTag.SendMiFareCommand(tagCommand, completionHandler: (nsdataObj, error1) =>
{
if ((error1 == null) && (nsdataObj != null))
{
readSuccess = true;
}
else
{
readSuccess = false;
// here error1 prints Tag response error or Tag no response or Tag connection lost or Stack error
}
});
Has anyone observed these errors and knows ways to avoid them?
I could not find any documentation on any of these error types. Can someone guide me?