cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Detect ST25DVC Tag in iOS

Aly
Associate III

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"

Screenshot 2024-11-08 at 09.34.38.png

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.

21 REPLIES 21
victor laraison
ST Employee

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,

 

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

 

Screenshot 2024-12-03 at 14.24.54.png

 

Can you suggest something for that?