Skip to main content
DGabc.1
Associate III
October 23, 2023
Solved

Handling of Wait Time Extension (WTX)

  • October 23, 2023
  • 1 reply
  • 1140 views

Hi,

In ST25RFAL library, version 2.8.0, in rfal_isoDep.c, function rfalIsoDepHandleControlMsg(), when ISODEP_S_WTX messages is handled, the code limits how many times a card can request wait time extension, specifically, this line:

 

 

if( (gIsoDep.cntSWtxRetrys++ > gIsoDep.maxRetriesSWTX) && (gIsoDep.maxRetriesSWTX != RFAL_ISODEP_MAX_WTX_RETRYS_ULTD) )

 

 

 

By default it limits to 20 (RFAL_ISODEP_MAX_WTX_RETRYS) wait time extension requests.

What is the reason for having such a limit?

Thank you,

D.

This topic has been closed for replies.
Best answer by Brian TIDAL

Hi,

this is to prevent the Reader/Writer from being blocked by arbitrarily long Listener processing times as stated in NFC Forum Digital Protocol v2.0 16.2.5.2.

Anyway, this is configurable through rfalIsoDepInitializeWithParams() if your application needs to support more retries. 

Feel free to share more details about your application, in particular about your need for more WTX retries.

Rgds

BT

1 reply

Brian TIDAL
Brian TIDALBest answer
Technical Moderator
October 23, 2023

Hi,

this is to prevent the Reader/Writer from being blocked by arbitrarily long Listener processing times as stated in NFC Forum Digital Protocol v2.0 16.2.5.2.

Anyway, this is configurable through rfalIsoDepInitializeWithParams() if your application needs to support more retries. 

Feel free to share more details about your application, in particular about your need for more WTX retries.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.