Handling of Wait Time Extension (WTX)
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.
