cancel
Showing results for 
Search instead for 
Did you mean: 

IOS NFC restartpolling

denma0513
Associate

Hi

I`m going to develop a app to display image on ePaper by coreNFC ISO15693, but i have only 20sec to transmit data and display image when phone connect on epaper .  

I can use session.repolling() to extend life scycle of NFC session lower iphone13 or below, but else version (iphone15, iphone16) is not working .

As far as I know, i have 60sec to trans data when i to begin a new NFCTagReaderSession, but actullary i have only 20sec. 

If I need more time to transmit, what solution i can do?

 

Thanks.

3 REPLIES 3
victor laraison
ST Employee

hi Demna0513,

Currently there are two NFC timeouts we are not able to influence because there is no API.

  • A NFC Session has a maximum lifetime of 60 seconds, independent from any card communication.
  • When a card was detected the connection will only last for 20 seconds.

Combined there is also something like a worst case:

  • The user presents the card 55 seconds after the session was started: The connection will only last for the remaining 5 seconds of the session.

Normally, whatever is iphone model, behavior should be same on every iphone. 
Please, Could you check iOS version used ? 

I tried with iphone15 pro + iOS 17.4, and behavior is as described above.

hope it helps.

br,

 

Hi

 

there is following is my test result, use session.restartpolling() to extend the NFC session life scycle.

iphone Xs (IOS 17) : OK 

iphone Xs (IOS 18.0.1) : OK 

iphone 12 pro (IOS 17.4.1) : OK 

iphone 13 (IOS 17) : OK 

iphone 15 (IOS 17) : fail

iphone 15 (IOS 18) : fail

iphone 16 (IOS 18) : fail

denma0513
Associate

Hi

So I have no any soluction to extend the life cycle, if I need over 20 second to done my task?