2024-11-08 12:39 AM - edited 2024-11-08 01:32 AM
Hello All,
I am facing a problem with NFC reading with ST25DV64KC-DISCO board.
To integrate the SDK, I have followed the instruction over here
Even though I have imported all of the SDK files, and supporting files as well (including models, protocols and utilities).
But this same code detects the tag in original project, but in my project it fails to type cast to original form.
In specific, I get problem with following code in from "ST25DVMailboxManagementViewController"
The following condition fails in my code, but succeeds in iOS NFCTap App.
if (!(st25SDKTag is ST25DVTag || st25SDKTag is ST25DVCTag)){}
Did anyone face something similar?
Any leads will be greatly appreciated.
2024-11-25 05:22 AM
hi,
why do restart NFC line 100 ?
Normally, you 're already in a NFC session and tag has been detected.
I don't know behavior when you do such things.
Try to remove it .
Otherwise, no more idea on your issue. difficult to know without no more infos or log file.
Br,
2024-12-03 07:17 AM
Hey Vincent,
I have tried a few strategies to fix my codebase.
Ive now reused the same NFCTap App iOS project and customized it according to my view.
Good news is that the previous problems are gone now.
But sadly I am stuck in another problem now.
Whenever I Try to enable the Mailbox and call the present password api for that purpose, it gives a crash.
Im using following flow:
- First I detect the NFC tag and store its info
- Then I call the NFC hit again for the mailbox status fetch
- Third I try to call the present password where it crashes
Can you suggest something for that?